Project Zomboid

Project Zomboid

Eggon's Modding Utils
54 Comments
tooHzzub 25 Jul, 2024 @ 2:49am 
GestumStage 15 Jul, 2024 @ 12:09pm 
Скажите не ваш ли мод меняет цвета 3 типов акумуляторов разделенных на 3 класса?
Morgan 28 Mar, 2024 @ 5:43pm 
May I use this in my modpack?
Anfas 22 Sep, 2023 @ 3:34pm 
Help. I can't start the server.
win 11 41,77.9
LOG : Network , 1695419655144 > 0 > [23-09-23 00:54:15.144] > ZNet: CloseConnection: checksum-File doesn't exist on the server:
media/lua/shared/EMU_InventoryFunctions.lua
D:\Steam\steamapps\workshop\content\108600\2617575303\mods\EggonsModdingUtils\media\lua\shared\EMU_InventoryFunctions.lua (1201).

It is this library that prevents the game from starting, and this message appears after creating a character. Then there is no option other than to click the button below “exit the game”
HapiHapiHapi 29 Jul, 2023 @ 2:24am 
I'm having problems with this mod. Whenever I open a closet it gives an error and when I check the mods, all mods by eggons has an error including some other mods like basement and noir attachement. Help me fix this
drincor 19 Jun, 2023 @ 4:54pm 
No estoy seguro, pero creo que uno de estos dos mods (Eggon's Modding Utils y/o Eggon's Hotkeys & Hot Actions) me baja los FPS drasticamente, hasta 40 aproximadamente, y al juego le cuesta bastante cargar.
Jasdan 3 Jun, 2023 @ 4:11pm 
¿Seguro que es culpa de este mod?
Richt Quinzel 29 Apr, 2023 @ 10:56pm 
Baja demasiado los fps

Too low fps
Space Sprout 22 Jan, 2023 @ 11:06am 
Hello! I’m Kai reaching out on behalf of the Day’s End Roleplay server. We use your mod in our server and have loved it. We were hoping to make it part of our permanent mod pack.

This would include you extending your creative license to us, allowing our mod team to add/edit/use your mod to suit our server. As such we would not publish our edits to the workshop. We will include credit to you as the original creator of the mod, of course.

If this is agreeable to you or would like to discuss this further, please let us know. Thank you for all your effort.

Kai, Day’s End Mod Team
HardwiredMike 9 Jan, 2023 @ 10:31am 
Thanks for the mod! You do great work!
EternalKnight 26 Dec, 2022 @ 1:15pm 
having the same if there is anything to add: https://pastebin.com/ebC08zQh . deleting the workshop didnt help
UdderlyEvelyn 6 Sep, 2022 @ 10:14pm 
I ended up ditching The Workshop and the Scrap mods that depend on it, they're a bit of a buggy mess with lots of broken features and bad balance. Really good texturing/modeling and ideas, though - I hope he eventually makes a new version. Sorry for not checking back in.
A Slothful Sloth 5 Sep, 2022 @ 3:18am 
@Thundercraft I've also had this issue of errors poppping while using the tool belt from "The Workshop" mod, did you manage to fix it?
Eggon  [author] 12 Aug, 2022 @ 8:56am 
@Thundercraft Thanks for the info!
Thundercraft 12 Aug, 2022 @ 8:41am 
@Eggon
FYI: The Workshop's author has turned off Comments for all of their mods. That said, a Discord channel is listed. I checked on this Discord and it was reported there yesterday, though no response yet. Here's hoping a solution can be found.
Eggon  [author] 1 Aug, 2022 @ 12:24am 
@UdderlyEvelyn as @Daevinsky suggested this is probably caused by The Workshop mod, please report problem there if you are using it? Which of my mods are you using together with EMU?
UdderlyEvelyn 31 Jul, 2022 @ 7:43pm 
I had the same issue that one of Steinbach's users reported, there's limited space so I'll just post the most relevant bits:

Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@3df725a3
function: render -- file: ISToolTipInv.lua line # 78
function: render -- file: --EMU_Event_BeforeInventoryTooltipDisplay.lua line # 27
function: render -- file: P4VideoMeister.lua line # 66
function: render -- file: zNATT_Tooltip.lua line # 43

ERROR: General , 1659318628648> 2,251,914,155> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor1967.invoke.

Caused by: java.lang.ClassCastException: class zombie.inventory.types.InventoryContainer cannot be cast to class zombie.inventory.types.Clothing (zombie.inventory.types.InventoryContainer and zombie.inventory.types.Clothing are in unnamed module of loader 'app')

I've removed EMU and mods that use it for the moment, affecting multiple users.
Eggon  [author] 29 Jul, 2022 @ 5:15am 
@Daevinsky thanks a lot! I published instructions in the Bug reports discussion of EWC 2.0, so we don't discuss it here.
Daevinski 29 Jul, 2022 @ 4:52am 
@Eggon The problem is "The Workshop", that includes the Tool Belt. It throw errors if I hover the Hammer or the normal Belt while using the Tool Belt. I'll test further, just in case.

