RN1986 Posted June 3, 2012 Share Posted June 3, 2012 (edited) Umh hi rathena can i request for a top Guild NPC? thanks Edited June 3, 2012 by RN1986 Quote Link to comment Share on other sites More sharing options...
goddameit Posted June 5, 2012 Share Posted June 5, 2012 (edited) callfunc "LadderWatch","G_Own",5,0; set [email protected],getcharid(2); set @GuildOwning,0; setarray [email protected]$[0],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; setarray [email protected]$[5],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray [email protected]$[10],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray [email protected]$[15],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; for( set [email protected], 0; [email protected] <= 19; set [email protected], [email protected]+1 ) { set @GuildOwning,@GuildOwning+(getcastledata([email protected]$[[email protected]],1)[email protected]?1:0); } callfunc "LadderWork","G_Own",5,"@GuildOwning"; set @GuildOwning,0; Edited June 5, 2012 by goddameit Quote Link to comment Share on other sites More sharing options...
goddameit Posted June 3, 2012 Share 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([email protected]) + "] 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 Link to comment Share on other sites More sharing options...
RN1986 Posted June 3, 2012 Author Share Posted June 3, 2012 (edited) not the Top breaker..... top Guild is what i want thanks Edited June 3, 2012 by RN1986 Quote Link to comment Share on other sites More sharing options...
goddameit Posted June 4, 2012 Share 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 Link to comment Share on other sites More sharing options...
RN1986 Posted June 4, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
Joseph Posted June 4, 2012 Share Posted June 4, 2012 Define top guild. Quote Link to comment Share on other sites More sharing options...
RN1986 Posted June 4, 2012 Author Share Posted June 4, 2012 (edited) The most owning Guild on server... TOP5 Edited June 4, 2012 by RN1986 Quote Link to comment Share on other sites More sharing options...
Pneuma Posted June 4, 2012 Share 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 Link to comment Share on other sites More sharing options...
RN1986 Posted June 4, 2012 Author Share Posted June 4, 2012 what i want is a guild ranker inside the game Quote Link to comment Share on other sites More sharing options...
RN1986 Posted June 5, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
Umh hi rathena can i request for a top Guild NPC? thanks
Edited by RN1986Link to comment
Share on other sites