Project Zomboid

Project Zomboid

[B42.0]Amount Loss Fix (Fixed in 42.1)
136 Comments
Loccatpowersdog 3 Apr @ 9:21am 
Is the problem opposite now? If you leave a partially depleted wire or thread or something similar and come back after a while it's full (would be nice if this worked for the new remove propane tank and it becomes empty but I die too fast to collect data like that).
Shepherd0fSouls 4 Feb @ 9:25pm 
o7
joey 29 Jan @ 5:49pm 
o7
yawntee  [author] 25 Jan @ 5:44pm 
@Project Thylacine
You can refer to Better FPS with workshopID 3400804695 and destination path zombie/inventory/InventoryItem.class
This mod requires matched game version, so I don't restore the installation tutorial. It might crash the game!
Project Thylacine 25 Jan @ 10:01am 
Despite the notes, this bug is still present in 42.1. Please restore the mod and install instructions. Thanks!
Mr.Jimbo 24 Jan @ 4:33am 
Thank you!
Wiktorius 23 Jan @ 8:40am 
@Mr.Jimbo go into the mod folder, copy the modified file, then go to the pz game folder, go into zombie then inventory, and paste the modified file
Mr.Jimbo 23 Jan @ 8:27am 
Ehm, i forgot, how do you install it? xD
Mr.Jimbo 23 Jan @ 8:14am 
Looks like it's still not fixed, so installing it back again
homeworld 23 Jan @ 7:48am 
o7
PabloSFK 22 Jan @ 7:19pm 
Thanks for this help!!
Lightja  [author] 22 Jan @ 2:38pm 
Thanks Yawntee and everyone for their support.
rua 22 Jan @ 10:56am 
o7
Void🌹 22 Jan @ 9:20am 
thanks for the doing the temporary patch!
Uke 22 Jan @ 7:32am 
贴吧有人说还是会漏电,大家自己先不急着删除mod自己测试一下吧
Kael 22 Jan @ 7:24am 
thank you so much for your service. rip mod
yawntee  [author] 22 Jan @ 4:49am 
@Netdigger 你试试检查游戏完整性,我这已经测不出任何问题了,更新之后经常要检查一遍才正常
LeFrench 22 Jan @ 12:58am 
thanks for your very excellent service
yawntee  [author] 21 Jan @ 7:43pm 
在上班,今晚回去修:DSTskull:
Netdigger 21 Jan @ 7:41pm 
现在连装在手电筒里面的电池也漏电了,急等大佬救命了
yawntee  [author] 21 Jan @ 7:40pm 
@civilwarsoldier103 You don't have to do anything. The update of new version will override this file.
civilwarsoldier103 21 Jan @ 7:22pm 
So now that this mod is obsolete do I have to go back into the files and change it back?
RadlerAndi 21 Jan @ 1:04pm 
should be fixed 42.1
"Fixed drainable items losing uses after saving and loading."
tannansas 20 Jan @ 8:33am 
how do i install this on mac?
DoomGoat 20 Jan @ 12:25am 
Sadly, for this issue that doesn't help either (I already had it)... but it does indeed fix another issue. It seems there are a lot of issues with drainables. This specific issue is: 100 becomes 99.99999 sometimes when the content is refreshed because of how the game stores the value.
yawntee  [author] 19 Jan @ 11:47pm 
@DoomGoat No. This mod can only fix the bug about loss after load/save. Maybe you can try B42 Thread Consolidation Fix
DoomGoat 19 Jan @ 10:49pm 
Should this fix also work for liquid containers that loose 1 unit thanks to the floating point error when boiling water or using liquids from containers to craft things? It also happened when I tried to sterilize bandages with alcohol.
Both things happened after I applied your patched file, and I checked twice that it is properly applied.
suzinistherealjuno 19 Jan @ 12:29pm 
its not that hard to install. i was confused the first time i had to do a manual mod install, but there are many video guides, and just reading and following the instructions works too
DeathAgentX 19 Jan @ 6:08am 
this is above my pay grade to try and fix and i really dont want to mess my game up either
yawntee  [author] 18 Jan @ 7:17pm 
@civilwarsoldier103
You just need to copy from the Patched folder unless the game crashed after copying.
And the batteries generated during using the Battery Drain Fix may drain immediately, because his method changed some properties of the items.
UMP45赛高 18 Jan @ 5:10pm 
非常好模组,使我肯塔基超人不再担心
civilwarsoldier103 18 Jan @ 9:18am 
If I want to add this mod to an existing save, do I copy the Patched Folder or the backup folder.

