Jump to content
  • 0

MVP ladder Annie Ruru help


mrlongshen

Question


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   79
  • Joined:  12/04/12
  • Last Seen:  

http://www.eathena.ws/board/Mvp-Ladder-t178049.html

 

can someone integrated for rathena ? 

this script also have a problem on the ranking.

the ranking is not shown.

besides that it also have this error.

 

 

[Warning]: Unexpected type for argument 1. Expected string.
[Debug]: Data: variable name='.@num' index=0
[Debug]: Function: getstrlen
[Debug]: Source (NPC): Mvp Ladder Room at mellina (100,51)
 
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


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

this script also have a problem on the ranking.

the ranking is not shown.

Maybe because of this if you try with your gm

    set .gmnotop, 20; // GM not suppose to beat player's record ...
 

 

 

For the error you can try with the latest integer's function find in this topic

//    ~~~~~ Please use this latest int__ function that support negative numbers ~~~~~
function    script    int__    {
    .@i = getstrlen( .@str$ = getarg(0) ) -3;
    .@is_negative = charat( .@str$, 0 ) == "-";
    while ( .@i > .@is_negative ) {
        .@str$ = insertchar( .@str$, ",", .@i );
        .@i -= 3;
    }
    return .@str$;
}
Edited by Capuche
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   79
  • Joined:  12/04/12
  • Last Seen:  

    set .gmnotop, 20; // GM not suppose to beat player's record ...

 

 

no bro. since i see, when my player go also nothing.

 

ok i try the function on there :)

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
Answer this question...

×   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...