Project Zomboid

Project Zomboid

[B42] Cooler Backpack
60 Comments
zero 25 Jun @ 10:06pm 
Hello, how do I check the battery level? I don't seem to see the battery prompt, thank you
John Dulanius 18 Jun @ 10:43pm 
Why do you say this is the B42 version of CoolBag but it has completely lost the ice pack functionality? I have never heard of a TCM, and why would you need to install it into a camping cooler to make it keep temperature?

A real life cooler only needs the things inside of it to be cold, it maintains the low temperature. Not some electronic gadget

Is it a limitation of B42 that we can't have ice packs anymore?
Tank5168 10 Jun @ 11:45pm 
車輛拆除全部零件、要修理時,會一直跳錯誤出來。
Tank5168 10 Jun @ 11:42pm 
能把自動機械的留言版打開嗎?
有問題,都無法回報,只能在這留言。
Tank5168 10 Jun @ 11:39pm 
Can you open the message board?
3387539308 [B42] Auto Mechanics
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@87681408
function: sendObjectChange -- file: AutoMechanics_RISInstallVehiclePart.lua line # 24 | MOD: AutoMechanics
function: complete -- file: ISInstallVehiclePart.lua line # 96 | Vanilla
function: complete -- file: AutoMechanics_RISInstallVehiclePart.lua line # 27 | MOD: AutoMechanics

