Posted 26 October 2013 - 01:12 PM
Hello
I am having problems with debugging of my own program : Swarm Miner
Few people reported "too long without yielding" in many points of program but i am unable to duplicate and correctly solve those reports.
Here are lines people reported as "causes"
So if someone could help me understand what is causing this error and how can i get rid of it i would be gratefull..
Also i need to ask if using parallel has some kind of effect of yielding that could be related to this (I am running 2/3 functions using it constantly.)
Here is pastebin for
Swarminer="2h1RmbAR",
also noted that program is started using Top Level Coroutine Overwrite that removes rednet coroutine and wipes out rednet API (this halves amount of event that turtles need to handle)
Swarmstart="aFgPSyGe",
Rest of files for refference:
Floppy Disk(startup)="LXLBZK25",
scanner="4wgEDymE",
Also to note here i am unable to replicate it myself - all i get is reports from 2 other players.
Its driving me crazy…
I am having problems with debugging of my own program : Swarm Miner
Few people reported "too long without yielding" in many points of program but i am unable to duplicate and correctly solve those reports.
Here are lines people reported as "causes"
- parallel :22: turtle:22:
- parallel :22: swarminer:85:
- parallel:22:swarminer:251: (you can see there my trying ugly fix)
- bios:208:
So if someone could help me understand what is causing this error and how can i get rid of it i would be gratefull..
Also i need to ask if using parallel has some kind of effect of yielding that could be related to this (I am running 2/3 functions using it constantly.)
Here is pastebin for
Swarminer="2h1RmbAR",
also noted that program is started using Top Level Coroutine Overwrite that removes rednet coroutine and wipes out rednet API (this halves amount of event that turtles need to handle)
Swarmstart="aFgPSyGe",
Rest of files for refference:
Floppy Disk(startup)="LXLBZK25",
scanner="4wgEDymE",
Also to note here i am unable to replicate it myself - all i get is reports from 2 other players.
Its driving me crazy…