BanditsCrashFix 42.13.1 MP (Unofficial) Currently working
О материале
«BanditsCrashFix 42.13.1 MP (Unofficial) Currently working» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Fix for the Bandits mod in multiplayer version 42.13.1. Now you can play without crashes.
The mod requires original bandits to function, and must be loaded after the original mod.
Note: I did not coordinate this fix with the mod owner; this is an experimental fix.
Special thanks: Gemini student subscription.
Also try my other fix (BanditsNakedCorpsesFix)
Further information:
The previous fix turned out to be unsuccessful, so I made a new one. The problem was that the game was crashing due to a NullPointerException caused by the bandits. Here is how Gemini described it:
Fix Summary: The NullPointerException occurred because the game expects the shooter to be a Player (IsoPlayer), but in the context of this mod, it is a Bandit (IsoZombie). The spottedNew function attempts to check for the player's vehicle, fails to find it, and crashes the game.
What was done: I commented out the problematic line 84 (zombie:spottedNew) and uncommented line 85 (zombie:pathToLocationF). Now, the zombies will move toward the sound of the gunshot (as intended), but without calling the function that breaks the game.
Fixed file: media\lua\shared\ZombieActions\ZAShoot.lua
After this change, the bandits stopped throwing errors and are now playable. However, I only fixed this specific crash; the following issues still remain:
When killing zombies or certain other bandits, they sometimes turn into "naked corpses."
They sometimes lose their target, erratically switching from the player to a zombie, or vice versa.
Also, for some reason, bandits are unable to open doors. ( but these are issues with the original mod.)
Feedback is also important!
Workshop ID: 3629595944 Mod ID: BanditsCrashFix_42_13_1_Unofficial_MP
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.