Posted 05 January 2013 - 11:52 PM
Hi guys,
I'm triying to make a program to make a mining turtle automaticly mining a predefined area but I'm having some issues like if I want to mine an area 5x5 it actually mine a 5x6
http://pastebin.com/re4yeHcc
Other problems are the commands that need to be written twice for it to take them and that this part
Thanks in advance for anyone willing to help me.
I'm triying to make a program to make a mining turtle automaticly mining a predefined area but I'm having some issues like if I want to mine an area 5x5 it actually mine a 5x6
http://pastebin.com/re4yeHcc
Other problems are the commands that need to be written twice for it to take them and that this part
UnloadLayer = UnloadLayer + 1
if (UnloadLayer == UnloadTargetLayer) and (Layer ~= TargetLayer) then
Unload(1)
elseif Layer == TargetLayer then
Unload(0)
else
turtle.down()
for i=0,1 do
if turtle.detectDown() then
turtle.digDown()
end
turtle.down()
end
end
seem to not execute at all.Thanks in advance for anyone willing to help me.