Jump to content

  •  

Photo

run_script: infinity loop !


  • Please log in to reply
No replies to this topic

#1 GM Fenrir™

GM Fenrir™

    Advanced Member

  • Members
  • PipPipPip
  • 91 posts
  • Github:gmblank

Posted 28 February 2017 - 02:11 PM

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.

 

 

			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;

 






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 19 user(s)