Features:
- No gps requirement for modules. If there is no gps at all, master will use relative coordinates.
- System use only two modem channels for communication
- Modules that went too far to communicate to Master will return and receive a new task
- Modules mine 3 layers at once
Known bugs:
- Master should face South to work. Sorry for that. That's the issue with some placement code, dan200 said that it was fixed in 1.51. If not, i'll try to fix it by myself. Have an Idea, actually.
Usage:
1) Set up a gps system (if you don't want to do that, use relative coordinates)
2) Put down a wireless mining turtle at some elevation and a disk drive with a floppy disk in it as shown at the picture
3) Put some Ender Chests with some fuel in the first slot, some Ender chests linked to your sorting system in the second slot, and a bunch of wireless mining turtles into the third slot.
4) Copy all the files on the turtle's drive
5) Run "mastermine <xstart> <ystart> <zstart> <xsize> <ysize> <zsize>" where <xstart>, <ystart> and <zstart> are the starting coordinates of your quarry, and <xsize>, <ysize> and <zsize> is the size. Any size is OK, but it is not recommended to mine something less than 5x5.
More detailed explanation by Levorto:
Spoiler
- If you want 5 turtles active, you put 5 enderchests of one color (e.g. orange) in the first slot. This will from now on be your Fuel chest slot. Add 1 enderchest for each turtle you add.
- Then you put 5 enderchests of another color (e.g. green) in the second slot. This will from now on be your Output / Sorting chest slot. Add 1 enderchest for each turtle you add.
- Now you should have 5 enderchests in the first AND second slot of the Main Controller Turtle. Add 5 unlabeled mining turtles to slot 3 of the Main Controller Turtle.
- Fill up the first enderchest - your Fuel chest - with coal/charcoal or another simple fuel source (try to avoid lava buckets). I recommend automatically filling it with a hopper - e.g. place down a Fuel chest in your base, and place a hopper on top of it. You then place a chest on top of the hopper. In this chest you can add as much coal/charcoal as you want.
- Install the four programs listed in the first post only on the Main Controller Turtle, using "pastebin get <program> <name>". Do NOT install anything on the disk drive - keep it empty.
A modification to master API by Levorto that allows to use labeled turtles placed in a chest above the Master.
http://pastebin.com/SKKyFPiS
Downloads: https://github.com/PonyKuu/CC_Swarm
Pastebin:
master: http://pastebin.com/ZLh56Jmd
module: http://pastebin.com/b1eQmHRb
mastermine: http://pastebin.com/kLjirQgx
modulemine: http://pastebin.com/vdijtxSr
Old version:
Spoiler
mastermine has only 5 parameters:mastermine <xstart> <ystart> <zstart> <xsize> <zsize>
master API: http://pastebin.com/J3i3TrjU
module API: http://pastebin.com/dULznkqY
mastermine: http://pastebin.com/MtLj3MfZ
modulemine: http://pastebin.com/N0truQQe