About EWC, no problem... just tell me what you need me to do.
Eggon  [author] 29 Jul, 2022 @ 4:50am 
@Daevinsky Thanks for this input. It looked like maybe other mod is responsible. Could you try to isolate the culprit mod and check if it throws the error on itself, or just in connection with EMU? BTW, I might have found a better solution for the 41.73 version error for EWC 2.0 - would you be willing to test it on your machine? It would require a single line to be added to one of the mod's files.
Daevinski 29 Jul, 2022 @ 4:34am 
I'm also having the "ISToolTipInv" issue, but the problem is "The Workshop" mod (need for "Scrap Armor", "Scrap Weapons" and "Scrap Guns"). Whenever I have the mod's Tool Belt equipped, if I hover over a Hammer it throws multiple errors. The error also mentions "Video Meister" and "Shark (and Peach's) Military Uniform Improvements".

I tried to post the error here, but it reaches the character limit.
Eggon  [author] 29 Jul, 2022 @ 12:16am 
@Steinbach Was it isolated case? Or other players also experience it?
Eggon  [author] 29 Jul, 2022 @ 12:15am 
@Steinbach Can you provide more of the error log? This is only part with stack trace informing where error happened, but not saying WHAT was wrong. The part I'm asking about usualy comes a bit before this part. Also - the stack trace looks peculiar - it seems like the code went through multiple mods. Can you identify what mods contain the 4 files listed below EMU_Event_BeforeInventoryTooltipDisplay? They do not look like vanilla ones. It seems you have multiple mods modyfing the tooltip. It might be difficult to achieve stability in such environment. And also: which of my mods are you using with EMU?
Steinbach 28 Jul, 2022 @ 6:20pm 
A player reported a black screen causing a log off, here's the stack trace:

-----------------------------------------
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@13c01ba3
function: render -- file: ISToolTipInv.lua line # 78
function: render -- file: --EMU_Event_BeforeInventoryTooltipDisplay.lua line # 27
function: render -- file: GEAR_ISToolTipInv.lua line # 26
function: render -- file: VCItemOwner.lua line # 33
function: render -- file: zNATT_Tooltip.lua line # 43
function: render -- file: zTooltipPatch.lua line # 81.
[28-07-22 17:53:51.447] ERROR: General , 1659052431447> 2,424,311,858> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor680.invoke..
[28-07-22 17:53:51.447] ERROR: General , 1659052431447> 2,424,311,858> DebugLogStream.printException> Stack trace:.
[28-07-22 17:53:51.450] LOG : General , 1659052431450> 2,424,311,861>
Eggon  [author] 25 Jul, 2022 @ 12:04am 
@GinEmpress You need to provide the whole error log, this is not enough.
Juniper Soda 24 Jul, 2022 @ 7:06pm 
Also getting the issue listed below, but this time alongside Superior Survivors. I'm using Sharpen Your Blades, which I'd rather not give up tbh.

function: perform -- file: ISInventoryTransferAction.lua line # 253 | MOD: Superior Survivors Update 17
function: perform -- file: --EMU_Event_AfterItemTransfer.lua line # 41 | MOD: Eggon's Modding Utils
Sneaky Bananas 28 Apr, 2022 @ 3:58pm 
No worries, other mods that involve inventory functions seem to be causing issues as well like Steam Generator and Spraypaint Symbols.
Eggon  [author] 28 Apr, 2022 @ 3:54pm 
@Sneaky Bananas thx, I'll have a look on the weekend. Fukin updates...
Sneaky Bananas 28 Apr, 2022 @ 3:52pm 
that use this mod? 'Have I Found This Book'
Eggon  [author] 28 Apr, 2022 @ 3:50pm 
@Sneaky Bananas which other of my mods are you using?
Sneaky Bananas 28 Apr, 2022 @ 3:35pm 
is anyone having any issues with this mod preventing looting with the new up date like me? heres some of the error:
function: perform -- file: ISInventoryTransferAction.lua line # 309
function: perform -- file: --EMU_Event_AfterItemTransfer.lua line # 41

ERROR: General , 1651185060931> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1651185060931> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: items of non-table: null
Chenor 21 Mar, 2022 @ 1:29pm 
We did so and it worked! Thanks a bunch. When we unsubbed, we didn't think to close the game before starting the whole process again.

Thanks for the help! Sorry to have bothered you with something like this.
Eggon  [author] 20 Mar, 2022 @ 2:27pm 
@Chenor That is not a problem related to the mod, but some server/steam issues. The only thing I can recommend is to unsub, close game, resub, etc on the client that is having the problem. Or maybe even on the server, but client is more likely. Try to google the problem as a general issue, not related to EMU in particular.
Chenor 20 Mar, 2022 @ 2:14pm 
Hey there! Love the mods. Since the update, we've been having issues, though - If you could help, that would be great!

