Project Zomboid

Project Zomboid

Improved Build Menu [Build 41]
 This topic has been pinned, so it's probably important
Vaileasys  [developer] 2 Aug, 2021 @ 3:51am
Bug Reports
If you find a bug, please post a description of it here.
< >
Showing 1-15 of 39 comments
Merix 2 Aug, 2021 @ 6:29pm 
Pinpointed an issue with my current mods and for some reason, having this mod loaded breaks the Destroy option of the Sledgehammer, when disabling this mod, functionality of the sledgehammer is restored.

I disabled all other mods that directly reference changes to the sledgehammer temporarily to test and confirmed that the sledgehammer still did not function with only your mod active.

It's possible i easily overlooked some other mod causing crossmod compatibility issues, but hopefully this gives you something to go off of.
Vaileasys  [developer] 3 Aug, 2021 @ 1:44am 
Originally posted by Merix:
Pinpointed an issue with my current mods and for some reason, having this mod loaded breaks the Destroy option of the Sledgehammer, when disabling this mod, functionality of the sledgehammer is restored.

I disabled all other mods that directly reference changes to the sledgehammer temporarily to test and confirmed that the sledgehammer still did not function with only your mod active.

It's possible i easily overlooked some other mod causing crossmod compatibility issues, but hopefully this gives you something to go off of.
I've had this reported before, but this mod doesn't change the functionality of the sledgehammer and works fine without other mods.

It does sound like a compatibility issue. This is a big issue with this type of mod, as it overrides an existing file that contains the function for the destroy option (this is necessary to replace the vanilla build menu).

If you can isolate it to 2 or 3 mods that you think may be the cause, I can take a look and find a way to improve compatibility.
Merix 3 Aug, 2021 @ 8:18pm 
Alright, when i get some time in about two days I'll go ahead and do some additional mod isolation testing to see if i can't pinpoint which mod exactly is the root cause.

I'd currently lean towards G.E.A.R mod's Back rig and calf sheathe portion, just lockpicking, or maybe Let Me Think. though let me think im pretty sure i ruled out myself but im not certain.
Merix 3 Aug, 2021 @ 8:19pm 
again, i'll do some PoE testing in a couple of days to see if i can't pinpoint the issue.

maybe it's itemtweaker API even...
Last edited by Merix; 3 Aug, 2021 @ 8:19pm
Mousegerwitz 3 Aug, 2021 @ 11:18pm 
I get this a lot and get red warning when right clicking atm.
Is this referencing this mod?


Callframe at: getSpecificPlayer
function: getSpriteLvl -- file: ISBuildMenu.lua line # 2290
function: getWoodenFloorSprites -- file: ISBuildMenu.lua line # 1949
function: buildFloorMenu -- file: ISNewBuildMenu.lua line # 3
function: doBuildMenu -- file: ISBuildMenu.lua line # 193
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@dbaf0fe8
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1460
function: createMenu -- file: ISMenuContextWorld.lua line # 50
function: createWorldMenu -- file: ISContextManager.lua line # 28
function: doRClick -- file: ISObjectClickHandler.lua line # 56
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 360.
[04-08-21 06:38:55.370] ERROR: General , 1628055535370> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: at MethodArguments.assertValid line:123..
[04-08-21 06:38:55.371] ERROR: General , 1628055535371> DebugLogStream.printException> Stack trace:.
[04-08-21 06:38:55.374] LOG : General , 1628055535374> -----------------------------------------
STACK TRACE
Vaileasys  [developer] 4 Aug, 2021 @ 1:02am 
Originally posted by Jellybelly:
I get this a lot and get red warning when right clicking atm.
Is this referencing this mod?


