Project Zomboid

Project Zomboid

Video Game Consoles Addon - More Game Boy Games Reupload for B42
Bug Report
Hey, firstly, thank you from the bottom of my heart for your work and contribution to the community of PZ with your mod, it really gives something different.

I want to report a bug, i was testing your mod just now, and i got a error popping in the Error Magnifier.

Side note.: i havent changed my modlist, this was tested in build 42.3.1, first test nothing happened and the mod worked as it should, second test around 1/2h, i started getting the error, and like i said, nothing was changed or added after the first test, i think it might be some conflitct that wasnt happening in build 41, since my load order is the same, any more info needed, please let me know.

LOG : General f:1649192, t:1740691685770> ----------------------------------------- STACK TRACE ----------------------------------------- function: replaceDummies -- file: VGC_Addon_GameBoyGames_distributions.lua line # 121 | MOD: Video Game Consoles Addon - More Game Boy Games Reupload for B42 function: onFillContainer -- file: VGC_Addon_GameBoyGames_distributions.lua line # 164 | MOD: Video Game Consoles Addon - More Game Boy Games Reupload for B42 Callframe at: fillContainer function: checkExplored -- file: ISInventoryPage.lua line # 1396 | Vanilla function: refreshBackpacks -- file: ISInventoryPage.lua line # 1608 | Vanilla function: refreshBackpacks -- file: SmarterStorageUI.lua line # 30 | MOD: Smarter Storage function: refreshBackpacks -- file: SmarterStorage.lua line # 56 | MOD: Smarter Storage function: refreshBackpacks -- file: ReorderContainers_InventoryPage.lua line # 220 | MOD: Reorder Containers function: update -- file: ISInventoryPage.lua line # 420 | Vanilla function: update -- file: ISInventoryPage.lua line # 5 | MOD: Proximity Inventory B42 ERROR: General f:1649192, t:1740691685771> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getAllType of non-table: zombie.inventory.ItemPickerJava$ItemPickerContainer@1c77f2c3 at KahluaThread.tableget(KahluaThread.java:1667). Stack trace: se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667) se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624) se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173) se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963) se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790) se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66) se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139) zombie.Lua.Event.trigger(Event.java:81) zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:410) zombie.inventory.ItemPickerJava.fillContainerInternal(ItemPickerJava.java:773) zombie.inventory.ItemPickerJava.fillContainer(ItemPickerJava.java:741) jdk.internal.reflect.GeneratedMethodAccessor1343.invoke(Unknown Source) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.base/java.lang.reflect.Method.invoke(Unknown Source) se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62) se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211) se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201) se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192) se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988) se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173) se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963) se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1805) se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38) zombie.ui.UIElement.update(UIElement.java:2052) zombie.ui.UIManager.updateUIElements(UIManager.java:1053) zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176) zombie.ui.UIManager.update(UIManager.java:807) zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176) zombie.GameWindow.logic(GameWindow.java:324) zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76) zombie.GameWindow.frameStep(GameWindow.java:909) zombie.GameWindow.run_ez(GameWindow.java:802) zombie.GameWindow.mainThread(GameWindow.java:600) java.base/java.lang.Thread.run(Unknown Source)

Once again, thank you so much for the awesome mod, hope to get some news, cheers.
< >
Showing 1-4 of 4 comments
As of last patch 42.5, the error is the same, but the mods that aparently conflicts arent?

I havent added nothing new, neither changed, so here its the updated bug popping.

`attempted index: getAllType of non-table: zombie.inventory.ItemPickerJava$ItemPickerContainer@79067482 function: replaceDummies -- file: VGC_Addon_GameBoyGames_distributions.lua line # 121 | MOD: Video Game Consoles Addon - More Game Boy Games Reupload for B42 function: onFillContainer -- file: VGC_Addon_GameBoyGames_distributions.lua line # 164 | MOD: Video Game Consoles Addon - More Game Boy Games Reupload for B42 Callframe at: fillContainer function: checkExplored -- file: ISInventoryPage.lua line # 1396 | Vanilla function: refreshBackpacks -- file: ISInventoryPage.lua line # 1608 | Vanilla function: refreshBackpacks -- file: SmarterStorageUI.lua line # 30 | MOD: Smarter Storage function: refreshBackpacks -- file: SmarterStorage.lua line # 56 | MOD: Smarter Storage function: refreshBackpacks -- file: ReorderContainers_InventoryPage.lua line # 220 | MOD: Reorder Containers function: dirtyUI -- file: ISInventoryPage.lua line # 1218 | Vanilla function: prerender -- file: ISInventoryPage.lua line # 617 | Vanilla function: prerender -- file: EquipmentUi_InventoryPage.lua line # 48 | MOD: Equipment UI java.lang.RuntimeException: attempted index: getAllType of non-table: zombie.inventory.ItemPickerJava$ItemPickerContainer@79067482 at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624) 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:1790) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66) at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139) at zombie.Lua.Event.trigger(Event.java:72) at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:410) at zombie.inventory.ItemPickerJava.fillContainerInternal(ItemPickerJava.java:773) at zombie.inventory.ItemPickerJava.fillContainer(ItemPickerJava.java:741) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988) 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:1985) at zombie.ui.UIManager.render(UIManager.java:418) at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1371) at zombie.gameStates.IngameState.renderframeui(IngameState.java:1358) at zombie.gameStates.IngameState.renderInternal(IngameState.java:1500) at zombie.gameStates.IngameState.render(IngameState.java:1447) at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:37) at zombie.GameWindow.renderInternal(GameWindow.java:473) at zombie.GameWindow.frameStep(GameWindow.java:952) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) `

