ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Share Posted July 22, 2012 how to activate poring catcher? i set OnMinute to 05 but it doesn't activate after 5min Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 22, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted July 22, 2012 OnMinute05 mean the 5th Minute of every hour.. if you want to do it every 5 Minutes.. you have to do it like this OnMinute05: OnMinute10: etc....... Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Author Share Posted July 22, 2012 OnMinute05 mean the 5th Minute of every hour.. if you want to do it every 5 Minutes.. you have to do it like this OnMinute05: OnMinute10: etc....... what do you mean can you edit mine and set it to every 2hours? thanks - script poring#announcer -1,{ OnInit: disablenpc "poringevent"; hideonnpc "Poring Catcher#evnt2"; end; OnMinute30: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR. announce "Poring Catcher : It's time to play some Poring Catcher!",0; killmonster "poring_w01","All"; sleep2 10000; announce "Poring Catcher : Please make your way to the centre of Prontera.",0; sleep2 10000; announce "Poring Catcher : After one minute the portal will close.",0; sleep2 10000; announce "Poring Catcher : Enter the warp portal now if you want to join.",0; enablenpc "poringevent"; initnpctimer; end; OnTimer30000: announce "Poring Catcher : Last 30 seconds.",0; sleep2 5000; announce "Poring Catcher : Hurry to the centre of Prontera if you want to join.",0; end; OnTimer50000: announce "Poring Catcher : Last 10 seconds.",0; end; OnTimer55000: announce "Poring Catcher : 5.",0; end; OnTimer56000: announce "Poring Catcher : 4.",0; end; OnTimer57000: announce "Poring Catcher : 3.",0; end; OnTimer58000: announce "Poring Catcher : 2.",0; end; OnTimer59000: announce "Poring Catcher : 1.",0; end; OnTimer60000: announce "Poring Catcher : Time's up. Portal Will Open again when a GM activates it.",0; end; OnTimer61000: disablenpc "poringevent"; donpcevent "Poring Catcher#evnt2::OnEnable"; stopnpctimer; end; } //-------------------------------------------------- prontera,156,172,0 warp poringevent 2,2,poring_w01,106,129 //-------------------------------------------------- poring_w01,100,127,4 script Poring Catcher#evnt2 715,{ //-------------------------------------------------- mes "[Poring Catcher]"; if(PORING == 1) goto L_PORING; mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0; warp "prontera",155,182; end; L_PORING: mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : We have a winner, "+.@name$+". - 1 Event Token Won!",0; getitem 674,10; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE set PORING,0; warp "prontera",155,182; hideonnpc "Poring Catcher#evnt2"; end; OnEnable: mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0; goto L_Start; end; L_Start: mapannounce "poring_w01","Poring Catcher : 5",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 4",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 3",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 2",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 1",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : Lets Do This!",0; areamonster "poring_w01",84,119,121,90,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Pouring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Proing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poiring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"I am not Poring",1002,5,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Gniriop",1002,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1113,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1062,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poriiing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"PoriNg",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porong",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"P0ring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Por1ng",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porng",1002,1,"poringlose::OnMobKilled"; end; } - script poringwin -1,{ OnMobKilled: dispbottom "Poring : Congratulations. You've got me."; set PORING,1; atcommand "@doommap"; killmonster "poring_w01","All"; mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0; hideoffnpc "Poring Catcher#evnt2"; end; } - script poringlose -1,{ OnMobKilled: dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring."; warp "prontera",155,178; end; } // -- Mapflags poring_w01 mapflag nowarp poring_w01 mapflag nowarpto poring_w01 mapflag noteleport poring_w01 mapflag nosave poring_w01 mapflag nomemo poring_w01 mapflag nobranch poring_w01 mapflag noloot poring_w01 mapflag noskill poring_w01 mapflag nopenalty Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 22, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 22, 2012 Remove OnMinute30: and change it to: OnClock0000: OnClock0200: OnClock0400: OnClock0600: OnClock0800: OnClock1000: OnClock1200: OnClock1400: OnClock1600: OnClock1800: OnClock2000: OnClock2200: Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Author Share Posted July 22, 2012 Remove OnMinute30: and change it to: OnClock0000: OnClock0200: OnClock0400: OnClock0600: OnClock0800: OnClock1000: OnClock1200: OnClock1400: OnClock1600: OnClock1800: OnClock2000: OnClock2200: you mean like this? - script poring#announcer -1,{ OnInit: disablenpc "poringevent"; hideonnpc "Poring Catcher#evnt2"; end; OnClock0000: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR. OnClock0200: OnClock0400: Onclock0600: Onclock0800: Onclock1000: Onclock1200: Onclock1400: Onclock1600: Onclock1800: Onclock2000: Onclock2200: announce "Poring Catcher : It's time to play some Poring Catcher!",0; killmonster "poring_w01","All"; sleep2 10000; announce "Poring Catcher : Please make your way to the centre of Prontera.",0; sleep2 10000; announce "Poring Catcher : After one minute the portal will close.",0; sleep2 10000; announce "Poring Catcher : Enter the warp portal now if you want to join.",0; enablenpc "poringevent"; initnpctimer; end; OnTimer30000: announce "Poring Catcher : Last 30 seconds.",0; sleep2 5000; announce "Poring Catcher : Hurry to the centre of Prontera if you want to join.",0; end; OnTimer50000: announce "Poring Catcher : Last 10 seconds.",0; end; OnTimer55000: announce "Poring Catcher : 5.",0; end; OnTimer56000: announce "Poring Catcher : 4.",0; end; OnTimer57000: announce "Poring Catcher : 3.",0; end; OnTimer58000: announce "Poring Catcher : 2.",0; end; OnTimer59000: announce "Poring Catcher : 1.",0; end; OnTimer60000: announce "Poring Catcher : Time's up. Portal Will Open again when a GM activates it.",0; end; OnTimer61000: disablenpc "poringevent"; donpcevent "Poring Catcher#evnt2::OnEnable"; stopnpctimer; end; } //-------------------------------------------------- prontera,156,172,0 warp poringevent 2,2,poring_w01,106,129 //-------------------------------------------------- poring_w01,100,127,4 script Poring Catcher#evnt2 715,{ //-------------------------------------------------- mes "[Poring Catcher]"; if(PORING == 1) goto L_PORING; mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0; warp "prontera",155,182; end; L_PORING: mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : We have a winner, "+.@name$+". - 1 Event Token Won!",0; getitem 674,10; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE set PORING,0; warp "prontera",155,182; hideonnpc "Poring Catcher#evnt2"; end; OnEnable: mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0; goto L_Start; end; L_Start: mapannounce "poring_w01","Poring Catcher : 5",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 4",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 3",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 2",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 1",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : Lets Do This!",0; areamonster "poring_w01",84,119,121,90,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Pouring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Proing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poiring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"I am not Poring",1002,5,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Gniriop",1002,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1113,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1062,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poriiing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"PoriNg",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porong",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"P0ring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Por1ng",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porng",1002,1,"poringlose::OnMobKilled"; end; } - script poringwin -1,{ OnMobKilled: dispbottom "Poring : Congratulations. You've got me."; set PORING,1; atcommand "@doommap"; killmonster "poring_w01","All"; mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0; hideoffnpc "Poring Catcher#evnt2"; end; } - script poringlose -1,{ OnMobKilled: dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring."; warp "prontera",155,178; end; } // -- Mapflags poring_w01 mapflag nowarp poring_w01 mapflag nowarpto poring_w01 mapflag noteleport poring_w01 mapflag nosave poring_w01 mapflag nomemo poring_w01 mapflag nobranch poring_w01 mapflag noloot poring_w01 mapflag noskill poring_w01 mapflag nopenalty Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 22, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 22, 2012 Try it out and see if it works bud OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>: This will execute when the server clock hits the specified date or time. Hours and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31. Remember the zero. https://rathena.svn....pt_commands.txt I personally enjoy using OnClock because I can do more with it than just plain OnHour. Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Author Share Posted July 22, 2012 Try it out and see if it works bud OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>: This will execute when the server clock hits the specified date or time. Hours and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31. Remember the zero. https://rathena.svn....pt_commands.txt I personally enjoy using OnClock because I can do more with it than just plain OnHour. cant understand can you do it for me bro Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 22, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 22, 2012 Just use what you changed yourself lmao. You wanted it to work every 2 hours. Thus, this: OnClock0000: OnClock0200: OnClock0400: OnClock0600: OnClock0800: OnClock1000: OnClock1200: OnClock1400: OnClock1600: OnClock1800: OnClock2000: OnClock2200: would make it work every 2 hours. Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 22, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 22, 2012 @Mysterious: You could also be very pretentious and condense the code into this: OnMinute00: if (gettime(3)%2) end; Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Author Share Posted July 22, 2012 (edited) error bro Edited July 22, 2012 by ADMxRain Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 22, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 22, 2012 If you read what I gave you.. I said OnClock, not OnHour. =/ Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Author Share Posted July 22, 2012 ahh thanks it has no errors now now how can i remove the porings Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 22, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 22, 2012 https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/re/other/poring_war.txt Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Author Share Posted July 22, 2012 https://rathena.svn..../poring_war.txt what should i do with that? Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 22, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 22, 2012 Disable it? ._. http://rathena.org/wiki/Adding_a_Script Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Author Share Posted July 22, 2012 Disable it? ._. http://rathena.org/w...Adding_a_Script yeah yeah haha Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 23, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 23, 2012 You could always switch the map Poring Catcher hosts on =/ Quote Link to comment Share on other sites More sharing options...
kaka19 Posted August 31, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 86 Reputation: 2 Joined: 08/24/12 Last Seen: September 21, 2014 Share Posted August 31, 2012 how can i set poring cactcher time every 1 minute? OnMinute01: OnMinute[?]: OnMinute[?]: OnMinute[?]: explain to me please.. what this is mean? i dont get it. OnClock0000: OnClock0200: OnClock0400: OnClock0600: OnClock0800: OnClock1000: OnClock1200: OnClock1400: OnClock1600: OnClock1800: OnClock2000: OnClock2200: Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 31, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted August 31, 2012 every 1 minute ? OnMinuteXX: where XX range is 01 ~ 59 put all Quote Link to comment Share on other sites More sharing options...
kaka19 Posted August 31, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 86 Reputation: 2 Joined: 08/24/12 Last Seen: September 21, 2014 Share Posted August 31, 2012 haha.. i get it Quote Link to comment Share on other sites More sharing options...
jpnazar Posted April 1, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 170 Reputation: 1 Joined: 03/26/13 Last Seen: July 29, 2018 Share Posted April 1, 2013 can i have poring catcher Quote Link to comment Share on other sites More sharing options...
Question
ADMxRain
how to activate poring catcher?
i set OnMinute to 05 but it doesn't activate after 5min
Link to comment
Share on other sites
20 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.