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

Random Peripheral Errors

Started by apemanzilla, 13 October 2013 - 07:45 PM
apemanzilla #1
Posted 13 October 2013 - 09:45 PM
Hello pros,
Recently I have created a program to sort my serums from my isolated, tossing duplicates into the furnace to be emptied.
However, I am constantly seeing an error: "peripheral:62:too long without yielding"
I have checked the code and everything and it should be working fine, the only problem I can think of is that the tick rate has been low as of late on the server this is on.
Here is the setup:

  S
H T
H I
S = Crystal chest with serums
T = turtle
H = hopper
I = Input chest - serums are moved from isolator to here automatically.
The serum chest (S) is at the top, the hoppers are on the north side.
Code: www.pastebin.com/kNMdzf7D
Thanks in advance!
DerKoch #2
Posted 14 October 2013 - 10:17 AM
Maybe this helps: Codex Of Error Slaying -2 or tl;dr: Add the else-branch with sleep(0) to the if data then
Also line 33:
write("Added: "..temp.name)
Guess it'S supposed to be:
write("Added: "..data.name)
apemanzilla #3
Posted 14 October 2013 - 11:47 AM
Maybe this helps: Codex Of Error Slaying -2 or tl;dr: Add the else-branch with sleep(0) to the if data then
Also line 33:
write("Added: "..temp.name)
Guess it'S supposed to be:
write("Added: "..data.name)
Working so far - thanks!