12.12.2011, 09:46
For 3.6.12, the whole server crashes when there is an run-time error.
Test code:
Error code:
Check the attachment below if you need the dump file.
Test code:
pawn Код:
#include <a_samp>
public OnFilterScriptInit()
{
new x = 100,a[10];
a[x] = 1;
return 1;
}
Код:
[2011-12-12 18:48:11] --- crashdetect 3.6.12 loaded. [2011-12-12 18:48:20] Loaded debug info from 'filterscripts\sc_actions.amx' [2011-12-12 18:48:20] Loaded debug info from 'filterscripts\sc_objects.amx' [2011-12-12 18:48:21] Loaded debug info from 'gamemodes\scfri.amx' [2011-12-12 18:49:17] The server has crashed due to an unknown error [2011-12-12 18:49:17] Loaded debug info from 'filterscripts\test6.amx' [2011-12-12 18:49:17] Script[filterscripts\test6.amx]: In file 'D:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\test6.pwn' at line 6: [2011-12-12 18:49:18] Script[filterscripts\test6.amx]: Run time error 4: "Array index out of bounds" [2011-12-12 18:49:18] Additional information: [2011-12-12 18:49:18] Array max index is 9 but accessing an element at 100 [2011-12-12 18:49:18] Call stack (most recent call first): [2011-12-12 18:49:18] File 'D:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\test6.pwn' [2011-12-12 18:49:18] public OnFilterScriptInit()

