Project Zomboid

Project Zomboid

Farm mod
 此主题已被置顶,因此可能具有重要性
ZooM  [开发者] 2024 年 7 月 13 日 下午 12:08
Bug Reporting Thread
Please report any bugs you encounter, whether they are visual or logical.
< >
正在显示第 1 - 15 条,共 58 条留言
JESU WA MONKE 2024 年 7 月 19 日 上午 7:19 
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  [开发者] 2024 年 7 月 19 日 上午 11:34 
引用自 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  [开发者] 2024 年 7 月 19 日 上午 11:36 
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 2024 年 7 月 19 日 下午 8:54 
Bug reporting seems straightforward enough I think - you did mention visual or logical!
뿌꾸 2024 年 7 月 22 日 上午 9:44 
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  [开发者] 2024 年 7 月 23 日 上午 11:29 
The lettuce bug has been fixed and will be included in the upcoming v1.01b update soon.
뿌꾸 2024 年 7 月 26 日 下午 4:54 
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  [开发者] 2024 年 7 月 27 日 下午 12:38 
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.
뿌꾸 2024 年 7 月 27 日 下午 6:22 
I'm currently running a dedicated server, and I get that error simply by entering the server.
最后由 뿌꾸 编辑于; 2024 年 7 月 27 日 下午 6:23
rawgu 2024 年 7 月 28 日 上午 3:53 
Hiya, typo on blueberry seeds, says berryblue instead :)
뿌꾸 2024 年 7 月 28 日 上午 4:39 
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  [开发者] 2024 年 7 月 28 日 上午 9:46 
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  [开发者] 2024 年 7 月 28 日 下午 1:22 
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  [开发者] 2024 年 7 月 28 日 下午 1:37 
Never mind, I found a solution! I'll double-check everything now and update the mod))))
rawgu 2024 年 7 月 30 日 上午 11:03 
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
< >
正在显示第 1 - 15 条,共 58 条留言
每页显示数: 1530 50