Project Zomboid

Project Zomboid

Mutie's Context Menu Icons
This topic has been locked
Yuri-chan 2 Dec, 2023 @ 12:15pm
Mod Conflict
Thank you for great mod first! I don't think I can play without it from now on.
And second
It seems that your mod conflicting with Reorder The Hotbar mod with this error
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2903771337&searchtext=hotbar

`attempted index: null of non-table: null
function: doMenu -- file: ISHotbar.lua line # 105 | Vanilla
function: doMenu -- file: MutiesContextMenuIconsAttach.lua line # 11 | MOD: Mutie's Context Menu icons
function: doMenu -- file: ReorderTheHotbar_ISHotbar.lua line # 191 | MOD: Reorder The Hotbar
function: onRightMouseUp -- file: ISHotbar.lua line # 280 | Vanilla
function: onRightMouseUp -- file: ReorderTheHotbar_ISHotbar.lua line # 178 | MOD: Reorder The Hotbar
java.lang.RuntimeException: attempted index: null 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.onRightMouseUp(UIElement.java:1458)
at zombie.ui.UIManager.update(UIManager.java:910)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
< >
Showing 1-13 of 13 comments
Mutie  [developer] 3 Dec, 2023 @ 12:42pm 
Hey Yuri,

This was a bug even without any mod interactions that I hadn't caught yesterday.

My mod should be updated with this fixed (and a few extra icons) now, please feel free to share more info if you find new bugs (or if it somehow continues!)
FalcoGamers 6 Dec, 2023 @ 7:31am 
One question, has your mod been fixed to be compatible with Reorder The Hotbar?
Mutie  [developer] 6 Dec, 2023 @ 7:40am 
Originally posted by FalcoGamers:
One question, has your mod been fixed to be compatible with Reorder The Hotbar?

Yes, the bugs related to hotbar right clicking have been fixed :)
NineLiang 7 Dec, 2023 @ 3:18am 
I don't know what the problem is. I've only enabled these two mod "MOD manager" and your MOD, but there are still no icons displayed when entering the game.

I am playing with Traditional Chinese, thank you for your assistance :)

https://i.imgur.com/sYmfemc.jpg
https://i.imgur.com/3o0Jqpp.jpg
Last edited by NineLiang; 7 Dec, 2023 @ 3:18am
Mutie  [developer] 7 Dec, 2023 @ 7:09am 
Please try right clicking an item in your inventory. I don't have icons for everything yet :D
NineLiang 7 Dec, 2023 @ 7:56am 
Originally posted by Mutie:
Please try right clicking an item in your inventory. I don't have icons for everything yet :D

Oh i got it, thanks so muck lol
Mutie  [developer] 7 Dec, 2023 @ 8:08am 
Originally posted by NineLiang:
Originally posted by Mutie:
Please try right clicking an item in your inventory. I don't have icons for everything yet :D

Oh i got it, thanks so muck lol

You're very welcome! I'll hopefully add some more things with icons in the coming days. I've already added "Sit on Ground", "Turn On", "Turn Off" in a local test, but I want to ensure they don't cause issues like the hotbar.
Agitatio 7 Dec, 2023 @ 12:20pm 
attempted index: playerNum of non-table: null function: doMenu -- file: MutiesContextMenuIconsAttach.lua line # 12 | MOD: Mutie's Context Menu icons function: doMenu -- file: ReorderTheHotbar_ISHotbar.lua line # 191 | MOD: Reorder The Hotbar function: funcName -- file: ~code for pause.lua line # 45 | MOD: AlternativeLMT function: onRightMouseUp -- file: ISHotbar.lua line # 280 | Vanilla function: onRightMouseUp -- file: ReorderTheHotbar_ISHotbar.lua line # 178 | MOD: Reorder The Hotbar java.lang.RuntimeException: attempted index: playerNum 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.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIManager.update(UIManager.java:910) at zombie.GameWindow.logic(GameWindow.java:262) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:681) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source)
Wesch 8 Dec, 2023 @ 8:02am 
Getting this error message whenever clicking the hotbar

STACK TRACE
-----------------------------------------
function: doMenu -- file: MutiesContextMenuIconsAttach.lua line # 12 | MOD: Mutie's Context Menu icons
function: onRightMouseUp -- file: ISHotbar.lua line # 280 | Vanilla

ERROR: General , 1702051245482> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: playerNum of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1702051245482> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: playerNum 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.onRightMouseUp(UIElement.java:1458)
at zombie.ui.UIManager.update(UIManager.java:910)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1702051245483> -----------------------------------------
STACK TRACE
トミー (Tommy) 28 Dec, 2023 @ 3:55am 
`attempted index: playerNum of non-table: null
function: doMenu -- file: MutiesContextMenuIconsAttach.lua line # 12 | MOD: Mutie's Context Menu icons
function: doMenu -- file: ReorderTheHotbar_ISHotbar.lua line # 191 | MOD: Reorder The Hotbar
function: onRightMouseUp -- file: ISHotbar.lua line # 280 | Vanilla
function: onRightMouseUp -- file: ReorderTheHotbar_ISHotbar.lua line # 178 | MOD: Reorder The Hotbar
java.lang.RuntimeException: attempted index: playerNum 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.onRightMouseUp(UIElement.java:1458)
at zombie.ui.UIManager.update(UIManager.java:910)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
Xyrkzes 6 Jan, 2024 @ 11:41am 
I'm still getting errors when right clicking the hotbar while using Reorder The Hotbar. is there something i need to do to update the mod manually or something?

Error code: `attempted index: playerNum of non-table: null
function: doMenu -- file: MutiesContextMenuIconsAttach.lua line # 12 | MOD: Mutie's Context Menu icons
function: doMenu -- file: ReorderTheHotbar_ISHotbar.lua line # 191 | MOD: Reorder The Hotbar
function: onRightMouseUp -- file: ISHotbar.lua line # 280 | Vanilla
function: onRightMouseUp -- file: ReorderTheHotbar_ISHotbar.lua line # 178 | MOD: Reorder The Hotbar
java.lang.RuntimeException: attempted index: playerNum 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.onRightMouseUp(UIElement.java:1458)
at zombie.ui.UIManager.update(UIManager.java:910)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
Mutie  [developer] 7 Jan, 2024 @ 1:38am 
I have released a new attempted fix at this. The previous fix clearly did not work and I have no idea why I thought it did.
Appreciate it, I'll try it here in a bit. If I don't reply today, its fixed. :D
< >
Showing 1-13 of 13 comments
Per page: 1530 50