Jump to content
  • 0
RN1986

Umh hi rathena can i request for a top Guild NPC? like top breaker?

Question

Umh hi rathena can i request for a top Guild NPC? thanks

Edited by RN1986
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

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

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(

  • Upvote 1
Link to comment
Share on other sites

not the Top breaker..... top Guild :) is what i want :) thanks

Edited by RN1986
Link to comment
Share on other sites

so... you want me to ask 'What is top guild?' or just skip your changing /hum

Edited by goddameit
Link to comment
Share on other sites

haha i did not change it.. i just erase the last part...

any one have a Script of top Guild Thanks /ok

Link to comment
Share on other sites

Basically he wants a Guild Ranker like on FluxCP except ingame(highest level, most amount of members, or most castles)

Link to comment
Share on other sites

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;

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.