Infinite loop detection
#1

Hi

I sometimes get an infinite loop on my server.
But i cant detect this not at all, so my question is how can i detect this?
With a plugin? Or with other methods?

(And no, i cant find it with my eyes, because our mod has 70000+ lines)

Thank you
Reply
#2

What GM is it?
What does the loop do?
What is the loop on?
Can you post properly in future?
Reply
#3

Quote:
Originally Posted by IceCube!
Посмотреть сообщение
What GM is it?
What does the loop do?
What is the loop on?
Can you post properly in future?
"What GM is it?"
Why its matter? All gamemode use same scripting...

"What does the loop do?"
Infinite looping... surprisingly... freeze the server...

"What is the loop on?"
While cycle
Reply
#4

It matters because I NEEED TO SEE CODE! - Makes me wonder if your trying to steal a script and claim it yours?

The second one I ment What does it loop such as text cars or spawns

3rd As in cars bikes blah blach - was ment to be deleted
Reply
#5

"It matters because I NEEED TO SEE CODE! - Makes me wonder if your trying to steal a script and claim it yours?"
Its our gamemode, but you will not see the code.
I asked for some debug method, with i can detect the infinite loop. So ex. a plugin, or view assembly executing on running, etc...

"The second one I ment What does it loop such as text cars or spawns"
The last log in the serverlog is "logged", so when a player log in. But its not 100%, because the server not logging all actions, only 10%, max.
Reply
#6

Quote:
Originally Posted by SeoToX
Посмотреть сообщение
"It matters because I NEEED TO SEE CODE! - Makes me wonder if your trying to steal a script and claim it yours?"
Its our gamemode, but you will not see the code.
I asked for some debug method, with i can detect the infinite loop. So ex. a plugin, or view assembly executing on running, etc...

"The second one I ment What does it loop such as text cars or spawns"
The last log in the serverlog is "logged", so when a player log in. But its not 100%, because the server not logging all actions, only 10%, max.
Look through all loops in the server until you find it.

Or use Zeex's Crashdetect plugin.
Reply
#7

Well im psyshic, NOT We need to see code and being a 'Little Clucker' I highly doubt that its your code as you would know whats wrong anyhow.

No Code, No Help
Reply
#8

Quote:
Originally Posted by IceCube!
Посмотреть сообщение
Well im psyshic, NOT We need to see code and being a 'Little Clucker' I highly doubt that its your code as you would know whats wrong anyhow.

No Code, No Help
Please no post more to this topic. Thanx.

Quote:
Originally Posted by Elorreli
Посмотреть сообщение
Look through all loops in the server until you find it.

Or use Zeex's Crashdetect plugin.
I use the Crashdetect plugin, and if the crashdetect say crashed, i always found the point, by decoding the error code. But the infinite loop doesnt crash the server, so i cant find the point, where the mod cause the infinite loop :\
Reply
#9

Learn English learn pawn. WAIT Mor importantly learn not to lie!, And to get some manors

End of discussion
Reply
#10

Well what usually happens around the time of your crash?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)