Another crash
#1

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?
Reply
#2

maybe show us the OnPlayerCommandText callback?
Reply
#3

Quote:
Originally Posted by Kyance
Посмотреть сообщение
maybe show us the OnPlayerCommandText callback?
WHAT?!!!!!!!

That callback is 6k+ lines long
Reply
#4

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
Reply
#5

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
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
Can you please tell me how to do that?
Reply
#6

Inside pawno folder add a file named "pawn.cfg" and then open file and inside file write
Код:
-d3
save it
open pawno.exe
From that open your script
Compile it
Run it
Reply
#7

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
Inside pawno folder add a file named "pawn.cfg" and then open file and inside file write
Код:
-d3
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

Reply
#8

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 !!!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)