Jump to content
  • 0

PVP ladder for novice


adiqdaru

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

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

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

it doesn't appear anything sir ..
is it any error there ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

is there any error shown in the map server?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

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 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

check it in your test server.

 

im not on my pc, cant test it on my own.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

it doesn't appear anything sir ..

is it any error there ?

Try doing this :

brasilis,232,322,5<TAB>script<TAB>Novice Ladder<TAB>897,{
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Change mymap to your desired map.

OnPCKillEvent:
    if ( strcharinfo(3) == "mymap" ) { // do something }
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

thanks for all your responses sir ..
it works fine at all

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