Jump to content
  • 0

PVP ladder for novice


Question

Posted

sir , could i requests the script "pvp ladder" just for job novice or shura ??
but i already had pvp ladder for universe job ? is it possible when i use double pvp ladder ?

 

Thanks in advance :D

9 answers to this question

Recommended Posts

Posted (edited)
brasilis,232,322,5    script    Novice Ladder    897,{
    
    query_sql "SELECT `char`.`name`,CAST(`value` AS UNSIGNED) " + 
                  "FROM global_reg_value " + 
                  "LEFT JOIN `char` ON global_reg_value.char_id=`char`.char_id " +
               "WHERE global_reg_value.`str`='pknov' " + 
                  "ORDER BY CAST(`value` AS UNSIGNED) DESC LIMIT 8",.@aid$,.@var;
                    mes "[Novice Ladder]";
                for (set .@i,0; .@i<getarraysize(.@aid$); set .@i,.@i+1) {
                    mes (.@i+1) +". ^0000FF"+ .@aid$[.@i]           +"^000000 ["+ .@var[.@i] +"]";
                }
                close;
 
OnPCKillEvent:
if ( BaseClass == Job_Novice ) {
set pknov,pknov+1;
end;
}
end;
}

 

test it first.

Edited by LatSo
Posted

im sorry sir i can't check it , because my server has already online and my Putty was disconnect.
when i tried to re-connect the 'Putty' and use 'screen' , and login into map server , the notice 'make listen blinded ....' is appear ,

there are other ways to check the error sir ?

Posted

Thanks for  Latso for the script , actually your script is works but there is a little typo in my own :D

Thanks for Patskie for the correcting :D

 

 

mmm last my request sir ..

how can i set the 'OnPcKillEvent' is just work in map "mymap" for example ?

:D

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