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

Building program

Started by billyon, 21 May 2016 - 12:55 PM
billyon #1
Posted 21 May 2016 - 02:55 PM
hi i started programming a turtle for building a home and i have a logic error and cant find it
(photo with the code) https://www.dropbox....g0/ftb.png?dl=0
also the code is supposed to build a 5X5 wall
Bomb Bloke #2
Posted 21 May 2016 - 03:05 PM
And the problem is…?

It's generally easier to upload your code using the pastebin script.
Dragon53535 #3
Posted 21 May 2016 - 04:07 PM
Code looks like it should work, does the turtle have fuel in it?
Lupus590 #4
Posted 21 May 2016 - 04:10 PM
what does it do? what are you expecting it to do?
billyon #5
Posted 21 May 2016 - 06:58 PM
well i was expecting to build a 5X5 wall as i said but the turtle just turn left and right in the same position
Lyqyd #6
Posted 22 May 2016 - 12:20 AM
How much fuel is in the turtle?
Waitdev_ #7
Posted 22 May 2016 - 12:27 AM
If there's not enough, do
refuel
in the turtle's shell while you've got coal in it's inventory
Edited on 21 May 2016 - 10:32 PM
billyon #8
Posted 22 May 2016 - 12:05 PM
no the fuel isnt a problem.
i uploaded the code to pastebin so u can try it: wrMhU9dL
Bomb Bloke #9
Posted 22 May 2016 - 01:36 PM
Have you labelled this turtle? If not, you may've lost its fuel load by breaking and replacing it at some point.

The only other possibilities as to why the turtle wouldn't move would be either you boxing it in before starting it, or you placing it in a "protected" area of your world-map.
billyon #10
Posted 22 May 2016 - 07:36 PM
ok thanks for the help looks like it was in a "protected" area