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

John Excavation Turtle Program Reworked

Started by johnneijzen, 25 March 2014 - 06:42 PM
johnneijzen #1
Posted 25 March 2014 - 07:42 PM
I made Excavation Program it lot better than normal Excavation Program

Pastebin Link
New Reworked Version
Slot 1 = Chest, Slot 2 = Fuel, Slot 3 = Fuel
http://pastebin.com/w8F028Tp or pastebin get w8F028Tp Dig
https://github.com/johnneijzen/John-Turtle-Programs/blob/master/Programs/John-Excavation-Turtle-Program/Excavation%20Program(New).lua

Beta Version
Slot 1 = Chest, Slot 2 = Fuel, Slot 3 = Fuel
http://pastebin.com/rR9JXSvy or pastebin get rR9JXSvy Dig
https://github.com/johnneijzen/John-Turtle-Programs/blob/master/Programs/John-Excavation-Turtle-Program/Excavation%20Program(Beta).lua

Github Link if you want help me
https://github.com/j...Turtle-Programs

Videos Coming Soon
Spoiler

Features
Spoiler
  • Cant Be Block By Gravel
  • Wide and Length Are Sizable AND NOW FULLY SIZABLE including Deep
  • Fast And Quick
  • 3 Layer Dig unlike Normal Excavation Program
  • Just Give it Fuel and Chest
  • NEW: It show much block need to be dig and Charcoal need for it

ScreenShot
Spoiler

Other Programs That I Made:
SpoilerJohn Excavation Turtle Program:
http://www.computerc...turtle-program/

John Strip Mining Turtle
http://www.computerc...-mining-turtle/

John Bridge Making Program
http://www.computerc...making-program/

Known Bug
Spoiler
  • None With New Version

If you found error
Spoilertell me on forum or github

To Do List.
SpoilerEnderChest Support
Water Bucket Support like if hit Y = 10 it use water block every 10 block but i not sure how yet
Edited on 02 May 2015 - 04:06 PM
johnneijzen #2
Posted 28 March 2014 - 12:37 PM
I`m Sorry about chest bug i was my programing error the turtle kept slot 16 so chest keep getting placed sorry i have fix now
johnneijzen #3
Posted 02 April 2014 - 11:40 PM
hmm i think there new bug sometimes turtle goes wrong way i cant find why this happen i think it has to do with gravel but im not sure how to fix it.

and for java.lang.ArrayIndexOutOfBoundsException 256 I think i know problem but it hard to fix it. when Lenght() or wide() get call 256 times it cant call function anymore so there are two to fix add while loop but i`m not sure how to do that or make 2 extra function but that mean it will crash after 512 times

P.S Now Fixed
Edited on 31 January 2015 - 04:58 AM
johnneijzen #4
Posted 06 April 2014 - 06:33 PM
Okey i spent 2 day on rewritten the whole program to use local function and fixing java.lang.ArrayIndexOutOfBoundsException 256 Just download new File and it should work. :D/>

and thank people on ask a pro topic forum http://www.computerc...s-error-for-me/ for helping me.
Edited on 06 April 2014 - 04:33 PM
johnneijzen #5
Posted 07 April 2014 - 07:14 PM
okey fully fix all bugs that i found out ;)/>. If you found bug tell me B)/>
johnneijzen #6
Posted 10 June 2014 - 09:49 AM
Okey guys i`m free and will add enderchest support in next week because i`m still working on other program it turtle tree farm program is still under work in process but you can see code https://github.com/johnneijzen/John-Turtle-Programs/blob/master/Programs/John-s-Turtle-Tree-Farm/Tree.Lua
wolfriaum #7
Posted 10 June 2014 - 01:50 PM
Maybe you could add something to say how much charcoal/coal it needed for the size its going to dig? Never seen that implemented and its quite usefull if you want to make sure it doesnt run out of fuel.
johnneijzen #8
Posted 11 June 2014 - 07:29 PM
it try to find hard way for it. i have still to fix block count thing so i can do like if one 3 block is 1 move then i can so total block / 3 / 80. like Ex. if there 3000 block to dig then 3000 / 3 that is 1000 move / 80 because one coal is 80 move that is 12.5 but problem is it not always like that like if just 1 wide by 1 long then it take movements so i can implement it but it wont 100% correct more like 80%. but i find way after i`m done with tree farm program. Maybe you have better idea to do this.
Edited on 11 June 2014 - 06:04 PM
johnneijzen #9
Posted 05 October 2014 - 06:12 PM
Maybe you could add something to say how much charcoal/coal it needed for the size its going to dig? Never seen that implemented and its quite usefull if you want to make sure it doesnt run out of fuel.

This idea is allmost done still need bit fixer and improving but allmost i will fix final problem tomorrow but i post most of code allready to pastebin so can test it now
Edited on 05 October 2014 - 04:15 PM
johnneijzen #10
Posted 06 October 2014 - 07:25 AM
Okey i`m fully done and add more fix to code so download new code and you can lot need changes in program
johnneijzen #11
Posted 01 February 2015 - 05:13 AM
I have updated this program for more speed and fixing bug where cant select wide and length sizes and add more features. So Download New One Now just tell if there is any bugs GIthub will update soon