Callframe at: getSpecificPlayer
function: getSpriteLvl -- file: ISBuildMenu.lua line # 2290
function: getWoodenFloorSprites -- file: ISBuildMenu.lua line # 1949
function: buildFloorMenu -- file: ISNewBuildMenu.lua line # 3
function: doBuildMenu -- file: ISBuildMenu.lua line # 193
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@dbaf0fe8
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1460
function: createMenu -- file: ISMenuContextWorld.lua line # 50
function: createWorldMenu -- file: ISContextManager.lua line # 28
function: doRClick -- file: ISObjectClickHandler.lua line # 56
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 360.
[04-08-21 06:38:55.370] ERROR: General , 1628055535370> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: at MethodArguments.assertValid line:123..
[04-08-21 06:38:55.371] ERROR: General , 1628055535371> DebugLogStream.printException> Stack trace:.
[04-08-21 06:38:55.374] LOG : General , 1628055535374> -----------------------------------------
STACK TRACE
Are you using aquatsar yacht club? And are you on 41.51+ (iwbums)?
I fixed this compatibility bug some time ago, but may have re-introduced it. I'll release a patch today if I can.
Vaileasys  [developer] 4 Aug, 2021 @ 1:03am 
Originally posted by Merix:
Alright, when i get some time in about two days I'll go ahead and do some additional mod isolation testing to see if i can't pinpoint which mod exactly is the root cause.

I'd currently lean towards G.E.A.R mod's Back rig and calf sheathe portion, just lockpicking, or maybe Let Me Think. though let me think im pretty sure i ruled out myself but im not certain.
It's not Item Tweaker API. I'll try take a look at the mods you mentioned.
Last edited by Vaileasys; 4 Aug, 2021 @ 1:08am
Hey, just weighing in - I think you might have accidentally reintroduced the compatibility bug that you previously had with aquatsar yacht club. I have an identical error popping up when i right click on anything, and also have Aquatsar installed. I'm also on 41.51+. I'll copy/paste the console info.

STACK TRACE
-----------------------------------------
Callframe at: getSpecificPlayer
function: getSpriteLvl -- file: ISBuildMenu.lua line # 2290
function: getWoodenFloorSprites -- file: ISBuildMenu.lua line # 1949
function: buildFloorMenu -- file: ISNewBuildMenu.lua line # 3
function: doBuildMenu -- file: ISBuildMenu.lua line # 193
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@f2b6b764
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1460
function: createMenu -- file: ISMenuContextWorld.lua line # 50
function: createWorldMenu -- file: ISContextManager.lua line # 28
function: doRClick -- file: ISObjectClickHandler.lua line # 56
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 360


I'll try and start a newgame without Aquatsar enabled and let you know if it removes the error~
Last edited by Gabe "the Glueman" Degrossi; 4 Aug, 2021 @ 2:58am
Originally posted by Gabe "The Ghostman" DeGrossi:
Hey, just weighing in - I think you might have accidentally reintroduced the compatibility bug that you previously had with aquatsar yacht club. I have an identical error popping up when i right click on anything, and also have Aquatsar installed. I'm also on 41.51+. I'll copy/paste the console info.

STACK TRACE
-----------------------------------------
Callframe at: getSpecificPlayer
function: getSpriteLvl -- file: ISBuildMenu.lua line # 2290
function: getWoodenFloorSprites -- file: ISBuildMenu.lua line # 1949
function: buildFloorMenu -- file: ISNewBuildMenu.lua line # 3
function: doBuildMenu -- file: ISBuildMenu.lua line # 193
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@f2b6b764
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1460
function: createMenu -- file: ISMenuContextWorld.lua line # 50
function: createWorldMenu -- file: ISContextManager.lua line # 28
function: doRClick -- file: ISObjectClickHandler.lua line # 56
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 360


I'll try and start a newgame without Aquatsar enabled and let you know if it removes the error~

Started a new game without Aquatsar, cheat-menu'd myself some tools, and can confirm that I am no longer getting errors when I right-click stuff.
Vaileasys  [developer] 4 Aug, 2021 @ 3:20am 
Originally posted by Gabe "The Ghostman" DeGrossi:
Hey, just weighing in - I think you might have accidentally reintroduced the compatibility bug that you previously had with aquatsar yacht club. I have an identical error popping up when i right click on anything, and also have Aquatsar installed. I'm also on 41.51+. I'll copy/paste the console info.

~snip~

I'll try and start a newgame without Aquatsar enabled and let you know if it removes the error~
I've got a patch coming out shortly. It fixes this issue. Thanks
Merix 4 Aug, 2021 @ 7:21am 
spent some time trying to find the root cause and created a new save. i loaded every mod i had and then some more and could not recreate the same bug on the new world, at this point im scratching my head as to what the difference is. When i created a 3rd map with all the mods already loaded, the issue returned, it may have something to do with load order... at this point i don't know how to troubleshoot further while maintaining sanity.

