Project Zomboid

Project Zomboid

[B41/B42] Rain Cleans Blood
Altzan260 29 Jan, 2024 @ 11:45am
Errors on Dedicated Server
I am running this mod on a dedicated server and it is giving me errors. The errors are as follows.
Error 1:
`function: onTick -- file: RainCleansBlood.lua line # 52 | MOD: Rain Cleans Blood
function: Add -- file: RainCleansBlood.lua line # 116 | MOD: Rain Cleans Blood
java.lang.RuntimeException: attempted index: getName of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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: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.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)
`
Error 2:
`Callframe at: get
function: onTick -- file: RainCleansBlood.lua line # 50 | MOD: Rain Cleans Blood
function: Add -- file: RainCleansBlood.lua line # 116 | MOD: Rain Cleans Blood
`
< >
Showing 1-7 of 7 comments
Akamir  [developer] 3 Feb, 2024 @ 12:07pm 
Thanks for reporting. I'll be sure to look into what's going on asap.
Akamir  [developer] 3 Feb, 2024 @ 1:23pm 
Looks like it's trying to call getName() on a null object, an oversight on my part. I'll fix this and have an update out within the hour.
Altzan260 3 Feb, 2024 @ 1:27pm 
Woo! I can't wait! Also... My friend, who also plays on the server, says that vehicles and clothes aren't being cleaned in the rain.
Akamir  [developer] 3 Feb, 2024 @ 1:42pm 
New version is up now. I think a reload of the server and all clients should be sufficient, but I'm not 100% sure about how the workshop handles updates. Please let me know if this solved your issue!
Akamir  [developer] 3 Feb, 2024 @ 1:45pm 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2657661246

Should be exactly what your friend wants. I didn't feel like reinventing the wheel and run both mods in my own game as well.
Altzan260 3 Feb, 2024 @ 3:52pm 
Heh, thanks a lot!
󠀡󠀡Blue 28 Jun, 2024 @ 1:10pm 
I had a different error recently, but it doesn't seem to be to much of an issue.
It's probably because I'm running a server with too many mods.
Just here to report it, as it's only happened once so far.

`java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor2395.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.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)
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)
< >
Showing 1-7 of 7 comments
Per page: 1530 50