Project Zomboid

Project Zomboid

[B42] Background Framework
UnCheat  [developer] 11 Jan @ 1:18pm
Errors report
Please leave errors here
< >
Showing 1-15 of 24 comments
I am on PC, not steamdeck, just FYI. Also, if it helps to know I simply subscribed to the mod and enabled it in-game and that was it. Maybe I am doing something wrong, such as needing to put images in a folder first?

I am getting two errors.

FIRST ERROR:
`function: render -- file: backgroundFramework.lua line # 28 | MOD: Background Framework
function: prerender -- file: backgroundFramework.lua line # 127 | MOD: Background Framework
java.lang.RuntimeException: __mul not defined for operands in render
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:659)
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.pcallvoid(KahluaThread.java:1805)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.render(UIElement.java:1978)
at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
at zombie.ui.UIManager.render(UIManager.java:414)
at zombie.gameStates.MainScreenState.render(MainScreenState.java:456)
at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:102)
at zombie.GameWindow.renderInternal(GameWindow.java:450)
at zombie.GameWindow.frameStep(GameWindow.java:938)
at zombie.GameWindow.run_ez(GameWindow.java:810)
at zombie.GameWindow.mainThread(GameWindow.java:610)
at java.base/java.lang.Thread.run(Unknown Source)
`

SECOND ERROR:
`function: render -- file: backgroundFramework.lua line # 28 | MOD: Background Framework
function: prerender -- file: backgroundFramework.lua line # 127 | MOD: Background Framework
`
Last edited by Blessed Mother; 11 Jan @ 1:27pm
UnCheat  [developer] 11 Jan @ 1:39pm 
Or multiply is not defind for null that's right!
I've no idea why does your MainScreenState.getInstance().lightningDelta return null but I'll add check to prevent errors

Framework could just work by itself (vanilla backgrounds fullhd or ultrawide) + optional direct images
You can fix the issue then? :)
UnCheat  [developer] 11 Jan @ 2:18pm 
Sure, will roll out with logo drop menu )
UnCheat  [developer] 11 Jan @ 2:25pm 
I guess that your error could be because of mods you use manipulate MainScreenState
But I'll fix the error...
Hm. Strange, because I had no other mods enabled.
UnCheat  [developer] 11 Jan @ 2:31pm 
Resub to get an update
UnCheat  [developer] 11 Jan @ 2:31pm 
Should be fixed.
Report if there any other errors
It works now! Thank you very much.
UnCheat  [developer] 11 Jan @ 2:35pm 
Does lightning work for you?
UnCheat  [developer] 11 Jan @ 2:35pm 
May be that's an option that prevents flashing lights? :P
Lightning does not work. I tried it with the example mod and the Girl mod, but neither work.

How may we add custom logos as well?
Last edited by Blessed Mother; 11 Jan @ 2:57pm
UnCheat  [developer] 11 Jan @ 2:58pm 
Looks like your MainScreenState.getInstance().lightningDelta does not exist... no idea why...
UnCheat  [developer] 11 Jan @ 2:58pm 
Might be linux?
UnCheat  [developer] 11 Jan @ 3:04pm 
We have to read lightning from java instance variables, because there is no any indicators in lua
But your game build can't access MainScreenState.getInstance().lightningDelta
Why? I've no idea... my build can do (screenshots captured it)
< >
Showing 1-15 of 24 comments
Per page: 1530 50