Project Zomboid

Project Zomboid

ProjectCannabinoid
Rhino 30 Dec, 2021 @ 8:27pm
Errors
Here's a copy of the errors coming up in the console.txt:
function: PCFarmFarmingSystem.lua -- file: PCFarmFarmingSystem.lua line # 4 ERROR: General , 1640921721336> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index of non-table at KahluaUtil.fail line:82. ERROR: General , 1640921721336> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index of non-table at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82) at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:70) at se.krka.kahlua.vm.KahluaThread.tableSet(KahluaThread.java:1726) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:594) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1782) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117) at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:550) at zombie.Lua.LuaManager.RunLua(LuaManager.java:496) at zombie.Lua.LuaManager.RunLua(LuaManager.java:482) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:329) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:256) at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:89) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145) at zombie.GameWindow.logic(GameWindow.java:289) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:745) at zombie.GameWindow.run_ez(GameWindow.java:661) at zombie.GameWindow.mainThread(GameWindow.java:475) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1640921721337> ----------------------------------------- STACK TRACE ----------------------------------------- function: PCFarmFarmingSystem.lua -- file: PCFarmFarmingSystem.lua line # 4 Dec 31, 2021 3:35:21 AM zombie.Lua.LuaManager RunLuaInternal SEVERE: java.lang.RuntimeException Dec 31, 2021 3:35:21 AM zombie.Lua.LuaManager RunLuaInternal SEVERE: java.lang.RuntimeException: Dec 31, 2021 3:35:21 AM zombie.Lua.LuaManager RunLuaInternal SEVERE: at PCFarmFarmingSystem.lua:4 LOG : Lua , 1640921721342> Loading: C:/Program Files (x86)/Steam/steamapps/workshop/content/108600/2698716508/mods/projectCannabinoid/media/lua/server/Farming/PCFarmNewCrops.lua LOG : Lua , 1640921721346> Loading: C:/Program Files (x86)/Steam/steamapps/workshop/content/108600/2698716508/mods/projectCannabinoid/media/lua/server/Farming/SFFarmFarmingSystem.lua LOG : General , 1640921721346> ----------------------------------------- STACK TRACE ----------------------------------------- function: SFFarmFarmingSystem.lua -- file: SFFarmFarmingSystem.lua line # 4 ERROR: General , 1640921721347> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index of non-table at KahluaUtil.fail line:82. ERROR: General , 1640921721347> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index of non-table at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82) at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:70) at se.krka.kahlua.vm.KahluaThread.tableSet(KahluaThread.java:1726) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:594) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1782) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117) at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:550) at zombie.Lua.LuaManager.RunLua(LuaManager.java:496) at zombie.Lua.LuaManager.RunLua(LuaManager.java:482) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:329) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:256) at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:89) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145) at zombie.GameWindow.logic(GameWindow.java:289) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:745) at zombie.GameWindow.run_ez(GameWindow.java:661) at zombie.GameWindow.mainThread(GameWindow.java:475) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1640921721348> ----------------------------------------- STACK TRACE ----------------------------------------- function: SFFarmFarmingSystem.lua -- file: SFFarmFarmingSystem.lua line # 4 Dec 31, 2021 3:35:21 AM zombie.Lua.LuaManager RunLuaInternal SEVERE: java.lang.RuntimeException Dec 31, 2021 3:35:21 AM zombie.Lua.LuaManager RunLuaInternal SEVERE: java.lang.RuntimeException: Dec 31, 2021 3:35:21 AM zombie.Lua.LuaManager RunLuaInternal SEVERE: at SFFarmFarmingSystem.lua:4
< >
Showing 1-8 of 8 comments
TTastic  [developer] 30 Dec, 2021 @ 9:09pm 
Sorry to hear! Im not able to replicate this myself but will definitely make sure to look into and try to get it fixed. Out of curiosity are you running any other mods that change/add/affect crops or farming in your world? If so let me know and I can look into that as well!
Last edited by TTastic; 30 Dec, 2021 @ 9:10pm
TTastic  [developer] 31 Dec, 2021 @ 7:10am 
I still seem unable to reproduce or have this happen and other servers aren't having the same issues. If you can let me know the status of your other mods we can determine if theyre conflicting and I can attempt a workaround for it!
Rhino 31 Dec, 2021 @ 9:30am 
Here is the collection of mods i was testing it with. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2700089889

The wild fruits is the only one i can think of that does anything related to crops/food.
Rhino 31 Dec, 2021 @ 9:31am 
when i removed your mod the errors went. i'm not sure to what extent the errors will effect things as i was able to spawn in one or 2 things and use them when testing but i don't want to have to try fix problems mid playthrough.
Master Splinter 17 Jan, 2022 @ 7:21pm 
-----------------------------------------
function: PCFarmFarmingSystem.lua -- file: PCFarmFarmingSystem.lua line # 4

ERROR: General , 1642470205318> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index of non-table at KahluaUtil.fail line:82.
ERROR: General , 1642470205318> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index of non-table
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:70)
at se.krka.kahlua.vm.KahluaThread.tableSet(KahluaThread.java:1726)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:594)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:550)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:482)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:329)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:256)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:89)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:289)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:745)
at zombie.GameWindow.run_ez(GameWindow.java:661)
at zombie.GameWindow.mainThread(GameWindow.java:475)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1642470205319> -----------------------------------------
STACK TRACE
-----------------------------------------
function: PCFarmFarmingSystem.lua -- file: PCFarmFarmingSystem.lua line # 4

Jan 17, 2022 5:43:25 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
Jan 17, 2022 5:43:25 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
Jan 17, 2022 5:43:25 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at PCFarmFarmingSystem.lua:4














Happening everytime you load into the game.
TTastic  [developer] 17 Jan, 2022 @ 11:13pm 
This looks like an error that commonly occurs when running other farming mods that are typically not compatible with Cannabinoid. What other mods are you running with Cannabinoid on that save?
Master Splinter 18 Jan, 2022 @ 6:15am 
I don’t have any farming mods. It might be from something though that isn’t compatible I just couldn’t find with what because soon as I take it out there’s not an error. My mod list is on here. https://www.battlemetrics.com/servers/zomboid/13801000
Rhino 19 Jan, 2022 @ 5:41pm 
Originally posted by TTastic:
This looks like an error that commonly occurs when running other farming mods that are typically not compatible with Cannabinoid. What other mods are you running with Cannabinoid on that save?
no farming mods, foraging mod was the closest thing to farming that i added and it was the wild berries mod. I've changed the mod collection since i originally posted this and not tested your mod since. you can see the mods collection in my previous post (further up)
< >
Showing 1-8 of 8 comments
Per page: 1530 50