Posted 27 October 2013 - 07:36 PM
Title: All programs ending with too long without yielding
For some reason on the server I'm on any and all programs on turtle or computer are shutting down with the too long without yielding error across various lines. I understand that the error usually means that an infinite loop has been created in which no line uses some command that yields(sleep, turtle functions, os.pullEvent, etc) but every single program has one.
For example I have one computer running:
And when that one started running into this problem I noticed every computer and turtle I had was running into this. I decided to test the following code to make sure I didn't mess up somewhere in the coding:
And even that returned the error after a few minutes of spinning.
So I'm basically at a loss of what could be causing this and any help would be much appreciated.
For some reason on the server I'm on any and all programs on turtle or computer are shutting down with the too long without yielding error across various lines. I understand that the error usually means that an infinite loop has been created in which no line uses some command that yields(sleep, turtle functions, os.pullEvent, etc) but every single program has one.
For example I have one computer running:
while true do
redstone.setBundledOutput("bottom", colors.white)
sleep(0.1)
redstone.setBundledOutput("bottom", 0)
sleep(0.1)
end
And when that one started running into this problem I noticed every computer and turtle I had was running into this. I decided to test the following code to make sure I didn't mess up somewhere in the coding:
while true do
turtle.turnRight()
sleep(10)
end
And even that returned the error after a few minutes of spinning.
So I'm basically at a loss of what could be causing this and any help would be much appreciated.