ERROR: General f:29772, t:1749623634767> ExceptionLogger.logException> Exception thrown
java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor1207.invoke(null:-1).
Darkcow 3 Jun @ 4:50pm 
I see no error but food lose the "Frozen" status rather quickly and does it's rotting rate.
What am I missing?
Also, How to replace battery/charge the cooler?
effertzgage2008 1 Jun @ 1:12pm 
Thank you, this actually works!
Tank5168 22 May @ 3:32am 
Tchernobill Your module has problems after the update.(42.8.1)
Tank5168 22 May @ 3:29am 
3388183573 [B42] Auto Tailoring
3387539308 [B42] Auto Mechanics
There is an error in the module and I cannot log into the game. I cannot leave a message in the original module either, so I can only leave a message here.
SJZ-BB-LONG 7 May @ 8:32pm 
掉落和制作有点容易啊
next we need to be able to build a motorised esky
Flexible Games 28 Apr @ 11:29am 
When interacting with a bag upgraded with this a ton of script induced lag is created and a game restart is needed to clear it up.
I will look at the script myself to see if there can be any optimizations, I welcome others to do so as well and maybe we can get something that is useful AND efficiently coded.
Smurf∞¸.•'¯) 24 Apr @ 1:14am 
can upgrade tcm to freezer temp
mfluis2000 19 Apr @ 1:00am 
I loved your mod since I saw it, you're great.:steamhappy:
진지사피언스 15 Apr @ 7:04am 
The freeze animation appears, but the duration is not extended.
R modoe 14 Apr @ 7:47am 
I'm in agreement with flexible games here, wouldn't it make more sense to have the device work like a flashlight with an insert-able battery.
GloomyRaven 12 Apr @ 6:43am 
Not working. I can se freeze animation (blue bar) but it does not extend the freshness of food.
Flexible Games 6 Apr @ 5:48pm 
Forgive my ignorance, I'm new to this LUA/Java API
Why not create a container using Drainable type, make it behave like a flashlight with an installable battery?
Flexible Games 6 Apr @ 5:12pm 
Why did you use OnZombieDead to add the loot drop rather than the games procedural generation system?
Slobodskoy 23 Mar @ 3:37pm 
@mikelin1979, Tchernobill,
Thank you guys for your work!
add RU translation
https://drive.goo gle.com/drive/folders/1NTC3p1VeR_mj30VfkykRPy3-3irxiZLl?usp=sharing
Preman Kampung 23 Mar @ 2:10pm 
Thanks for the update, it's working nicely now.
mipo 20 Mar @ 10:49am 
更新后已经能正常使用了,送了点数奖励支持您。
Naia 20 Mar @ 4:53am 
even cooling food rotten faster than usual bag any tips ?
kjh273 19 Mar @ 5:36am 
Mod not Working. It Counts down but does not freeze any items.2
Slaine 18 Mar @ 7:44am 
Mod not Working. It Counts down but does not freeze any items.
Slaine 18 Mar @ 7:10am 
Doe not cool after upgrade and adding battery.
Preman Kampung 17 Mar @ 2:44pm 
Already try resubscribe to get the new update and still not working. Can you consider uploading previous version one without battery?
reguero01 17 Mar @ 12:04pm 
for me not wprk :(
mipo 17 Mar @ 9:58am 
@mikelin1979 您好,作者大大,我只用了调试模组与您的这个模组,没开其它模组。
mikelin1979  [author] 17 Mar @ 8:24am 
@mipo
沒有其他模組的情況下嗎? 如果能提供console.txt,我可以比較快找到線索
mipo 17 Mar @ 3:54am 
not working

无法制冷,无法充电,而且tcm_upgrade使用后不会销毁,能继续用。
mikelin1979  [author] 14 Mar @ 10:47am 
@blastingdynamic
It was a error that this upgrade was not lootable, this has been fixed.
blastingdynamic 12 Mar @ 12:36am 
@UltimateTK This is because the upgrade is not lootable and is not being found by the function. (something like that I am not versed at all in LUA, but normal programming tells me that is the area of the issue)
UltimateTK 11 Mar @ 5:59am 
attempted index: getValue of non-table: null
function: OnZombieDead -- file: Cooler_Upgrade.lua line # 3 | MOD: Cooler Backpack
java.lang.RuntimeException: attempted index: getValue of non-table: null

Every time a zombie dies, the error increases by 1
kjh273 10 Mar @ 8:48am 
Please upload a separate file for the previous version instead
euni7140 10 Mar @ 8:21am 
특정 장소(건물 내부 사각지역)에서 좀비가 무한생성됩니다.
오류메시지를 보니 OnZombieDead 실행함수에서 getValue 값을 찾을 수 없어서 null 참조 오류가 발생했네요.
cooler_upgrade.1ua 파일에서 발생합니다.
rakarukri 8 Mar @ 7:09pm 
I think its better to have 2 setting/file for this: the sandbox-based and upgrade-based CoolerBackpack.

The sandbox-based was working well (need to fill the ID name without its class(?), i.e. write Cooler;Lunchbox instead of Base.Cooler;Base.Lunchbox). Meanwhile the new upgrade-based is currently doesn't work, and we can't use the old sandbox system. So we lose totally the functionality of the mod.
Preman Kampung 8 Mar @ 5:11pm 
I upgrade cooler box and a lunch box but it didn't work. The tool tips says the battery was 1000/1000 but item inside didn't have blue highlight like fridge has.
ErebodySnuggie 8 Mar @ 4:09pm 
Cooling effect doesnt seem to be working with the new TCM update. It takes the upgrade but does not work. Battery does not drain and items do not get cold or stay cold while in the container. Tested with the Base.Cooler
[40-1] SgtSnipey 8 Mar @ 2:12pm 
I am trying to get the in game coolers to act as cooler. But I change the sandbox options. But it doesn't work the item id I used is "Base.Cooler"
Æɴɪsᴏ 8 Mar @ 8:14am 
I'm gonna wait for the battery version but this is amazing!!! :pogface:
deliriousdel 5 Mar @ 9:19am 
I would love there to be an item I can use to upgrade my current backpack, like an upgrade
mikelin1979  [author] 3 Mar @ 11:43pm 
@RiNG第一突破手Chihaya Anon
Item Report後面顯示的並不精確,拿我這模組的縮圖來說,實際上的物品ID是Bag_Schoolbag
你可以在這找到背包類的ID,而且用「;」區隔
https://pzwiki.net/wiki/Container/zh-hant

另外目前的沙盤設定方式是暫時的,這主要是因為遊戲中途修改,不知為什麼取到的是開局時的設定值,所以你如果不是用沙盤開局,種類就會受限。

關於這個,將來會改成消耗容器擴充工具對指定背包進行標記,而不是針對背包種類,被標記的背包會獲得冷藏功能,但是需要消耗電力運作,可切換段數,電力可從手電筒電池補充。

只是目前在改腐爛速度計算如同冷藏庫的時候遇到一些瓶頸,官方資料也沒很好找,真的太花時間可能先告一段落,先去改擴充工具,以後再回頭改計算方式。
物品ID的格式应该是什么样的?我试着把Item Report后面的内容输进去好像并不生效,我确定我记得加入了分号。
K.G (Flippy) 3 Mar @ 5:53pm 
Can you add a sandbox option tickbox that just auto adds cooling effect to every container/backpack? so we don't have to type every single item ID? thanks!
mikelin1979  [author] 2 Mar @ 7:44pm 
@engager6
For unknown reasons, the sandbox settings are changed mid-game. Even if the game save is reloaded, the sandbox settings will still be the initial values.

So one of the goals I expect to adjust is add backpack expansion items. This way you can right-click on any portable container and choose to give it the refrigeration function and consume the expansion item at the same time, just like how the backpack expansion mod used.

This is the only way to avoid invalidating changes to the sandbox settings are changed mid-game. You can also remove the sandbox settings and no longer specify the type of cooler backpack through the sandbox settings.
engager6 2 Mar @ 7:25pm 
I had added this mod in the middle of the playtrough and tried to make it work with mod based backpack (to not mess up vanilla items), but adding corresponding ID or Base.ID had no effect on the backpack after changing+applying sandbox options in dev mode, reloading savegame also does nothing. For some kind of reason mod does work on vanilla cooler though. I also tried to add this function to vanilla items, for example military backpack, but this also had not worked. Does this mod require starting a new gama to be functional?
blastingdynamic 2 Mar @ 9:14am 
Nevermind. Apologies, I was being dumb and trying to update the sandbox settings midgame. I did it before making the character and it worked. Only need the part after "BagUpgradePlus." got it.
blastingdynamic 2 Mar @ 8:41am 
I am a bit confused on how the cooler container type entry box works. I have a mod called Bag Upgrade Plus and I want to add the BagUpgradePlus.FannyPackFrontPlus to the list of coolers but nothing I put works.
Does it not work with modded bags?
mikelin1979  [author] 2 Mar @ 6:02am 
@Nemicus
You can edit \Cooler Backpack\42\media\sandbox-options.txt
add Your default contains.