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

Turtle:22: Expected Number And Turtles Not Moving

Started by EnergyMatter, 14 August 2013 - 03:28 PM
EnergyMatter #1
Posted 14 August 2013 - 05:28 PM
I'm making a staircase program, and I have several problems. First off, I'm getting a "turtle:22: expected number" error, which I know is originated from the turtle API, but I don't know what I did to cause it. Secondly, for some reason, my turtle is not moving when I have it call function from my API. It doesn't give an error, and I set turtlesNeedFuel to false in the configs. turtle.forward works, but not my API code, and I really just don't understand why.

I would appreciate any help you have.

EDIT: I forgot to include my pastebin codes! Sorry

"t" API: http://pastebin.com/fpbEfZAF
Stairs: http://pastebin.com/PgLgErkL
Yevano #2
Posted 14 August 2013 - 05:31 PM
It would help us help you if you posted code so we can see where the problem is at.
Wildcat24 #3
Posted 08 March 2014 - 07:26 PM
Im having the same problem but i think it's the turtle.select( y ) and how do you find pastebin code you pasted form a computer in-game?
Lyqyd #4
Posted 08 March 2014 - 08:16 PM
When you upload something via pastebin in-game, the code will be printed on the screen.