Project Zomboid

Project Zomboid

Mutie's Context Menu Icons
Denna tråd har blivit låst
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://psteamcommunity.yuanyoumao.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)
`
< >
Visar 1-13 av 13 kommentarer
Mutie  [utvecklare] 3 dec, 2023 @ 12:42 
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:31 
One question, has your mod been fixed to be compatible with Reorder The Hotbar?
Mutie  [utvecklare] 6 dec, 2023 @ 7:40 
Ursprungligen skrivet av 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:18 
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
Senast ändrad av NineLiang; 7 dec, 2023 @ 3:18
Mutie  [utvecklare] 7 dec, 2023 @ 7:09 
Please try right clicking an item in your inventory. I don't have icons for everything yet :D
NineLiang 7 dec, 2023 @ 7:56 
Ursprungligen skrivet av 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  [utvecklare] 7 dec, 2023 @ 8:08 
Ursprungligen skrivet av NineLiang:
Ursprungligen skrivet av 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:20 
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:02 
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
`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:41 
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  [utvecklare] 7 jan, 2024 @ 1:38 
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
< >
Visar 1-13 av 13 kommentarer
Per sida: 1530 50