Toms-Storage icon indicating copy to clipboard operation
Toms-Storage copied to clipboard

Item quantities in terminal are displayed as double what the actual quantity

Open trevorjd opened this issue 2 years ago • 7 comments

This was previously addressed in #69 but seems to have returned. Playing Life in the Village 3 pack with versions: forge 43.3.2 toms_storage-1.19-1.5.9 StorageDrawers-1.19-11.1.2

If I have a bank of drawers and connect an Inventory Connector and Storage Terminal, the correct number of items is displayed.

If I connect a Drawer Controller to the bank of drawers, the terminal doubles the numbers. Note: the controller doesn't need to be touching the Inventory Connector, it gets found via the connected inventory.

trevorjd avatar Nov 24 '23 21:11 trevorjd

Same issue occurs with the Sophisticated Storage "Storage Controller" and that mod's barrels.

trevorjd avatar Nov 27 '23 20:11 trevorjd

I'm having the same issue- I have a few iron chests from sophisticated storage and a storage controller connected and some of my items are doubled but not all of them. It's really annoying lol

Baboobraz avatar Dec 19 '23 08:12 Baboobraz

I'm having the same issue- I have a few iron chests from sophisticated storage and a storage controller connected and some of my items are doubled but not all of them. It's really annoying lol

The trouble is that Tom's Storage is searching the chain of adjacent inventories. Each drawer/barrel/chest has its inventory, so Tom's finds each one in turn and adds it to the list, then it finds the controller. The controller's inventory is the sum of all that mod's inventories, so it adds it to the list, thus everything is doubled.

Tom's just needs to have some way to know what's a controller and if it's a controller, ignore all the other inventories that belong to that mod and just use the controller. Or at the very least, not search beyond the controller. That way you could carefully connect the controller but not the chests/drawers/barrels.

I swapped Tom's out for Simple Storage as that seems to work (at least for now!)

trevorjd avatar Dec 19 '23 08:12 trevorjd

Same issue here

BogdanFalk avatar Feb 04 '24 13:02 BogdanFalk

I just found a workaround on my Prominence II RPG (Fabric) 2.7.0 server. I moved the Inventory Connector off of the chest and hung it off a cable away from the chests. All of my chests are now using Inventory Cable Connectors to connect chests to the inventory network. YMMV.

Jeramy-T avatar Feb 19 '24 01:02 Jeramy-T

This is happening for me in 1.20.1 with Storage Drawers. If I put it directly on the strorage connector, I get a correct amount, but if I put it on an inventory connector next to the block, I get double. Very frustrating!

whiteeagle1985 avatar Aug 03 '24 23:08 whiteeagle1985