Stops after seconds

Hello,

since latest rust/oxide update the event stops after a few seconds. The start message appear with the set duration time and after a few seconds it shows the finished no one won message. Last month it works good and i changed nothing on it. I also made a fresh installation now but this dont help. No error message or something.
And the crates spawn sometimes on players base roof.

Just tested this with a manual event and a normal timed event , i timed the manual one and it took the set time to end and i timed the normal one and instead of 13minutes it took 12.5minutes to end the event.
might be something conflicting with your settings.

Thank you for testing. This is my data config. Should be standard

{
  "Events": [
    {
      "EventDuration (duration the event will be active for)": 800.0,
      "EventName (event name)": "Easy",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Easy Guard",
      "NpcCount (number of guards to spawn)": 6,
      "NpcHealth (health guards spawn with)": 100.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 100.0,
      "NpcAttackRadius (npc attack radius)": 150.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#32a844",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    },
    {
      "EventDuration (duration the event will be active for)": 800.0,
      "EventName (event name)": "Medium",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Medium Guard",
      "NpcCount (number of guards to spawn)": 8,
      "NpcHealth (health guards spawn with)": 150.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 100.0,
      "NpcAttackRadius (npc attack radius)": 150.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#eddf45",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    },
    {
      "EventDuration (duration the event will be active for)": 1800.0,
      "EventName (event name)": "Hard",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Hard Guard",
      "NpcCount (number of guards to spawn)": 10,
      "NpcHealth (health guards spawn with)": 200.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 100.0,
      "NpcAttackRadius (npc attack radius)": 150.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#3060d9",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    },
    {
      "EventDuration (duration the event will be active for)": 1800.0,
      "EventName (event name)": "Elite",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Elite Guard",
      "NpcCount (number of guards to spawn)": 12,
      "NpcHealth (health guards spawn with)": 350.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 100.0,
      "NpcAttackRadius (npc attack radius)": 150.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#e81728",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    }
  ]
}​

and

{
  "EnableAutoStart (enables events to spawn automatically)": true,
  "EventDuration (time between event spawns)": 1800.0,
  "Command (command name)": [
    "gc"
  ],


Merged post

Test it again after a server migration and now i get this after activate the event. Seems theres a conflict wit betternpc.

(14:50:34) | Failed to call hook 'OnCrateLanded' on plugin 'BetterNpc v1.1.3' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.BetterNpc.OnCrateLanded (HackableLockedCrate crate) [0x00000] in <9f3a971ea59b4823beb720a6553128bb>:0 
  at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003e6] in <9f3a971ea59b4823beb720a6553128bb>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc99cb05b42e4ea494cdf294badea406>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0
(14:50:55) | Unloaded plugin Guarded Crate v1.6.3 by Bazz3l​

Should i ask KpucTaJl for a solution?

Talked to Mad Mappers. They say theres a api needed in guarded crate. Would you build in that? object CanCh47SpawnNpc(HackableLockedCrate crate)

Yeah, I've had the same problem this month too. Guarded Crate worked fine last month but now only works consistently with BetterNpc unloaded. Not sure whose problem it is, but since BetterNpc is also causing a similar problem with NpcRaiders (npcs not spawning/blinking out of existence immediately), I suspect the conflict is with one of the recent changes to BetterNpc.

could you lmk if this is still a problem ty.

Yes, this is still happening. Sometimes it works fine, sometimes it ends seconds after starting. I still think it's a conflict with BetterNpc.