Project Zomboid

Project Zomboid

Health Plus
 This topic has been pinned, so it's probably important
spoon  [developer] 10 Apr, 2023 @ 5:12am
Bug Reports.
.
< >
Showing 1-15 of 20 comments
GhostNoodle 14 Apr, 2023 @ 9:19am 
The overlay for the tired moodle is showing up on the first sign of sleepiness. I understand its supposed to show up after 24 hours of exhaustion. Where can I find the Settings to manipulate the time to add the effect?
spoon  [developer] 14 Apr, 2023 @ 9:35am 
Originally posted by BustyLeGroove:
The overlay for the tired moodle is showing up on the first sign of sleepiness. I understand its supposed to show up after 24 hours of exhaustion. Where can I find the Settings to manipulate the time to add the effect?

Ah damn. Seems it uses real time and not game time. I'll try to fix it or remove it.
GhostNoodle 14 Apr, 2023 @ 10:20am 
Originally posted by spoon:
Originally posted by BustyLeGroove:
The overlay for the tired moodle is showing up on the first sign of sleepiness. I understand its supposed to show up after 24 hours of exhaustion. Where can I find the Settings to manipulate the time to add the effect?

Ah damn. Seems it uses real time and not game time. I'll try to fix it or remove it.

Legend, thanks!
Lanaliere 15 Apr, 2023 @ 1:36pm 
Originally posted by spoon:
Originally posted by BustyLeGroove:
The overlay for the tired moodle is showing up on the first sign of sleepiness. I understand its supposed to show up after 24 hours of exhaustion. Where can I find the Settings to manipulate the time to add the effect?

Ah damn. Seems it uses real time and not game time. I'll try to fix it or remove it.
Any chance there are real time clocks on other things as well, like infections/fever? I've seen those go by pretty fast as well.
spoon  [developer] 15 Apr, 2023 @ 1:47pm 
Originally posted by Lanaliere:
Originally posted by spoon:

Ah damn. Seems it uses real time and not game time. I'll try to fix it or remove it.
Any chance there are real time clocks on other things as well, like infections/fever? I've seen those go by pretty fast as well.

Infection is vanilla. Fever up/downs should be all with game time as well as they run with specific events that use game time. That display overlay thing uses another tick system and not events.
Lanaliere 15 Apr, 2023 @ 2:10pm 
Originally posted by spoon:
Originally posted by Lanaliere:
Any chance there are real time clocks on other things as well, like infections/fever? I've seen those go by pretty fast as well.

Infection is vanilla. Fever up/downs should be all with game time as well as they run with specific events that use game time. That display overlay thing uses another tick system and not events.
Thanks for the response!
LoboOscuro 2 May, 2023 @ 8:05am 
I get complication traits such as 'scarred' and even had a kidney injury from catching a nasty cold once...thing is they do absolutely nothing, no pain or anything and they never go away or show improvements?
I'm having this error logged in the server:

LOG : General , 1685549298024> 367,514,353> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnEat_CigarettesPlus -- file: SpoonAddictionsCode.lua line # 47 | MOD: Health Plus

ERROR: General , 1685549298024> 367,514,353> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: atte
mpted index: getModData of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1685549298025> 367,514,354> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getModData 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:1861)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:48)
at zombie.characters.IsoGameCharacter.Eat(IsoGameCharacter.java:6175)
at zombie.network.GameServer.receiveEatFood(GameServer.java:3299)
at zombie.network.PacketTypes$PacketType.onServerPacket(PacketTypes.java:1022)
at zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:1532)
at zombie.network.GameServer.main(GameServer.java:800)
LOG : General , 1685549298026> 367,514,355> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnEat_CigarettesPlus -- file: SpoonAddictionsCode.lua line # 47 | MOD: Health Plus

Any ideas what could be happening?
spoon  [developer] 1 Jun, 2023 @ 2:16am 
Originally posted by this is a profile name:
I'm having this error logged in the server:

LOG : General , 1685549298024> 367,514,353> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnEat_CigarettesPlus -- file: SpoonAddictionsCode.lua line # 47 | MOD: Health Plus

ERROR: General , 1685549298024> 367,514,353> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: atte
mpted index: getModData of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1685549298025> 367,514,354> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getModData 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:1861)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:48)
at zombie.characters.IsoGameCharacter.Eat(IsoGameCharacter.java:6175)
at zombie.network.GameServer.receiveEatFood(GameServer.java:3299)
at zombie.network.PacketTypes$PacketType.onServerPacket(PacketTypes.java:1022)
at zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:1532)
at zombie.network.GameServer.main(GameServer.java:800)
LOG : General , 1685549298026> 367,514,355> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnEat_CigarettesPlus -- file: SpoonAddictionsCode.lua line # 47 | MOD: Health Plus

Any ideas what could be happening?

