Simple Storage Network

Simple Storage Network

57M Downloads

Showing incorrect number on UI

2Squarey opened this issue ยท 5 comments

commented

When I insert items into the system they are showing double as to what is actually in the system. I'm not 100% sure that some items are getting lost/deleted when pulling them out. I just noticed this recently and wondered if this was some sort of glitch in the UI.

commented

Are you on a server or single player? Gonna check this out soon

commented

Also what are you storing the items in? Vanilla chests? Modded containers? I once had a but similar to this with Storage Drawers, is it those?

When im using it with plain vanilla chests its accurate for me thats why I ask

commented

The problem is that when there are two storage link cables going onto one inventory, it reads the inventory twice. This can be reproduced with all inventory types, including barrels and any other one block inventory (connect more than one side to the network), and chests (if you connect to both blocks of a double chest it does this). This only effects the number of items shown, NOT the number of items stored or the number of items that can be taken out.
A quick fix MIGHT be to check if an inventory is already connected to the network every time you place a link cable, if it is then prevent it from linking to said inventory. I don't have much java experience so I'm having trouble reading the code, so that is just a general programming idea.

commented

I can confirm on 1.1.1, in FTB Horizons III, the issue is duplicated when you connect to three Multi-Storage Dense Stone Storage (essentially single block inventories that have double chest capacities and open from the side). I have three stacked one atop the other. With the middle inventory containing items, and the top and bottom empty, when I connect the top and middle inventories with a storage link cable, the system reports the number of items correctly; however, when I connect the bottom empty inventory, the numbers are doubled. After playing a small amount with physically arranging the cables with the inventories, I determined I can eliminate the issue (at least with Multi Storage Dense Stone Storage) by not having more than two storage link cables connected to each other vertically (having a one block space between each column of two connected inventories). The issue does NOT present if I have more than two storage link cables connected horizontally, only vertically. So can have two rows of storage, but to expand a system I would need a one block space on either the top or bottom of these (bridged with a plain storage cable) before I could start another two row band.

commented

Not sure if the other mod with Dense Stone Storage has updated or not. but in latest simple storage 1.2.7 everything looks fine.

As always, if there are new steps to reproduce or new issues then we can repoen