Hope to get a reply, since i havent changed nothing from my previous build load order and this wasnt happening.

Regardless, thanks for keeping this mod updated for the current build.

Cheers.
Big Al  [developer] 18 Mar @ 8:42am 
Thank you for your post. I'll loo into the problem. I will propably update the mod to the newest version of the "replaceDummies" function from the parent mod. It seems it causes some of the errors.
Since you are using some other mods (Equipment UI, Smarter Storage, Reorder Containers) I cannot guarantee 100% error free compatibility.

Is it only the GameBoy addon that is causing those those errors and not the parent mod "Video Game Consoles" ?
Originally posted by Big Al:
Thank you for your post. I'll loo into the problem. I will propably update the mod to the newest version of the "replaceDummies" function from the parent mod. It seems it causes some of the errors.
Since you are using some other mods (Equipment UI, Smarter Storage, Reorder Containers) I cannot guarantee 100% error free compatibility.

Is it only the GameBoy addon that is causing those those errors and not the parent mod "Video Game Consoles" ?

Yes, only the addon mod, not the parent mod, always used it like this with the same mods you mentioned that you cant guarantee 100% error free in the previous build, never had this issue, the load order is the same as before as well.

Hope to get a fix soon, since sometimes i get alot of dummies and it takes alot of time to find a single GB card to use.

Currently havent started a playthrought waiting for a fix and doing more testings of course.

Thanks for your reply, and for your work, once again.

Cheers.
@Big Al, this keeps going and its starting to bug, with other mods as well, after the error mentioned above pops the first time, its like a chain reaction to other mods with the same function as yours.

This is the last error i got, as of the lastest build(build 42.7), it goes as follow.

`attempted index: getAllType of non-table: zombie.inventory.ItemPickerJava$ItemPickerContainer@44794614 function: replaceDummies -- file: VGC_Addon_GameBoyGames_distributions.lua line # 121 | MOD: Video Game Consoles Addon - More Game Boy Games Reupload for B42 function: onFillContainer -- file: VGC_Addon_GameBoyGames_distributions.lua line # 164 | MOD: Video Game Consoles Addon - More Game Boy Games Reupload for B42 Callframe at: fillContainer function: checkExplored -- file: ISInventoryPage.lua line # 1421 | Vanilla function: refreshBackpacks -- file: ISInventoryPage.lua line # 1633 | Vanilla function: refreshBackpacks -- file: SmarterStorageUI.lua line # 30 | MOD: Smarter Storage function: refreshBackpacks -- file: SmarterStorage.lua line # 56 | MOD: Smarter Storage function: refreshBackpacks -- file: ReorderContainers_InventoryPage.lua line # 220 | MOD: Reorder Containers function: update -- file: ISInventoryPage.lua line # 447 | Vanilla function: update -- file: ISInventoryPage.lua line # 5 | MOD: Proximity Inventory B42 java.lang.RuntimeException: attempted index: getAllType of non-table: zombie.inventory.ItemPickerJava$ItemPickerContainer@44794614 at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624) 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:1790) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66) at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139) at zombie.Lua.Event.trigger(Event.java:72) at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:410) at zombie.inventory.ItemPickerJava.fillContainerInternal(ItemPickerJava.java:785) at zombie.inventory.ItemPickerJava.fillContainer(ItemPickerJava.java:753) at jdk.internal.reflect.GeneratedMethodAccessor1634.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988) 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.update(UIElement.java:2059) at zombie.ui.UIManager.updateUIElements(UIManager.java:1034) at zombie.ui.UIManager.update(UIManager.java:789) at zombie.GameWindow.logic(GameWindow.java:332) at zombie.GameWindow.frameStep(GameWindow.java:928) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) `

This seems to be a common issue, with mods from the previous build that add loot, too some kind of tiles, you can gather more info, here: Bug Discussion

Hope you can fix this, since this is becaming annoying to deal with, because it messing with other mods.

Any more info needed, please let me know.

Cheers.
< >
Showing 1-4 of 4 comments
Per page: 1530 50