Hello, I am running a latest version of rAthena from github latest as of now ( 2/3/2014 ) and my problem is I think all spawning events that I put in my server won't work . Just like this one
prontera,123,171,5 script Find the Mushroom 1084,{
if((.Status ) == 0) {
mes "[ Find The Mushroom ]";
mes "There is no event at the moment!";
} else {
mes "There are "+.Mushroom+"s left in "+.Map$+" now!";
mes "Find and Kill the mushrooms to gain 1 x Event Ticket!";
}
close;
OnMinute5:
set .Spawn,rand(1,2);
// Random Maps
set $@ran, rand(1,4);
if ($@ran == 4) set .Map$,"izlude";
if ($@ran == 3) set .Map$,"geffen";
if ($@ran == 2) set .Map$,"morocc";
if ($@ran == 1) set .Map$,"prontera";
killmonster .Map$,"All";
monster .Map$,0,0,"Please don't kill me!",1084,.Spawn,strnpcinfo(0)+"::OnMobKilled";
announce "Find the Mushroom : Total of "+.Spawn+" Mushrooms have been Spawned in "+.Map$+"!",0;
sleep2 10000;
announce "Find the Mushroom : Every single Mushroom you kill will give you 1 x Event Ticket!",0;
sleep2 10000;
end;
OnMobKilled:
set .Spawn,.Spawn - 1;
getitem 7726,1;
if( .Spawn ) announce "[ "+strcharinfo(0)+" ] has killed 1 Mushroom. There are now "+.Spawn+" Mushroom(s) left.",bc_map;
else {
announce "Find the Mushroom Event has ended. All the Mushrooms have been Killed.",0;
set .Status,0;
}
end;
}
I'm wondering why . I set the onMinute to 5 so it means it will spawn a random mushroom number from 1 to 2 on a random map listed above but I waited for 5 mins but nothing spawns , I also put a random boss spawn event and it work work too . Can anyone help me ?
Question
RedRumPie
Hello, I am running a latest version of rAthena from github latest as of now ( 2/3/2014 ) and my problem is I think all spawning events that I put in my server won't work . Just like this one
I'm wondering why . I set the onMinute to 5 so it means it will spawn a random mushroom number from 1 to 2 on a random map listed above but I waited for 5 mins but nothing spawns , I also put a random boss spawn event and it work work too . Can anyone help me ?
Link to comment
Share on other sites
3 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.