Only God knows! If it is not a red box error and it won't spam your debug box either then its probably nothing.
O_0..b 21 Jun, 2023 @ 5:45pm 
Not 100% sure this is a bug but going to post it here just in case.
I've got myself a lower torso fracture and applied a bandage to it but I keep losing health regardless. Had to put my current game on pause. Is there supposed to be alternative treatment for this type of fracture or is this a bug? The mod description doesn't say anything about fractures.
Last edited by O_0..b; 21 Jun, 2023 @ 5:47pm
spoon  [developer] 22 Jun, 2023 @ 12:26am 
Originally posted by >_<:
Not 100% sure this is a bug but going to post it here just in case.
I've got myself a lower torso fracture and applied a bandage to it but I keep losing health regardless. Had to put my current game on pause. Is there supposed to be alternative treatment for this type of fracture or is this a bug? The mod description doesn't say anything about fractures.

I think you might be experiencing the default health drop that comes with the part input into the whole health of the body. I tested it and the health dropped to about 60% and then stopped. Just make a backup copy of your save file and see if this is the case.
O_0..b 22 Jun, 2023 @ 6:10am 
Originally posted by spoon:
Originally posted by >_<:
Not 100% sure this is a bug but going to post it here just in case.
I've got myself a lower torso fracture and applied a bandage to it but I keep losing health regardless. Had to put my current game on pause. Is there supposed to be alternative treatment for this type of fracture or is this a bug? The mod description doesn't say anything about fractures.

I think you might be experiencing the default health drop that comes with the part input into the whole health of the body. I tested it and the health dropped to about 60% and then stopped. Just make a backup copy of your save file and see if this is the case.
Ok, so it's supposed to drop to 60%, got it. I have a "cheat menu" mod that allows me to heal the character, so I can use it in case health drops too low. Also, is "bandaged" suppose to appear over "fracture" or below? Right now, when bandaged, I can see both "fracture" and "bandaged" on the same body part. Not sure if it's the default behavior, never had a fracture before installing "health plus".
Also, just to be clear, the only other mod related to health that's installed is "random injuries" but I'm sure it doesn't change HOW injuries work, just adds a small chance of getting one during certain actions.
Last edited by O_0..b; 22 Jun, 2023 @ 6:12am
spoon  [developer] 22 Jun, 2023 @ 6:29am 
Originally posted by >_<:
Originally posted by spoon:

I think you might be experiencing the default health drop that comes with the part input into the whole health of the body. I tested it and the health dropped to about 60% and then stopped. Just make a backup copy of your save file and see if this is the case.
Ok, so it's supposed to drop to 60%, got it. I have a "cheat menu" mod that allows me to heal the character, so I can use it in case health drops too low. Also, is "bandaged" suppose to appear over "fracture" or below? Right now, when bandaged, I can see both "fracture" and "bandaged" on the same body part. Not sure if it's the default behavior, never had a fracture before installing "health plus".
Also, just to be clear, the only other mod related to health that's installed is "random injuries" but I'm sure it doesn't change HOW injuries work, just adds a small chance of getting one during certain actions.

This might be it. You probably got the fracture carrying something heavy? Usually fractures need a splint but im not sure if you can place it other places then your legs - probably can. My mod haven't changed anything related to fracture or on how you get default injuries in general.
O_0..b 22 Jun, 2023 @ 3:08pm 
Originally posted by spoon:
Originally posted by >_<:
Ok, so it's supposed to drop to 60%, got it. I have a "cheat menu" mod that allows me to heal the character, so I can use it in case health drops too low. Also, is "bandaged" suppose to appear over "fracture" or below? Right now, when bandaged, I can see both "fracture" and "bandaged" on the same body part. Not sure if it's the default behavior, never had a fracture before installing "health plus".
Also, just to be clear, the only other mod related to health that's installed is "random injuries" but I'm sure it doesn't change HOW injuries work, just adds a small chance of getting one during certain actions.

This might be it. You probably got the fracture carrying something heavy? Usually fractures need a splint but im not sure if you can place it other places then your legs - probably can. My mod haven't changed anything related to fracture or on how you get default injuries in general.
False alarm. In another topic someone clarified that in case of torso fracture, health goes down to a certain point and stays there. Wasn't quite obvious cause no other discussion brings this point up.
Saneeks 26 Jul, 2023 @ 9:11am 
SP. Debug. Have a lot of mods. Die. Created new person. Get this error. Game still working.
`attempted index: getModData of non-table: null
function: AddSmokingSystem -- file: SpoonAddictionsCode.lua line # 99 | MOD: Health Plus
Callframe at: setPlayerMouse
function: accept -- file: CoopCharacterCreation.lua line # 77 | Vanilla
function: onOptionMouseDown -- file: CoopCharacterCreationMain.lua line # 16 | Vanilla
function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla
java.lang.RuntimeException: attempted index: getModData 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:134)
at zombie.Lua.LuaManager$GlobalObject.addPlayerToWorld(LuaManager.java:4228)
at zombie.Lua.LuaManager$GlobalObject.setPlayerMouse(LuaManager.java:4320)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.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.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
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)
`
< >
Showing 1-15 of 20 comments
Per page: 1530 50