Project Zomboid

Project Zomboid

65 个评价
Vanilla Bugfixes
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.035 MB
10 月 7 日 上午 12:38
10 月 22 日 下午 11:08
23 项改动说明 ( 查看 )

订阅以下载
Vanilla Bugfixes

在 TwisTonFire 的 1 个合集中
[BUILD 42] TwisTonFire
20 件物品
描述
I develop mods exclusively for Build 42
As for me, Build 41 is end-of-life. I’m not interested in maintaining mods for a game version I don’t use, don’t plan to test, and don’t want to keep a separate install for.


Check out my other mods!


⚠️⚠️MOD LOAD ORDER:-->ON THE TOP<--⚠️⚠️
THIS MOD NEEDS TO BE ON THE TOP OF YOUR MOD LOAD ORDER


Vanilla Bugfixes — What this mod does

Air-swing durability: Fixed an issue where, after hitting a door or a zombie, subsequent swings with the same weapon could still roll durability loss even when hitting nothing (air swings). Air swings no longer consume durability.

Spear Maintenance Logic: Implements an emulated fix that treats spears as melee for durability checks, restoring the Maintenance perk’s chance to prevent condition loss and stopping the “multiple points per hit” issue. This is a Lua-level workaround—the root cause lives in Java and isn’t accessible to modders. It does not change base weapon damage or durability values; it only corrects how durability loss is evaluated.

This mod intentionally overrides vanilla game files (100%). Place it at the very top of your load order.
It is only active on Build 42.12.3. If a newer game version is released, this mod will not load;
I’ll publish an updated version.

You can add or remove it whenever you like—these are purely technical fixes and won’t impact your save.
Just make sure it loads before all your other mods; otherwise, some of your other mods may not appear in-game.

TL;DR — Fixes included
  • Mod Load Order fix if mods are missing UI no longer crashes, and sorting/saving works even if some mods are uninstalled.

  • Air swings no longer consume durability.

  • Corrected spear classification so spears are treated as melee weapons

  • Fixes a vanilla timing bug where backpacks vanish from the inventory bar after closing the Options menu by scheduling a one-time delayed inventory refresh.

  • Vehicles (Server/Logic): Corrected battery charge math (no double-delta), fixed door/window entry scans (off-by-one & nil guards), preserved tap vs. long-press intent, and allowed Mechanics ≥ 3 to swap a battery with the engine running. -

    Why this change? I’m a trained automotive mechanic, and in the ’90s this was a common workaround. To be clear, that context applies to the 1990s only—I don’t recommend it on modern vehicles.

  • XP / Recipes: Set the Generator knowledge recipe to unlock at Electricity 3 (matching intent) instead of Mechanics 3.

  • Foraging / Search Manager: Stronger nil guards and flag checks, correct icon-affinity pools, consistent Z-level forwarding, fixed operator precedence for disable logic, reliable force-find distance, and “move near player” works even with a single candidate.

  • Fixed crafting fingerless leather gloves from generic leather gloves


⚠️ My mod can’t intercept weapon damage when the vanilla engine applies it—even if that trigger is incorrect. What it does is detect illegitimate durability losses and immediately roll them back, restoring the weapon’s condition.

Since I can’t modify the Java side, this is a reliable Lua-based workaround. The only thing it can’t reverse is the final durability tick that breaks the weapon—that one is irreversible.

⚠️To clarify: if your weapon-durability mod shows that your weapon mistakenly lost condition after an air swing, my mod has already restored it.

I reverted the maintenance xp solution for air swings - because spears didn't get any maintenance xp afterwards.


⚠️⚠️MOD LOAD ORDER:-->ON THE TOP<--⚠️⚠️
THIS MOD NEEDS TO BE ON THE TOP OF YOUR MOD LOAD ORDER


Workshop ID: 3582242778
Mod ID: twistvbugfix
Mod ID: twistvbugfixwmodloadorder
90 条留言
TwisTonFire  [作者] 5 小时以前 
But I also handed this bug report over to the developers, and I think it will be fixed in the next upcoming patch. Then the mod load order mods or modmanagers have to adapt.
TwisTonFire  [作者] 5 小时以前 
@Sibuscus
There is a vanilla bug ingame that crashes your whole UI if you try to sort mods if one mod isn't installed or was renamed. I excluded Mod Load Order Mods because they don't like the vanilla changes.

So if you DONT use a Mod load order mod, then you should run my fix. But if you run a mod load order mod or manager, you shouldn't
Sibuscus 6 小时以前 
Hey, love your work, its top notch, I love your attention to detail and clean mod descriptions. I noticed after the update there are 2 versions, one with mod order fix (Incompatible with other mod load order mods) and one without. Can you elaborate how good this mod load order fix is and what it actually does over other mod load order mods? Should I just use yours?
◯ | HarryBallsson 7 小时以前 
Hey Twist. I can't find the "discussion" now below one of your mods, where some guy was angry at your thumbnails in the workshop. I have a solution for you: You always start your mod-descriptions with the same "I do this for build 42 because...", so that text is the same on EVERY mod in the workshop. If you simply reorder your description, moving text with at least the main features to the top, and your disclaimer about your view on the game/modding further down on the modpage-description. It would solve that guys annoyance (even if he was a bitch), but also make it a lot easier to interact with your stuff via the workshop.

I have no idea how much work that is - if your mods would have to be resubmitted for approval by Steam or what. Only do it, if you feel like it.
WORTWORTWORT 20 小时以前 
wasn't for me, maybe my mods are to blame
TwisTonFire  [作者] 21 小时以前 
@wortwortwort
I removed my sharpening blades fix, I thought it is fixed by vanilla by now!
WORTWORTWORT 21 小时以前 
knives are still not sharpening properly
TwisTonFire  [作者] 10 月 22 日 下午 11:09 
@Zeitresu I fixed the fingerless gloves issue. Let me know if everything works.
Zara ♡ 10 月 22 日 下午 6:56 
@TwisTonFire Yep, I use it too.
TwisTonFire  [作者] 10 月 22 日 下午 2:43 
@Blue thanks! I'll push an compatiblity patch tomorrow - Until then my load mod order fix ist disabled.