PDA

View Full Version : Unkown Gamemode


HerBan
07/01/2018, 11:25 PM
Hi

I have these problems when i starting the server
How can i fixing that?
Server log

[debug] Run time error 4: "Array index out of bounds"
[23:18:02] [debug] Accessing element at index 1848521225 past array upper bound 99
[23:18:02] [debug] AMX backtrace:
[23:18:02] [debug] #0 0001c19c in public Streamer_OnGameModeInit () from TE5.amx
[23:18:02] [debug] #1 native CallLocalFunction () [004743b0] from samp-server.exe
[23:18:02] [debug] #2 0000f4c8 in public Audio_OnGameModeInit () from TE5.amx
[23:18:02] [debug] #3 native CallLocalFunction () [004743b0] from samp-server.exe
[23:18:02] [debug] #4 0000ee0c in public surfboard_OnGameModeInit () from TE5.amx
[23:18:02] [debug] #5 native CallLocalFunction () [004743b0] from samp-server.exe
[23:18:02] [debug] #6 0000eb70 in ?? () from TE5.amx
[23:18:02] [debug] #7 0000671c in public Timers_OnScriptInit () from TE5.amx
[23:18:02] [debug] #8 native CallLocalFunction () [004743b0] from samp-server.exe
[23:18:02] [debug] #9 000025a0 in public zcmd_OnGameModeInit () from TE5.amx
[23:18:02] [debug] #10 native CallLocalFunction () [004743b0] from samp-server.exe
[23:18:02] [debug] #11 00000fa8 in public Itter_OnGameModeInit () from TE5.amx
[23:18:02] [debug] #12 native CallLocalFunction () [004743b0] from samp-server.exe
[23:18:02] [debug] #13 00000750 in public OnGameModeInit () from TE5.amx

JasonRiggs
07/01/2018, 11:29 PM
Show us the functions of Streamer_OnGameModeinIt
Audio_OnGameModeINit
surfboard_ongamemodeinit
timers_onscriptinit
zcmd_ongamemodeinit
Ongamemodeinit

as you've defined arrays overthere which exceeds the limit

ThePhenix
07/01/2018, 11:30 PM
It would be good if you could enable debugging level 3.

HerBan
07/01/2018, 11:37 PM
Streamer_OnGameModeinIt
Audio_OnGameModeINit
surfboard_ongamemodeinit
timers_onscriptinit
zcmd_ongamemodeinit
Ongamemodeinit

These functions are from includes ?
Because in my gamemode only one GamemodeInit() function

JasonRiggs
07/01/2018, 11:43 PM
Since your script is only GameModeInIt, then its from include ye