[17:03:54] [debug] Server crashed while executing MyGameMode.amx
[17:03:54] [debug] AMX backtrace:
[17:03:54] [debug] #0 000aa6d0 in public LoadDriftTracks () at MyGameMode.pwn:4215
[17:03:54] [debug] #1 000bff2c in public SSCANF_OnGameModeInit () at MyGameMode.pwn:5232
[17:03:54] [debug] #2 00000a40 in public OnGameModeInit () at C:\\pawno\include\sscanf2.inc:205
[17:03:54] [debug] System backtrace:
[17:03:54] [debug] #0 f7404f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[17:03:54] [debug] #1 f73fb41f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[17:03:54] [debug] #2 f73f9963 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[17:03:54] [debug] #3 f74043c1 in ?? () from plugins/crashdetect.so
[17:03:54] [debug] #4 ffffe410 in ?? ()
[17:03:54] [debug] #5 080d6300 in ?? () from ./samp03svr
[17:03:54] [debug] #6 080ead3a in ?? () from ./samp03svr
[17:03:54] [debug] #7 f7409a33 in amx_Exec () from plugins/crashdetect.so
[17:03:54] [debug] #8 f73fa622 in _ZN11crashdetect9DoAmxExecEPii () from plugins/crashdetect.so
[17:03:54] [debug] #9 f7402699 in ?? () from plugins/crashdetect.so
[17:03:54] [debug] #10 f725dd36 in ?? () from plugins/streamer.so
[17:03:54] [debug] #11 080a503b in ?? () from ./samp03svr
[17:03:54] [debug] #12 080ab922 in ?? () from ./samp03svr
[17:03:54] [debug] #13 080aa0fd in ?? () from ./samp03svr
[17:03:54] [debug] #14 f7433e7e in __libc_start_main () from /lib/libc.so.6
db_get_field_assoc(u_result, "Time",var, sizeof(var)); sscanf(var, "d", DriftTeleports[i][vTime]);
LoadClans();
а в базе данных точно есть столбец Time? Регистр совпадает?
P.S. и вместо sscanf я бы посоветовал использовать strval (ну конкретно в этом случае) |
db_get_field_assoc(u_result, "tTime", var, sizeof(var)); DriftTeleports[i][vTime] = strval(var);