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

how can i avoid the "too long without yielding" error?

Started by MRX, 27 March 2013 - 01:15 PM
MRX #1
Posted 27 March 2013 - 02:15 PM
there is a way to avoid that error with the cobble generator from http://computercraft.info/wiki/Cobble_Generator ? i think the sleep(0) is not the most efficient way…
lieudusty #2
Posted 27 March 2013 - 02:16 PM
Its the only way without modifying the BIOS

Bleh I was wrong. Ignore this :P/>
Lyqyd #3
Posted 27 March 2013 - 02:22 PM
Coroutine protection isn't in the BIOS, it's in the java code itself.

Moved to Ask a Pro.
MysticT #4
Posted 27 March 2013 - 02:53 PM
Here's a tutorial I wrote about this. You'll have to adapt it to the program, but it's pretty easy. If you have any questions about it just ask.
lieudusty #5
Posted 27 March 2013 - 03:43 PM
Coroutine protection isn't in the BIOS, it's in the java code itself.

Moved to Ask a Pro.
Oh. I thought it was in the bios because every time I get too long without yielding the error is in the BIOS.
MRX #6
Posted 27 March 2013 - 04:28 PM
Here's a tutorial I wrote about this. You'll have to adapt it to the program, but it's pretty easy. If you have any questions about it just ask.
oh, thanks!
really useful :)/>