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

Expandable mining well quarry - Resists server crashes - 22k blocks/hour with 300rf/t (Snap & Box Revisited)

Started by Yarillo, 10 January 2016 - 12:15 PM
Yarillo #1
Posted 10 January 2016 - 01:15 PM

Purpose:
You might be aware that on FTB Infinity Evolved, crafting a quarry has become quite difficult, but fortunately turtles are still rather easy to craft compared to quarries, and so are mining wells.
This program will allow you to rush to the mass mining step and hopefully provide you with sufficient ressources to craft a real quarry.

It is quite low on power consumption and works quite well

Optimizing the power usage:
You shouldn't give too much power to the mining well.
The reason for that is that mining wells have an internal buffer of 25000rf. Every time the well is broken, the energy in this buffer is lost.
The well takes between 200 and 300rf per block dug, and digs up to one block per tick.

If you give it more, it won't go faster. Worse: remember that it takes 10 ticks or so for the turtle to notice that the well has finished digging, so that's 10 ticks of filling the buffer even though it has finished digging.
Give it 300rf/t, that's ~3000+ RF lost.
The less you give it, the less you lose. But below 300rf/t, the mining well's digging speed decreases.

TL;DR: The sweet spot is around 300rf/t
With 20 million RF (A regular yellow energy cell), you can dig 66667 blocks in 3 hours, which is a 34*34 blocks wide, 56 blocks deep square hole.


Note: Moving the turtle takes more time than mining so you'd be better off digging a smaller hole but below the nether's ceiling (the deeper the hole the better the speed)

Features:

- Supports tesseracts, enderchests and dimensional transceivers
- Recovers from unsollicited reboots by keeping track of its own position and actions at all times. Server rebooted ? Doesn't matter, it boots up and continues exactly where it stopped !
- Smart refueling with tesseracts en enderchests. No need for two separate enderchests/tesseracts, it changes the color/frequency of the one you already gave it and changes it back.
- If using an enderchest, it won't continue mining if the enderchest is full. No waste, it waits for your ore processing to do its job.

How do I use it ?
I strongly advise that you install this program as startup, as it is capable of recovering from a server crash.

quarry length width
In context, length means how many blocks forward, width means how many blocks to the right.

If the turtle is low on fuel, it will attempt to drain some from the Orange/Orange/Orange enderchest or the 777 tesseract (configurable on line 3 & 4: local refuelingColors={2,2,2} and local refuelingFrequency=777)
If you don't want it to do that, give it a hell of a lot of fuel beforehand and give it a label:
label set TimeConsumingAndExpensiveLittleBastard

Installing

pastebin get d7qqhQeM startup
Edited on 12 January 2016 - 02:01 PM
Digimazter #2
Posted 15 March 2016 - 03:30 AM
This seems to be broken, no mater what length or width i tell it to do it will only go so far then do a 2x2 over and over in the same spot.
Yarillo #3
Posted 18 March 2016 - 03:45 PM
This seems to be broken, no mater what length or width i tell it to do it will only go so far then do a 2x2 over and over in the same spot.

That happens when you installed it wrong (downloaded it and launched it without fuel or pickaxe or something) and it tries to boot on a faulty config file. Remove the config file, reboot, and launch it again
I tried to fix it but it's a tough bug
First launch is crucial
Edited on 18 March 2016 - 02:46 PM