Its better bigger brother Swarm Driller&Miner is in development.
Current ETA: Heat Death of Universe.
Swarm Miner - Quarry up where you want. v2
Swarm Miner is a simple Swarm Turtle Quarry system that mines out area defined by you by dividing it into smaller sectors and mining them one after another.
Unique part in this design is that Turtles don't have a Server/Overseer Computer. All data is synchronized between turtles and each turtle decides on its own where to go/what to mine.
This allows mining of large areas without much hassle.
Download Here: http://pastebin.com/LXLBZK25
Or ingame by providing empty Floppy Disk in Disk Drive and using command:
pastebin get LXLBZK25 disk/startup
(requires http-api to be active)Image Album with a walkthrough of basic setup - http://imgur.com/a/RcSCw
Image Album with small showcase of features(not all) - http://imgur.com/a/g7rfX
Video Advert made by Lewanator1
www.youtube.com/watch?v=4Nucy7APDz0
Features List:
- Mining of Preset Area
- Uses Standard by now 3 layers at once mining system.
- No limit to amount of turtles working - you can use 1 or 30 - it will still work like it should with turtles talking to each other and working together.
- Included Scanner that shows where turtles are in area and what they are doing/mining.
- Ability to continue from where it stopped after server stop/crash or chunk unload
- Delivers mined blocks in selected chest or into provided Enderchest
- Refuels from selected chest or from provided enderchest
- Can drop unneeded cobble (or any other material) increasing time it can mine between dropping mined material/decrease amount of trash in mined material
- Automatically recognizes chests and removes content before mining it
- Never mines anything that is a peripheral (chests from feature before excluded)
- Auto stops at y=5 - never gets stuck on bedrock! Mines layer 4 if needed. (can be changed to dig deeper in case of flat bedrock)
- Full installer floppy disk that downloads other files and can update them if asked (update attribute)
- Minimal mining level can be adjusted by changing levelmin value inside swarminer file on the floppy disk.
- Installed Vacuum cleaner that collects most of dropped items that turtle finds while mining
- Breaks minecarts and collects them too. In case of storage minecarts most of contents gets picked up by Vacuum cleaner.
- Startup files in miner and scanner contains Top Level Coroutine Overwrite that removes rednet coroutine and Api. That lovers amount of event that turtles receive by half.
- Main Installer Floppy Disk automagicly detects witch drive its run from and allows auto installation or miner or scanner depending on if its run on turtle/computer
- Scanner can be used to pause/unpause turtles in its area of effect
- Main Installer Floppy Disk can be preformatted with order that allows faster deployment of mining turtles
- All Mining Turtles and Scanner contain gps host code spreading gps signal in area
- Automatically add labels to all data storage mediums its used on.
- Scanners share data about turtles in their zones of influence.
- Emergency Beacon - any Turtle that crashes to shell will emit ERROR Signal
- If You place a Monitor next to Scanner it will print basic stats data on it.
- In Mining Turtles:
- Press "p" to pause and "o" to unpause selected turtle
- In Scanner
- Press "p" to pause and "o" to unpause all turtles in signal range
- Press "t" to change type of informations that are provided by it
- Left Right Up and Down keys move map marker allowing you to inspect map
- Pg_Up (or "w") and PG_Down (or "s") allow you to scroll trough list of turtles. Map maker will move to this turtle if its possible.
- Instaler file is made to be run from floppy disk - it will not work from "/" but it may work if placed inside any directory (not 100% tested)
- System requires gps signal in area of its effect ( You can set up effective gps signal in area by setting up 4-5 scanner computers in area [all programs contain gps host code inside of them])
- gps-less mode is coded hoever its not stable on server crashes and stops
- To mine area system needs
- Start Point and Direction
- Forward Size of one Sector (values under 10 work best - for large area mines simply set large amount of repeats. Also values under 3 while supported may lead to weird side effects.)
- Sideways (to right) Size of one Sector (same as above)
- How many blocks down to mine [min 3] (if gets to y=5 then it wont go deeper - can be changed in program code.)
- How many Sectors to mine Forward
- How many Sectors to mine Sideways (to right)
- Manual refuel/dropoff point and direction. (by default its same as start but backwards)
- Each turtle needs those settings and items to work
- If it uses Enderchests then it will ask for them
- If it drops cobble will ask for one piece for furure reference.
- If neater it will not ask for anything.
- If starting from preformated order turtle will attempt to get some fuel at start. If has enderchests it will look there or if not it will look in chest above it.
- Refuel point is a 2 chest setup one in front of this point and one above it. Front one recives Mined items and top one is where turtles look for fuel (if enderchests are used turtles never go here) There is a screenshot of correct refuel point in spoiler below.
- System includes many undocumented command line options that allow advanced users to use system more efficient.
- You can define areas (cuboids) inside area that will not be mined by turtles ( can be used to preserve mob spawner ect. Right now only trough adding in predefined order (addzone atribute in floppy disk) or manual editing of order.log file.
- Full Gps - less mode - Not 100% Stable with current system - can be turned on by manually changing flag in swarminer file.
Example of usage:
Spoiler
This example assumes you have http-api on. Also to note its created to use floppy disk as means of spreading - you need to make instaler floppy by downloading main file and saving it as startup on floppy. Then program on floppy should do most of the work for you.- Download main file and place it onto floppy disk
- Run it - it will download other files it needs
- If you run floppy it on turtle it will ask if you want to install miner program. See A.
- If you run floppy it on turtle it will ask if you want to install scanner program. See B.
- If you denied any of upper questions it will ask if you want to preformat new orders onto disk drive . See C.
- If disk don't contain preformated settings and orders turtle will ask you series of questions creating them
- They will be stored on disk way and next turtle you program with this disk will get same order and settings.
- If there is a turtle in range program can copy his orders and join him in work
- Settings have to be inserted manually for each turtle this way.
- It will ask for items (enderchests/cobble) if it needs them.
- And off it goes to work. - shows you basic UI.
- It will ask if you want this scanner to act like gps host too
- if yes it will try to gps locate - failing that it will ask you where it is.
- And its ready to work - shows you basic UI.
- You will see same questions as in case A) but they are stored inside disk instead of turtle
- Then next time you select A) using this disk it will automatically copy those onto turtle.
- This allows fast deployment of larger amounts of turtles.
- It will ask you for items ( if any are needed)
- If needed it will try to refuel from eater enderchest of chest above it.
- And off it goes to work. - shows you basic UI.
Screens:
Spoiler
Image Album with a walkthrough of basic setup - http://imgur.com/a/RcSCwImage Album with small showcase of features(not all) - http://imgur.com/a/g7rfX
Change-log:
Spoiler
v1.0 - Release On Programs Sub-forum - First Relasev1.1 - Added levelmin value and vacuum cleaner.
v1.2 - Tweaked Refueling Code and Added 2 new Argument line commands to Scanner
v1.2.1 - BugFix in Attack and Vacuum functions.
v1.3 - Queue system,Tweaked Refueling Code (again),Added new scanner mode,Inventory compression.
v1.3.1 - Scanner data sharing added.
v1.3.2 - Tracked Down and solved pathfinding problem.
v1.3.3 - "Yield" bugfix, new refuelling code,bugfixes, small preparation code for 1.4
v1.4 - Emergency Beacon Added, Code refinement and updates.
v1.4.1 - Added Cycle and Recovery WIP Programs, Bugfixes and tweaking.
v2.0 - Code Cleanup - Sped up by about 5% - added ScreenLock - Added Basic Monitor Support
v2.1 - Bugfixes and fastgps utility program.
Plans For Future:
Spoiler
None for nowFileList:
Spoiler
Floppy Disk(startup)="LXLBZK25",Swarminer="2h1RmbAR",
Swarmstart(Top Level Coroutine Overwrite)="aFgPSyGe",
scanner="4wgEDymE",
cycle="7tWnxwLU",
recovery="pPqghm6F",
fastgps="4xanbDSX"
List Of Argument Line Commands in Files and What They Do [For Advanced Users Only] :
Spoiler
- All programs That accept argument line commands have this command
- help or ? - Print List of all argument line commands
- Floppy Disk(startup)
- update - Updates all files (itself included) to latest versions from pastebin (HTTP Api Required)
- addzone - Used to add Forbidden Zone Cuboid into preformated Order - don't work if there is no order.
- Swarminer - warning - use only in turtle - use from floppy disk can cause problems
- debug-prints some debug info on startup
- pause- pauses all turtles in area of range (like scanner can)
- unpause- unpauses all turtles in areaof range (like scanner can)
- gotoStart - Causes all Turtles in area of range to go to theyr order start point
- sendOrder - Sends Order From this Turtle to all Turtles in area of range - Warning - No Sanity Check are preformed.
- newMap - Restets map inside of turtle to clear unmined one.
- scanner,
- Emergency - Causes All Turtles in area of range to terminate to shell.
- WipeOrder - Wipes Orders and Pauses All Turtles in area.
- Goto - Pauses all turtles in area and causes them to go to point. - program will ask you to define point.
Any Comment and Suggestions how to improve Code are appreciated.