Project Zomboid

Project Zomboid

[OBSOLETE as of 42.12 beta] Smart Stack [B41/B42]
127 kommentarer
Exceed 9. okt. kl. 12:35 
Doesn’t work in B41 Hosted servers via Gportal. Use to work though.
Karbantms 6. okt. kl. 3:49 
o7 Good work, comrade.
Xerox 2. okt. kl. 19:06 
Thx for the work until now <3
SnIon  [ophavsmand] 29. sep. kl. 2:57 
Good point, Zara, thanks!
Zara ♡ 28. sep. kl. 10:19 
Might want to put obsolete in the title now for future peeps.

Thats good though! Id be happy if a dev of a game added a QoL mechanic I made a mod for lol

Congrats! Your mod basically made it to vanilla game
SnIon  [ophavsmand] 28. sep. kl. 2:32 
Old buttons on the panel don't appear anymore, but context menu on RMB still works.

Yeah, as of B42.12 developers added buttons "Transfer Same Type" which do what this mod does. So there's no point in using this mod anymore.
mbm6705 27. sep. kl. 14:26 
doesn't work B42.12
Zara ♡ 27. sep. kl. 9:09 
I think this is a vanilla thing in B42 now?
Zara ♡ 25. sep. kl. 19:15 
Getting errors when using this mod after the update today.
function: addContainerStackButton -- file: ItemStacker.lua line # 46 | MOD: Smart Stack

ERROR: General f:0, t:1758852279252> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: getRight of non-table: function toggleStove:419 at KahluaThread.tableget(KahluaThread.java:1530).
Stack trace:
se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1530)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:502)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:72)
깝노노노 14. juni kl. 19:30 
smart stack lua is written 966221273/SmartStack in pz_modlist_setting.cfg
it makes setting menu is disappeared
whenever I add some lua, I need to fix in every time
Unamelable 12. juni kl. 20:30 
I guess this mod will not be updated but i say it anyways

Is there will be an mod option to "stack everything, but save 1 instance of item" so i can use this container to stack in loot runs?
Primedew 11. juni kl. 9:59 
@mountainofcheezo you should look up "manage container" mod
Eliaz 26. mar. kl. 14:22 
Hello !
The Stack All doesn't work anymore in my save, only the Stack to Selected works, am I the only one with this problem ?
mountainofcheezo 20. mar. kl. 14:31 
Are you able to make this a thing for transfer all but use category logic? and include a hotkey? been searching desperately for that feature
Wolgrave 20. mar. kl. 3:30 
i love terraria's quick stack feature, i think it should be a feature in every game that have a storage system lol. thanks for this
Bunz 11. mar. kl. 9:48 
absolutely love this mod and the functionality inspiration from terraria, you're doing god's work for all of us loot goblins out there. hope you keep maintaining the mod in the future if possible. much love
SnIon  [ophavsmand] 6. feb. kl. 9:25 
@Johnny Dollar, in B42 there are settings under mods > smartstack which should allow you to hide those buttons that intersects with existing UI elements. Instead of the hidden buttons you can use hotkeys or context menu. I can’t align the buttons so they won’t interfere.
Johnny Dollar 5. feb. kl. 6:54 
@SnIon
Hey SnIon, thank you so much for keeping this mod updated for almost 8 years!
There's a problem in B42 when using ovens.
The stacking buttons on inventory screens overlay the turn on function on ovens so it looks like
"Tur-Stack all"
I tried messing around with some UI settings and moving the size of the inventory window, but couldn't change anything.
leon2356 23. jan. kl. 16:58 
@Juice

