Project Zomboid

Project Zomboid

Dynamic Backpack Upgrades [ B42/B41 ]
Bags pushing capacity over 50.
Seems 50 is not possible to pass, with organized trait it can become 65. But I am watching debug log in real time after I set some bags to force update and it constantly ticks the following:

[15-01-25 04:43:47.863] WARN : General f:229354, t:1736945027863> ItemContainer.setCapacity > Attempting to set capacity of Base.Military_Backpack_Echo_Radio-Black_Tight:zombie.inventory.types.InventoryContainer@52644795over maximum capacity of 50.
[15-01-25 04:43:50.369] WARN : General f:229529, t:1736945030369> InventoryContainer.setCapacity > Attempting to set capacity of Base.Military_Backpack_Echo_Radio-Black_Tight:zombie.inventory.types.InventoryContainer@52644795over maximum capacity of 48.0.

And the bag no longer has the context option to only attempt to update storage once and no longer always. Maybe I misunderstood what the use case was but seems to need ability to turn off always update. I did notice dropping a bag and picking it back up sometimes lost the correct capacity and only then I needed to hit update once only.
< >
15/5 megjegyzés mutatása
I am also getting spammed by this.

ag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 48.0
WARN : General f:19966, t:1738664681982> ItemContainer.setCapacity > Attempting to set capacity of Base.Bag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 50
WARN : General f:20115, t:1738664684462> InventoryContainer.setCapacity > Attempting to set capacity of Base.Bag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 48.0
WARN : General f:20115, t:1738664684462> ItemContainer.setCapacity > Attempting to set capacity of Base.Bag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 50
WARN : General f:20265, t:1738664686971> InventoryContainer.setCapacity > Attempting to set capacity of Base.Bag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 48.0
WARN : General f:20265, t:1738664686972> ItemContainer.setCapacity > Attempting to set capacity of Base.Bag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 50
WARN : General f:20414, t:1738664689473> InventoryContainer.setCapacity > Attempting to set capacity of Base.Bag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 48.0
WARN : General f:20414, t:1738664689473> ItemContainer.setCapacity > Attempting to set capacity of Base.Bag_ALICEpack_DesertCamo:zombie.inventory.types.InventoryContainer@740ae9c0over maximum capacity of 50
WARN : General f:20562, t:1738664691972> InventoryContainer.setCapacity > Attempting to set capacity of Base.B
I'm not sure if im getting these text's as i've not checked debug mode but i definetly cant push any bag (modded or Vanilla) past 50 even when i boost the weight capacity to max in the sandbox options.

Has the mod maker talked about this at all?
I can't figure out which mod is causing the error because two of them are mentioned.
`function: render -- file: ToolTipInvOverride.lua line # 29 | MOD: Dynamic Backpack Upgrades (B42)
function: render -- file: KATTAJ1_TooltipFixer.lua line # 13 | MOD: KATTAJ1 Clothes Core
java.lang.RuntimeException: Object tried to call nil in render
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:100)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:954)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1805)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.render(UIElement.java:2005)
at zombie.ui.UIManager.render(UIManager.java:410)
at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1331)
at zombie.gameStates.IngameState.renderframeui(IngameState.java:1317)
at zombie.gameStates.IngameState.renderInternal(IngameState.java:1456)
at zombie.gameStates.IngameState.render(IngameState.java:1406)
at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:28)
at zombie.GameWindow.renderInternal(GameWindow.java:468)
at zombie.GameWindow.frameStep(GameWindow.java:940)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Legutóbb szerkesztette: Cosmo; júl. 18., 16:57
Up.

Have a like problem with capacity of bag (Rush100) from mod Escape From Tarkov. i can't improve capacity over 50
I had this problem while developping my own mod. Seems like developers have set a max limit on some inventorycontainers preventing from getting above a certain limit. Nobody knows why they did that, it broke every single backpack mod that many players love to play with.

And this is a weird idea because the way the game works, all inventory containers have 2 different inventory size. One related to the item itself, and one related to the actual inventory inside the item. That become a really weird idea because this new limit coming out of nowhere is applied to the "exterior inventory size", the one showing in the tooltip, but it's not affecting the actual interior inventory size. So you have this warning saying that you are cap to 50, and your bag is actually showing "capacity = 50" in the tooltip after upgrading, but the interior of the bag can go over this limit, so you can have a "display" cap at 50 and interior size of 65 or 70, or 2000 if you want...

I really don't understand why the developers had this weird idea of capping the exterior capacity of containers but not the interior, that make absolute no sens to me, but it is how it is.
It would require to change game files to fix this weird idea from java files, but i don't have the knowledge to do that, so for now my own backpack mod is broken until someone find a trick or developers go back to the b41 system...
< >
15/5 megjegyzés mutatása
Laponként: 1530 50