Jump to content

Maximum Level Announcer


Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   3
  • Joined:  02/04/12
  • Last Seen:  

Maximum Level Announcer

 

  • What is ?

A Simple script which announce the first 10 players who reached to the maximum level and rewards the player, there's also a npc that shows this ranking.

 

  • Where to download ?

http://svn.xp-dev.com/svn/tecnocronus_scripts/scripts/EN/MaxLvLAnnouncer.txt

 

  • Setting up:

 

If your server's maximum level is not 99, change this variable:

set .MaxLvl, 99;

configure the item's id (The Reward) on his Array:

setarray .Global_Array_Item[0],504,505;
  • 03-FEB-2014? Fixed the errors related.[TecnoCronus]

 

trac_logo_mini.png

Edited by TecnoCronus
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

there is a bug

post-1381-0-84098300-1365406366_thumb.jpg

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Your bug is related to

if(!$Rank$) {

$Rank$ is not a number, it's a string

 

=>

if($Rank$ != "") {

 

 

btw if you re-start the server, .numMaxLevel become 0, then the ranking is wrong

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

Your bug is related to

if(!$Rank$) {

$Rank$ is not a number, it's a string

 

=>

if($Rank$ != "") {

 

 

btw if you re-start the server, .numMaxLevel become 0, then the ranking is wrong

oh i see. sir can you make a working script for this?thanks in advance.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

I'm a bit lazy.. xd Just change .numMaxLevel to $numMaxLevel 

 

and if($Rank$ != "") {

then it should work

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

I'm a bit lazy.. xd Just change .numMaxLevel to $numMaxLevel

 

and if($Rank$ != "") {

then it should work

ok sir thanks. i'll try it later and i'll gonna check if there is another error for these script.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   0
  • Joined:  06/20/13
  • Last Seen:  

thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...