Posted 16 January 2014 - 05:40 AM
Hello people,
I've been busying myself making programs for computercraft for a couple of months now, but in two of my programs there seems to be a bug that I cannot squash.
I have a network set up with a central host computer displaying the status of all turtles attached to it via wireless modems, both on a screen and on OpenPeripherals' Terminal Glasses. This works fine.
However, two of the turtles attached to it, which run 24/7, crash after an undetermined amount of time because they went on too long without yielding.
The error never drops a line and wipes the file the turtles use to keep their progress.
The two programs can be found here:
Quarry:
http://pastebin.com/8wZjexV3
Tree Farm:
http://pastebin.com/pYtcjytq
If I made a really dumb mistake then I'm sorry for wasting your time.
If not, please help me out!
I've been busying myself making programs for computercraft for a couple of months now, but in two of my programs there seems to be a bug that I cannot squash.
I have a network set up with a central host computer displaying the status of all turtles attached to it via wireless modems, both on a screen and on OpenPeripherals' Terminal Glasses. This works fine.
However, two of the turtles attached to it, which run 24/7, crash after an undetermined amount of time because they went on too long without yielding.
The error never drops a line and wipes the file the turtles use to keep their progress.
The two programs can be found here:
Quarry:
http://pastebin.com/8wZjexV3
Tree Farm:
http://pastebin.com/pYtcjytq
If I made a really dumb mistake then I'm sorry for wasting your time.
If not, please help me out!