run_script: infinity loop !

nasagnilac

New member
Messages
121
Points
0
Github
gmblank
Hi, how can I detect what script is the problem in this infinity loop error. Its hard for me to find the correct script I made because I change a lot of thing.

Code:
			case C_FUNC:
				script->run_func(st);
				if(st->state==GOTO) {
					st->state = RUN;
					if( !st->freeloop && gotocount>0 && (--gotocount)<=0 ) {
						ShowError("run_script: infinity loop !\n");
						script->reportsrc(st);
						st->state=END;
					}
				}
				break;
 
Back
Top