Stolao Posted April 13, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Share Posted April 13, 2014 (edited) < Stolao's Auto Event > Features: Dynamically Runs events every hour based on the in game confugurable menus Event List: Emperium Event, Zombie Survival, Dice Event, PvP Event, Maze Event, Find The Poring, Cluckers, Lucky Pick, Bombring Event, Manhunt, Find The Mushroom, Find the Baphomet, Grab the Candy, Monster Counting, Disguise, Fabre Killing, Devil Square Uses Custom Commands, @JoinEvent and @RunEvent Contain map "Maze" originally posted by here Mails Rewards to players Todo: Suggestions? Add Events DB Event, MVP Arena, Invasion, Ragnarok Training Add a vote for event option with queue Make customizable in game by gm Add more events Optimize Changelog: ... for older view git 2.39 Added Find th Baphomet 2.3A Added Grab the Candy! 2.3B Added Monsters Counting (requires the server to be compiled with regular expressions library enabled) 2.3C Combined OnPCLogout Events 2.3D Added Disgusie Event 2.3E Replaced 'strnpcinfo()' type 0 and 1 with type 3 2.3F Removed dependencey on regular expressions library for Disguise and Coutning 2.40 Fixed Poring Event setting mapflags non-dynamic map 2.41 Added Fabre Event 2.42 Fixed Emp Event Failing to annouce not enough players 2.43 Fixed Zombie Failing to start due to negative index 2.44 Added Devil Square 2.45 Certain mapflags no loger removed on events end 2.46 Warp Players to Save instead of Prontera 2.47 Made default time for emp event ~23 Days 2.48 Added a player death check to zombie event 2.49 Fixed a loop issue in PVP 2.4A Players warp to prontera instead of save, apperenetly map warp doesnt support "Save" 2.4B Fixed Lucky Pick 2.4C Fixed a missing "" in maze event 2.4D Added a check so Mushroom Event will always have at least 1 mushroom 2.4E Fixed incorrect map index for Mushroom and Bapho events 2.4F Fixed incorrect event index for Mushroom and Bapho events 2.50 Added a Gm diplay count for mob counting event if Testmode is enabled 2.51 Removed map warp from counting event 2.52 Counting event now properly removes mobs at events end 2.53 Removed SQL dependency from Fabre event 2.54 Added Warp out for disgusie event 2.55 Disabled Countdown timer in disguse event 2.56 Fixed incorrect Rules check 2.57 Added a Gm diplay mob name for disguise event for gm 99 2.58 Fixed incorrect mapindex for disguise event 2.59 Devil Square now rewards all players once last chest is killed 2.5A Fabre event now propery kills monsters at end Links: Latest Auto Event Maps: Auto_Event Maps Edited June 1, 2018 by Stolao 6 Quote Link to comment Share on other sites More sharing options...
nndsl Posted April 13, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 53 Reputation: 3 Joined: 11/28/11 Last Seen: June 1, 2016 Share Posted April 13, 2014 (edited) < Stolao's Auto Event > Features: Will Automatically pick one event from the events in its list every hour and run it. Giving out an Item and Announcing the Winner. Event List: PvP, Zombie Survival, Dice, Manhunt, Poring, Maze Uses Custom Commands, @JoinEvent and @RunEvent Todo: Suggestions? Optimize? Add more events, suggestions? Spell Check Make customisable in game by gm Make "Zeny" changable for Points Add a Shop Add a vote for event option Add Events Lucky Pick, DB Event, MVP Arena, Invasion, Ragnarok Training, L4Dead Changelog: 1.00 Basic Layout, Useing just 99-PVP 1.01 Add Zombie Survival 1.02 Add 1234 1.03 More Monster in Zombie 1.04 Fixed Stair Bug in 1234 1.05 Swich 1234 to even odd afer 7 rolls 1.06 More Monster in Zombie 1.07 More and Shorter Rounds in Zombie 1.08 Made PvpEvent 20 min limit was 10 min 1.09 Swich 1234 to last box after 8 even odd rolls 1.0A Shortened PvpEvent script by 54 line 1.0B Removed even odd afer 7 rolls in 1234 1.0C Removed last box after 8 even odd rolls in 1234 1.0D Made 1234 function baced 1.0E Made PvpEvent function based 1.0F Made Zombie function based 1.10 Added Startup via NPC Whisper 1.11 Removed "tie" in 1234 1.12 Made 1234 Configable uing arrayed server data 1.13 Added Toggable Prize item & Zeny to 1234 1.14 Added Toggable Cost item & Zeny to 1234 1.15 Added Prize Pool item & Zenyto 1234 1.16 Replaced 99-Pvp with PvpEvent 1.17 Made PVP Configable uing arrayed server data 1.18 Added Toggable Prize item & Zeny to PVP 1.10 Added Toggable Cost item & Zeny to PVP 1.1A Added Prize Pool to item & Zeny PVP 1.1B Made Zombie Kinda Configable (might add more latter) 1.1C Added Toggable Prize item & Zeny to Zombie 1.1D Added Toggable Cost item & Zeny to Zombie 1.1E Added Prize Pool to item & Zeny Zombie 1.1F Fixed minor bug in Zombies Config 1.20 Fixed minor bug in prize scripts 1.21 Fixed typo in run pvp 1.22 Fixed check Zeny in all scripts 1.23 Fixed check items in all scripts 1.24 Fixed major bug in Config 1.25 Fixed "bug" reading strings as numbers 1.26 Added event check, see if events are running already 1.27 Added Reset to config npc 1.28 Fixed bug in the prize giving phase of events 1.29 Switch prizes to close2; 1.2A Added missing Close; after Event check in whisper 1.2B Added Start of In Game Setup menu 1.2C Fixed Type in InGame Setup ":" when ";" 1.2D Fixed Missing case in 1234 1.2F Changed Perm Server Variables to Temp 1.30 replaced Monsters name with --ja-- 1.31 Changed Zombie to use while, shortend script 1.32 Made PVP have a chance of being class specific 1.33 Fixed bug with pvp class specific, logic error 1.34 Added @joinevent Command (see bindatcmnd.txt) 1.35 Removed join event npcs 1.36 Made @runevent Command (see bindatcmnd.txt) 1.37 Removed Labels from Pvp script 1.38 Removed Labels from Dice Event 1.39 Added Agit check in multiple locations 1.3A Added $@Conditions to Zombie 1.3B Changed $@Conditions&4 formula to reflect $@MaxTime 1.3C Removed dependency on bindatcmd.txt 1.3D Changed hideonnpc to disablenpc 1.3E Changed hideoffnpc to enablenpc 1.3F Added a missing else to 1234 and pvp events 1.40 Made Zombie Survival have steadily increasing waves 1.41 Added Maze Event 1.42 Added Menu on click, in case want to add a physical location 1.43 Optimized OnJoinEvent Label a little 1.44 Replaces a dispbutton with mes under OnRunEvent 1.45 Optimized 1234 Script a little 1.46 replaced while -> for 1.47 Optimized Beginging Event Countdown for all events 1.48 Made Zombies IDs Configuable 1.49 Made Zombies rate Configurable 1.4A Made killing zombie penilty greater 1.4B Optimized In event countdowns for all events 1.4C Fixed an extra '{' added by mistake 1.4D Condenced @$MobsUsed + @$MobsRate -> @$Mobs 1.4E Removed Unessisare stopnpctimer (from pre 1.0F) 1.4F Added Poring Event 1.50 Optimized PVP and Maze a little 1.51 Added $@SpecialConditions Check for all events on initiation (future in game gm config) 1.52 Fixed Time Remaining Countdown, was dispalying +1 min off 1.53 Replace 99_pvp for pvp_n_1-5, bug on my client 1.54 Replaced areawards with mapwarp when suitable 1.55 Added mapwarp to initiation of scripts 1.56 Fixed a bug in Poring, not summoning wrong Poring 1.57 Changed $@CurrentEvent -1 -> -1*$@CurrentEvent after start of event 1.58 Added $@Conditions&2 (precentheal 100,100) to PvPEvent 1.59 Added Manhunt Event 1.5A Fixed bug with Manhunt Target being killable after event still Links: v1.5A - Auto_Event.txt [Error]: npc_enable: Attempted to hide a non-existing NPC 'PvpEventPrize' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'ZombiePrize' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC '1234-Prize' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'MazePrize' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'ManhuntPrize' (flag=0). [Error]: npc_parsesrcfile: Unknown map '1@zombie' in file 'npc/aw/ev/Auto_Event.txt', line '727'. Skipping line... [Error]: npc_enable: Attempted to show a non-existing NPC 'mazeroadblock' (flag=1). [Error]: npc_enable: Attempted to hide a non-existing NPC 'MazePrize' (flag=0). How fix it errors? Please in your release added client-side files. Example: maze.gat, and '[email protected] Edited April 13, 2014 by nndsl Quote Link to comment Share on other sites More sharing options...
Stolao Posted April 13, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted April 13, 2014 (edited) Ill add them when home, all but maze are map clones. As for your errors you may ignore them its me disabling the npcs a 2nd time when they are already disabled, only event you need a map for is Maze mine is a Private Release, ill make a clone of another map and use it for the maze. Give me a day or 2 for that update.For maze ill make a map for you guys. Update Added Auto_Event Maps.rar as a download Edited April 13, 2014 by Stolao Quote Link to comment Share on other sites More sharing options...
nndsl Posted April 14, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 53 Reputation: 3 Joined: 11/28/11 Last Seen: June 1, 2016 Share Posted April 14, 2014 I'm search it in rathena forums Maze.rar Quote Link to comment Share on other sites More sharing options...
Stolao Posted April 14, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted April 14, 2014 Ah ill link it to the original file then, for credit. I'm search it in rathena forums i cant seem to find the original link mind linking it for me? Quote Link to comment Share on other sites More sharing options...
nndsl Posted April 14, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 53 Reputation: 3 Joined: 11/28/11 Last Seen: June 1, 2016 Share Posted April 14, 2014 Ah ill link it to the original file then, for credit. I'm search it in rathena forums i cant seem to find the original link mind linking it for me? http://rathena.org/board/topic/57681-solve-event-script/ I'm search in it. Quote Link to comment Share on other sites More sharing options...
Stolao Posted April 14, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted April 14, 2014 Ah ill link it to the original file then, for credit. I'm search it in rathena forums i cant seem to find the original link mind linking it for me? http://rathena.org/board/topic/57681-solve-event-script/ I'm search in it. K updated post Update Auto_Event Maps.rar now contains Maze Quote Link to comment Share on other sites More sharing options...
kitty14 Posted April 19, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.03 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Share Posted April 19, 2014 Hello! i've tried your script but its seems if zombie run and last man standing not working? i typed @joinevent requires me 10 jellopies then close, nothing happen. Quote Link to comment Share on other sites More sharing options...
Stolao Posted April 19, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted April 19, 2014 Both dont work independently, one one cab run at a time? Any errors? Quote Link to comment Share on other sites More sharing options...
kitty14 Posted April 22, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.03 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Share Posted April 22, 2014 no error , is just that i cant join. after chose yes! close. then nothing. Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted April 22, 2014 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted April 22, 2014 Both dont work independently, one one cab run at a time? Any errors? the author of maze map is Borf not manabeast http://browedit.excalibur-nw.com/?a=viewtopic&id=7 Quote Link to comment Share on other sites More sharing options...
Stolao Posted April 22, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted April 22, 2014 Both dont work independently, one one cab run at a time? Any errors? the author of maze map is Borf not manabeast http://browedit.excalibur-nw.com/?a=viewtopic&id=7 thank you, ill fix now Quote Link to comment Share on other sites More sharing options...
AngelaKiss Posted July 9, 2014 Group: Members Topic Count: 66 Topics Per Day: 0.01 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: April 26, 2024 Share Posted July 9, 2014 im doing @joinevent then ask for something and cant enter even when i have the requierments Quote Link to comment Share on other sites More sharing options...
Stolao Posted July 9, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted July 9, 2014 im doing @joinevent then ask for something and cant enter even when i have the requierments post your conf for event(s) that fail to join Quote Link to comment Share on other sites More sharing options...
Digos Posted July 22, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 88 Reputation: 23 Joined: 01/30/12 Last Seen: December 17, 2024 Share Posted July 22, 2014 (edited) Hello Stolao, Your events are very good. I noticed some erros and I'm reporting it. In Event_Management:OnJoinEvent 1 - When an event require items and the event is configured to store all the equips, the join command fails because the delitem is actually place after the storeall command. So when delitem runs, the inventory is empty. 2 - else if ( $@Cost[0] && $@Cost[1] ) If the event is configured to require an item, it will trigger the above condition. But if the player have the item in the inventory, it will simply hang the screen. Because the event require an item, ok, but the nested condition is if the player don't have the item, so, it will not trigger in the above situation and the options will hang. The correct sould be: else if ( $@Cost[0] && $@Cost[1] && (countitem($@Cost[0]) < $@Cost[1]) ) { Edited July 22, 2014 by Digos Quote Link to comment Share on other sites More sharing options...
Stolao Posted July 22, 2014 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted July 22, 2014 Hello Stolao, Your events are very good. I noticed some erros and I'm reporting it. In Event_Management:OnJoinEvent 1 - When an event require items and the event is configured to store all the equips, the join command fails because the delitem is actually place after the storeall command. So when delitem runs, the inventory is empty. 2 - else if ( $@Cost[0] && $@Cost[1] ) If the event is configured to require an item, it will trigger the above condition. But if the player have the item in the inventory, it will simply hang the screen. Because the event require an item, ok, but the nested condition is if the player don't have the item, so, it will not trigger in the above situation and the options will hang. The correct sould be: else if ( $@Cost[0] && $@Cost[1] && (countitem($@Cost[0]) < $@Cost[1]) ) { Thank you very much for the reports, ill fix both issues and update Update 1.5B Fixed a bug with storeall and item check -[Thanks Digos] 1.5C Fixed a hang screen in ( $@Cost[0] && $@Cost[1] ) -[Thanks Digos] Quote Link to comment Share on other sites More sharing options...
Stolao Posted July 17, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted July 17, 2015 Update: Auto Event v1.5C -> v1.8E Quote Link to comment Share on other sites More sharing options...
xlaws27 Posted July 18, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 57 Reputation: 2 Joined: 03/03/15 Last Seen: February 7, 2018 Share Posted July 18, 2015 links are not working!! Quote Link to comment Share on other sites More sharing options...
Stolao Posted July 18, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted July 18, 2015 (edited) links are not working!! sorry i started moving things to my git yesterday, ill continue transferring today. https://github.com/Stolao/Npc_Release/tree/master/Auto_Event EDIT: UPDATED LINKS Edited July 18, 2015 by Stolao Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 4, 2015 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 4, 2015 Add Events DB Event, MVP Arena, Invasion, Ragnarok Training Add Events Mushroom, Disguise, Devil Square Waiting @stolao update this script! nice work sir Quote Link to comment Share on other sites More sharing options...
Stolao Posted August 4, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 19 hours ago Author Share Posted August 4, 2015 Add Events DB Event, MVP Arena, Invasion, Ragnarok Training Add Events Mushroom, Disguise, Devil Square Waiting @stolao update this script! nice work sir your always waiting for updates~ Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 5, 2015 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 5, 2015 Add Events DB Event, MVP Arena, Invasion, Ragnarok Training Add Events Mushroom, Disguise, Devil Square Waiting @stolao update this script! nice work sir your always waiting for updates~ Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 14, 2015 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 14, 2015 can i ask ? why after join event. gm will stuck ? Quote Link to comment Share on other sites More sharing options...
dacvaldivia1 Posted August 14, 2015 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 10/15/13 Last Seen: August 29, 2022 Share Posted August 14, 2015 (edited) Current Version: 1.8E I have the following error any ideas fix ncp Event_Agent#Maze original, line 39 function script MazeRUN { //callfunc("MazeRUN",<eventid>,<eventname>,<eventmap>,<minplayers>,<length>); if($@CurrentEvent||agitcheck()||agitcheck2()){ end; } mapwarp getarg(2,"maze"),"prontera",155,181; enablenpc "mazeroadblock"; disablenpc "Event_Agent#Maze"; set $@CurrentEvent,getarg(0,4); for(set .@i,5; .@i > 0; set .@i,.@i-1){ Announce ""+getarg(1,"Maze")+" Event Will begin in "+.@i+" Mins!",8; Announce "Please type @joinevent to join",8; sleep 60000; } Announce ""+getarg(1,"Maze")+" Event Has Begun!",8; set $@CurrentEvent,$@CurrentEvent*-1; sleep 9000; if(getmapusers(getarg(2,"maze"))<getarg(3,1)){ mapannounce getarg(2,"maze"),"Sorry there are not enough players for this event to take place",8; } else { mapannounce getarg(2,"maze"),"Rules are simple first to get to end of maze wins, so begin~",8; disablenpc "mazeroadblock"; enablenpc "MazePrize"; <-------- **HERE** for(set .@maze,0; .@maze < getarg(4,40); set .@maze,.@maze+1){ if(getmapusers(getarg(2,"maze"))<1) set .@maze,.@maze+getarg(4,40); mapannounce getarg(2,"maze"),"There are "+(getarg(4,40)-.@maze)+" Minuets Remaining",8; sleep 60000; } mapannounce getarg(2,"maze"),"Time Is up",8; } disablenpc "Event_Agent#Maze"; sleep 5000; mapwarp getarg(2,"maze"),"prontera",155,181; set $@CurrentEvent,0; end; } Fix, line 39 function script MazeRUN { //callfunc("MazeRUN",<eventid>,<eventname>,<eventmap>,<minplayers>,<length>); if($@CurrentEvent||agitcheck()||agitcheck2()){ end; } mapwarp getarg(2,"maze"),"prontera",155,181; enablenpc "mazeroadblock"; disablenpc "Event_Agent#Maze"; set $@CurrentEvent,getarg(0,4); for(set .@i,5; .@i > 0; set .@i,.@i-1){ Announce ""+getarg(1,"Maze")+" Event Will begin in "+.@i+" Mins!",8; Announce "Please type @joinevent to join",8; sleep 60000; } Announce ""+getarg(1,"Maze")+" Event Has Begun!",8; set $@CurrentEvent,$@CurrentEvent*-1; sleep 9000; if(getmapusers(getarg(2,"maze"))<getarg(3,1)){ mapannounce getarg(2,"maze"),"Sorry there are not enough players for this event to take place",8; } else { mapannounce getarg(2,"maze"),"Rules are simple first to get to end of maze wins, so begin~",8; disablenpc "mazeroadblock"; enablenpc "Event_Agent#Maze"; <-------- **HERE** for(set .@maze,0; .@maze < getarg(4,40); set .@maze,.@maze+1){ if(getmapusers(getarg(2,"maze"))<1) set .@maze,.@maze+getarg(4,40); mapannounce getarg(2,"maze"),"There are "+(getarg(4,40)-.@maze)+" Minuets Remaining",8; sleep 60000; } mapannounce getarg(2,"maze"),"Time Is up",8; } disablenpc "Event_Agent#Maze"; sleep 5000; mapwarp getarg(2,"maze"),"prontera",155,181; set $@CurrentEvent,0; end; } Edited August 14, 2015 by dacvaldivia1 Quote Link to comment Share on other sites More sharing options...
Roxess Posted August 17, 2015 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 48 Reputation: 3 Joined: 05/01/14 Last Seen: May 10, 2019 Share Posted August 17, 2015 i can't enter in many events and the gm got stuck when run one :c but is a great npc hopefully this work at 100 % Thanks for everything anyways Quote Link to comment Share on other sites More sharing options...
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.