Posted 03 October 2012 - 09:20 AM
HEy guys, i wrote an script for auto harvesting rubbertrees(IC²).
It works like this: checking for block->using treetap->block up
BUt now i have a problem: the treetap get used up but the turtle just stays on the ground in front of the tree. before i updatet to the newest verson of computercraft it worked just fine(exept the use of the treetap but this was later implemented). Has anybody an idea?
cya
Syntron
It works like this: checking for block->using treetap->block up
BUt now i have a problem: the treetap get used up but the turtle just stays on the ground in front of the tree. before i updatet to the newest verson of computercraft it worked just fine(exept the use of the treetap but this was later implemented). Has anybody an idea?
local i = 1
repeat
print(i)
i = i + 1
while turtle.detect() == true do
turtle.place(1)
turtle.up()
turtle.detect()
end
if turtle.detect() == false then
turtle.turnLeft()
turtle.forward()
turtle.turnRight()
turtle.forward()
turtle.turnRight()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.detect()
end
until i == 5
cya
Syntron