Project Zomboid

Project Zomboid

ORGM
Dr Noyd 18 Mar, 2020 @ 4:22pm
Cannot open options menu at start screen or in game when mod is enable
Already tried all manner of re-installation. Swapped ORGM mod files with fresh download in mod folder.

I think the issues is the saved cache of preferences and saved game?

Issue started when I vamped up multiple default spawn multipliers to insane percentages, like 9+ 0's.

Game runs fine, just obviously can't adjust now.

debug error bellow :steamfacepalm:

1584572617156 function: toUI -- file: ORGMClientOptions.lua line # 162
1584572617156 function: toUI -- file: MainOptions.lua line # 105
1584572617157 function: toUI -- file: MainOptions.lua line # 1813
1584572617157 function: onMenuItemMouseDownMainMenu -- file: MainScreen.lua line # 1360
< >
Showing 1-2 of 2 comments
Fenris_Wolf  [developer] 19 Mar, 2020 @ 2:39pm 
Odd. Above is only part of the stack trace, missing the actual error message. But cant see why it would bug out messing with the values: all values entered into the options screen (or read from the file) are validated against a set of rules, if its the wrong data type or falls out of range (ie: too high or too low) it gets adjusted or set to default.

Either way, the config file is usually located (assuming your on windows) at C::\Users\USERNAME\Zomboid\Lua\ORGM.ini
Malikyte 6 Nov, 2020 @ 3:05am 
I'm having the same problem this guy did. Here's the error I'm getting. Some different wording but exact same issue, every time I try to open my options menu (either from the main menu or the pause screen) this error pops up in my console.

1604660617275 function: toUI -- file: MainOptions.lua line # 987
1604660617276 function: toUI -- file: MainOptions.lua line # 105
1604660617277 function: toUI -- file: MainOptions.lua line # 1640
1604660617278 function: onMenuItemMouseDownMainMenu -- file: MainScreen.lua line # 1360
java.lang.RuntimeException: Object tried to call nil in toUI
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:83)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:975)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1922)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1747)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:77)
at zombie.ui.UIElement.onMouseDown(UIElement.java:791)
at zombie.ui.UIElement.onMouseDown(UIElement.java:758)
at zombie.ui.UIElement.onMouseDown(UIElement.java:758)
at zombie.ui.UIManager.update(UIManager.java:1075)
at zombie.GameWindow.logic(GameWindow.java:630)
at zombie.GameWindow.run(GameWindow.java:1315)
at zombie.GameWindow.maina(GameWindow.java:1091)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:184)
< >
Showing 1-2 of 2 comments
Per page: 1530 50