If you have a max stack size set for everywhere else using Stack Modifier, and then say have a max stack size inside of TC only using Stack Item Storage, the plugins don't play nicely. When you move a stack from one slot to another inside of a storage container, Stack Modifier will split up the items back to the global stack size. The only way to get them back to the storage stack size is to manually drag the stacks onto each other.
Issue when moving stacks of item inside of storageBug
Please add me on Discord so I can test something out with you on my test machine Discord id > Khan#8615
Hey Khan,
So I have my stacksizes set to 2x for everything in a tc. ie: Stones are set to 2000 instead of the vanilla default of 1k), but when I withdraw the 2k stones from the tc, I get that 2k stack in my inventory instead of the vanilla 1k stack. I checked my stackmodifer Config and stones are still set to max stack size of 1k. If I move the stones to another container such as a large box it auto splits it into two 1k stacks like it should. Just curious as how to fix it not working when removing items from the tc.
Any input is greatly appreciated.
Thanks!
Greetings - Like some of the previous threads on here, the plugin appears broken. Example:
I have stack sizes for all resources and components set to 2X. They appear fine in Player Inventory when looting, picking up items, etc. However, I want stack sizes in Boxes, BBQ, TC, etc. set to 4X. So for example, player has 2,000 wood on them in their inventory. That's the max stack size in player inventory. When they transfer to a box, allow that stack size to be 4,000 now. That part works fine.
However, the issue I think everyone is seeing, is once they TRANSFER that loot INTO THEIR INVENTORY FROM THE BOX, TC, BBQ, etc., the stack size REMAINS at 4,000 and doesn't auto-split it into 2,000 stack size unless you move it from one slot to another. This appears to be a bug?
Any help is appreciated.
Merged post
Started my own thread here: https://umod.org/community/stack-item-storage/43337-previous-thread-deleted-item-stacking-not-transferring-correctly-between-player-inventory-storage
I posted a thread about 20 minutes ago and now it's gone? Not sure why?
Idk why it would be deleted unless a umod staff member is doing it, I have no control over that stuff.
This is the first I am seeing your post response as well as I do not get any notification when those posts are deleted/moved.
Anyways can you please provide me with your Stack Item Storage config to allow me to see/test what you have set up on my test machine.
You can either use pastebin.com or discord message me the config file @ Khan#8615
@khan thanks for replying - not sure. Looks like my post got merged with a previous thread apparently. Also, I've since unloaded the plugin and removed the files from my server. However, I can tell you that I made nearly no modifications to the files. All I did was set the stack size for Resources and Componenets to 2.0 in the Stack Modifier plugin config, and set the following values in the Stack Item Storage config file to test:
Merged post
"assets/prefabs/deployable/large wood storage/box.wooden.large.prefab": {
"DisplayName": "Large Box",
"MaxCapacity": -1,
"Items": [
{
"ShortName": "stones",
"MaxStackSize": 4000
},
{
"ShortName": "wood",
"MaxStackSize": 4000
},
{
"ShortName": "sulfur",
"MaxStackSize": 4000
},
{
"ShortName": "sulfur.ore",
"MaxStackSize": 4000
},
{
"ShortName": "charcoal",
"MaxStackSize": 4000
},
{
"ShortName": "metal.fragments",
"MaxStackSize": 4000
},
{
"ShortName": "metal.ore",
"MaxStackSize": 4000
}
]
},This should be pretty easily re-producable since this was virtually the only modification I made, outside of setting some stack sizes in the Stack Modifier GUI.
Merged post
@khan for the sake of testing, I actually reloaded the plugins again, and only made modifications to stack sizes using the GUI editor, then modified just ONE line item in the StackItemStorage.json file for "wood" to be 4,000 for Large Boxes.
Here are the pastebin files:
StackModifier.json: https://pastebin.com/G4xxkZ2q
StackItemStorage.json: https://pastebin.com/nsr36bqh
The same issue occurs when you go to swap items back and forth between Player Inventory and Box stack sizes. The stack size remains 4,000 upon transferring from Box to Player Inventory but if you move the stack around, it moves to the "correct" stack amount of 2,000.
Your thread was merged with the apparent duplicate threads as there didn't need to be the same discussion in 3 of them.MONSTROI posted a thread about 20 minutes ago and now it's gone? Not sure why?
Ah, understood, thanks!
Aye, just wanted to let you know I am just coding a whole new plugin altogether to fully resolve the issues.
This means StackModifier will also be getting updated as well when I update this plugin.
Stack Item Storage is getting a complete redesign, reimplementation & UI Editor.
I should have the update ready sometime tomorrow /
@khan Wow, awesome! Appreciate the work, and update!