tModLoader

tModLoader

Magic Storage
huyam 29 Jul, 2022 @ 1:26pm
Bug report: Same items don't pile up automatically.
When i store an additional item, it does not pile up on the same kind of item that existed before, but it builds up another same item stacks. Those newly created stacks take up another space apart from existed ones,so it makes storage usage very inefficient..

To solve this, i reinstalled the mode to the latest version (v0.5.6.5) //// initialized all mode configurations ///// tried putting all items back in after removing them from storage, but it didn't work.

I think this happened after I turned on the configuration "Quick stack deposit mode." (Not exactly)
When I turn off this configuration again, the 'Deposit all' button still works exactly the same as when it turned on, and the tooltip of the button also comes out the same.

Thank you for reading the long message. I need your help...
< >
Showing 1-7 of 7 comments
absoluteAquarian  [developer] 29 Jul, 2022 @ 5:24pm 
Magic Storage prevents items with different GlobalItem data from stacking in the storage system.

Enable the Item debug information config option, bind the Print Item Data keybinding and then press the key once you're hovering over an item in the storage. The encoded information for the item will be printed to the chat.

If the two item stacks' encoded data differs in any way, then you can't stack them in the storage system.
huyam 30 Jul, 2022 @ 7:57am 
Originally posted by absoluteAquarian:
Magic Storage prevents items with different GlobalItem data from stacking in the storage system.

Enable the Item debug information config option, bind the Print Item Data keybinding and then press the key once you're hovering over an item in the storage. The encoded information for the item will be printed to the chat.

If the two item stacks' encoded data differs in any way, then you can't stack them in the storage system.

As you said, I turned on 'Item debug information config option' and printed the encoding information.

I don't think the string below is any different between the two same item stacks. What's strange is that the existing stack's encoding information printing shows an additional string called 'ModLoader/UnloadedGlobalItem'.


I'll attach a link to the screenshot I took myself.
existed stacks
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2842425512
new stacks
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2842425533


The same problem is happening in more than 100 items. This is just one of them
absoluteAquarian  [developer] 30 Jul, 2022 @ 10:10am 
Originally posted by huyam:
Originally posted by absoluteAquarian:
Magic Storage prevents items with different GlobalItem data from stacking in the storage system.

Enable the Item debug information config option, bind the Print Item Data keybinding and then press the key once you're hovering over an item in the storage. The encoded information for the item will be printed to the chat.

If the two item stacks' encoded data differs in any way, then you can't stack them in the storage system.

As you said, I turned on 'Item debug information config option' and printed the encoding information.

I don't think the string below is any different between the two same item stacks. What's strange is that the existing stack's encoding information printing shows an additional string called 'ModLoader/UnloadedGlobalItem'.


I'll attach a link to the screenshot I took myself.
existed stacks
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2842425512
new stacks
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2842425533


The same problem is happening in more than 100 items. This is just one of them
The UnloadedGlobalItem data is the reason. The first stack had GlobalItem data on a mod that is now disabled, whereas the second stack does not.
Czaele 1 Aug, 2022 @ 3:16pm 
Is there a way to clear out all the UnloadedGlobalItem data?
absoluteAquarian  [developer] 1 Aug, 2022 @ 3:31pm 
Originally posted by Czaele:
Is there a way to clear out all the UnloadedGlobalItem data?
Take the items out of the storage, stack them with a new item, then put them back into the storage.
Originally posted by absoluteAquarian:
Magic Storage prevents items with different GlobalItem data from stacking in the storage system.

Enable the Item debug information config option, bind the Print Item Data keybinding and then press the key once you're hovering over an item in the storage. The encoded information for the item will be printed to the chat.

If the two item stacks' encoded data differs in any way, then you can't stack them in the storage system.
Hey, I'm suffering from this same issue. Just wondering where exactly I can find such a config option and keybind? Thanks
Last edited by Sand, but like, hot; 2 Aug, 2022 @ 10:44am
absoluteAquarian  [developer] 2 Aug, 2022 @ 11:29am 
Originally posted by Sand, but like, hot:
Originally posted by absoluteAquarian:
Magic Storage prevents items with different GlobalItem data from stacking in the storage system.

Enable the Item debug information config option, bind the Print Item Data keybinding and then press the key once you're hovering over an item in the storage. The encoded information for the item will be printed to the chat.

If the two item stacks' encoded data differs in any way, then you can't stack them in the storage system.
Hey, I'm suffering from this same issue. Just wondering where exactly I can find such a config option and keybind? Thanks
The config is in the Mod Configs for Magic Storage.
The keybinding is in the Mod Keybindings section of the input keybindings in your ingame Settings.
< >
Showing 1-7 of 7 comments
Per page: 1530 50