Jump to content

Bell entity game crashes


Recommended Posts

With game version 1.14.7 and my mod, No Monsters 1.0.0 (which patches out drifters and locusts), the game crashes when a bell attempts to spawn other monsters. Here's a part of the main server log when it starts:

24.1.2021 12:22:33 [Fatal] System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Vintagestory.GameContent.AiTaskBellAlarm.trySpawnCreatures(Int32 maxquantity, Int32 range)
   at Vintagestory.GameContent.AiTaskBellAlarm.ContinueExecute(Single dt)
   at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)
   at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)
   at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)
   at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)
   at Vintagestory.GameContent.EntityBell.OnGameTick(Single dt)
   at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)
   at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)
   at Vintagestory.Server.ServerMain.Process()

With the same game version and No Monsters 1.1.0 (which patches out bells, drifters, and locusts) the disabled entities still spawn, but the game does not crash.

NoMonsters-1.1.0.zip NoMonsters-1.0.0.zip

Edited by MintYogi
Link to comment
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.