Kicking X because they didn't logon to the game.
#54

Quote:
Originally Posted by Dimitri281298
Посмотреть сообщение
solution
Quote:
Originally Posted by Mellnik
Посмотреть сообщение
There is another way to combat this using crashdetect.
Put this at the very top of your GM and use CTRL+H to replace any for by for___loop.

pawn Код:
#include <crashdetect>

#define for___loop(%1;%2;%3) \
    PrintAmxBacktrace(); \
    for(%1;%2;%3)
   
#define while___loop(%1) \
    PrintAmxBacktrace(); \
    while(%1)
This prints the call stack everytime a loop gets called. So as soon as you run into this problem simply open your server log and look for the last backtrace.

Код:
[03:34:13] [debug] AMX backtrace:
[03:34:13] [debug] #0 native PrintAmxBacktrace () [6cf42e23] from crashdetect.DLL
[03:34:13] [debug] #1 00001fa8 in main () at C:\server\gamemodes\test.pwn:30
The line number now directs you to the infinite loop in your script (Don't forget to compile with -d3 parameter)
Thank me latur.
Reply


Messages In This Thread
Kicking X because they didn't logon to the game. - by Mellnik - 04.02.2013, 11:27
Re: Kicking X because they didn't logon to the game. - by Kalcor - 04.02.2013, 13:53
AW: Re: Kicking X because they didn't logon to the game. - by Mellnik - 04.02.2013, 15:32
Re: Kicking X because they didn't logon to the game. - by leong124 - 04.02.2013, 16:48
Re: Kicking X because they didn't logon to the game. - by nGen.SoNNy - 04.02.2013, 18:24
Re: Kicking X because they didn't logon to the game. - by dugi - 04.02.2013, 18:37
Re: Kicking X because they didn't logon to the game. - by T0pAz - 04.02.2013, 18:52
Re: Kicking X because they didn't logon to the game. - by leong124 - 05.02.2013, 11:36
Re: Kicking X because they didn't logon to the game. - by Kalcor - 05.02.2013, 12:10
Re: Kicking X because they didn't logon to the game. - by GreenHammy - 05.02.2013, 12:38
AW: Kicking X because they didn't logon to the game. - by woot - 05.02.2013, 18:13
AW: Kicking X because they didn't logon to the game. - by Mellnik - 05.02.2013, 18:28
Re: Kicking X because they didn't logon to the game. - by TTJJ - 06.02.2013, 13:10
Re: Kicking X because they didn't logon to the game. - by navedhashmi32 - 10.02.2013, 18:04
Re: Kicking X because they didn't logon to the game. - by TTJJ - 15.02.2013, 12:23
AW: Kicking X because they didn't logon to the game. - by Mellnik - 16.02.2013, 13:45
Re: Kicking X because they didn't logon to the game. - by HuSs3n - 21.02.2013, 18:23
Re: Kicking X because they didn't logon to the game. - by kaisersouse - 21.02.2013, 18:32
Re: Kicking X because they didn't logon to the game. - by Roel - 25.02.2013, 17:09
Re: Kicking X because they didn't logon to the game. - by ancezas - 27.02.2013, 03:56
Re: Kicking X because they didn't logon to the game. - by Neil. - 27.02.2013, 05:42
Re: Kicking X because they didn't logon to the game. - by Essle - 27.02.2013, 06:15
Re: Kicking X because they didn't logon to the game. - by MicroSof - 09.03.2013, 21:05
Re: Kicking X because they didn't logon to the game. - by CoaPsyFactor - 26.03.2013, 17:10
Re: Kicking X because they didn't logon to the game. - by ProShooter22 - 20.04.2013, 05:27
Re: Kicking X because they didn't logon to the game. - by ProShooter22 - 23.04.2013, 09:34
Re: Kicking X because they didn't logon to the game. - by EpicGuy - 23.04.2013, 10:03
Re: Kicking X because they didn't logon to the game. - by ProShooter22 - 23.04.2013, 10:33
Re: Kicking X because they didn't logon to the game. - by ReV. - 05.05.2013, 00:49
Re: Kicking X because they didn't logon to the game. - by ReV. - 02.08.2013, 22:37
AW: Kicking X because they didn't logon to the game. - by Mellnik - 03.08.2013, 13:07
Re: Kicking X because they didn't logon to the game. - by dr1ftp0w3r - 05.08.2013, 15:37
Re: Kicking X because they didn't logon to the game. - by [NRG]Dark - 08.08.2013, 17:09
Re: Kicking X because they didn't logon to the game. - by Jaxson - 09.08.2013, 10:55
Re: Kicking X because they didn't logon to the game. - by TheProfessional - 11.08.2013, 02:43
Re: Kicking X because they didn't logon to the game. - by [NRG]Dark - 13.08.2013, 00:59
Re: Kicking X because they didn't logon to the game. - by JackStenzel - 24.08.2013, 01:26
Re: Kicking X because they didn't logon to the game. - by Dr.Einstein - 05.11.2013, 11:56
Re: Kicking X because they didn't logon to the game. - by David (Sabljak) - 13.11.2013, 20:10
Re: Kicking X because they didn't logon to the game. - by Craig007911 - 24.01.2014, 07:19
Re: Kicking X because they didn't logon to the game. - by Kyle - 14.02.2014, 23:18
Re: Kicking X because they didn't logon to the game. - by Kyle - 15.02.2014, 09:27
Respuesta: Kicking X because they didn't logon to the game. - by ViniKuliveguisky - 15.02.2014, 21:02
Re: Kicking X because they didn't logon to the game. - by Gasartobi - 24.03.2014, 16:36
Re: Kicking X because they didn't logon to the game. - by Guest4390857394857 - 18.04.2014, 14:19
Re: Kicking X because they didn't logon to the game. - by nGen.SoNNy - 18.04.2014, 17:42
Re: Kicking X because they didn't logon to the game. - by nickdodd25 - 19.04.2014, 14:51
Re: Kicking X because they didn't logon to the game. - by nickdodd25 - 20.04.2014, 15:26
Re: Kicking X because they didn't logon to the game. - by Guest4390857394857 - 11.05.2014, 09:42
AW: Kicking X because they didn't logon to the game. - by Mellnik - 25.07.2014, 01:13
Re: Kicking X because they didn't logon to the game. - by scaunel - 27.09.2014, 13:44
Respuesta: Kicking X because they didn't logon to the game. - by Dimitri281298 - 05.10.2014, 18:12
Respuesta: Kicking X because they didn't logon to the game. - by Dimitri281298 - 05.10.2014, 18:15
Re: AW: Kicking X because they didn't logon to the game. - by VeggieBoy - 05.10.2014, 18:40
Re: Kicking X because they didn't logon to the game. - by RoC4life - 17.01.2015, 13:57
Re: Kicking X because they didn't logon to the game. - by maramizo - 06.03.2015, 22:59
Re: Kicking X because they didn't logon to the game. - by JaykePC - 19.04.2015, 15:14
Re: Kicking X because they didn't logon to the game. - by tommzy09 - 03.06.2015, 07:29
Re: Kicking X because they didn't logon to the game. - by PeppeAC - 06.07.2015, 12:54
Re: Kicking X because they didn't logon to the game. - by liquor - 06.07.2015, 14:25

Forum Jump:


Users browsing this thread: 2 Guest(s)