Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Because the blood removal option was added in Build 42.
Thank you for the quick fix!
I have made some changes to the code based on the logs you sent. Can you please confirm if the errors have been resolved?
function: updateBloodCache -- file: AutoBloodClean.lua line # 71 | MOD: Auto Blood Clean
function: onTick -- file: AutoBloodClean.lua line # 138 | MOD: Auto Blood Clean
java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor1691.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
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:92)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1624)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
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)
Caused by: java.lang.NullPointerException: Cannot read field "FloorBloodSplats" because the return value of "zombie.iso.IsoGridSquare.getChunk()" is null
at zombie.iso.IsoGridSquare.haveBlood(IsoGridSquare.java:4967)
... 24 more
`
The error happens whether there is blood present in the interior or not.
I'll include the error text in subsequent comments (there's a 1000 character limit for comments).
Generates numerous errors in logs prior to completely crashing the game!
Callframe at: haveBlood
function: updateBloodCache -- file: AutoBloodClean.lua line # 71 | MOD: Auto Blood Clean
function: onTick -- file: AutoBloodClean.lua line # 138 | MOD: Auto Blood Clean.
[14-04-23 19:18:20.240] ERROR: General , 1681514300240> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor1133.invoke..
[14-04-23 19:18:20.240] ERROR: General , 1681514300240> DebugLogStream.printException> Stack trace:.
To prevent performance degradation, check the floor the player is currently on and scan up to 1 floor above and below. For example, if the player is on the 2nd floor, only the 2nd, 1st, and 3rd floors will be scanned.
Also, since the player has to be more than 15 meters away from the blood for it to be removed, it does not work properly in small buildings like watchtowers. Therefore, when the player is on the 2nd floor or higher, the minimum distance for blood removal has been changed to 5 meters.
Works on all floors.
Another question, with this change will it work with all floors? Or just the first and second? Thank you
Updated
Now, when cleaning up blood, the Z-axis is also taken into consideration. Therefore, blood on the 2nd floor and above will be removed as well.
Something I've noticed, I believe in two-story buildings or structures, the blood doesn't disappear on the second story. I did a test by adding the blood in the same areas of the first and second floor, I moved far enough away and only the ones on the first floor disappear.
I don't know if it will be just me or someone else will happen to him.
If you set the Blood Level to None in the Sandbox Options, you do not need to use this mode.
I updated the mode.
Test it again.
Other > BloodSplatlifespanDays
Where? I can't find it anywhere
https://lordikol.github.io/PZ_MapCleaner/
Try using a chunk cleaner.
If you mean removing all the bloody tiles from all the maps when the game loads, that is impossible.
The game will not be able to handle it and will crash.
This mode calculates the distance between the player and the bloody tiles, collects them, and removes them when the player is a certain distance away from the blood.
Therefore, you have to visit the bloody tiles.
improved and optimized performance and made it more efficient.