Project Zomboid

Project Zomboid

Picking Meister
Bug Report
@PePePePePeil, firstly, thank you from the bottom of my heart for making such amazing mods, some have been a must for me since the past build, thank you for sharing them with the community of PZ as well.

Secondly, i was just testing the mod with my modlist, and i got this bug, it goes like this below.

`function: insertOptionAfter -- file: ISContextMenu.lua line # 912 | Vanilla function: OnFillInventoryObjectContextMenu_Grab -- file: P4PickingMeister.lua line # 120 | MOD: Picking Meister Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@1b0a6397 function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 997 | Vanilla function: onRightMouseUp -- file: ISInventoryPane.lua line # 1465 | Vanilla java.lang.RuntimeException: __concat not defined for operands: ERROR: prev option not found: and null at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:100) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:786) 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.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:423) at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:4253) at jdk.internal.reflect.GeneratedMethodAccessor1230.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.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60) 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.pcallBoolean(KahluaThread.java:1902) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1926) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1884) at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1698) at zombie.ui.UIManager.updateMouseButtons(UIManager.java:844) at zombie.ui.UIManager.update(UIManager.java:706) 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 happened using on the latest build(42.7), with the lastest version of the mod.

Hope this is fixable.

Anymore information needed, please let me know.

Cheers.
< >
Showing 1-5 of 5 comments
PePePePePeil  [developer] 23 May @ 7:18pm 
@Rusty #DopeRust
Sorry for the late reply and thank you for the report. An error occurs when adding the "Grab Contents" menu to item's context menu. This mod try to add this menu right after the vanilla "Grab / Grab All" menu, but it seems the landmark "Grab / Grab All" menu was missing. This behavior was unexpected on my side, so could you please tell me in what situation (or with which item) the error happened?

In this case, I can avoid the error by not adding the "Grab Contents" menu. However, I would like to consider whether it’s better to truly not add it or to add it at the very bottom of the menu.
Last edited by PePePePePeil; 23 May @ 7:23pm
Originally posted by PePePePePeil:
@Rusty #DopeRust
Sorry for the late reply and thank you for the report. An error occurs when adding the "Grab Contents" menu to item's context menu. This mod try to add this menu right after the vanilla "Grab / Grab All" menu, but it seems the landmark "Grab / Grab All" menu was missing. This behavior was unexpected on my side, so could you please tell me in what situation (or with which item) the error happened?

In this case, I can avoid the error by not adding the "Grab Contents" menu. However, I would like to consider whether it’s better to truly not add it or to add it at the very bottom of the menu.

Sorry for the late reply also, my life has been a bit caotic this past days, regarding health issues and personal problems.

This happened while looting an garbage container that had multiple plastic bag's inside, or paper bag's, can't quite remember, since this happened a lot of time ago, but next time it happen's i will report right away, it may take a will though, since i haven't been able to test mod lately, because of some issues.

Thanks for your time and reply.

Cheers. :spiffo:
PePePePePeil  [developer] 14 Jun @ 6:24pm 
@Rusty #DopeRust
Thanks for the detailed information. I have checked that situation as well and it seems to be working without any problems. There may be some special condition, so if you reproduce it, please let me know. Until then, I'll leave it pending. Thank you for your cooperation.
Joc 29 Jun @ 6:02am 
Using the grab contents is crashing the client, after the update. Also the smoke a cigarette option is gone. Had to disable the mod in the server. B41 MP server.
PePePePePeil  [developer] 6 Jul @ 1:39am 
@Joc
Thanks for the report, I believe the GrabContents menu was giving an error in multiplayer before the update, too. This is because the operation to directly retrieve items in containers is not allowed in multiplayer, and I hope the vanilla side will be improved in B42's MP. Also, the TakeAndSmoke menu is not yet supported by this mod in B41, so not showing the menu would be the correct behavior.
< >
Showing 1-5 of 5 comments
Per page: 1530 50