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

Simple "GOTO" program

Started by macss_, 23 May 2014 - 02:32 PM
macss_ #1
Posted 23 May 2014 - 04:32 PM
Well, still in development phase, because I want it to be controled wireless, but I think it's working perfectly, as it is now.

Requisites
Spoiler
  • A WORKING GPS SETUP
  • A TURTLE WITH A WIRELESS MODEM ATTACHED TO IT(RIGHT SIDE)

Usages
Spoiler
  • Type : goto <x> <y> <z> into the turtle window and watch it amazed!
  • If you want you can put a enderchest, filling cabinet or similar in the 16 slot and it will auto refuel if it needs less than 64 coal.
  • It don't fill the holes made yet!

Pastebin : HS3Vv8z8

If you find any errors please let me know!
Edited on 23 May 2014 - 10:45 PM
Nemisis #2
Posted 16 June 2014 - 12:14 PM
Pastebin : HS3Vv8z8

If you find any errors please let me know!


No code at pastebin.
macss_ #3
Posted 11 July 2014 - 12:37 AM
Yes there is!

http://pastebin.com/HS3Vv8z8
thewmatt #4
Posted 28 August 2014 - 11:51 PM
this isnt working right for me
Nemisis #5
Posted 26 November 2014 - 10:51 AM

Must have been something with my browser at the time.

I will be studying this as I need a homing routine for a fuel bot and a relay bot.
ChocoPuppy #6
Posted 02 March 2015 - 10:52 PM
could you make a version that attemts to pathfind around blocks instead of drilling right through them? I rather dislike the holes it manages to dig through my house every time I call it over
DannySMc #7
Posted 20 April 2015 - 11:23 AM
could you make a version that attemts to pathfind around blocks instead of drilling right through them? I rather dislike the holes it manages to dig through my house every time I call it over

/\ this made my day xD
wood #8
Posted 14 January 2016 - 05:40 AM
@ChocoPuppy I have made a little function that allow a turtle to move forward without breaking anything, it goes over everything. You could try modify it to work instead of the digAndWalk() function in macss_ code in. Have a look : http://pastebin.com/ZmB7rKcA
Yarillo #9
Posted 15 January 2016 - 04:00 PM
The code is very clear and pretty easy to understand, congratz !
I might steal some of your ideas !

Have you seen this ? I struggled a bit trying to make a good "goto" function (for a different purpose)
Edited on 15 January 2016 - 05:06 PM
1wsx10 #10
Posted 12 February 2016 - 12:48 PM
could you make a version that attemts to pathfind around blocks instead of drilling right through them? I rather dislike the holes it manages to dig through my house every time I call it over

sounds like egps is what you need… :D/>