Project Zomboid

Project Zomboid

[B41] MaintenanceFIX
39 kommentarer
Redeye 25. dec. 2024 kl. 10:49 
thanks man for checking. I appreciate the work you put into this, no worries. So far it's good, just needs some additional patches.
Virplexer  [ophavsmand] 24. dec. 2024 kl. 12:56 
@Redeye after investigating, I'm pretty sure the bug this mod was patching is fixed. At least, I know it doesn't divide the maintenance mod by 2 anymore, not quite sure if it alters it when its called though. The division by 2 was causing the problem though, and without it, I'm pretty sure this mod is no longer necessary. Have a good time with B42!
Redeye 22. dec. 2024 kl. 21:29 
they made some changes I think, seems more important now for repairs
Virplexer  [ophavsmand] 22. dec. 2024 kl. 21:21 
@Redeye I'll try to see if I can get an update out, if not tomorrow then probably past christmas. It should be unchanged for B42 but I'll need to gander at the source code to see if they updated the maintenance skill at all because there's a chance this mod will now be redundant.
Redeye 22. dec. 2024 kl. 18:37 
B42 update please?
ImRenzo 12. okt. 2024 kl. 13:27 
well, i'll try playing with both mods, and if any issues show up, i'll share them here. thanks for the help!
Virplexer  [ophavsmand] 12. okt. 2024 kl. 12:52 
@ImRenzo should have no compatibility issues, my mod alters weapons when you equip them, so it should work on any melee weapon modded or otherwise.
ImRenzo 12. okt. 2024 kl. 11:40 
does this mod work with Simple Overhaul: Melee Weapons (SOMW)?
Pancito 3. juli 2024 kl. 20:22 
Nice mod :steamthumbsup:
Gamemo 24. maj 2024 kl. 18:03 
effectively
Chop Chop 18. feb. 2024 kl. 23:55 
I really love this mod. I was using weapon durability mod cause i hate it when my weapon breaks in a very wrong timing. But this one is different and it really helps. Good to know as well that it works with maintenance improve repair mod. The lowkey wombo combo
Speculoos 23. sep. 2023 kl. 12:51 
thnx
Virplexer  [ophavsmand] 22. sep. 2023 kl. 17:46 
@Speculoos, you aren't the first person to ask. These mods are fully compatible as they both do different things, so there shouldn't be any issues.
Speculoos 21. sep. 2023 kl. 10:09 
Hi, thank you for this great mod.
I had a question , is this compatible with "Maintenance improves repair" ?
tnx
Virplexer  [ophavsmand] 4. aug. 2023 kl. 23:19 
@Blue Hammersmash not sure where you get that from. Even without this mod it noticeably extends the life of weapons like knives, spears, stone axes, nailed bats, and Katanas.
Blue Hammersmash 1. aug. 2023 kl. 14:36 
Oh. The maintenance skill is fucking useless then.
Wondercaz 18. juli 2023 kl. 2:01 
sweet thanks
Virplexer  [ophavsmand] 17. juli 2023 kl. 8:25 
@Wondercaz, yep. Tested it with the modded weapons from More Traits myself.
Wondercaz 16. juli 2023 kl. 22:38 
does this mod work with modded weapons?
Virplexer  [ophavsmand] 6. juli 2023 kl. 9:24 
@Orange Elite, looked into the mod. It actually doesn't affect durability loss, just repairs. So there should be no conflicts between the mods.
Orange Elite 4. juli 2023 kl. 12:54 
@Virplexer It basically makes your maintenance skill work with repairs and durability better. higher the skill, better repairs you do and less condition you loose i think as fast as lower skills.
Virplexer  [ophavsmand] 4. juli 2023 kl. 6:20 
@John Wayne Guan, yep. Should be okay to add and remove at any point
John Wayne Guan 4. juli 2023 kl. 1:46 
can i add this mid save?
Virplexer  [ophavsmand] 3. juli 2023 kl. 17:40 
@Orange Elite, you should be able to, although I’m not familiar with how that mod works. This mod makes no changes to any code in the game, just runs a script that sometimes adds durability to the weapon’s when you equip them, so it should be fully compatible.
Orange Elite 3. juli 2023 kl. 10:23 
can you use this with maintenance improves repair?
Virplexer  [ophavsmand] 3. juli 2023 kl. 6:55 
@pzhda’tan, almost. That’s true for weapon skill, but weapons are most durable at all even maintenance levels, so 2, 4, 6, 8 and 10.
pzhda'tan 3. juli 2023 kl. 5:14 
So in vanilla, weapons are most durable at level 4 and 8 maintenance and weapon skill? That's a weird way of building this mechanic.
Thanks for the mod.
Virplexer  [ophavsmand] 2. juli 2023 kl. 21:54 
@AstrayCuriosity
Lol, yeah, zomboid code moment. Should be fixed now tho.
AstrayCuriosity 2. juli 2023 kl. 10:56 
Bro made a Maintenance mod for wepoans and it broke crop watering and corpse grab. :secretweapon_hoi:
Peak zomboid code moment.
Matchutchuc 2. juli 2023 kl. 7:27 
No problem, happy to help.
Virplexer  [ophavsmand] 1. juli 2023 kl. 21:36 
@Matchutchuc, thanks for your help, was able to replicate the bugs even in singleplayer. Think the mod needs better differentiation between weapons and non-weapons. I'll be opefully updating the mod with a fix soon. For now I'll add it as a known bug in the description.
Matchutchuc 1. juli 2023 kl. 20:45 
Also happening when watering crops

