SA-MP Forums Archive
[Help] Infinite Loop's - Urgent - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] Infinite Loop's - Urgent (/showthread.php?tid=650790)



[Help] Infinite Loop's - Urgent - David (Sabljak) - 06.03.2018

I got some random infininite loops, cant detect where, i'm using printf but can't find it...

Where to look and what to look? Any advice?


Re: [Help] Infinite Loop's - Urgent - AroseKhanNiazi - 06.03.2018

Try using https://sampforum.blast.hk/showthread.php?tid=271129


Re: [Help] Infinite Loop's - Urgent - m4karow - 06.03.2018

my advice is look after 'Iter_Remove' in foreach loop-s


Re: [Help] Infinite Loop's - Urgent - StrikerZ - 07.03.2018

I had the same problem, it's gets hard to detect once the server starts freezing because profile plugin also won't help because server freezes and it isn't able to output its profile. You have to manually search your loops


Re: [Help] Infinite Loop's - Urgent - v1k1nG - 07.03.2018

Open your compiler, press Ctrl + F and look for every for() and foreach() you may have fucked up.


Re: [Help] Infinite Loop's - Urgent - David (Sabljak) - 07.03.2018

Sometimes it freeze after 24h, sometimes after 36h, it's unusuall.. thanks for answers...