Use the Proximity Inventory mod. Adds a container to the loot window that shows all the loot in 8 surrounding tiles and containers. Then you can just tap loot all and it will take from everything around you, on the ground or in a container.
SnIon  [ophavsmand] 17. jan. kl. 13:45 
I will try implementing later. For now, while this is not exactly the functionality, there is a couple of mods with similar ideas:
AutoLoot 42
AutoLoot 41
Fast Keys 41/42
Creamy Bandito 16. jan. kl. 13:36 
Can you make a loot all hotkey so it will loot any containers that are nearby the player?
FootFeetish69 15. jan. kl. 7:32 
Huge thanks, from another hoarder. Been needing this for a long long time, wish I realized this existed before now lol
leon2356 10. jan. kl. 19:07 
OMG I was just looking for a mod like this! I am such a hoarder.
Sarah52 10. jan. kl. 15:25 
Best mod ever
Qifi 10. jan. kl. 11:27 
this is literally the best mod i have ever seen
CocoWarma 1. jan. kl. 21:57 
Amazing!Thanks for updating for B42.
Sssss 29. dec. 2024 kl. 17:01 
Wow, created in 2017 and still being updated??? Sick
Xer 27. dec. 2024 kl. 19:37 
Thx!:steamhappy::steamhappy::steamhappy:
SnIon  [ophavsmand] 27. dec. 2024 kl. 13:52 
@Xer there's now an option to hide buttons in Options > Mods > SmartStack, but for now only in build 42 and higher
SnIon  [ophavsmand] 25. dec. 2024 kl. 14:09 
@Jaxx - pshoooo, thanks for the report. I think it's pretty much impossible to place those buttons correctly, they will be intersecting with game elements. I want to add ability to disable buttons and context menus, and players will be choosing which way they want to use the mod. This would be the optimal solution, I think.
Jaxx - pshoooo 25. dec. 2024 kl. 13:48 
heads up but the buttons are a little close on trash can-type items that have a Delete All button, overlaps a bit https://i [dot]gyazo[dot]com/fa0a442816fe41c70897a20bf30b3c1d.png
SnIon  [ophavsmand] 25. dec. 2024 kl. 10:05 
@Johnny Dollar, you can add tags in workshop file like
here [github.com]
SnIon  [ophavsmand] 25. dec. 2024 kl. 9:26 
@Xer, yeah hiding buttons option is something I want to do, but I should figure out how to do it.
Johnny Dollar 25. dec. 2024 kl. 8:28 
Hello Snion
Thank you very much for updating the mod.

How do you add the build 42 tag to a workshop item that was created during build 41?
I've tried a couple of times now with no luck.
Xer 25. dec. 2024 kl. 6:57 
NO ERRORS after the update, nice work!
and a suggestion, can i have choice to hide the ContextMenu button? something like making a switch in the mod option.
anyway, thx for your efforts❤ @SnIon
SnIon  [ophavsmand] 25. dec. 2024 kl. 3:38 
@Xer @dcm4n, I updated the mod, if the issue is still present, please tell me more about reproducing (game build version, where the error happens). Hope it's fixed tho.
Xer 25. dec. 2024 kl. 1:03 
same as @dcm4n
dcm4n 25. dec. 2024 kl. 0:51 
Man thanks for the mod and for updating it to B42 so quickly, but something broke in the last update. I'm getting erros, even with only this mod activated.

Error in getKeyName - addKeybindingPanel, pretty sure it has to do with the new keybinding.

Back in B41 I used another mod (SmartStack HotKey by tooHzzub's) to get this exact funcionality and it worked fine, maybe you want to take a look at it.

@early_retirement that was probably it.
ZivaBigBen 24. dec. 2024 kl. 16:14 
Bless u @Snion
bHeaded 24. dec. 2024 kl. 14:10 
You are my hero @Snion
SnIon  [ophavsmand] 24. dec. 2024 kl. 13:54 
@early_retirement it might have been another mod, never was in this one. But the idea was good, so I implemented it. You should now be able to assign keybinds in game menu for stacking. Enjoy!
SnIon  [ophavsmand] 24. dec. 2024 kl. 13:53 
@RayVi should now be fixed
RayVi 24. dec. 2024 kl. 9:18 
@SnIon now the encoding has gone wrong in the Russian translation file, to fix this you need to save the file in ANSI encoding
bHeaded 24. dec. 2024 kl. 1:07 
I could have sworn there used to be keybindings you could bind these functions to.
Am I mistaken?
Its been a while since I played lol but Im not seeing them in the keybinds menu.
SnIon  [ophavsmand] 23. dec. 2024 kl. 8:31 
@ZivaBigBen the issue is now fixed, you can use stack buttons from context menu (gif in the description) on a controller
SnIon  [ophavsmand] 23. dec. 2024 kl. 2:02 
@ZivaBigBen yes, that's a longstanding controller issue. I will try to address it again.
KarlF 22. dec. 2024 kl. 21:02 
huge
ZivaBigBen 22. dec. 2024 kl. 16:19 
not seeing the stack buttons, is it a controller issue? i know some ui stuff changes from keyboard to controller
SnIon  [ophavsmand] 22. dec. 2024 kl. 11:29 
@early_retirement Update to B42 is done, enjoy! Let me know if something breaks
bHeaded 21. dec. 2024 kl. 16:39 
Not sure I can live w/o this mod, hope you update to B42! Thanks!