https://pastebin.com/SmhRkQPK
Matchutchuc 1. juli 2023 kl. 14:29 
Nevermind, I guess it occurs everytime I grab a corpse? Here's another log

https://pastebin.com/pxr9v4mF

This is a different error though, I don't know exactly what cause the one I posted earlier (was looting some corpses, maybe ripping some clothes? Don't really remember)
Matchutchuc 1. juli 2023 kl. 14:21 
The error occurred twice, and I don't remember the exact circumstances. Should it happen again, I will pay more attention and write it here. The only thing that comes to mind is that one time I was grabbing a zombie corpse and it occurred, and I had a crowbar equipped.
Virplexer  [ophavsmand] 1. juli 2023 kl. 12:37 
@Matchutchuc, is there anything you can tell me about the circumstances of the error? are you able to repeat it? what weapon did you equip?
Matchutchuc 1. juli 2023 kl. 12:30 
(2/2)
...
at zombie.network.PacketTypes$PacketType.onMainLoopHandlePacketInternal(PacketTypes.java:1028)
at zombie.network.GameClient.mainLoopHandlePacketInternal(GameClient.java:644)
at zombie.network.GameClient.mainLoopDealWithNetData(GameClient.java:621)
at zombie.network.GameClient.update(GameClient.java:431)
at zombie.GameWindow.logic(GameWindow.java:232)
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)
`
Matchutchuc 1. juli 2023 kl. 12:30 
Getting some non-game-breaking error in MP (1/2):

`function: ReMaintenance -- file: MaintenanceFix.lua line # 23 | MOD: MaintenanceFix
java.lang.RuntimeException: Object tried to call nil in ReMaintenance
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:971)
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.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:134)
at zombie.characters.IsoGameCharacter.setPrimaryHandItem(IsoGameCharacter.java:2959)
at zombie.network.GameClient.receiveEquip(GameClient.java:3897)
...
yes 30. juni 2023 kl. 8:50 
Modders should be the ones getting paid for fixing this mess of a game. Good one.
Virplexer  [ophavsmand] 29. juni 2023 kl. 6:52 
@P1azma, SORRY FOR DELETING YOUR COMMENT, fat fingered the button on mobile.

To answer your question, it should, as long as the weapon falls into one of the 6 weapon skills the game provides. I personally tested it with some of the items from MoreTraits for example.