adiqdaru Posted September 6, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 05/31/13 Last Seen: January 13, 2016 Share Posted September 6, 2013 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 Quote Link to comment Share on other sites More sharing options...
LatSo Posted September 7, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 296 Reputation: 2 Joined: 04/11/13 Last Seen: December 22, 2020 Share Posted September 7, 2013 (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 September 7, 2013 by LatSo Quote Link to comment Share on other sites More sharing options...
adiqdaru Posted September 7, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 05/31/13 Last Seen: January 13, 2016 Author Share Posted September 7, 2013 it doesn't appear anything sir ..is it any error there ? Quote Link to comment Share on other sites More sharing options...
LatSo Posted September 7, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 296 Reputation: 2 Joined: 04/11/13 Last Seen: December 22, 2020 Share Posted September 7, 2013 is there any error shown in the map server? Quote Link to comment Share on other sites More sharing options...
adiqdaru Posted September 7, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 05/31/13 Last Seen: January 13, 2016 Author Share Posted September 7, 2013 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 ? Quote Link to comment Share on other sites More sharing options...
LatSo Posted September 7, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 296 Reputation: 2 Joined: 04/11/13 Last Seen: December 22, 2020 Share Posted September 7, 2013 check it in your test server. im not on my pc, cant test it on my own. Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 7, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 3 hours ago Share Posted September 7, 2013 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,{ Quote Link to comment Share on other sites More sharing options...
adiqdaru Posted September 8, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 05/31/13 Last Seen: January 13, 2016 Author Share Posted September 8, 2013 Thanks for Latso for the script , actually your script is works but there is a little typo in my own Thanks for Patskie for the correcting mmm last my request sir .. how can i set the 'OnPcKillEvent' is just work in map "mymap" for example ? Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 8, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 3 hours ago Share Posted September 8, 2013 Change mymap to your desired map. OnPCKillEvent: if ( strcharinfo(3) == "mymap" ) { // do something } Quote Link to comment Share on other sites More sharing options...
adiqdaru Posted September 8, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 05/31/13 Last Seen: January 13, 2016 Author Share Posted September 8, 2013 thanks for all your responses sir ..it works fine at all Quote Link to comment Share on other sites More sharing options...
Question
adiqdaru
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
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.