Blue Jem Posted March 10, 2014 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Share Posted March 10, 2014 (edited) how can set the pvp ladder in one map example : 1. pvp is florian map 2.npc show the top 5 pvp ladder in florian 3. autoregister to pvp ladder http://www.eathena.ws/board/-Ultimate-Pvp-Ladder--t177818.html this i dont know how to set 1 map only Edited March 10, 2014 by Blue Jem Quote Link to comment Share on other sites More sharing options...
tinko Posted March 10, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 30 Reputation: 3 Joined: 03/15/13 Last Seen: September 9, 2024 Share Posted March 10, 2014 http://www.eathena.ws/board/index.php?showtopic=237765 here have one with dota sound ^^ but you can remove it i think Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted March 10, 2014 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted March 10, 2014 (edited) i mean sir same to PVP ladder recard the dead and killed and show the top 5 pvp ladder in the town Edited March 10, 2014 by Blue Jem Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 11, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: April 18 Share Posted March 11, 2014 florian,123,123,5 script Florian PvP Ladder 837,{ query_sql "SELECT `char`.char_id,`char`.`name`,global_reg_value.`value` FROM global_reg_value LEFT JOIN `char` ON global_reg_value.char_id=`char`.char_id WHERE global_reg_value.str='fpvppts' ORDER BY CAST(`global_reg_value`.`value` AS UNSIGNED) DESC LIMIT 20", .@lad_id, .@lame$, .@lount; mes "^0000FFRank^000000) ^AA0000Name^000000 - ^008800Kills^000000:^FF8C00Deaths^000000"; for( set .@x,0; .@x<=5; set .@x,.@x+1 ) { query_sql (" SELECT `value` FROM `global_reg_value` WHERE `str`='fdpvppts' AND `char_id`='"+.@lad_id[.@x]+"' ",.@death); mes "^0000FF"+(.@x+1)+"^000000) ^AA0000"+.@lame$[.@x]+"^000000 - ^008800"+.@lount[.@x]+"^000000:^FF8C00"+.@death+"^000000"; } close; } - script FlorianPvP -1,{ OnPCKillEvent: if(strcharinfo(3) == "florian") set fpvppts,fpvppts+1; end; OnPCDieEvent: if(strcharinfo(3) == "florian") set fdpvppts,fdpvppts+1; end; } Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted March 11, 2014 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted March 11, 2014 how ) thank you master and can i request 1 more can reset the PVP ladder ) Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 11, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: April 18 Share Posted March 11, 2014 - script AutoLadderReset -1,{ OnSun2358: query_sql("DELETE FROM `global_reg_value` WHERE `str`='fpvppts'"); query_sql("DELETE FROM `global_reg_value` WHERE `str`='fdpvppts'"); announce "PvP Ladder has been reset! ",bc_all,0xFFF8DC; end; } It would reset the ladder every Sunday 11:58PM, though I am not sure it would work properly because the players need to reconnect, I think Quote Link to comment Share on other sites More sharing options...
Blue Jem Posted March 11, 2014 Group: Members Topic Count: 151 Topics Per Day: 0.04 Content Count: 393 Reputation: 3 Joined: 09/16/13 Last Seen: June 4, 2014 Author Share Posted March 11, 2014 reset my GM? Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 11, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: April 18 Share Posted March 11, 2014 what? you mean manual? Quote Link to comment Share on other sites More sharing options...
Kido Posted March 11, 2014 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted March 11, 2014 she means "can be reseted by gm" ? Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 11, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: April 18 Share Posted March 11, 2014 - script AutoLadderReset -1,{ OnSun2358: query_sql("DELETE FROM `global_reg_value` WHERE `str`='fpvppts'"); query_sql("DELETE FROM `global_reg_value` WHERE `str`='fdpvppts'"); announce "PvP Ladder has been reset! ",bc_all,0xFFF8DC; end; OnWhisperGlobal: if(getgmlevel() > 40){ query_sql("DELETE FROM `global_reg_value` WHERE `str`='fpvppts'"); query_sql("DELETE FROM `global_reg_value` WHERE `str`='fdpvppts'"); announce "The PvP Ladder has been reset by a GM! ",bc_all,0xFFF8DC; } end; } reset via whisper/pm AutoLadderReset Quote Link to comment Share on other sites More sharing options...
Question
Blue Jem
how can set the pvp ladder in one map
example :
1. pvp is florian map
2.npc show the top 5 pvp ladder in florian
3. autoregister to pvp ladder
http://www.eathena.ws/board/-Ultimate-Pvp-Ladder--t177818.html
this i dont know how to set 1 map only
Edited by Blue JemLink 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.