Project Zomboid

Project Zomboid

Keep Xp When Respawn
19 Comments
Fenrir 29 Jan, 2023 @ 3:56am 
Broken. No longer works in any way...
EGG 23 Dec, 2022 @ 10:46pm 
Does This Mod Still Work?
BloodyRain2k 24 Apr, 2022 @ 4:04pm 
I get an error per frame if I respawn in Solo with this mod.

[pre]ERROR: General , 1650841088798> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: No implementation found at MultiLuaJavaInvoker.call line:112.
ERROR: General , 1650841088799> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: No implementation found
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:112)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
LOG : General , 1650841088801> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@ebc41afe
function: Respawn -- file: RespawnCore.lua line # 44[/pre]

This isn't the full error as that blew the 1000 character limit.
ɆⱠ ₲Ɽł₣Ø❥42Ø 6 Apr, 2022 @ 7:37pm 
It does not work, and probably not in mp
ɆⱠ ₲Ɽł₣Ø❥42Ø 28 Mar, 2022 @ 8:17pm 
still working in mp?
我要打十个  [author] 26 Jan, 2022 @ 11:43pm 
@buki
我回家过年了,最近估计没办法更新

@PiratePete
This mod adds 50% of the total XP of each stats to your new character. So in your testing scenario, your character died with 1 level of the skill, it will add the 75/150 XP to your respawned character, which again spawned with 1 level of the same skill (from traits or occupation). Total XP = 1 level + 75/150.
PiratePete 25 Jan, 2022 @ 9:32pm 
When I try this mod on both single and multiplayer whenever I die low stats get a large boost in XP. For example if a skill is at 1 it goes to 1.5 with 75/150 xp. If the skill is very high like 8 it goes down.

Try creating a character that has one point in a few stats, then get yourself killed immediately and you will see all those level 1 skills are now halfway to level 2. Fitness and Strength have way worse scaling and I seem to get thousands more XP than I should have on those two.

I have been trying to test it with only this mod and mod options installed to change the percentages and it doesn't seem to give the correct XP.
buki 17 Jan, 2022 @ 2:21am 
联机模式可以改成保留100%吗?
Drannak 16 Jan, 2022 @ 7:24am 
Yes exactly, it went up from 5 to 6, but every other skill went down, strength included.
我要打十个  [author] 15 Jan, 2022 @ 1:31am 
@Drannak
you meant fitness went from 5 to 6? I'll look into this bug
Drannak 14 Jan, 2022 @ 10:31pm 
I had no traits or occupation though, and only like 6 xp in the skill (was suiciding with fresh character to see if mod worked, by leveling foraging up to 2 quickly and then dying) which is why I say glitched, foraging went down, strength went down, but foraging went from level 5 with 6 xp, to level with with 18,000 xp. died again, strength and foraging down, fitness was level 5 with 28,000 xp, nearly gaining a level from dying twice.
我要打十个  [author] 14 Jan, 2022 @ 5:13am 
@Drannak
it is not glitched, your character is most likely respawned with few points of base fitness levels (from occupation or traits), then it adds 50% of your previous fitness xp back into it.
Drannak 14 Jan, 2022 @ 12:43am 
Fitness seems to be glitched for me, all skills go down but fitness increases by 10,000 xp on death
Spooky 13 Jan, 2022 @ 1:32pm 
Aha nice, i'll try again with mod option
Stardust Commander 13 Jan, 2022 @ 12:26pm 
thank you very much
我要打十个  [author] 13 Jan, 2022 @ 11:51am 
@Daniel Rubinstien
This mod now requires "Mod Option", you can change the rate in the option menu but only in single player or if you are the admin of the server
Stardust Commander 12 Jan, 2022 @ 8:08pm 
can you make a version that keeps all xp?
我要打十个  [author] 11 Jan, 2022 @ 11:58pm 
@Spookymonsta
50%, yes, works on multiplayer
Spooky 11 Jan, 2022 @ 6:07pm 
How many %'s does it keep? Works on MP ?