i just want to ask a request please help! thank you!
Informations
� Automated every 1 hour.
� Only 1 party can join with 255 base levels and job level 120 (a party consist of 10 players and a 1st Come 1st serve Basis).
� Only the party leader can register.
� Once party has entered the event map Monster will automatically spawn.
� The NPC will announce the party who killed or Finished the event
� Will automatically warp outside the event map after they killed the monster and recieved the reward.
� They can only get the reward once the monster is dead (Auto Reward given to All Party Members)
but if someone died in event or disconected in-game they wont recieve any price and the event npc will announce "Monster Hunt Event Failed to finish".
� if the 1st party didnt finish or failed in the event, the event will automatically continue and allow other party to join the event and finish it. but they need to wait atleast 5mins to join again.
here is the sample script
ayothaya,80,173,2 script Monster Hunt 929,{
if(.monsterhunt)==1 goto M_game;
mes "[Monster Hunt]";
mes "No event for the moment.";
close;
M_game:
mes "[Monster Hunt]";
if(getmapusers("pvp_n_1-3")>=1) goto L_no;
if (!getcharid(1)) {
mes "You are not in a party.";
close;
}
if (getpartyleader(getcharid(1),2) != getcharid(0)) {
mes "You are not the party leader.";
close;
}
//if(!isloggedin(getcharid(3,$@partymembername$[.i]),getcharid(0,$@partymembername$[.i]))) {
if(isloggedin(getcharid(3, $@partymembername$[.@i]))) {
mes "Some party members are not online.";
mes "Come back with everyone.";
close;
}
attachrid (getcharid(3));
if(BaseLevel<255) {
mes "Some party members don't have the Base Level required to enter Monster Hunt.";
close;
}
getpartymember(getcharid(1));
set .@PartyCount, $@partymembercount;
if (.@PartyCount == 5) {
warpparty "pvp_n_1-3",100,139,getcharid(1);
end;
}
else{
mes "Dont have enough player/s on your party.";
close;
}
L_no:
mes "There's someone in the arena.";
close;
OnMinute:
announce "Monster Hunt Event is open.",0;
monster "pvp_n_1-3.gat",0,0,"Cryptic",1847,1,"Monster Hunt::OnMobKilled";
set .monsterhunt,1;
end;
OnMobKilled:
if(getmapusers("pvp_n_1-3")==5) goto L_good;
announce ""+strcharinfo(1)+" party failed.",bc_all;
warpparty "prontera.gat",0,0,getcharid(1);
set .monsterhunt,0;
end;
L_good:
getpartymember (getcharid(1),0);
for( set .@i, 0; .@i < getarraysize($@partymembername$); set .@i, .@i+1 )
getitem 512,1,getcharid(3, $@partymembername$[.@i]);
announce ""+strcharinfo(1)+" party killed the monster.",bc_all;
warpparty "prontera.gat",0,0,getcharid(1);
set .monsterhunt,0;
end;
}
Question
myieee
i just want to ask a request please help! thank you!
Informations
� Automated every 1 hour.
� Only 1 party can join with 255 base levels and job level 120 (a party consist of 10 players and a 1st Come 1st serve Basis).
� Only the party leader can register.
� Once party has entered the event map Monster will automatically spawn.
� The NPC will announce the party who killed or Finished the event
� Will automatically warp outside the event map after they killed the monster and recieved the reward.
� They can only get the reward once the monster is dead (Auto Reward given to All Party Members)
but if someone died in event or disconected in-game they wont recieve any price and the event npc will announce "Monster Hunt Event Failed to finish".
� if the 1st party didnt finish or failed in the event, the event will automatically continue and allow other party to join the event and finish it. but they need to wait atleast 5mins to join again.
here is the sample script
Edited by ArcencielCodebox'ed
Link to comment
Share on other sites
2 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.