06.08.2016, 19:35
(
Последний раз редактировалось Chase20; 26.11.2016 в 16:43.
)
Quote:
It still fails to report accurately what causes the crash. After searching for a while I found an interesting "issue" in github (for crashdetect): https://github.com/Zeex/samp-plugin-...tect/issues/32
The reason was valstr which is a known issue that crashes when it is a very high number. In case you use it anywhere in the script, either replace with format or use a fix for it: https://github.com/Open-GTO/sa-mp-fi...ixes.inc#L7418 Another interesting thing is that if a script has many many lines, crashdetect fails to report and there was a special version for such cases: https://github.com/Zeex/samp-plugin-...ag/v4.13.1-lse |
I put that crashdetect, and:
Код:
[22:28:23] [debug] Server crashed while executing royal.amx [22:28:23] [debug] AMX backtrace: [22:28:23] [debug] #0 0000006f in ?? (0x00000065, 0x0000002d, 0x0000006c, 0x00000069, 0x00000073, 0x00000074, 0x0000002e, 0x00000000, 0x00000000, 0x00000000, ... <15 arguments>) from royal.amx [22:28:23] [debug] #1 0000006f in public Audio_OnGameModeInit () from royal.amx [22:28:23] [debug] #2 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #3 0000a1a8 in public zcmd_OnGameModeInit () from royal.amx [22:28:23] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #5 00009990 in public SSCANF_OnGameModeInit () from royal.amx [22:28:23] [debug] #6 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #7 00002f88 in public Itter_OnGameModeInit () from royal.amx [22:28:23] [debug] #8 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #9 000020a4 in public OnGameModeInit () from royal.amx