When launching the server, we get the following message:

File doesn't exist on the client:

media/lua/shared/--EMU_Init.lua
D:\SteamLibrary\steamapps\workshop\content\108600\2617575303\mods\EggonsModdingUtils\media\lua\shared\--EMU_Init.lua

We've checked, and the file is indeed there. It worked fine before, too. The anti-cheats have all been set to false, in case any mods were falsely flagged, no dice.

Thanks in advance!
Kafkatrap 22 Feb, 2022 @ 2:42pm 
Thanks, i'll check it out! <3
Eggon  [author] 22 Feb, 2022 @ 2:41pm 
@Kafkatrap Thanks for the report. I updated EMU. Make sure it updates and reenable EHT.
But my advice is - just try not to die, all right? ;)
Kafkatrap 22 Feb, 2022 @ 1:33pm 
I tried disabling your holster mod and i didn't get the same error message. :/
Kafkatrap 22 Feb, 2022 @ 1:23pm 
I'm getting an error pop up every time i die in MP servers, i checked which functions the error traces back to this mod? I don't know anything about Lua but perhaps you would know what this is about?




LOG : General , 1645564782782> 27,525,716> -------------------------------------------------------------
attempted index: attachedItems of non-table: null

LOG : General , 1645564782783> 27,525,718> -----------------------------------------
STACK TRACE
-----------------------------------------
function: getHotbarItems -- file: -EMU_InventoryFunctions.lua line # 132
function: equipPrimaryHandler -- file: EHT_OnEquipPrimary.lua line # 4

ERROR: General , 1645564782784> 27,525,719> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: attachedItems of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1645564782784> 27,525,719> DebugLogStream.printException> Stack trace:
Eggon  [author] 18 Feb, 2022 @ 4:41am 
@Shiftwinds Yes, EMU is required for ESYB. There are frequently problems with steam not updating correctly mods (in general not just for ESYB). I can only suggests retrying, unsubbing, resubbing, creating the server from scratch etc. At some point it should work... 🤷‍♂️
Shitwinds 18 Feb, 2022 @ 1:12am 
Does this need to be installed on a dedicated server for sharpen your blades? Having a file does not exist on the client - --ESYB Init.lua when trying to connect to a server that I know for a fact has the file on it, along with my client. very strange :(
Alex 12 Feb, 2022 @ 9:54am 
Accept my friend request unless you want to see a grown man cry.
Eggon  [author] 6 Feb, 2022 @ 9:22am 
@БагахульныйБаец So not same problem, Wilson doesn't have install option, not take off. Please start a test game with only EADAY and Eggons Modding Utils installed and check if you still don't have the option. Please answer in the Discussion/Bugs report thread of EADAY, not here.
БагахульныйБаец 6 Feb, 2022 @ 8:31am 
same here - no option to get off door from hinges
Wilson 3 Feb, 2022 @ 2:29pm 
Hey Eggon I don't get the option to install the door at all. Do you know what could be causing it both mods are installed.
Chackaldane 13 Jan, 2022 @ 2:24am 
@MurderedGhost148 how did you end up making more traits work in multiplayer? which traits arent working as intended that you had to fix
Eggon  [author] 7 Jan, 2022 @ 4:14pm 
@MurderedGhost148 You're welcome. :) When you publish the mod (if you are planning to), let me know, I'll put a link in the description.
MurderedGhost148 7 Jan, 2022 @ 11:19am 
Yes, it really works. Traits now work as intended. Thanks a lot for your help!:)
Eggon  [author] 7 Jan, 2022 @ 5:15am 
@MurderedGhost148 Test it first and if it fails we'll think again. :) I can think of one workaround, but it is not elegant and requires looping, so it would be better to avoid it.
MurderedGhost148 7 Jan, 2022 @ 4:57am 
I am trying to fix several perks from the More Traits mod that are not working in multiplayer. Traits interact with containers. For example, if a player has one of the traits, then when looting a container, there is a chance to get additional loot. To do this, I need to check if the player who opened the container has the required trait.
Perhaps getPlayer () still works correctly in multiplayer, I'm just confused. I didn’t think that this was implemented on the client side, and therefore most likely the getPlayer () method gives the desired player. Thanks, I'll try to do this:)
Eggon  [author] 7 Jan, 2022 @ 3:31am 
@MurderedGhost148 Hi! Can you say what do you need the player for?
Why do you think getPlayer() would not work? Are the events triggered globally or per client? If per client it might work? Surprisingly there's no info on the player object on the ISInventoryPage object, so the only thing I could do in my code is expose player from getPlayer() - as this code runs locally it should yield correct result. But maybe it is not necessary and getPlayer() in event handler will yield same result?