Jump to content
  • 0

Automated Events


Snap

Question


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Can someone share their compilation of Automated Events? ( every 30 mins or every 1 hour? )

Thanks!

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

It all is explained really good on the wiki. Click -HERE-

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

All you have to do is add

OnMinute30:

for example. So the event will run on every full 30 minutes.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Before the script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Can you try to make this automated?

gm_room_pl,192,325,4 script PoringInvasion 909,{
if (getgmlevel() >= 80) goto poringadmin;
end;

poringadmin:
 mes "[poringers]";
 mes "poring poring! ^FF0000~Hi GM " + strcharinfo(0) + ", Wanna play today?~^000000";
 mes "poring poring... poring! ^FF0000~Just tell me what to do!~^000000";
 switch(select("Start Event:Stop Event")) {
case 1:
next;
mes "[poringers]";
mes "poring! ^FF0000~Sure thing!~^000000";
emotion 33;
close2;
goto L_poringannounce;
case 2:
next;
mes "[poringers]";
mes "poring poring poring...";
close2;
goto endingevent;
end;
}
OnClock0900:
goto L_poringannounce;
L_poringannounce:
setmapflag "prontera",mf_nomobloot;
set $@EventPorON,1;
set $@EventPorONSes,$@EventPorONSes+1;
donpcevent "PoringInvasion#evnt3::OnEnable";
initnpctimer;
end;
OnTimer3600000:
set $@RoundCountPor,0;
killmonster "prontera","All";
announce "Poring forces have been able to overcome. Poring Invasion Event Done!",0;
stopnpctimer;
removemapflag "prontera",mf_nomobloot;
set $@RoundCountPor,0;
set $@EventPorON,0;
end;

endingevent:
set $@RoundCountPor,0;
killmonster "prontera","All";
announce "Poring forces have been able to overcome. Poring Invasion Event Done!",0;
stopnpctimer;
removemapflag "prontera",mf_nomobloot;
set $@RoundCountPor,0;
set $@EventPorON,0;
end;
}
//--------------------------------------------------
- script PoringInvasion#evnt3 -1,{
OnEnable:
announce "Poring family seems to have started angry because it continues to hurt ...",0;
sleep2 5000;
announce "It seems today they had planned to raid the city of Prontera massive!",0;
sleep2 5000;
announce "They've been not too fear from Prontera,",0;
sleep2 5000;
announce "Prepare yourself, Warrior of Rune Midgard!",0;
sleep2 5000;
announce "They have begun approaching ...",0;
sleep2 5000;
announce "and  The Prontera Guarder really not able to fight it.",0;
sleep2 5000;
announce "They are no longer as usual ...",0;
sleep2 5000;
announce "session "+ $@EventPorONSes +"Poring invasion begins!",0;
goto L_Start;
end;

L_Start:
areamonster "prontera",1,1,278,356,"Poring",1002,300,"";
areamonster "prontera",1,1,278,356,"Poring",1002,3,"PoringInvasionWin::OnMobKilled3";
areamonster "prontera",1,1,278,356,"Poporing",1031,300,"";
areamonster "prontera",1,1,278,356,"Poporing",1031,2,"PoringInvasionWin::OnMobKilled3";
areamonster "prontera",1,1,278,356,"Drops",1113,300,"";
areamonster "prontera",1,1,278,356,"Drops",1113,3,"PoringInvasionWin::OnMobKilled3";
areamonster "prontera",1,1,278,356,"Marin",1242,300,"";
areamonster "prontera",1,1,278,356,"Marin",1242,3,"PoringInvasionWin::OnMobKilled3";
areamonster "prontera",1,1,278,356,"Metaling",1613,300,"";
areamonster "prontera",1,1,278,356,"Metaling",1613,3,"PoringInvasionWin::OnMobKilled3";
areamonster "prontera",1,1,278,356,"Stapo",1784,300,"";
areamonster "prontera",1,1,278,356,"Stapo",1784,3,"PoringInvasionWin::OnMobKilled3";
areamonster "prontera",1,1,278,356,"Arc Angeling",1388,10,"";
areamonster "prontera",1,1,278,356,"Deviling",1582,40,"";
areamonster "prontera",1,1,278,356,"Deviling",1582,1,"PoringInvasionWin::OnMobKilled2";
areamonster "prontera",1,1,278,356,"Ghostring",1120,40,"";
areamonster "prontera",1,1,278,356,"Ghostring",1120,1,"PoringInvasionWin::OnMobKilled1";
areamonster "prontera",1,1,278,356,"Santa Poring",1062,300,"";
areamonster "prontera",1,1,278,356,"Santa Poring",1062,3,"PoringInvasionWin::OnMobKilled3";
areamonster "prontera",1,1,278,356,"Mastering",1090,40,"";
areamonster "prontera",1,1,278,356,"Angeling",1096,40,"";
areamonster "prontera",1,1,278,356,"Angeling",1096,1,"PoringInvasionWin::OnMobKilled1";
end;
}
- script PoringInvasionWin -1,{
OnMobKilled1:
if ($@EventPorON == 1) {
announce "Poring Coin won by "+ strcharinfo(0) + ".",bc_all | bc_blue;
set $@RoundCountPor,$@RoundCountPor+1;
getitem 7539,1;
goto checkingend;
}
end;
OnMobKilled2:
if ($@EventPorON == 1) {
announce "Silver Coin won by "+ strcharinfo(0) + ".",bc_all | bc_blue;
set $@RoundCountPor,$@RoundCountPor+1;
getitem 675,1;
goto checkingend;
}
end;
OnMobKilled3:
if ($@EventPorON == 1) {
announce "Bronze Coin won by "+ strcharinfo(0) + ".",bc_all | bc_blue;
set $@RoundCountPor,$@RoundCountPor+1;
getitem 673,1;
goto checkingend;
}
end;
checkingend:
if ($@RoundCountPo=23) {
set $@RoundCountPor,0;
killmonster "prontera","All";
announce "Poring forces have been able to overcome. Poring Invasion Event Done!",0;
stopnpctimer;
removemapflag "prontera",mf_nomobloot;
set $@RoundCountPor,0;
set $@EventPorON,0;
end;
}
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

just add the time do you want to play

OnClock0900:
OnClock1200:
OnClock1400:

Edited by exneval
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Snap, go read Flaid's post and then continue, maybe test it, they're already spoon-feeding you with the answers, which you could technically all have gotten yourself if you had taken 5 minutes of you all so precious time to scourer the wiki and the forum via the search function.

  • Upvote 1
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...