Error on open server.
#1

Hi all!


Quote:

[11:40:44] [debug] Run time error 4: "Array index out of bounds"
[11:40:44] [debug] Accessing element at index 40 past array upper bound 39
[11:40:44] [debug] AMX backtrace:
[11:40:44] [debug] #0 00014808 in public FW_OnGameModeInit () from grandlarc.amx
[11:40:44] [debug] #1 native CallLocalFunction () from samp-server.exe
[11:40:44] [debug] #2 00009ab8 in public zcmd_OnGameModeInit () from grandlarc.amx
[11:40:44] [debug] #3 native CallLocalFunction () from samp-server.exe
[11:40:44] [debug] #4 000074f8 in public Iter_OnGameModeInit () from grandlarc.amx
[11:40:44] [debug] #5 native CallLocalFunction () from samp-server.exe
[11:40:44] [debug] #6 00006a84 in public SSCANF_OnGameModeInit () from grandlarc.amx
[11:40:44] [debug] #7 00000884 in public OnGameModeInit () from grandlarc.amx
[11:40:44] main() has been called.


AND FOR CRASHDETECT V4.17

Quote:

[11:48:56] [debug] Run time error 4: "Array index out of bounds"
[11:48:56] [debug] Attempted to read/write array element at index 40 in array of size 40
[11:48:56] [debug] AMX backtrace:
[11:48:56] [debug] #0 00014808 in public FW_OnGameModeInit () from grandlarc.amx
[11:48:56] [debug] #1 native CallLocalFunction () from samp-server.exe
[11:48:56] [debug] #2 00009ab8 in public zcmd_OnGameModeInit () from grandlarc.amx
[11:48:56] [debug] #3 native CallLocalFunction () from samp-server.exe
[11:48:56] [debug] #4 000074f8 in public Iter_OnGameModeInit () from grandlarc.amx
[11:48:56] [debug] #5 native CallLocalFunction () from samp-server.exe
[11:48:56] [debug] #6 00006a84 in public SSCANF_OnGameModeInit () from grandlarc.amx
[11:48:56] [debug] #7 00000884 in public OnGameModeInit () from grandlarc.amx

Reply
#2

It obviously tells you whats wrong: [11:48:56] [debug] Attempted to read/write array element at index 40 in array of size 40

If you have an array with the size of 40, you can access index 0 to 39
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)