Interactive Sorter Problems

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Catarooni

New Member
Jul 29, 2019
35
0
0
Here is a picture of my build.
Underneath the sorter is an alloy furnace you can't see.

Here is the code I'm using:

Code:
sorter=peripheral.wrap("left")
while true do
  event, param, amount = os.pullEvent("isort_item")
  if param == 283 then
    sorter.sort(0)
  end
  if param==371 then
    sorter.sort(2)
  end
  if param==367 then
    sorter.sort(4)
  end
end

Now, the golden swords -> alloy furnace works fine. It's the golden nuggets and rotten flesh that is a problem. When one of those items is sent to a chest, it seems to...overwrite the slot it goes into. For example, if I put 63 gold nuggets in the first slot of the chest and the sorter sends a 64th, the first 63 nuggets disappear, leaving only one gold nugget. It's not a GUI error, it is just one gold nugget. :c This results in items from the sorter never stacking, either. If the sorter sends a nugget, then sends a second, only one gold nugget will be in the chest. Mercifully, it doesn't overwrite different items, i.e. a stick won't be destroyed if a gold nugget is sent into the chest. Also, if I move nugget to another slot of the chest and the sorter sends one, both will remain as they are in different slots and won't 'stack'. This happens with rotten flesh, too, and I assume any item that stacks will have this problem.

Does anyone have a work-around or a fix? Am I doing something wrong?
 

Mikey_R

New Member
Jul 29, 2019
382
0
0
It might help if you let us know what it is designed to do, because without knowing that it can be hard to see why you are having a problem.
 

Catarooni

New Member
Jul 29, 2019
35
0
0
Sorry. Basically, the sorter takes in input from a chest -> wooden pipe -> golden pipe setup, which itself receives input from a MFR grinder-based zombie pigman farm. When the sorter receives a golden sword, it sends it down into an alloy furnace to be melted into gold bars. When it receives a golden nugget, it sends the nugget left (-Z) to a chest. When it receives rotten flesh, it sends the flesh 'forward' (+X) to a chest. Does that help?
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
I don't know if this would help, but all the build I have seen with that block had turtles feeding it (to prevent overflow), as well as pipes leading to the storage, not the chests directly next to it.

If the later is your problem, then this is indeed a but, but at least you know how to prevent it.