Project Zomboid

Project Zomboid

Farm mod
 This topic has been pinned, so it's probably important
ZooM  [developer] 13 Jul, 2024 @ 12:08pm
Bug Reporting Thread
Please report any bugs you encounter, whether they are visual or logical.
< >
Showing 1-15 of 58 comments
JESU WA MONKE 19 Jul, 2024 @ 7:19am 
Not really a bug, but is there a typo with wheat grains? In game it's called Wheat Frains(not sure if it's some agricultural labeling) lol
ZooM  [developer] 19 Jul, 2024 @ 11:34am 
Originally posted by JESU WA MONKE:
Not really a bug, but is there a typo with wheat grains? In game it's called Wheat Frains(not sure if it's some agricultural labeling) lol
It might be due to my English language skills :) If it's not too much trouble, could you please suggest how this section should be named?
ZooM  [developer] 19 Jul, 2024 @ 11:36am 
By the way, I will soon start updating the other sprites and will try to make them look like the vanilla trees. Also, if the trees dry out, you will need to chop them down with an axe!
JESU WA MONKE 19 Jul, 2024 @ 8:54pm 
Bug reporting seems straightforward enough I think - you did mention visual or logical!
뿌꾸 22 Jul, 2024 @ 9:44am 
attempted index: checkPlant of non-table: null
function: SHFRFarmingTimedActions.lua -- file: SHFRFarmingTimedActions.lua line # 4 | MOD: Zomboid Farm Mod
java.lang.RuntimeException: attempted index: checkPlant of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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:564)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
ZooM  [developer] 23 Jul, 2024 @ 11:29am 
The lettuce bug has been fixed and will be included in the upcoming v1.01b update soon.
뿌꾸 26 Jul, 2024 @ 4:54pm 
The issue with the lettuce has been resolved, but the error above has not been fixed. Please check the 'checkstat' section.

attempted index: checkPlant of non-table: null
function: SHFRFarmingTimedActions.lua -- file: SHFRFarmingTimedActions.lua line # 4 | MOD: Zomboid Farm Mod
java.lang.RuntimeException: attempted index: checkPlant of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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:564)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
ZooM  [developer] 27 Jul, 2024 @ 12:38pm 
I've understood the gist of the issue, but could you please specify what actions lead to this error? Ideally, the luaObject shouldn't be loading as nil. I will temporarily implement a workaround (a check to ensure luaObject is not nil), which should prevent the error but won't address the root cause.
뿌꾸 27 Jul, 2024 @ 6:22pm 
I'm currently running a dedicated server, and I get that error simply by entering the server.
Last edited by 뿌꾸; 27 Jul, 2024 @ 6:23pm
rawgu 28 Jul, 2024 @ 3:53am 
Hiya, typo on blueberry seeds, says berryblue instead :)
뿌꾸 28 Jul, 2024 @ 4:39am 
The error still appears when you access the game.

`attempted index: checkPlant of non-table: null
function: SHFRFarmingTimedActions.lua -- file: SHFRFarmingTimedActions.lua line # 4 | MOD: Zomboid Farm Mod
java.lang.RuntimeException: attempted index: checkPlant of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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:564)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
ZooM  [developer] 28 Jul, 2024 @ 9:46am 
I saw the error. To be honest, I didn't check the mod on the server. I'll try to understand the reason for the error and, if possible, fix it.
ZooM  [developer] 28 Jul, 2024 @ 1:22pm 
It seems I've managed to resolve the issue with the error, but now there's a problem with the tree display. When removing a plant and adding a tree in its place, everything works correctly on the server, but the player doesn't see the update. Currently, the player has to either leave the area and come back to reload the chunk or restart the game. I'll try to find out from experienced modders if there's a fix for this
ZooM  [developer] 28 Jul, 2024 @ 1:37pm 
Never mind, I found a solution! I'll double-check everything now and update the mod))))
rawgu 30 Jul, 2024 @ 11:03am 
For some reason, after reloading a save, my harvested berries show as "unknown berry" not sure if this is a big or just how the game works
< >
Showing 1-15 of 58 comments
Per page: 1530 50