Project Zomboid

Project Zomboid

252 arvostelua
Auto Clean Blood
3
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
107.316 KB
1.4.2023 klo 23.35
26.4.2023 klo 23.17
17 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Auto Clean Blood

Kuvaus
In multiplayer sandbox mode, there is an option to automatically remove blood, but this option does not exist in single-player mode. As you may already know, blood has a significant impact on frame rate.

This mode automatically deletes blood when the player moves a certain distance away from it.

Set the bleeding level to maximum and enjoy the game without frame loss.

You can easily understand this by watching the video.

Does it work inside a building? Yes. Does it work if I'm in a car? Yes, but vehicles are moving at high speeds, so there may be bloodstains that can't be removed in time. Workshop ID: 2956358929 Mod ID: Auto Blood Clean
43 kommenttia
rteixeirapl 6.3. klo 3.26 
@Tnaz.v no, this problem you are facing is not coming from this mod.
Tnaz.v 2.3. klo 21.06 
Could this mod eliminate the hordes of zombies? I walk 1 block and when I return, the horde of 300 zombies disappear out of nowhere.
NonstickSQYD 7.11.2023 klo 7.39 
whats the name of the hud bottom left youre using?
Jashin 6.10.2023 klo 19.43 
How can you soft reset a home dedicated server?
Darth Bokeh 25.4.2023 klo 20.40 
Confirmed - the errors no longer come up in the bus or yacht.

Thank you for the quick fix!
DoriPie  [tekijä] 25.4.2023 klo 20.25 
@1sot0pe
I have made some changes to the code based on the logs you sent. Can you please confirm if the errors have been resolved?
Darth Bokeh 25.4.2023 klo 18.02 
`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
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)
Darth Bokeh 25.4.2023 klo 18.02 
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: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)
Darth Bokeh 25.4.2023 klo 18.02 
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)
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
`
Darth Bokeh 25.4.2023 klo 18.00 
I get those errors as well, but not in every interior and so far it hasn't crashed my game. I get them in the Bear Bus and sailing yacht interiors but not the Autotsar iLYA-1990 from the Autotsar Trailers mod. I've only come across one bus, yacht and iLYA trailer so far in my game since installing this mod so don't know if it consistently errors for those types of interiors or only sometimes (if it errors at all for an interior, it errors all the time).


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).