Storage Drawers: Natura Pack

Storage Drawers: Natura Pack

9M Downloads

Inventory count blinking issue on Controller Slave, only while connected to inactive item routing

Jack-McKalling opened this issue · 0 comments

commented

Short description:

Counting one particular item from the inventory of a Controller Slave, doesn't work correctly if that Slave is also being routed through for items using Integrated Tunnels. The count blinks between zero and the correct count, even if said item routing is not active and spread across the wrong channels.

Also reported on their github: CyclopsMC/IntegratedTunnels#232

Steps to reproduce the problem:

  1. Rebuild the simple setup from below screenshot
    (See: Item Importer on the left, Item Interface on the top and Inventory Reader on the right of the slave, the top right is a Display Panel and the bottom right is a Variable Store, with Logic Cables connecting all)
  2. Set the "Import all items" aspect of the Item Importer to channel 1 and Passive Interaction=false
    (make sure the Item Interface remains on channel zero or any other channel than the Importer)
  3. Insert a blank variable card (A) into the above mentioned aspect
  4. Insert a blank variable card (B) into the Items (List) aspect of the Inventory Reader
  5. Insert a stack of any item into the drawer (doesn't have to be crystalized chorus chunks)
  6. Program a new variable card (C) to the same item, using the portable logic programmer, and the "Item" operator
  7. Program a new variable card (D) to the "ItemListCount" operator, with cards B and C as its arguments in that order
  8. Insert card B and C into the variable store and put card D into the display panel
    →:x: Notice the display panel now blinks back and forth between 0 and 64, with inconsistent intervals

StorageCount blinking

Note that, even if you put more than a single stack into the drawer (or ensure the contents is higher than the transfer rate), and put both importer and interface to the same channel, the display panel will still blink. But if you take out the variable card of the Importer, the blinking will stop. Also if either the Importer or Interface are removed.

Also note that, replacing the Storage Drawers blocks with just a vanilla chest filled with the item, does not cause this blinking behaviour.

Expected behaviour:

The display panel should be showing a consistent count of the drawer contents, and never blink back to zero. Because no items are actually being transported and never is the count actually zero. It looks like the inventory count is periodically unavailable to the slave or the Integrated Dynamics network for some reason, or that some kind of cache is somehow invalidated when a (failed) import takes place.


Versions:

  • Storage Drawers 8.2.2
  • Minecraft: 1.16.5
  • Forge: 36.1.32
  • Other mods installed:
    • JEI 7.7.0.106 (for convenience)
    • Integrated Dynamics: 1.8.4
    • Integrated Tunnels: 1.8.2
    • CyclopsCore: 1.11.7
    • CommonCapabilities: 2.7.0