58 posts
Posted 03 September 2012 - 04:25 AM
I've been wondering if it is at all possible to use gps and rednet to have a computer control wireless mining turtles to start up and to be able to move them back to their starting position( like after quitting the game since that quits the excavate program *unless there is a way to resume it easier* ) i've been trying for a couple of hours to achieve this and after looking through countless things have changed my code so many times and have started over many times as well, so if this is in fact possible could someone help me?
35 posts
Location
Norway
Posted 03 September 2012 - 07:28 AM
Well, I'm pretty sure you can't have it happen after quitting the game. I don't see how that'd work. Other than that, though, the simplest way I can think of to have them go back to their starting position would be to have them retrace their steps. You'd need an array holding coords of its every step for that, though, I suppose.
1548 posts
Location
That dark shadow under your bed...
Posted 03 September 2012 - 07:38 AM
what you could do is have a startup file that gets the GPS co-ordinates, if it is not within a certain range (the area the turtle should be in) then it navigates to that location
58 posts
Posted 03 September 2012 - 05:12 PM
yeah what i've been attempting to do is have the turtle get its coords and then print them out too a computer via rednet (which isnt working the only result i get is PING) and then with the coords of the startup location i use rednet to move the computer back to the starting location, but i did just see dw's lets play 51 and he has something quite similar to this the only thing i'd need to implement is rednet
1548 posts
Location
That dark shadow under your bed...
Posted 04 September 2012 - 07:19 AM
I don't use the excavate program any more, to be entirely honest I hardly play CC, I love Lua though so I keep learning and experimenting with the emulator… but I designed a better version (works better for me anyway)