ok so im trying to expand my map , and when ever i do i get this
Infinite loop suspected--switching proc to background.
If it is not an infinite loop, either do 'set background=1' or set world.loop_checks=0.
can i get some guidance as to fix this issue
![]() Aug 12 2012, 11:49 pm
Best response
|
|
If a loop runs more than a certain number of times, it it internally flagged as an infinite loop by the runtime. You either need to set the loop processing to background (which means the loop will yield occasionally, allowing other things to process), or you need to disable world.loop_checks in order to prevent the game from switching it to background processing automatically.
|
Try posting the code for the loop. It's possible you have it set up so that it goes errant.
|
tick_lag = 1 |
It would probably be better to use a series of while() loops instead of using spawn() to spawn the same proc.
|
the whole thing is this only happens when i add more maps . if i remove the maps its just fine
|
The issue is the loop, use while() then sleep() inside the while instead of spawn() same_proc().
|