Jump to content
  • 0

Question

Posted

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)
 

2 answers to this question

Recommended Posts

Posted (edited)

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
Posted
    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 :)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...