SA-MP Forums Archive
Crash detect - 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: Crash detect (/showthread.php?tid=617138)



Crash detect - MerryDeer - 16.09.2016

Hi,

It's possible to know in what line is crash detect printed error, without compiling with -d3 ?


Re: Crash detect - Konstantinos - 16.09.2016

The exact line, no. Using public functions will give you the name instead of ?? though.


Re: Crash detect - MerryDeer - 16.09.2016

Because yes it gives my timer name, but he is so big, i check everything i don't found anywhere mistake..


Re: Crash detect - Konstantinos - 16.09.2016

Can you post the logs from crashdetect and the code in pastebin so I can look into?

I guess you don't want to compile with -d3 flag and make it easier for you to find a problem because of the .amx size increase?


Re: Crash detect - Rdx - 16.09.2016

Only with -d3, or you can try debug prints inside timer.


Re: Crash detect - MerryDeer - 16.09.2016

If i compile with -d3 i can't start server due memory, so maybe there is another option which takes less memory, but atleast print error line


Re: Crash detect - Konstantinos - 16.09.2016

Try -d2 option.


Re: Crash detect - MerryDeer - 16.09.2016

Or maybe there is function i could add in place where i want more information, like in timer callback?


Re: Crash detect - SyS - 16.09.2016

Quote:
Originally Posted by MerryDeer
Посмотреть сообщение
Or maybe there is function i could add in place where i want more information, like in timer callback?
did u try -d2? answer that first.


Re: Crash detect - MerryDeer - 16.09.2016

Yes ,it too takes too much memory to me