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

[1.6.4][SMP] Turtle code freezes

Started by EmptyPlayerObject, 31 May 2014 - 10:48 PM
EmptyPlayerObject #1
Posted 01 June 2014 - 12:48 AM
In, 1.63, when I leave chunks and then reenter them, code such as turtle.dig(), turtle.drop(), and turtle.suck() freeze when used in if statements. To make them work, the code has to be terminated, where it says the line that one of the three was on, and then restart the computer. The program is called using shell.run() from startup. The code looked something like this:

while true do
  if turtle.dig() then
	turtle.dropDown()
  end
end
There were no other mods besides latest forge.
Edited on 07 June 2014 - 07:50 PM
flaghacker #2
Posted 02 June 2014 - 11:44 AM
Can you post you full code?
Bomb Bloke #3
Posted 02 June 2014 - 12:11 PM
… along with Forge + ComputerCraft + other mod versions?
Cranium #4
Posted 04 June 2014 - 04:31 PM
If you could, please post your bug in the format listed in the sticky. This will help us get more information about the bug, and what is causing it.
EmptyPlayerObject #5
Posted 07 June 2014 - 09:50 PM
If you could, please post your bug in the format listed in the sticky. This will help us get more information about the bug, and what is causing it.

Fixed it.
flaghacker #6
Posted 08 June 2014 - 06:14 AM
Are you sure the turtle has something to dig and is a mining turtle? Else it will indeed freeze until it has something to mine.
DD008 #7
Posted 08 June 2014 - 12:42 PM
Did you put enough fuel in it?