Posted 13 December 2013 - 08:46 PM
<This might not be something that belongs in this forum>
Recently in a server I play on, quarries and other mining structs are disabled, so I hugged onto computercraft for lazy mining…
I first wrote a simple script to mine tunnels in a spiral formation, but ended up making it auto-harvest the ores by including a sub-program by GOPHERATL (linked to TurleX thread for copyright requirements) which I modified.
The problem is after successfully returning to home a few times, the turtle started drifting off course after mining a vein of ore sometimes, and I spent loads of time trying to fix it–didn't work a bit.
The code
(I'm not sure if "ask a pro" accept questions like this)
To debug:
Place the turtle underground;
Put an ender chest in the first slot, fuel in third slot, and block samples to ignore from slot 4+;
Refuel the turtle manually before the first time using it;
When it asks you the "ignore value", enter the amount of samples you put in;
Supervise the turtle from above.
When it hits a large vein, it usually returns to one block above the block it started digging in, causing the tunnel to slowly shift upwards, sometimes it may shift dramatically sideways as well. Though it has never shifted upwards, which is interesting.
Recently in a server I play on, quarries and other mining structs are disabled, so I hugged onto computercraft for lazy mining…
I first wrote a simple script to mine tunnels in a spiral formation, but ended up making it auto-harvest the ores by including a sub-program by GOPHERATL (linked to TurleX thread for copyright requirements) which I modified.
The problem is after successfully returning to home a few times, the turtle started drifting off course after mining a vein of ore sometimes, and I spent loads of time trying to fix it–didn't work a bit.
The code
(I'm not sure if "ask a pro" accept questions like this)
To debug:
Place the turtle underground;
Put an ender chest in the first slot, fuel in third slot, and block samples to ignore from slot 4+;
Refuel the turtle manually before the first time using it;
When it asks you the "ignore value", enter the amount of samples you put in;
Supervise the turtle from above.
When it hits a large vein, it usually returns to one block above the block it started digging in, causing the tunnel to slowly shift upwards, sometimes it may shift dramatically sideways as well. Though it has never shifted upwards, which is interesting.