Posts: 79
Threads: 11
Joined: Jan 2014
Reputation:
0
Hello,
Anybody knows a quick method to find an infinte loop?
Please tell me,anything that you know about it..
Posts: 2,262
Threads: 260
Joined: Mar 2009
Reputation:
0
Look at your while loops and for, you should count the iterations, if over x, stop it.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Add print before loop, add print after loop. If the server hangs, you'll know.
Posts: 79
Threads: 11
Joined: Jan 2014
Reputation:
0
I think that i will check all my loops,because this infinte loop comes rarely out..
Anyway if anybody has got a better solution,don't forget to tell me!
Posts: 3,239
Threads: 76
Joined: Mar 2012
Reputation:
0
Look for i++ while for do
The term will not have MAX_PLAYERS or MAX_VEHICLES.
Start looking for the function that starts the loop.
Posts: 79
Threads: 11
Joined: Jan 2014
Reputation:
0
Thanks for the answers,but i can't find it with my eyes..Any new ideas?