Jump to content
  • 0

[request] Monster Hunt Event


myieee

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   0
  • Joined:  12/07/11
  • Last Seen:  

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;
}

Edited by Arcenciel
Codebox'ed
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

my Stage Game can do it...you can give that a try if you want...

anyway, back to your posts...

what is the problem ? you show the script but you still request for a same script ? :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   0
  • Joined:  12/07/11
  • Last Seen:  

well yah the script is working now. but the problem is. the script doesnt have a time or what time they can able to play that event ?

HELP?

Edited by Arcenciel
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...