Originally posted by Vaileasys:
Originally posted by Merix:
Pinpointed an issue with my current mods and for some reason, having this mod loaded breaks the Destroy option of the Sledgehammer, when disabling this mod, functionality of the sledgehammer is restored.

I disabled all other mods that directly reference changes to the sledgehammer temporarily to test and confirmed that the sledgehammer still did not function with only your mod active.

It's possible i easily overlooked some other mod causing crossmod compatibility issues, but hopefully this gives you something to go off of.
I've had this reported before, but this mod doesn't change the functionality of the sledgehammer and works fine without other mods.

It does sound like a compatibility issue. This is a big issue with this type of mod, as it overrides an existing file that contains the function for the destroy option (this is necessary to replace the vanilla build menu).

If you can isolate it to 2 or 3 mods that you think may be the cause, I can take a look and find a way to improve compatibility.
Vaileasys  [developer] 5 Aug, 2021 @ 2:56am 
Originally posted by Merix:
spent some time trying to find the root cause and created a new save. i loaded every mod i had and then some more and could not recreate the same bug on the new world, at this point im scratching my head as to what the difference is. When i created a 3rd map with all the mods already loaded, the issue returned, it may have something to do with load order... at this point i don't know how to troubleshoot further while maintaining sanity.

Originally posted by Vaileasys:
I've had this reported before, but this mod doesn't change the functionality of the sledgehammer and works fine without other mods.

It does sound like a compatibility issue. This is a big issue with this type of mod, as it overrides an existing file that contains the function for the destroy option (this is necessary to replace the vanilla build menu).

If you can isolate it to 2 or 3 mods that you think may be the cause, I can take a look and find a way to improve compatibility.
Thanks for the hard work trying to figure it out. I took a look at the mods you mentioned, nothing stood out to me.

Next time it happens, if you immediately minimise and navigate to "C:\Users\kevin\Zomboid\Logs" and paste the contents of the latest DebugLog to https://controlc.com/ and share the link here. It might show what's stopping the "Destroy" option from appearing.

Again, thanks.
Last edited by Vaileasys; 5 Aug, 2021 @ 2:56am
Paranoid&Afraid 20 Aug, 2021 @ 2:04pm 
Sorry to bug you with this, but I'm apparently some kind of error keeps popping up whenever I happen to have a hammer in inventory (should note that I'm using the Sturdy Hammers mod as well). I think it prevents me from opening the carpentry menu; not sure what could be causing it but I think it may originate from this mod since its the only one I know that modifies the UI files for the context menu.

