Project Zomboid

Project Zomboid

[B42] Background Framework
UnCheat  [开发者] 1 月 11 日 下午 1:18
Errors report
Please leave errors here
< >
正在显示第 1 - 15 条,共 25 条留言
Blessed Mother 1 月 11 日 下午 1:22 
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
`
最后由 Blessed Mother 编辑于; 1 月 11 日 下午 1:27
UnCheat  [开发者] 1 月 11 日 下午 1:39 
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
Blessed Mother 1 月 11 日 下午 2:16 
You can fix the issue then? :)
UnCheat  [开发者] 1 月 11 日 下午 2:18 
Sure, will roll out with logo drop menu )
UnCheat  [开发者] 1 月 11 日 下午 2:25 
I guess that your error could be because of mods you use manipulate MainScreenState
But I'll fix the error...
Blessed Mother 1 月 11 日 下午 2:28 
Hm. Strange, because I had no other mods enabled.
UnCheat  [开发者] 1 月 11 日 下午 2:31 
Resub to get an update
UnCheat  [开发者] 1 月 11 日 下午 2:31 
Should be fixed.
Report if there any other errors
Blessed Mother 1 月 11 日 下午 2:34 
It works now! Thank you very much.
UnCheat  [开发者] 1 月 11 日 下午 2:35 
Does lightning work for you?
UnCheat  [开发者] 1 月 11 日 下午 2:35 
May be that's an option that prevents flashing lights? :P
Blessed Mother 1 月 11 日 下午 2:56 
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?
最后由 Blessed Mother 编辑于; 1 月 11 日 下午 2:57
UnCheat  [开发者] 1 月 11 日 下午 2:58 
Looks like your MainScreenState.getInstance().lightningDelta does not exist... no idea why...
UnCheat  [开发者] 1 月 11 日 下午 2:58 
Might be linux?
UnCheat  [开发者] 1 月 11 日 下午 3:04 
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)
< >
正在显示第 1 - 15 条,共 25 条留言
每页显示数: 1530 50