Project Zomboid

Project Zomboid

Reorganized Info Screen
Red 24. dec. 2024 kl. 22:27
Build 42 animal panel error.
Got errors when trying (and failing) to access the animal info panel.

Not super familiar with the debug mode errors or it's ui, but it looked like the line it was drawing attention to was either line 405 or 406, the latter was highlighted in green. (Had to type these out manually, i may have copied them wrong)
self.avatarPanel:setAnimSetName(self.animal:GetAnimSetName())
self.avatarPanel:setCharacter(self.animal)


Meanwhile, the ErrorMagnifier mod gave the following:
`function: create -- file: ISAnimalUI.lua line # 405 | Vanilla
function: initialise -- file: ISAnimalUI.lua line # 385 | Vanilla
function: onAnimalInfo -- file: ISAnimalContextMenu.lua line # 967 | Vanilla
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla
java.lang.RuntimeException: Object tried to call nil in create
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:954)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1626)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1688)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:873)
at zombie.ui.UIManager.update(UIManager.java:733)
at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
at zombie.GameWindow.logic(GameWindow.java:319)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:917)
at zombie.GameWindow.run_ez(GameWindow.java:810)
at zombie.GameWindow.mainThread(GameWindow.java:610)
at java.base/java.lang.Thread.run(Unknown Source)
`
Sidst redigeret af Red; 24. dec. 2024 kl. 22:28
< >
Viser 1-1 af 1 kommentarer
soulfilcher  [udvikler] 25. dec. 2024 kl. 6:55 
This one should be fixed now, thank you.
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50