Another crash - 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: Another crash (
/showthread.php?tid=559966)
Another crash -
ATGOggy - 26.01.2015
Quote:
[09:17:25] [debug] Server crashed while executing SARCR.amx
[09:17:25] [debug] AMX backtrace:
[09:17:25] [debug] #0 00000073 in ?? (32, 91, 83, 97, 114, 99, 114, 93, 75, 97, ... <15 arguments>) from SARCR.amx
[09:17:25] [debug] #1 00000073 in public OnPlayerCommandText () from SARCR.amx
|
How can I fix it?
Re: Another crash -
Kyance - 26.01.2015
maybe show us the OnPlayerCommandText callback?
Re: Another crash -
ATGOggy - 26.01.2015
Quote:
Originally Posted by Kyance
maybe show us the OnPlayerCommandText callback?
|
WHAT
?!!!!!!!
That callback is 6k+ lines long
Re: Another crash -
BroZeus - 26.01.2015
Compile the script in Debug mode, it can be done as mentioned here -
http://forum.sa-mp.com/showpost.php?...32&postcount=7
Then run the script it will give exact line of error
Re: Another crash -
ATGOggy - 26.01.2015
Quote:
Originally Posted by BroZeus
|
Can you please tell me how to do that?
Re: Another crash -
BroZeus - 26.01.2015
Inside pawno folder add a file named "pawn.cfg" and then open file and inside file write
save it
open pawno.exe
From that open your script
Compile it
Run it
Re: Another crash -
ATGOggy - 26.01.2015
Quote:
Originally Posted by BroZeus
Inside pawno folder add a file named "pawn.cfg" and then open file and inside file write
save it
open pawno.exe
From that open your script
Compile it
Run it
|
I got these after that:
Quote:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 8056 bytes
Code size: 575616 bytes
Data size: 20126968 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:20727024 bytes
|
Respuesta: Re: Another crash -
!R1Ch@rD! - 26.01.2015
Quote:
Originally Posted by ATGOggy
I got these after that:
|
that does not listen to him , it's just to show you how much memory you use , what the -d3 is to show where the problem of crash , teaches you the line !!!