I started to work on a sorting system a few days back.
The idea is that you have a server computer that sends orders to a turtle that pick up stuff from barrels. That is already working, the problem i have now is the way to count every single item that comes to the system.
I'm using a interactive sorter. What it does is that it gives the Id and amount per stack that passes by. So if 32 cobblestone passed by it would say that 32 Cobblestone(in id form) just entered the system.
I'm not 100% sure on how to do the counting etc. What do you think would be the best choice for the server computer that counts items? (How i should code it? Creating a single file with a really large table inside?)
Here is the code for the storage server(The server that withdraws items) comp and the turtle(That withdraws items)
server http://pastebin.com/RZVgKdYJ
turtle http://pastebin.com/fZtVd0aE
Edited by stabby, 11 January 2014 - 07:41 AM.











