Industrial Foregoing

Industrial Foregoing

95M Downloads

[1.16] Black Hole Controller breaks exploitably with Applied Energistics 2 storage buses

RustyTopHat opened this issue ยท 7 comments

commented

Industrial Foregoing Version: 1.16.5-3.2.14.6-14
Titanium Version: 1.16.5-3.2.8.5-20

Applied Energistics 2 Version: 8.4.3

Initially found in FTB Endeavour.

Steps to reproduce (tested in a fresh 1.16.5 install with only the mods listed above):

  • Initialize 9 simple black hole units each with a stack of some item type (I used the first 9 colors of wool blocks).
  • Place the black hole units into a black hole controller.
  • Attach a storage bus to the black hole controller, linked to an ME IO Port.
  • On a different ME system, prepare an ME storage cell with various amounts of the prepared item types (I used random full-stack amounts between and 0 and 8 stacks inclusive).
  • Place the storage cell into the IO port, the items will now be rapidly placed into the black hole controller by the ME system.
  • Bug: The contents of the black hole units in the black hole controller will now in general be an absolute mess. There should now be several black hole units sharing the same item type, as well as several apparently empty black hole units.
    (In my case, the black hole units initially contained a stack each of wool in the colors white, orange, magenta, light blue, yellow, lime, pink, gray, and light gray in this order, and afterwards they had the following contents: white, light blue, "nothing", light blue again, yellow, lime, "nothing", "nothing", light gray.)
  • More bug: The "nothing" black hole units only appear empty, but they contain a nonzero number of unspecified content: if you take them out of the controller and place them down, once you right-click their front faces with any item, they will immediately convert their unspecified contents to that item type. (In my test case, right-clicking the first "nothing" unit with a diamond block immediately made it display 769 diamond blocks, 12 stacks plus one, which were then all able to be extracted via punching. Since black hole units preserve NBT data of stored items, it is also possible to put one bugged black hole unit into another to obtain more bugged black hole units, which allows for unlimited item duplication after executing the controller bug only once.)
commented

This also worked with refined storage.

commented

Could I get some examples in a contained enviroment with just the needed mods?

commented

I found this bug in Endeavour, but the example I described was already performed in a contained environment with just the mods listed. Is there any further clarification I can provide?

commented

So apparently the problem is that IF adds empty tags to items somehow.

commented

I can confirm, I'm experiencing this issue as well.

commented

Today it happend in my singleplayer world too, i played a bigger Pack (atm6 to the Sky) and was using a bigger ME system with an IO Port. After that, it changed the content of 2 Units in 1 Controller to other items. But the description of the problem of RustyTopHat was similar to my using of black hole Units and the ME system (IO Port). Well now i can work around the problem (No using of the IO Port)

commented

Will this ever be fixed?
Still in 1.19.2-3.3.2.3-5

So. Black Hole Controller can't be used