Project Zomboid

Project Zomboid

Mutie's Context Menu Icons
93 kommentarer
Codemonkey3 4. aug. kl. 15: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 20. juli kl. 13: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 20. juli kl. 13:28 
Conflict with another mod?
Cosmo 20. juli kl. 13: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 20. juli kl. 13: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 30. mar. kl. 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  [ophavsmand] 5. mar. kl. 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 5. mar. kl. 3:54 
Oh, that's... interesting. I'm not subbed to it
Mutie  [ophavsmand] 4. mar. kl. 23: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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3293222249
Amroth 4. mar. kl. 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 22. jan. kl. 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  [ophavsmand] 22. jan. kl. 7:53 
The debug messages are a B42 feature - there's other mods to remove them. One of them is available here: https://gtm.steamproxy.vip/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 22. jan. kl. 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  [ophavsmand] 21. jan. kl. 2:12 
Give me the error without the other mod installed, and I can take a look at it :)
Smiley Face Killer 20. jan. kl. 17:36 
The storage thing comes from: https://gtm.steamproxy.vip/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  [ophavsmand] 20. jan. kl. 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 19. jan. kl. 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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1436878551
Kagarine 11. jan. kl. 8:25 
Amazing ! Nice to see it's updated :)
jarpiz87 7. jan. kl. 11:33 
Thank you very much!!!
Mutie  [ophavsmand] 7. jan. kl. 6:41 
B42 should be out now, apologies for the delay. New Year turned very busy :)
Ast 3. jan. kl. 17:10 
No b42 tag on this mod :sad
jarpiz87 31. dec. 2024 kl. 16:40 
Popped to see if the icons b42 is out! Happy new ear! (No pressure<3)
Mutie  [ophavsmand] 27. dec. 2024 kl. 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 ❤
𝐏 𝐋 26. dec. 2024 kl. 18:00 
@ Czaritsa that's a nice suggestion, +1
jarpiz87 22. dec. 2024 kl. 8:10 
Does this mod work build 42? I really love the icons <3
Czaritsa 14. dec. 2024 kl. 23: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 14. nov. 2024 kl. 13: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.
28. aug. 2024 kl. 16:44 
Does this work with rendering inventory mod
Deathstar 20. juli 2024 kl. 10:23 
No errors since the update, thank you!
dieguin_po 20. juli 2024 kl. 9:07 
this needs to be on the base game
Mutie  [ophavsmand] 10. juli 2024 kl. 11:12 
@Wesch, @Deathstar, @Crestfall, I should have resolved the bug now. Please report back if you still have any issues.
Mutie  [ophavsmand] 10. juli 2024 kl. 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 9. juli 2024 kl. 8:54 
Never mind, it's causing errors with almost everything. The errors are harmless but it's quite annoying.
Crestfall 9. juli 2024 kl. 5:51 
What happened to the update today? Errors from this mod spamming. For me it was interacting with kitchen sinks.
Deathstar 9. juli 2024 kl. 5:09 
Can confirm, new version is causing errors with all sorts of tiles when right clicking. Bath tubs, for one.
Wesch 8. juli 2024 kl. 13: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  [ophavsmand] 13. juni 2024 kl. 23: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 29. maj 2024 kl. 12:41 
like clearing out window frames before climbing in
Mc Roidaaar 29. maj 2024 kl. 12:40 
can u add icon for removing glass? pretty please? :p
Artmine15💅 28. maj 2024 kl. 23:13 
@dandark Im still working on it. I couldn't do this for a long time, but now I've continued
dandark 13. apr. 2024 kl. 11:39 
@adam adamich did finish the icon expansion for this mod?
Mutie  [ophavsmand] 27. mar. 2024 kl. 11:46 
All done @Reifel, thanks for letting me know about this mod!
Reifel 22. mar. 2024 kl. 21:25 
@Mutie cool mod! this should be in vanilla, new players need to discover your mod. Can you include yourself in Modspotlight ?
aquelarrefox 15. mar. 2024 kl. 15: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  [ophavsmand] 10. mar. 2024 kl. 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💅 10. mar. 2024 kl. 5:40 
@Mutie, can I try to make an icon expansion of this mod? I already started it and it's going well
QS 9. mar. 2024 kl. 2:45 
will you add icons for all other actions?
Codingale 24. feb. 2024 kl. 15:38 
Trade Icon like 🔁or similar would be nice, thanks for the Icons makes quickly doing things easier.
MagicHp 24. feb. 2024 kl. 1:12 
No rush, take your time ^^
Mutie  [ophavsmand] 23. feb. 2024 kl. 23:53 
No smash? :c
And I still need to look at the DupeZed, MultipleGenerators, Plumbing, and Building Menu mod compatibilities.