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

[Lua][Question] Sphere & dome biulder auto continue after crash/restart

Started by Shini, 25 March 2013 - 02:06 AM
Shini #1
Posted 25 March 2013 - 03:06 AM
Sphere &amp; dome builder this script is very nice and enable allot of potential but i need it to pick up work from the last spot it was, because i had several crashes/restarts which make it impossible to complete a big sphere an hadto clear it with a filler 2 times already >_<
[indent=1]So if anyone got a link/script to a modified version or atleast a similar script/tutorial about how to implement this and i'll do the editing[/indent]
SuicidalSTDz #2
Posted 25 March 2013 - 03:13 AM
I don't know about the other "pros" but wouldn't a vector suffice?:

local function forward()
turtle.forward()
pos = vector.new(gps.locate())
end

Of course, you will need a gps tower with this method. You could have a variable that tracks the turtle's movement. The user would have to input the turtle's coordinates in this case.