[debug] help
#1

Hello!

I added the crashdetect plugin, and then I get this problem in the console, which could be the problem?

Код:
[11:20:10] [debug] Run time error 4: "Array index out of bounds"
[11:20:10] [debug]  Accessing element at index 65535 past array upper bound 1999
[11:20:10] [debug] AMX backtrace:
[11:20:10] [debug] #0 002af160 in ?? () from safeG.amx
[11:20:10] [debug] #1 00147f14 in public Streamer_OnGameModeInit () from safeG.amx
[11:20:10] [debug] #2 native CallLocalFunction () [004743b0] from samp-server.exe
[11:20:10] [debug] #3 00000ed0 in public OnGameModeInit () from safeG.amx
Reply
#2

A function called in OnGameModeInit causes run time error 4. The value of vehicleid passed as index in a vehicle-array is 65535 which is INVALID_VEHICLE_ID. Either limit was reached (highly unlikely) or invalid modelid.

You need to compile your script with -d3 flag: https://github.com/Zeex/samp-plugin-...ith-debug-info
Restart server and when it appears again, post the new logs.
Reply
#3

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
A function called in OnGameModeInit causes run time error 4. The value of vehicleid passed as index in a vehicle-array is 65535 which is INVALID_VEHICLE_ID. Either limit was reached (highly unlikely) or invalid modelid.

You need to compile your script with -d3 flag: https://github.com/Zeex/samp-plugin-...ith-debug-info
Restart server and when it appears again, post the new logs.
Thank you, the problem solved!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)