Project Zomboid

Project Zomboid

Mutie's Context Menu Icons
93 条留言
Codemonkey3 8 月 4 日 下午 3:52 
I believe this mod creates an error every time you right click now with the newest patch. Nothing game breaking as far as I can tell but there is some issue.
Cosmo 7 月 20 日 下午 1:30 
Thats strange because "Reorder The Hotbar" itself has nothing to do with calling the context menu, but maybe you can tell me what's wrong.
Cosmo 7 月 20 日 下午 1:28 
Conflict with another mod?
Cosmo 7 月 20 日 下午 1:27 
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.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1927)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1699)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:857)
at zombie.ui.UIManager.update(UIManager.java:716)
at zombie.GameWindow.logic(GameWindow.java:326)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Cosmo 7 月 20 日 下午 1:27 
Hey @Mutie Got an error today (The error appears when I right-click on the hammer in the belt on the panel).
`attempted index: addOptionOnTop of non-table: null
function: doMenu -- file: ISHotbar.lua line # 136 | 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 # 292 | Vanilla
function: onRightMouseUp -- file: ReorderTheHotbar_ISHotbar.lua line # 178 | MOD: Reorder The Hotbar
java.lang.RuntimeException: attempted index: addOptionOnTop of non-table: null
clem 3 月 30 日 上午 9:24 
Hey, I can vouch that this mod causes all UI to disappear in the menu in b42. I'm not subscribed to the revamped mod, and only once I removed this mod specifically did the problem fix itself
Mutie  [作者] 3 月 5 日 上午 4:56 
That is.. Strange. Perhaps you have another addon mod subscribed? Several of them change the scripts in various ways, and I can't debug without knowing exactly which addon you have.
Amroth 3 月 5 日 上午 3:54 
Oh, that's... interesting. I'm not subbed to it
Mutie  [作者] 3 月 4 日 下午 11:00 
@Amroth, the mod that is giving you the error is Mutie's Context Menu icons Expanded - not my mod. I believe it is the mod available here:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3293222249
Amroth 3 月 4 日 上午 10:25 
Still works as of 42.4 BUT, I am getting an error:

attempted index: getOptionFromName of non-table: null
function: createMenu -- file: PutInContainer.lua line # 6 | MOD: [B42] Mutie's Context Menu icons Expanded
function: GetInventoryCreateMenuContext -- file: BaseFunctions.lua line # 16 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetInventoryCreateMenuContextIconized -- file: BaseFunctions.lua line # 53 | MOD: [B42] Mutie's Context Menu icons Storage
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1459 | Vanilla
java.lang.RuntimeException: attempted index: getOptionFromName of non-table: null
demZo662 1 月 22 日 上午 8:44 
I have just subscribed to this one too besides one that I already had but isn't updated yet unlike this one that got updated just today. Thank you so much! I really think that it's totally okay to implement that as a feature as for the Unstable version, but it's too much intrusive to me, and I would have put it as a toggled shortcut key or something embedded in the UI. I will try your mod anyway now that it happened that I have just stomped on it.
Mutie  [作者] 1 月 22 日 上午 7:53 
The debug messages are a B42 feature - there's other mods to remove them. One of them is available here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3386728445&searchtext=debug

Although I haven't tried any of them, since I am actively debugging all the time these days.
demZo662 1 月 22 日 上午 7:21 
I tried if this mod would remove the contextual options or messages for debug that to me are so ugly that they be there, but obviously it didn't work. Am I not missing anything from the mod isn't it?
Mutie  [作者] 1 月 21 日 上午 2:12 
Give me the error without the other mod installed, and I can take a look at it :)
Smiley Face Killer 1 月 20 日 下午 5:36 
The storage thing comes from: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3293222249&searchtext=mutie
It's the redrawn icons for this, but I just removed that entirely and still get an error. And I did the manual un-installation, and then reinstall and it still popped the error.
Should I go post the issue there too or?
Mutie  [作者] 1 月 20 日 上午 4:11 
@Smiley Face Killer, there's not supposed to be a file called "BaseFunctions.lua" in this mod. Could you try deleting the mod locally and letting Steam re-download it to ensure file deletions happen, it is possible that I accidentally removed a file some time ago, which Steam Workshop does not support.

Otherwise, you have an old version of the mod or a third-party version of the mod and there's not a lot I can do. In fact, I think you have a mod called "Mutie's Context Menu icons Storage" and that is where the error is coming from.
Smiley Face Killer 1 月 19 日 下午 12:27 
The Defecation mod won't let me use the toilets and it keeps popping up an error related to this mod. Figured I'd post here in case you wanted to take a crack at it.
The issue happens that when I right click a toilet to use it, an error pops up (below is log) and the option to use the toilet is not there at all.
If you need more information or if it's just my fault, let me know

Error log: https://pastebin.com/yW3RGtHY
The mod: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1436878551
Kagarine 1 月 11 日 上午 8:25 
Amazing ! Nice to see it's updated :)
jarpiz87 1 月 7 日 上午 11:33 
Thank you very much!!!
Mutie  [作者] 1 月 7 日 上午 6:41 
B42 should be out now, apologies for the delay. New Year turned very busy :)
Ast 1 月 3 日 下午 5:10 
No b42 tag on this mod :sad
jarpiz87 2024 年 12 月 31 日 下午 4:40 
Popped to see if the icons b42 is out! Happy new ear! (No pressure<3)
Mutie  [作者] 2024 年 12 月 27 日 上午 5:44 
@Czarita, @𝐏 𝐋 - I love the suggestion, but it would have to be baked into the icons I think. I have some time off work where I'll look into things a little bit.

@jarpiz87 - It does work in b42, but I need to re-upload with the new folder structure, expect an update before the new year ❤
𝐏 𝐋 2024 年 12 月 26 日 下午 6:00 
@ Czaritsa that's a nice suggestion, +1
jarpiz87 2024 年 12 月 22 日 上午 8:10 
Does this mod work build 42? I really love the icons <3
Czaritsa 2024 年 12 月 14 日 下午 11:58 
Awesome mod.
Suggestion: Could you change COLORS of some of the options? So we can at-a-glance choose the correct action?
Colorize the most commonly-used action.
IE, DROP = red. Rip sheet = green (action on clothes.) That would be amazing in conjunction with the icons.
Ecn 2024 年 11 月 14 日 下午 1:10 
Had an issue today where this mod was causing hangups on loading into our server. It popped up the install mod list with just the workshop ID(no mod id) and no install button, had to disable it for now sadly.
2024 年 8 月 28 日 下午 4:44 
Does this work with rendering inventory mod
Deathstar 2024 年 7 月 20 日 上午 10:23 
No errors since the update, thank you!
dieguin_po 2024 年 7 月 20 日 上午 9:07 
this needs to be on the base game
Mutie  [作者] 2024 年 7 月 10 日 上午 11:12 
@Wesch, @Deathstar, @Crestfall, I should have resolved the bug now. Please report back if you still have any issues.
Mutie  [作者] 2024 年 7 月 10 日 上午 6:09 
I'll take a look at it ASAP, sorry for the inconvenience, I would have thought the new system would be very unlikely to error.
Crestfall 2024 年 7 月 9 日 上午 8:54 
Never mind, it's causing errors with almost everything. The errors are harmless but it's quite annoying.
Crestfall 2024 年 7 月 9 日 上午 5:51 
What happened to the update today? Errors from this mod spamming. For me it was interacting with kitchen sinks.
Deathstar 2024 年 7 月 9 日 上午 5:09 
Can confirm, new version is causing errors with all sorts of tiles when right clicking. Bath tubs, for one.
Wesch 2024 年 7 月 8 日 下午 1:27 
Causes errors when clicking on metal barrel with water
has to do something with this function

function ApplyOptionIconsToWorldContextMenu(player, context, worldobjects, test)
if test and ISWorldObjectContextMenu.Test then return true end
if not context then return end

for optionName in pairs(MutiesContextMenuIcons.Options) do
local option = context:getOptionFromName(getText(optionName));
if option then
local texturePath = MutiesContextMenuIcons.Options[optionName];
option.iconTexture = getTexture(texturePath); -- this one
end
end
end
Mutie  [作者] 2024 年 6 月 13 日 下午 11:33 
@Mc Roidaar, I'll put it on the list. I've been playing the game myself recently and I've noticed many things that should have icons :D
Mc Roidaaar 2024 年 5 月 29 日 下午 12:41 
like clearing out window frames before climbing in
Mc Roidaaar 2024 年 5 月 29 日 下午 12:40 
can u add icon for removing glass? pretty please? :p
Artmine15💅 2024 年 5 月 28 日 下午 11:13 
@dandark Im still working on it. I couldn't do this for a long time, but now I've continued
dandark 2024 年 4 月 13 日 上午 11:39 
@adam adamich did finish the icon expansion for this mod?
Mutie  [作者] 2024 年 3 月 27 日 上午 11:46 
All done @Reifel, thanks for letting me know about this mod!
Reifel 2024 年 3 月 22 日 下午 9:25 
@Mutie cool mod! this should be in vanilla, new players need to discover your mod. Can you include yourself in Modspotlight ?
aquelarrefox 2024 年 3 月 15 日 下午 3:31 
could you add some more for mods: a toilet icon for excrementum mod, a hanger icon for the label seize mod context. This mod is so cool
Mutie  [作者] 2024 年 3 月 10 日 上午 6:23 
@adam adamich - absolutely! Go for it. Consider the mod MIT licensed. I'll update the page (and my other mod pages) soon enough to reflect that.
Artmine15💅 2024 年 3 月 10 日 上午 5:40 
@Mutie, can I try to make an icon expansion of this mod? I already started it and it's going well
QS 2024 年 3 月 9 日 上午 2:45 
will you add icons for all other actions?
Codingale 2024 年 2 月 24 日 下午 3:38 
Trade Icon like 🔁or similar would be nice, thanks for the Icons makes quickly doing things easier.
MagicHp 2024 年 2 月 24 日 上午 1:12 
No rush, take your time ^^
Mutie  [作者] 2024 年 2 月 23 日 下午 11:53 
No smash? :c
And I still need to look at the DupeZed, MultipleGenerators, Plumbing, and Building Menu mod compatibilities.