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

Wont walk?

Started by appollon41, 19 May 2016 - 08:47 PM
appollon41 #1
Posted 19 May 2016 - 10:47 PM
Heeello!

I'm pretty new to CC, and I tried a little program. But the thing is that the turtle won't go forward or back or.. any movement I asked it. Here's the code.. So if it's possible, let me know where is the problem.

Peace!



code :http://pastebin.com/emi0KBzk
Dog #2
Posted 19 May 2016 - 10:55 PM
Is there fuel in the turtle?
TNT_Nolan #3
Posted 20 May 2016 - 12:31 AM
You never refueled the turtle.

Put coal blocks or a item that has burn time in the slot that has a border around it.

Do the follow code to refuel the turtle


>lua
>turtle.refuel()

You will get true if it worked, and false if it didn't.
The Higher Realm #4
Posted 20 May 2016 - 01:53 AM
Open the turtle and I believe you just need to put coal (or any fuel) in slot 1 and type "refuel [ammount-of-fuel]" if that doesn't work then type lua, then type turtle.refuel().
Waitdev_ #5
Posted 20 May 2016 - 08:26 AM
Open the turtle and I believe you just need to put coal (or any fuel) in slot 1 and type "refuel [ammount-of-fuel]" if that doesn't work then type lua, then type turtle.refuel().

actually, i don't think it matters what slot you put it in