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:
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?
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?