This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
unobtanium's profile picture

Next Generation Diamond Pipe

Started by unobtanium, 23 June 2013 - 12:07 PM
unobtanium #1
Posted 23 June 2013 - 02:07 PM
Hello everybody,

today i created a small program, which lets you sort items fairly easy and at a fast rate.


Features

- can handle a whole chest in less than half a second
- one direction for all garbage items (items which are not specified by you)
- three sides for unlimited (!) specific items left
- name all your specific items with their name or id
- does handle id plus metadata
- shows amount of items travelled trought the interactive sorter


Installation

Label your computer! Then write the following line into the computer and hit Enter.

pastebin get t5VFwwMi startup


Start the program by tiping:

startup


How to setup

Firstoff you need the computer and an interactive sorter.
Place the computer down and install the program i showed above.
Then place the interactive sorter at one of the computer's sides.
Run the program and answer four questions. These will help the computer to work correctly.
You can change the settings again later on.

Place a chest on the interactive sorter's side where you want to have the input for incomming items.
You can connect chests or pipes on every other side (outputs).

In the computer you can choose between four options by pressing the number:

Start
This starts the sorting program and will sort items in the correct directions.

Overview
This shows all specific items, their names, sorting direction and the amount of all items travelling trought the system.
You can delete or change the name and direction of the items here as well.

Add new specific item
This adds a new item, which then can be sorted into a specific direction.

Change settings
You can change the settings from the beginning here again.


Everything in the program is explain allready as far as i can tell. If you have some improvements, let me know about it ;D

Screenshots
Spoiler




That's it. Check it out! You might come up with some great storage systems with this…
unobtanium
Guilty_Spark_117 #2
Posted 16 July 2013 - 03:08 PM
The program looks very useful and I will definitely use it for sorting ores for my quarry. The only problem is that I am getting an error after answering the first four questions and the SorterVar file is made. I am getting the error that reads

startup:225: bad argument: table expected, got nil

any solutions/workarounds?
unobtanium #3
Posted 16 July 2013 - 05:16 PM
The input chest might be on the wrong side. Maybe test multiple other sides.

edit: i know that setting up the program is a mess, but i cant do anything about it, because the interactive needs and works with directions.