DefbeatCZ / DefsLTS

Long Term Survival Mod for Project Zomboid
MIT License
11 stars 8 forks source link

exception on game load #2

Closed AmsTaFFix closed 4 years ago

AmsTaFFix commented 4 years ago
[21-03-20 12:33:35.346] LOG  : General, 1584783215346> -------------------------------------------------------------.
[21-03-20 12:33:35.347] LOG  : General, 1584783215347> attempted index: items of non-table: null.
[21-03-20 12:33:35.347] LOG  : General, 1584783215347> .
[21-03-20 12:33:35.347] LOG  : General, 1584783215347> -----------------------------------------.
[21-03-20 12:33:35.347] LOG  : General, 1584783215347> STACK TRACE.
[21-03-20 12:33:35.347] LOG  : General, 1584783215347> -----------------------------------------.
[21-03-20 12:33:35.348] LOG  : General, 1584783215348> function: registerAsLoot -- file: LootHandlerLighterFluid.lua line # 4.
[21-03-20 12:33:35.348] LOG  : General, 1584783215348> function: LootHandlerLighterFluid.lua -- file: LootHandlerLighterFluid.lua line # 9.
[21-03-20 12:33:35.348] ERROR: General, 1584783215348> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1651..
[21-03-20 12:33:35.349] ERROR: General, 1584783215349> DebugLogStream.printException> Stack trace:.
[21-03-20 12:33:35.351] LOG  : General, 1584783215351> .
[21-03-20 12:33:35.351] LOG  : General, 1584783215351> -----------------------------------------.
[21-03-20 12:33:35.352] LOG  : General, 1584783215352> STACK TRACE.
[21-03-20 12:33:35.352] LOG  : General, 1584783215352> -----------------------------------------.
[21-03-20 12:33:35.352] LOG  : General, 1584783215352> function: registerAsLoot -- file: LootHandlerLighterFluid.lua line # 4.
[21-03-20 12:33:35.352] LOG  : General, 1584783215352> function: LootHandlerLighterFluid.lua -- file: LootHandlerLighterFluid.lua line # 9.
[21-03-20 12:33:35.357] LOG  : Lua, 1584783215357> LuaManager.RunLua> Loading: H:/Steam/steamapps/workshop/content/108600/1962914415/mods/DefsLTS/media/lua/server/Items/LootHandlerWaterItems.lua.
[21-03-20 12:33:35.357] LOG  : General, 1584783215357> -------------------------------------------------------------.
[21-03-20 12:33:35.358] LOG  : General, 1584783215358> attempted index: items of non-table: null.
[21-03-20 12:33:35.358] LOG  : General, 1584783215358> .
[21-03-20 12:33:35.358] LOG  : General, 1584783215358> -----------------------------------------.
[21-03-20 12:33:35.358] LOG  : General, 1584783215358> STACK TRACE.
[21-03-20 12:33:35.358] LOG  : General, 1584783215358> -----------------------------------------.
[21-03-20 12:33:35.359] LOG  : General, 1584783215359> function: registerAsLoot -- file: LootHandlerWaterItems.lua line # 4.
[21-03-20 12:33:35.359] LOG  : General, 1584783215359> function: LootHandlerWaterItems.lua -- file: LootHandlerWaterItems.lua line # 11.
[21-03-20 12:33:35.359] ERROR: General, 1584783215359> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1651..
[21-03-20 12:33:35.360] ERROR: General, 1584783215360> DebugLogStream.printException> Stack trace:.
[21-03-20 12:33:35.362] LOG  : General, 1584783215362> .
[21-03-20 12:33:35.362] LOG  : General, 1584783215362> -----------------------------------------.
[21-03-20 12:33:35.363] LOG  : General, 1584783215363> STACK TRACE.
[21-03-20 12:33:35.363] LOG  : General, 1584783215363> -----------------------------------------.
[21-03-20 12:33:35.363] LOG  : General, 1584783215363> function: registerAsLoot -- file: LootHandlerWaterItems.lua line # 4.
[21-03-20 12:33:35.363] LOG  : General, 1584783215363> function: LootHandlerWaterItems.lua -- file: LootHandlerWaterItems.lua line # 11.

i think problem is SuburbsDistributions["shed"]["counter"] not exists

DefbeatCZ commented 4 years ago

Fixed in link. Thanks for reporting!