Here's the log:
[20-08-21 16:55:11.516] LOG : General , 1629492911516> ----------------------------------------- STACK TRACE ----------------------------------------- Callframe at: getSpecificPlayer function: getSpriteLvl -- file: ISBuildMenu.lua line # 1783 function: getWoodenFloorSprites -- file: ISBuildMenu.lua line # 1532 function: buildBridgeMenu -- file: ISNewBuildMenu_Patch.lua line # 3 function: buildFloorMenu -- file: ISNewBuildMenu.lua line # 11 function: doBuildMenu -- file: ISBuildMenu.lua line # 197 Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@24aa7723 function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1460 function: createMenu -- file: ISMenuContextWorld.lua line # 50 function: createWorldMenu -- file: ISContextManager.lua line # 28 function: doRClick -- file: ISObjectClickHandler.lua line # 56 function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 360. [20-08-21 16:55:11.517] ERROR: General , 1629492911517> ExceptionLogger.logException> Exception thrown java.lang.IllegalArgumentException at GeneratedMethodAccessor292.invoke.. [20-08-21 16:55:11.518] ERROR: General , 1629492911518> DebugLogStream.printException> Stack trace:. [20-08-21 16:55:11.522] LOG : General , 1629492911522> ------------------------------------------------------------- attempted index: getPerkLevel of non-table: null. [20-08-21 16:55:11.523] LOG : General , 1629492911523> ----------------------------------------- STACK TRACE ----------------------------------------- function: getSpriteLvl -- file: ISBuildMenu.lua line # 1783 function: getWoodenFloorSprites -- file: ISBuildMenu.lua line # 1532 function: buildBridgeMenu -- file: ISNewBuildMenu_Patch.lua line # 3 function: buildFloorMenu -- file: ISNewBuildMenu.lua line # 11 function: doBuildMenu -- file: ISBuildMenu.lua line # 197 Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@24aa7723 function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1460 function: createMenu -- file: ISMenuContextWorld.lua line # 50 function: createWorldMenu -- file: ISContextManager.lua line # 28 function: doRClick -- file: ISObjectClickHandler.lua line # 56 function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 360. [20-08-21 16:55:11.524] ERROR: General , 1629492911524> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getPerkLevel of non-table: null at KahluaThread.tableget line:1689.. [20-08-21 16:55:11.525] ERROR: General , 1629492911525> DebugLogStream.printException> Stack trace:. [20-08-21 16:55:11.530] LOG : General , 1629492911530> ----------------------------------------- STACK TRACE ----------------------------------------- function: getSpriteLvl -- file: ISBuildMenu.lua line # 1783 function: getWoodenFloorSprites -- file: ISBuildMenu.lua line # 1532 function: buildBridgeMenu -- file: ISNewBuildMenu_Patch.lua line # 3 function: buildFloorMenu -- file: ISNewBuildMenu.lua line # 11 function: doBuildMenu -- file: ISBuildMenu.lua line # 197 Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@24aa7723 function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1460 function: createMenu -- file: ISMenuContextWorld.lua line # 50 function: createWorldMenu -- file: ISContextManager.lua line # 28 function: doRClick -- file: ISObjectClickHandler.lua line # 56 function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 360. [20-08-21 16:55:11.535] LOG : General , 1629492911535> no pipe on right click. [20-08-21 16:55:11.536] LOG : General , 1629492911536> no barrel on right click. [20-08-21 16:55:11.537] LOG : General , 1629492911537> No valid door to open..
Vaileasys  [developer] 20 Aug, 2021 @ 7:02pm 
Originally posted by Paranoid&Afraid:
Sorry to bug you with this, but I'm apparently some kind of error keeps popping up whenever I happen to have a hammer in inventory (should note that I'm using the Sturdy Hammers mod as well). I think it prevents me from opening the carpentry menu; not sure what could be causing it but I think it may originate from this mod since its the only one I know that modifies the UI files for the context menu.

Here's the log:
~snip~
Looks like it's caused by 3 mods: this one, Aquatsar Yacht Club and something else. I'm not able to reproduce it on my end with just Aquatsar Yacht Club and Improved Build Menu. You must have another mod that is overriding ISBuildMenu.lua because it's essentially bypassing this mod, then being caused by the patch I added for Aquatsar Yacht Club compatibility.

The most common mods are those that adjust the health of walls. Disabling then re-enabling this mod could fix it.

If you paste the entire log file after the error to https://controlc.com/ and share the link here, I might be able to see if anything pops out at me.
Last edited by Vaileasys; 20 Aug, 2021 @ 7:03pm
Paranoid&Afraid 21 Aug, 2021 @ 1:12pm 
Originally posted by Vaileasys:
Originally posted by Paranoid&Afraid:
Sorry to bug you with this, but I'm apparently some kind of error keeps popping up whenever I happen to have a hammer in inventory (should note that I'm using the Sturdy Hammers mod as well). I think it prevents me from opening the carpentry menu; not sure what could be causing it but I think it may originate from this mod since its the only one I know that modifies the UI files for the context menu.

Here's the log:
~snip~
Looks like it's caused by 3 mods: this one, Aquatsar Yacht Club and something else. I'm not able to reproduce it on my end with just Aquatsar Yacht Club and Improved Build Menu. You must have another mod that is overriding ISBuildMenu.lua because it's essentially bypassing this mod, then being caused by the patch I added for Aquatsar Yacht Club compatibility.

The most common mods are those that adjust the health of walls. Disabling then re-enabling this mod could fix it.

If you paste the entire log file after the error to https://controlc.com/ and share the link here, I might be able to see if anything pops out at me.

Oh snap, I see. Yeah, I have POET's Stronger Log Wall mod - guess I'll disable that mod for now. Sorry for the late replay, but damn are you quick to respond. I also forgot to subscribe the discussion, lol.

Anyway, thank you for trouble shooting the problem!
< >
Showing 1-15 of 39 comments
Per page: 1530 50