Project Zomboid

Project Zomboid

Dirtiness Sickness
 This topic has been pinned, so it's probably important
Badonn  [developer] 8 Jul, 2023 @ 6:45pm
[BUG REPORTING]
If something isn't behaving as expected, or the game crashes or breaks, please let me know here, or even on my GitHub[github.com]! Contacting me in multiple places increases the chance I'll see your report more quickly.

Please make sure to tell me how to get the bug you're experiencing (called reproduction steps), and attach logs of the error you're experiencing, most likely in C:\Users\[youruser]\Zomboid\Logs at the very bottom of the list. Also please make sure that you have restarted your server/game first before reporting it.
< >
Showing 1-9 of 9 comments
Saneeks 24 Jul, 2023 @ 12:01pm 
Have a lot of mods.
Start game. Die.
Create new person.
Get error message.
Game still ok.

`attempted index: getHumanVisual of non-table: null
function: DSEveryHours -- file: DirtinessSicknessMain.lua line # 107 | MOD: DirtinessSickness
java.lang.RuntimeException: attempted index: getHumanVisual 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:65)
at zombie.GameTime.update(GameTime.java:550)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
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)
`
Badonn  [developer] 24 Jul, 2023 @ 10:11pm 
Originally posted by Saneeks:
Have a lot of mods.
Start game. Die.
Create new person.
Get error message.
Game still ok.

`attempted index: getHumanVisual of non-table: null
function: DSEveryHours -- file: DirtinessSicknessMain.lua line # 107 | MOD: DirtinessSickness
java.lang.RuntimeException: attempted index: getHumanVisual 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:65)
at zombie.GameTime.update(GameTime.java:550)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
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)
`


Do you know if the mod still functions after this error? Like do you still get sick?
Saneeks 26 Jul, 2023 @ 10:22am 
Sorry, can't answer about right now. I just dont know how to check is your sick working.

I try it again. Die. Recreate. But now get error from Health Plus
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2960476396
Saneeks 27 Jul, 2023 @ 4:09am 
The main question is how to get dirty? I cant check mod because cant get dirtness fast enough.
Tempritscher 29 Aug, 2024 @ 10:17am 
Stuck in Filthy Stage 2
unable to remove the moodle.
anyone facing the same issue?
Badonn  [developer] 24 Dec, 2024 @ 10:13pm 
Originally posted by Tempritscher:
Stuck in Filthy Stage 2
unable to remove the moodle.
anyone facing the same issue?

I know it's been a bit, but I've made an update that hopefully addresses this for you. If you're still experiencing this issue, make sure your body is clean, and wait for the next hour to elapse. The moodle should clear unless something is seriously broken.
The Odor 23 Feb @ 2:26pm 
I covered myself in blood, by killing a couple 10's of zombies and looting their bloodied clothes, sat myself in a safehouse and waited until hunger took me. No points of sickness. Cannot find options either. What triggers the sickness specifically?
Badonn  [developer] 24 Feb @ 6:51pm 
@The Odor

This mod doesn't doesn't take into account dirt or blood on the clothes, or blood on the body. It only works with dirt on the body. The game tracks all of those values separately, for some reason.

If people would like the mod to take blood on the body in account, I can add that in! I'd add it in as a sandbox option, so people could enable/disable it as they wish.
The Odor 18 Mar @ 6:18am 
Originally posted by Badonn:

This mod doesn't doesn't take into account dirt or blood on the clothes, or blood on the body. It only works with dirt on the body. The game tracks all of those values separately, for some reason.

If people would like the mod to take blood on the body in account, I can add that in! I'd add it in as a sandbox option, so people could enable/disable it as they wish.

That sounds lovely, I'm looking for a punishment for never cleaning yourself between fights; covering yourself with rotten blood can _not_ be good for your health in my opinion. Can you also include blood on the person in general, like for clothes and even weapons?
< >
Showing 1-9 of 9 comments
Per page: 1530 50