Also I unsubscribed from the battery mod that was on my existing save, I want to add this one to that save so it fixes the propane tanks too, should I be worried about breaking things, and if I want to back up files, what files would I want to back up?
yawntee  [author] 18 Jan @ 12:30am 
@Mimimi Yup
Mimimi 17 Jan @ 6:16pm 
Does this also fix the daily passive battery drain?
GoldfishxofxDoom 13 Jan @ 9:34pm 
To clarify, because I didn't totally understand the instructions, you may need to launch your game after you subscribe to the mod, steam downloads the mod files, THEN quit out, and proceed with the instructions as pictured.

Thanks for your service to us all authors
Poopface 13 Jan @ 6:53am 
<3
Fantessie 11 Jan @ 6:45pm 
i:steamthumbsup:非常详细的教程,感谢
Dave 11 Jan @ 3:41pm 
does this fixes the cars fuel tank leak too? if not please add that too.
Lightja  [author] 11 Jan @ 3:09pm 
@DonZekane - to elaborate a bit, the bugs this fixes are in the java code. Mods that you can subscribe to using the normal method use LUA, a scripting language that interacts with java using functions the devs made accessible. So those LUA mods can't change the underlying logic of the java code, which is where the bug is.

Nepenthe came up with a clever workaround to fix 1 of the 2 bugs using a LUA mod that modifies the battery object. Your batteries might drain one last time when the game is updated if you use that fix, but that's a pretty minor downside if you prefer that route. That bug is the one most obviously impacting batteries/car batteries/propane bottles, but the bug affecting propane TANKs can only be fixed with this mod as far as I currently understand it.
Death's Advocate (Alex) 11 Jan @ 8:54am 
Thanks. I was wondering why car betteries were depleting so quickly.
Hyeon 11 Jan @ 3:24am 
牛逼👍
yawntee  [author] 11 Jan @ 2:06am 
@mursu No. You just have to copy the file and restart the game.
mursu 11 Jan @ 12:40am 
Dumb question: do I still have to enable it in the mods section in game?
Blessed Mother 10 Jan @ 6:17pm 
@DonZekane Read the description. It replaces a .class file, which requires manual installation.
godbae 10 Jan @ 12:20pm 
@DonZekane, the author already said why. "This mod is not a LUA mod and require a manual installation by replacing an existing Project Zomboid File". This fixes a bug in the games code, not adding content like a mod would.
DonZekane 10 Jan @ 11:42am 
I am confused with mods like these, why do you have to copy stuff MANUALLY? Other mods just do the stuff by subscribing and them getting installed automagically.
SupanovaHS 10 Jan @ 11:16am 
@Lightja It seems applying this to an existing save make auto drink a little "temperamental", however, a new save and I have had no issues
yawntee  [author] 9 Jan @ 9:40pm 
没有更新,只是把文件夹名字改了改方便理解
Uke 9 Jan @ 9:14pm 
大哥,今天更新啥了能否在详情里说一下,不然我们不知道是否需要重新替换文件
yawntee  [author] 9 Jan @ 9:07pm 
@tianwin 这个bug是因为满状态的物品数据没被存档导致的,所以在安装这个mod之前,这部分数据已经丢失了,无法恢复