12.05.2015, 13:01
I want to be able to use fixes2 to increase the accuracy of the timer functions but whenever I run my server MySQL crashes and crashdetect prints this:
Here's line 94:
and here's line 102: (this is inside the y_inline callback above)
(using MySQL R39-3 btw)
Would be a massive help if anyone knows what could be causing this n how I can fix it
Код:
[debug] Run time error 4: "Array index out of bounds" [debug] AMX backtrace: [debug] #0 000425ec in ?? () at server.pwn:102 [debug] #1 000424f0 in Callback_Call (func[E_CALLBACK_DATA:5]=@00009d24, ... <32 arguments>) at server.pwn:94 [debug] #2 000359c0 in Callback_Array (func[E_CALLBACK_DATA:5]=@00009d24, params []=@00012cc4 "", num=32) at C:\Users\USER\Desktop\server\pawno\in clude\YSI\..\YSI_Coding\y_inline/impl.inc:608 [debug] #3 0003b9cc in public FJ37DH3JG_MYSQL_INTERNAL (... <1 argument>) at C:\ Users\USER\Desktop\server\pawno\include\a_mysql.inc:233
Код:
inline SQLOnAccountCheck()
Код:
pData[playerid][userid] = cache_get_row_int(0, 0, SQL);
Would be a massive help if anyone knows what could be causing this n how I can fix it