Project Zomboid

Project Zomboid

[B41] MaintenanceFIX
39 条留言
Redeye 2024 年 12 月 25 日 上午 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  [作者] 2024 年 12 月 24 日 下午 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 2024 年 12 月 22 日 下午 9:29 
they made some changes I think, seems more important now for repairs
Virplexer  [作者] 2024 年 12 月 22 日 下午 9: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 2024 年 12 月 22 日 下午 6:37 
B42 update please?
ImRenzo 2024 年 10 月 12 日 下午 1: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  [作者] 2024 年 10 月 12 日 下午 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 2024 年 10 月 12 日 上午 11:40 
does this mod work with Simple Overhaul: Melee Weapons (SOMW)?
Lap 2024 年 7 月 3 日 下午 8:22 
Nice mod :steamthumbsup:
Gamemo 2024 年 5 月 24 日 下午 6:03 
effectively
Chop Chop 2024 年 2 月 18 日 下午 11: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 2023 年 9 月 23 日 下午 12:51 
thnx
Virplexer  [作者] 2023 年 9 月 22 日 下午 5: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 2023 年 9 月 21 日 上午 10:09 
Hi, thank you for this great mod.
I had a question , is this compatible with "Maintenance improves repair" ?
tnx
Virplexer  [作者] 2023 年 8 月 4 日 下午 11: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 2023 年 8 月 1 日 下午 2:36 
Oh. The maintenance skill is fucking useless then.
Wondercaz 2023 年 7 月 18 日 上午 2:01 
sweet thanks
Virplexer  [作者] 2023 年 7 月 17 日 上午 8:25 
@Wondercaz, yep. Tested it with the modded weapons from More Traits myself.
Wondercaz 2023 年 7 月 16 日 下午 10:38 
does this mod work with modded weapons?
Virplexer  [作者] 2023 年 7 月 6 日 上午 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 2023 年 7 月 4 日 下午 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  [作者] 2023 年 7 月 4 日 上午 6:20 
@John Wayne Guan, yep. Should be okay to add and remove at any point
John Wayne Guan 2023 年 7 月 4 日 上午 1:46 
can i add this mid save?
Virplexer  [作者] 2023 年 7 月 3 日 下午 5: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 2023 年 7 月 3 日 上午 10:23 
can you use this with maintenance improves repair?
Virplexer  [作者] 2023 年 7 月 3 日 上午 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 2023 年 7 月 3 日 上午 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  [作者] 2023 年 7 月 2 日 下午 9:54 
@AstrayCuriosity
Lol, yeah, zomboid code moment. Should be fixed now tho.
AstrayCuriosity 2023 年 7 月 2 日 上午 10:56 
Bro made a Maintenance mod for wepoans and it broke crop watering and corpse grab. :secretweapon_hoi:
Peak zomboid code moment.
Matchutchuc 2023 年 7 月 2 日 上午 7:27 
No problem, happy to help.
Virplexer  [作者] 2023 年 7 月 1 日 下午 9: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 2023 年 7 月 1 日 下午 8:45 
Also happening when watering crops

https://pastebin.com/SmhRkQPK
Matchutchuc 2023 年 7 月 1 日 下午 2: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 2023 年 7 月 1 日 下午 2: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  [作者] 2023 年 7 月 1 日 下午 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 2023 年 7 月 1 日 下午 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 2023 年 7 月 1 日 下午 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 2023 年 6 月 30 日 上午 8:50 
Modders should be the ones getting paid for fixing this mess of a game. Good one.
Virplexer  [作者] 2023 年 6 月 29 日 上午 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.