RN1986 Posted June 3, 2012 Posted June 3, 2012 (edited) Umh hi rathena can i request for a top Guild NPC? thanks Edited June 3, 2012 by RN1986 Quote
goddameit Posted June 5, 2012 Posted June 5, 2012 (edited) callfunc "LadderWatch","G_Own",5,0; set .@guild,getcharid(2); set @GuildOwning,0; setarray .@maps$[0],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; setarray .@maps$[5],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[10],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[15],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) { set @GuildOwning,@GuildOwning+(getcastledata(.@maps$[.@i],1)==.@guild?1:0); } callfunc "LadderWork","G_Own",5,"@GuildOwning"; set @GuildOwning,0; Edited June 5, 2012 by goddameit Quote
goddameit Posted June 3, 2012 Posted June 3, 2012 add those function 'LadderWork' , 'LadderWatch' & 'SetLadder' http://bit.ly/qO3p2y add new npc prontera,155,180,4 script Top WoE Breaker 990,{ callfunc "LadderWatch","BR",10,0; close; } add new line in ''npc\guild\agit_main.txt'' sleep 500; // Slow down script execution slightly. if( agitcheck() ) donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena"; sleep 7000; announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by the [" + getguildName(.@GID) + "] guild.",bc_all|bc_woe; set WoEBreak,WoEBreak+1;//add callfunc "LadderWork","BR",10,"WoEBreak";//add end; // War of Emperium has ended. OnAgitEnd: if (strnpcinfo(0) == "Gld_Agit_Manager") end; GvgOff strnpcinfo( 1 Quote
RN1986 Posted June 3, 2012 Author Posted June 3, 2012 (edited) not the Top breaker..... top Guild is what i want thanks Edited June 3, 2012 by RN1986 Quote
goddameit Posted June 4, 2012 Posted June 4, 2012 (edited) so... you want me to ask 'What is top guild?' or just skip your changing Edited June 4, 2012 by goddameit Quote
RN1986 Posted June 4, 2012 Author Posted June 4, 2012 haha i did not change it.. i just erase the last part... any one have a Script of top Guild Thanks Quote
RN1986 Posted June 4, 2012 Author Posted June 4, 2012 (edited) The most owning Guild on server... TOP5 Edited June 4, 2012 by RN1986 Quote
Pneuma Posted June 4, 2012 Posted June 4, 2012 Basically he wants a Guild Ranker like on FluxCP except ingame(highest level, most amount of members, or most castles) Quote
RN1986 Posted June 4, 2012 Author Posted June 4, 2012 what i want is a guild ranker inside the game Quote
RN1986 Posted June 5, 2012 Author Posted June 5, 2012 for new NPC? -> callfunc "LadderWatch","G_Own",5,0; for set agit main?_> set @GuildOwning,0; setarray .@maps$[0],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; setarray .@maps$[5],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[10],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[15],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) { set @GuildOwning,@GuildOwning+(getcastledata(.@maps$[.@i],1)==.@guild?1:0); } callfunc "LadderWork","G_Own",5,"@GuildOwning"; set @GuildOwning,0; Quote
Question
RN1986
Umh hi rathena can i request for a top Guild NPC? thanks
Edited by RN198610 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.