27.05.2012, 22:35
Quote:
what is this
pawn Код:
|
pawn Код:
new array[5];
array[10] = 3; // crash
Just search for non-public functions within cmd_stats which could access an invalid array
Also you could try
Quote:
You can also get more information like line numbers, function names, parameter values, etc if compile that script in debug mode to make compiler put extra information about all that stuff into the output .amx (see here for how):
Код:
[05:27:11] [debug] Server crashed while executing crash.amx [05:27:11] [debug] Backtrace (most recent call first): [05:27:11] [debug] #0 native fread () from samp-server.exe [05:27:11] [debug] #1 000000b8 in function2 () at crash.pwn:13 [05:27:11] [debug] #2 00000048 in function1 () at crash.pwn:8 [05:27:11] [debug] #3 00000024 in main () at crash.pwn:4 |