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

Mcpc+ Turtle.forward(), Back(), Up(), Down() All Return False Always

Started by thealbinosmurf, 23 September 2013 - 02:44 PM
thealbinosmurf #1
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

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.
Lyqyd #2
Posted 23 September 2013 - 05:05 PM
Split into new topic.

Have you fueled the turtle?

If so, you're on your own. MCPC+ bugs are not supported here.
thealbinosmurf #3
Posted 23 September 2013 - 05:09 PM
Yeah but not with coal with misc peripherals charge station. That could be the problem.
thealbinosmurf #4
Posted 23 September 2013 - 05:13 PM
Thanks for trying it works when I refuel with coal. I guess I will have to fiddle with the setting for miscperipherals
CCJJSax #5
Posted 23 September 2013 - 10:04 PM
Thanks for trying it works when I refuel with coal. I guess I will have to fiddle with the setting for miscperipherals

That's odd. I have recharged with charge stations in a test world before, and it worked no problem. Perhaps it's in a different version of misc peripherals. But unfortunately for you RichardG (the owner of misc peripherals) is taking an indefinite leave from coding on it. So, good luck trying to get a fix :(/>. But he needs breaks too.