Advanced Peripherals

Advanced Peripherals

29M Downloads

[Issue] RS Bridge unstacks items being imported

iammael opened this issue ยท 9 comments

commented

Describe

When calling the method listItem() while items are getting imported in the system, the program while unstacks items in the RS disks.

Reproduce

Steps to reproduce the behavior:

  1. Import any item in a constant flux
  2. Call listItem() in a loop

Screenshots/Videos

bug2.mp4

Code used:

rs = peripheral.find("rsBridge")


while true do
    rs.listItems()
    sleep(5)
end

Versions:

  • Forge version: 36.1.2
  • AdvancedPeripherals version: 0.5.3b

Notes:
Not tested with ME Bridge.

commented

Hey, could you try it with the latest RS and Forge version?

commented

I'm still able to reproduce the bug using this modlist (should be latest for all) :

  • Forge : 36.1.16
  • Advanced Peripherals: 0.5.3b
  • CC:Tweaked : 1.16.4-1.95.3
  • Refined Storage: 1.9.12
  • JEI
  • Storage Drawers (used for importing items. Do note that I don't use drawers at all in my previous setup)
bug2_2.mp4
commented

advancedperipherals-0.5.4b.zip
Could you try if this version fixes your problem? Should also fix #68
Unzip it before using

commented

I can still reproduce both this issue and #68 with the version you just provided.

commented

I found a solution, I can call invalidate for the cache but that spams a message every time you use listItems.
I'll try to find a better solution.
advancedperipherals-0.5.4b.zip
But you can try it, if you want.
Unzip it before using.

commented

Okay this seems to work as expected. I didn't even see the spam message (even in the log, but I didn't activate debug during testing).

I'll let you decide whether or not closing this issue.

commented

What you did not seen the message from refined storage?

commented

Sorry, I didn't want to close it

commented

Fixed in 0.5.4b