Posted 23 September 2013 - 04:44 PM
I have used computercraft before and lua. On my server that I have up these turtle cmds are returning false every time even with nothing in front of the turtle.
Here is the example that I started after installing cc on the server:
it cycles through 2 rows of cane just getting the top
This does not move forward ever. Digs just fine but never moves. So I tested all the cmds from the lua shell and all were returning false.
Here is the example that I started after installing cc on the server:
it cycles through 2 rows of cane just getting the top
local function gathercane()
if turtle.detectDown() then
turtle.digDown()
end
end
local function goRight()
turle.turnRight()
turle.forward()
end
while true do
for j=1,7 do
gathercane()
turtle.forward()
end
goRight()
goRight()
end
This does not move forward ever. Digs just fine but never moves. So I tested all the cmds from the lua shell and all were returning false.