KeyNotFoundException at OnEntitySpawnedNot An Issue
Failed to call hook 'OnEntitySpawned' on plugin 'AutomatedEvents v0.3.7' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <437ba245d8404784b9fbab9b439ac908>:0 
  at Oxide.Plugins.AutomatedEvents.OnEntitySpawned (BaseNetworkable entity) [0x00199] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0032e] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0 
Failed to call hook 'OnEntitySpawned' on plugin 'AutomatedEvents v0.3.7' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <437ba245d8404784b9fbab9b439ac908>:0 
  at Oxide.Plugins.AutomatedEvents.OnEntitySpawned (BaseNetworkable entity) [0x00199] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0032e] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0 

Seems to be working fine but I noticed this showing up. Thought I would send this to you

When do you receive this error? when you start your server, or when the server is already launched and online, or when an event starts ???
Failed to call hook 'OnEntitySpawned' on plugin 'AutomatedEvents v0.3.7' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <437ba245d8404784b9fbab9b439ac908>:0 
  at Oxide.Plugins.AutomatedEvents.OnEntitySpawned (BaseNetworkable entity) [0x00199] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0032e] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0 
Failed to call hook 'OnEntitySpawned' on plugin 'AutomatedEvents v0.3.7' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <437ba245d8404784b9fbab9b439ac908>:0 
  at Oxide.Plugins.AutomatedEvents.OnEntitySpawned (BaseNetworkable entity) [0x00199] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0032e] in <0330b35c34f84c7ab793e6b88b10e36d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0 

Seems to be working fine but I noticed this showing up. Thought I would send this to you.

Its the santa event

Santa won't work except when FacePunch has it active. Sadly Events only work consistently and correctly during the period they are active. Facepunch reuses the event code so it often breaks. Right now Easter (might) work as it is the last one they did. The rest will mostly not work and attempting to run them will most likely result in errors.

Merged post

Please only run seasonal events when they are live in Vanilla rust, or they will most likely malfunction.

Merged post

I just tested on my server and EggHunt still works, but there is no guarantee it will continue to work as it is dependent on the code provided by FacePunch. Most likely the most recent event will work till the next event comes.
Locked automatically