Project Zomboid

Project Zomboid

ProjectCannabinoid
Rhino 2021 年 12 月 30 日 下午 8:27
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
< >
正在显示第 1 - 8 条,共 8 条留言
TTastic  [开发者] 2021 年 12 月 30 日 下午 9:09 
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!
最后由 TTastic 编辑于; 2021 年 12 月 30 日 下午 9:10
TTastic  [开发者] 2021 年 12 月 31 日 上午 7:10 
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 2021 年 12 月 31 日 上午 9:30 
Here is the collection of mods i was testing it with. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2700089889

The wild fruits is the only one i can think of that does anything related to crops/food.
Rhino 2021 年 12 月 31 日 上午 9:31 
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 2022 年 1 月 17 日 下午 7:21 
-----------------------------------------
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  [开发者] 2022 年 1 月 17 日 下午 11:13 
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 2022 年 1 月 18 日 上午 6:15 
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 2022 年 1 月 19 日 下午 5:41 
引用自 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)
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50