Run time error 4: "Array index out of bounds"
#1

Well, when i play for a bit on my server like 5 minutes the server starts to crash here is the logs.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[16:38:22] 
[16:38:22] Server Plugins
[16:38:22] --------------
[16:38:22]  Loading plugin: audio
[16:38:22] 

*** Audio Plugin v0.5 by Incognito loaded ***

[16:38:22]   Loaded.
[16:38:22]  Loading plugin: streamer
[16:38:22] 

*** Streamer Plugin v2.6 by Incognito loaded ***

[16:38:22]   Loaded.
[16:38:22]  Loading plugin: crashdetect
[16:38:22]   crashdetect v4.7.3 is OK.
[16:38:22]   Loaded.
[16:38:22]  Loaded 3 plugins.

[16:38:22] 
[16:38:22] Filterscripts
[16:38:22] ---------------
[16:38:22]   Loading filterscript 'ls_elevator.amx'...
[16:38:22]   Loaded 1 filterscripts.

[16:38:22] foreach called
[16:38:22]  
[16:38:22] *** Audio Plugin: Started TCP server on port 7777
[16:38:22]  ======================================= 
[16:38:22]  |                                     | 
[16:38:22]  |        YSI version 1.04.0000        | 
[16:38:22]  |        By Alex "******" Cole        | 
[16:38:22]  |                                     | 
[16:38:22]  ======================================= 
[16:38:22]  
[16:38:22] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.mp3" for CRC check
[16:38:22] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.ogg" for CRC check
[16:38:22] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.wav" for CRC check
[16:38:22] *** Audio_SetPack: Audio pack set to "default_pack" (transferable and automated)
[16:38:22] gCamera has succesfully loaded 0 camera(s).
[16:38:22] Default Weather: 0
[16:38:22] 
---------------------------------------
[16:38:22] Roleplay was successfully loaded!

[16:38:22] ---------------------------------------

[16:38:22] Number of vehicle models: 44
[16:38:22]  
[16:38:22]  ========================================== 
[16:38:22]  |                                        | 
[16:38:22]  |  A new version (v3.09.0684) of YSI is  | 
[16:38:22]  |            available from:             | 
[16:38:22]  |                                        | 
[16:38:22]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[16:38:22]  |                                        | 
[16:38:22]  | Changelog:                             | 
[16:38:22]  |                                        | 
[16:38:22]  |   3.00.0000:                           | 
[16:38:22]  |                                        | 
[16:38:22]  |   YSI 3.0 released!  Now includes the  | 
[16:38:22]  | "y_text" library for better messages,  | 
[16:38:22]  | and a reworked "y_classes" library.    | 
[16:38:22]  | Largely documented here                | 
[16:38:22]  | "http://forum.sa-mp.com/showthread.php | 
[16:38:22]  | ?t=321092".                            | 
[16:38:22]  |                                        | 
[16:38:22]  |   3.01.0002:                           | 
[16:38:22]  |                                        | 
[16:38:22]  |   Small fixes to "y_text" and          | 
[16:38:22]  | "y_classes".                           | 
[16:38:22]  |                                        | 
[16:38:22]  |   3.09.0684:                           | 
[16:38:22]  |                                        | 
[16:38:22]  |   Reverted to old download location.   | 
[16:38:22]  | Improved (and fixed) version checks;   | 
[16:38:22]  | added y_bitmap, y_areas, y_races,      | 
[16:38:22]  | y_zonenames, better documentation;     | 
[16:38:22]  | MANY other bug fixes - see the github  | 
[16:38:22]  | repository for more details:           | 
[16:38:22]  |                                        | 
[16:38:22]  ========================================== 
[16:38:22]  
[16:38:24] Incoming connection: 192.168.0.104:50724
[16:38:24] [join] Javier_Acosta has joined the server (0:192.168.0.104)
[16:39:08] [debug] Run time error 4: "Array index out of bounds"
[16:39:08] [debug]   Accessing element at index 2001 past array upper bound 1999
[16:39:08] [debug] Backtrace:
[16:39:08] [debug] #0  002478b4 in public OnPlayerCommandText () from rnrp.amx
[16:40:06] DeleteInfo(0);
[16:40:07] DeleteInfo(0);
[16:40:08] DeleteInfo(0);
[16:40:09] DeleteInfo(0);
[16:40:11] DeleteInfo(0);
[16:40:27] [debug] Server crashed while executing rnrp.amx
[16:40:27] [debug] Backtrace:
[16:40:27] [debug] #0  00000014 in public OnPlayerKeyStateChange () from rnrp.amx
[16:40:27] [debug] Thread backtrace:
[16:40:28] [debug] #0  5F331430 in Load () from C:\Users\YakupMalikDavut\Desktop\RoleplayRoleplay\Roleplay\plugins\crashdetect.DLL
[16:40:28] [debug] #1  5F332735 in Load () from C:\Users\YakupMalikDavut\Desktop\RoleplayRoleplay\ Roleplay\plugins\crashdetect.DLL
[16:40:28] [debug] #2  5F33405E in Load () from C:\Users\YakupMalikDavut\Desktop\RoleplayRoleplay\Roleplay\plugins\crashdetect.DLL
[16:40:28] [debug] #3  759B9E03 in UnhandledExceptionFilter () from C:\windows\SYSTEM32\KERNELBASE.dll
[16:40:28] [debug] #4  0049E676 in ?? () from C:\Users\YakupMalikDavut\Desktop\RoleplayRoleplay\Roleplay\samp-server.exe
[16:40:28] [debug] #5  00497AB1 in ?? () from C:\Users\YakupMalikDavut\Desktop\RoleplayRoleplay\Roleplay\samp-server.exe
[16:40:28] [debug] #6  773A919F in BaseThreadInitThunk () from C:\windows\SYSTEM32\KERNEL32.DLL
[16:40:28] [debug] #7  77C80BBB in RtlInitializeExceptionChain () from C:\windows\SYSTEM32\ntdll.dll
[16:40:28] [debug] #8  77C80B91 in RtlInitializeExceptionChain () from C:\windows\SYSTEM32\ntdll.dll
Reply
#2

Think if i use a host it will work?
Reply
#3

i think you need try to redownload the plugin like crashdetect and other to newer version and recopile it

hope it works

sorry for my bad english
Reply
#4

"Array index out of bounds"

read this: http://forum.sa-mp.com/showpost.php?...21&postcount=9

search "OnPlayerCommandtext" & "OnPlayerKeyStateChange" for these "bad" loops
do not hesitate to ask if you did not understand me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)