Project Zomboid

Project Zomboid

Mod Manager
 This topic has been pinned, so it's probably important
NoctisFalco  [developer] 25 Dec, 2021 @ 5:20pm
Bug reports
If you encounter any errors or something does not work, please, report here.

If the game doesn't load because of this mod, close the game, unsubscribe from the mod and report about this.

After an error occurs pause the game and go to
C:\Users\<your_user_name>\Zomboid\console.txt

Somewhere at the end of the file you will see this line:
---------------------------------STACK TRACE---------------------------------

Example: https://i.imgur.com/O851y9R.png

Copy everything after it and some lines above which start with "ERROR" and post here (there might be several errors, copy all of them). Along with the following information: game version, the mods that you are using (if you suspect that it might be an incompatibility).

Describe steps to reproduce this error.

I will do my best to find the root cause and fix it. Thank you.
Last edited by NoctisFalco; 26 Jan, 2022 @ 1:57am
< >
Showing 1-15 of 75 comments
Hey Noctis, Now I don't know if this is apart of the mod or if it is an error on my part here: but when I go into the mod menu, the section of the "select to load" to the "rom save" seem to overlap with some other text.

(also made a screenshot of it and posted it on google photos, if you wish to look at what I mean here: https://photos.app.goo.gl/yqG1q5mPUTTUnWus8 )

this is what it says in the console.txt-

-----------------------------------------
function: saveMod_restore -- file: ModPresetSave.lua line # 283
function: showNagPanel -- file: ModPresetSave.lua line # 383
function: onMenuItemMouseDownMainMenu -- file: MainScreen.lua line # 1572

ERROR: General , 1640558280471> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1640558280472> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: items 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.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseDown(UIElement.java:996)
at zombie.ui.UIElement.onMouseDown(UIElement.java:959)
at zombie.ui.UIElement.onMouseDown(UIElement.java:959)
at zombie.ui.UIManager.update(UIManager.java:747)
at zombie.GameWindow.logic(GameWindow.java:253)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:745)
at zombie.GameWindow.run_ez(GameWindow.java:661)
at zombie.GameWindow.mainThread(GameWindow.java:475)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1640558280473> -----------------------------------------
STACK TRACE
-----------------------------------------
function: saveMod_restore -- file: ModPresetSave.lua line # 283
function: showNagPanel -- file: ModPresetSave.lua line # 383
function: onMenuItemMouseDownMainMenu -- file: MainScreen.lua line # 1572
Last edited by Tzard Nickolas "The Lit" Romanov; 26 Dec, 2021 @ 12:12pm
NoctisFalco  [developer] 26 Dec, 2021 @ 12:27pm 
@Otto Von Litmarck I always want to look, along with the error log makes it easier to find the problem :) Thank you for that!
And I found it. Do you use Mod Preset Save[v41.55]?
As I stated in the description, this mod is not compatible with any other mods that modify the mods selection screen. So just disable that mod, Mod Manager already provides that feature :)
Last edited by NoctisFalco; 26 Dec, 2021 @ 12:27pm
Originally posted by NoctisFalco:
@Otto Von Litmarck I always want to look, along with the error log makes it easier to find the problem :) Thank you for that!
And I found it. Do you use Mod Preset Save[v41.55]?
As I stated in the description, this mod is not compatible with any other mods that modify the mods selection screen. So just disable that mod, Mod Manager already provides that feature :)

Yeah, I didn't realise I had that one still enabled in the mod menu, Thought I took everything off that was related to it (I had like 2-3 other mods that revolved around the old mod menu) but guess i missed the save button mod, thank you and sorry if I wasted your time on something that should've been pretty obvious in hindsight.
Last edited by Tzard Nickolas "The Lit" Romanov; 26 Dec, 2021 @ 12:48pm
NoctisFalco  [developer] 26 Dec, 2021 @ 1:04pm 
@Otto Von Litmarck No problem and thank you, I wish everyone posted screenshots (when applicable) and error logs.
Last edited by NoctisFalco; 27 Dec, 2021 @ 10:14am
Wrath 28 Dec, 2021 @ 12:04pm 
when I save a preset when creating a game or when Re-Opening the game, the .lua files does not load properly.
NoctisFalco  [developer] 28 Dec, 2021 @ 1:07pm 
@WhiteLotus What do you mean by "does not load properly"? Can you give me more details, please? Because I can't recreate the issue.
Last edited by NoctisFalco; 28 Dec, 2021 @ 3:33pm
Wrath 28 Dec, 2021 @ 2:40pm 
For example @NoctisFalco there're certain mods that I have that need to inject the distribution tables in the game and when I look with the debugger mode I observe that those items are not in the game.
NoctisFalco  [developer] 28 Dec, 2021 @ 3:33pm 
@WhiteLotus You said "when Re-Opening the game". Does this mean that you close the game, start it again, load your save without opening and accepting changes in the mod manager?
Does the game say "Reloading lua" when loading your save? Do you see other items or functionality of those mods?
Wrath 28 Dec, 2021 @ 5:31pm 
@NoctisFalco I dunno know if I explained very well ... when I have selected the mods that I'm going to use, I save them as a preset I create my game and when I go through the game I realize that certain items are not present or certain functionalities and It makes it even worse when I close it and reopen it directly, I don't load certain mods within my game, I just have to deactivate it so as not to have this "error or bug" (obviously disabling your mod).
NoctisFalco  [developer] 29 Dec, 2021 @ 8:08am 
@WhiteLotus Alright, did you press the ACCEPT button in the bottom right corner of the Mod Manager window? Saving a preset doesn't apply changes to your current list, it just saves a preset.

So I suggest the following steps:
1a. If you want to edit mods for an already existing save, go to Load -> More -> Choose Mods...
1b. If you creating a new game, go to Solo -> Choose Mods... (at the bottom)
2. Enable mods that you want.
3. Create a preset, save it.
4. Select it in the presets panel (should already be selected after saving).
5. Check the mod list to confirm that it contains all mods from your preset.
6. Press the ACCEPT button.

After that the game should say "Reloading Lua" in the top right corner of the screen and when it's done you should see all the mods you enabled in the new game window.
pepsiman 13 Jan, 2022 @ 3:10pm 
Hello, I'd like to report a small problem since the last update, the SAVE and LOAD preset buttons don't work with 1024x768 resolution, it works well with higher ones. There's also some UI over-lapping, but only on small resolutions like these (yeah I know I use 1024x768 in 2022 :c)
NoctisFalco  [developer] 15 Jan, 2022 @ 5:08am 
@pepsiman I feel your pain, but I will have to redo a lot of things. Might come back to it later.
I've got a problem that only applies if you like to play with a lot of mods at once. I tried to start fresh by unsubscribing from all my mods at once. Then, I tried to select my old mod preset (which had many mods installed). However, the error message that showed up listed so many mods that the button to close the message window can't be seen (the window stretches so far down I can't see the button itself).

What should I do?
NoctisFalco  [developer] 15 Jan, 2022 @ 1:38pm 
@Wrench In The Plan Oops, sorry, I'll try to fix it ASAP. But for now, do not load presets with lots of uninstalled mods.
NoctisFalco  [developer] 24 Jan, 2022 @ 7:59am 
@Tututerok This is because Sobes Happiness contains not only moodles, but a lot of other stuff and overwrites the vanilla mod selector (which Mod Manager does too). So you either disable that mod or Mod Manager.
< >
Showing 1-15 of 75 comments
Per page: 1530 50