Error crashdetect
#1

the crashdetect detects these errors to 'start the gamemode:
Код:
[09:24:08]: --- Crashdetect 3.6.9.4 loaded
[09:24:08]: Script[gamemodes\newgm.amx]: During execution of FC_OnGameModeInit():
[09:24:08]: Script[gamemodes\newgm.amx]: Run time error 4: "Array index out of bounds"
[09:24:08]: Additional information:
[09:24:08]:   Array max index is 41 but accessing an element at 42
[09:24:08]: Call stack (most recent call first):
[09:24:08]:   0x????????()
seems an error of streamers, for I have updated the gamemode and all filterscript all 'latest version and recompiled

possible solutions??
Reply
#2

There is some array being called in OngameModeInit which has a size of 41 elements but you are exceeding the limit
Reply
#3

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
There is some array being called in OngameModeInit which has a size of 41 elements but you are exceeding the limit
how do I find it? can you give me some clues?
Reply
#4

You have to check each and every line..it's not that easy.

this occured with me too..

in my script i defined MAX_VEHICLES to 75 and i was accidentaly adding 117 vehicles in gamemodeinit..

it caused this prob
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)