Fixed as far as I can tell
Hopefully tonight or tomorrow. I added those hooks you requested in regards to freezing the respawn screen. I finally worked out why head shots were killing players aswell. I also implemented a round robin spawn system to stop players spawning ontop of each other![]()
EventManager
Moved
Total Downloads: 10,609 - First Release: Dec 16, 2014 - Last Update: Apr 19, 2018
- 4.92857/5, 56 likes
-
a w e s o m e!
-
Are we talking new version of the beta or full release?
-
So here is what we have so far, lots of changes here, I made a short list of what I've changed in the last couple of days. Data files should be fine to roll over, but configs have changed for a few plugins so best of deleting them and generating new ones
Code:EventManager Fixed players dieing in spikes respawning with spike effects Fixed respawn screen errors when ZoneManager deletes the corpse Corpse equipment is deleted instead of dropped (stops item spam) Fixed buildings not loading in when respawning Added 3 Respawn options (none, timer, waves) Inventory restores keys Inventory restores amoo type in weapons Added config option to auto-launch AutoEvents on startup Lots of backend changesEMInterface Fixed Class Selector Added permissions to use (eminterface.admin) Modified the class editor - Didn't add pages, but has support for upto 80 kits, with the limit of 16 classes Added options to set round limit and enemy count in event control and creator (if applicable to the event)ChopperSurvival Fixed invincible helicopters Resized and moved UI health indicatorsGungame Fixed thrown weapons not leveling up playersCTF Fixed Capture points going to wrong team Shows flag location all the time Flags auto return to spawnpoint after being dropped for 30 seconds Player clothes slots are locked to prevent shirt switchingTeamDeathmatch Player clothes slots are locked to prevent shirt switchingSlasher Fixed play timers Player clothes slots are locked to prevent shirt switching
Code:object IsRespawnFrozen() // Called when a player enters the death screen, before the timer is set. Return true to freeze respawn, or null to do nothing void RespawnAllPlayers() // When your ready call this to respawn all dead players
-
-
Will report bugs as I find them!
-
Awesome job! Will test when i get home.
-
[Deleted - Posted wrong thread]
-
Playing TDM leads to a glitch where the last player to be killed and end the session spawns below the map and begins drowning, they do not have inventory returned and four slots of clothing inventory are blocked. If the player survives the only way so far to 'free' the inventory slots is to give a clothes item, move it to a non-glitched slot and then from that move it along the bar. Have only tried so far with 1vs1.
Possibly could be fixed by allowing the player to respawn in event before ending event? -
ok so i tested gungame with respawn timer.
Here are the BIG problems:
1) when you respawn after being dead you force the arena to download again, making the clients lag a lot. The way it was before was MUCHHHHHHHHHHHH better
2) i died from a machete, then i totally bugged ... i respawned randomly on the map, fell threw the map, had 0 weapons or anything on me, i tried to go back to the arena by TPing but no one could kill me. I tried /event join it said that i was already in the arena.
[DOUBLEPOST=1476730130][/DOUBLEPOST]lastSpawnA > spawnsCountA
should be:
lastSpawnA >= spawnsCountA
Code:public int GetNextSpawn(bool team) { if (team) { ++lastSpawnA; if (lastSpawnA >= spawnsCountA) lastSpawnA = 0; return lastSpawnA; } else { ++lastSpawnB; if (lastSpawnB >= spawnsCountB) lastSpawnB = 0; return lastSpawnB; } }
Everything was perfect. Until the end.
Says Team XX won, then everyone stays in the arena, in god mod.
I tried to restart the plugins, and it totally FUCKEDDDD ^^
Players died from each other and the flag carreer still had it on him XD
So he was in the map running with the flag on his head ^^ also no one could loot anything ...
i tried to restart again the plugin, still the same.
I tried to save the server to reload the server and it just spammed errors of msising stuff
so i had to hard reboot
[DOUBLEPOST=1476731104][/DOUBLEPOST]the last errors it showedLast edited by a moderator: Oct 17, 2016 -
Code:
[10/17/2016 20:56:57] [Oxide] 20:56 [Error] Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object) [10/17/2016 20:58:40] [Oxide] 20:58 [Error] Failed to call hook 'ccmdControls' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) [10/17/2016 20:58:41] [Oxide] 20:58 [Error] Failed to call hook 'ccmdControls' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) [10/17/2016 20:58:41] [Oxide] 20:58 [Error] Failed to call hook 'ccmdControls' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) [10/17/2016 20:58:41] [Oxide] 20:58 [Error] Failed to call hook 'ccmdControls' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object)
-
You know if i can upload this version now or you think i may wait again ?
-
also probably the biggest problems.
My players (and i) can't equip anything on armor slots.
It just blocks us from doing so.
And i restarted the server :x
[DOUBLEPOST=1476731773][/DOUBLEPOST]made a quick fix to undo the container lock ^^ didn't know it existed ^^!
but it was a major issue -
Code:
(20:19:05) | [Oxide] 12:19 [Error] Failed to run a 3.00 timer in 'EventManager v3.0.6' (NullReferenceException: Object reference not set to an instance of an object) (20:19:05) | [Oxide] 12:19 [Debug] at Oxide.Plugins.EventManager.ValidateAllEvents () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.<OnServerInitialized>m__0 () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
Code:(20:24:14) | [Oxide] 12:24 [Info] [Event Manager] Registered event game: Slasher (20:24:14) | [Oxide] 12:24 [Error] [Slasher] The was a error starting the night time automated Slasher event. You must have valid entries in your config. (20:24:14) | [Oxide] 12:24 [Error] [Slasher] Player spawn file is invalid (20:24:14) | [Oxide] 12:24 [Error] [Slasher] Dead player spawn file is invalid (20:24:14) | [Oxide] 12:24 [Info] Loaded plugin GunGame v0.4.1 by k1lly0u (20:24:14) | [Oxide] 12:24 [Error] Failed to call hook 'OnServerInitialized' on plugin 'GunGame v0.4.1' (NullReferenceException: Object reference not set to an instance of an object) (20:24:14) | [Oxide] 12:24 [Debug] at Oxide.Plugins.GunGame.CheckValidSet () [0x00000] in <filename unknown>:0 at Oxide.Plugins.GunGame.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.GunGame.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (20:24:17) | [Oxide] 12:24 [Warning] [Event Manager] --- Validating all event configs and auto events --- (20:24:17) | [Oxide] 12:24 [Warning] [Event Manager] --- Finished event validation --- (20:24:17) | [Oxide] 12:24 [Error] Failed to run a 3.00 timer in 'EventManager v3.0.6' (NullReferenceException: Object reference not set to an instance of an object) (20:24:17) | [Oxide] 12:24 [Debug] at Oxide.Plugins.EventManager.ValidateAllEvents () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.<OnServerInitialized>m__0 () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
Code:(20:25:53) | [Oxide] 12:25 [Error] Failed to call hook 'cmdEventMenu' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) (20:25:53) | [Oxide] 12:25 [Debug] at Oxide.Plugins.EventManager.BroadcastToChat (System.String msg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.JoinEvent (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.cmdEventMenu (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Code:(20:27:10) | [Oxide] 12:27 [Error] Failed to call hook 'ccmdControls' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) (20:27:10) | [Oxide] 12:27 [Debug] at Oxide.Plugins.EventManager.BroadcastToChat (System.String msg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.CloseEvent () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.ccmdControls (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Code:(20:29:11) | [Oxide] 12:29 [Error] Failed to call hook 'ccmdControls' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) (20:29:11) | [Oxide] 12:29 [Debug] at Oxide.Plugins.EventManager.BroadcastToChat (System.String msg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.OpenEvent () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.LaunchEvent () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.ccmdControls (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Code:(20:30:55) | [Oxide] 12:30 [Error] Failed to call hook 'ccmdJoinEvent' on plugin 'EMInterface v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) (20:30:55) | [Oxide] 12:30 [Debug] at Oxide.Plugins.EventManager.BroadcastToChat (System.String msg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EventManager.JoinEvent (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.ccmdJoinEvent (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EMInterface.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
EDIT, nope, makes no difference, would be grateful for a quick response or I'll be switching back.
thanks
EDIt, cant get GunGame to show as an available game mode when creatingLast edited by a moderator: Oct 17, 2016 -
@k1lly0u
Event Manager | Page 60 | Oxide
i didnt put the reply on the correct post ^^ -
Yeh, unfortunarely its pretty broken, in some ways worse than before. reverting to v2.
-
I'm not sure that the errors you're seeing are across the board.
Perhaps the slasher one...but I've had no issue with public announcements or with games showing up as being available.
If GunGame isn't showing up then it didn't load successfully so manually load it and watch the console to see what's going wrong there.
[DOUBLEPOST=1476737795][/DOUBLEPOST]The only major issue I'm having is with helicopters in ChopperSurvival not dying.
In the previous version it cause server hang but in the most recent version I'm able to '/event end' to get out of it.
I have a few nit-picky requests that I might as well throw in.
Any chance of -
Previous weapon auto-selected and ready on respawn (DM/LMS).
I always have a bit of a draw the gun/put the gun away/draw the gun shuffle to do before i can go killing.
A brief 'You died' screen or even just a 1/2 second black screen so it's obvious that you've died and respawned.
I love that you don't have to do the full load-in now (thank you!!!) but sometimes it's disorienting, especially if you spawn near where you were.
Auto Auto events.
Yeah, there are autoevents but can they actually start automatically when the plugs load after server restart? 100% unattended (after initial setup) would be beautiful.
Even-number enforcement in team games?
3rd/5th/7th man is held at a waiting screen until an additional player joins, or something?
I appreciate there are more variables and circumstances with this one. Not expecting miracles here.
Just a thought.
It's only really a big deal on low pop where 2v1 is pretty common.
Picking arenas by name rather than ID?
Again, largely convenience but kits/spawns etc are by name.
I always get half way through making a new event and then go ahhh shit...what's the arena zone ID..?
Enter a name for the event?
Manual rename is a bit of a faff. Any chance of just asking for a name on creation?
If any of these have been done or I'm just not aware of something, apologies.
Just trying to share what I've observed.
The work so far is really fantastic man! Many thanks to you and anyone else involved.Last edited by a moderator: Oct 17, 2016 -
Upload this and Enjoy -
Thanks
-
I can not understand how to set the spawn file.Shows None and default!
Understood,but the weapon remains its!!!How to fix?Last edited by a moderator: Oct 18, 2016