Help.. Erors
#1

Help me.. i have eror problems.
can help? i use Crashdetect, and have erors

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[08:30:29filterscripts ""  (string)
[
08:30:29
[
08:30:29Server Plugins
[08:30:29] --------------
[
08:30:29]  Loading pluginmysql
[08:30:29]  >> plugin.mysqlR38 successfully loaded.
[
08:30:29]   Loaded.
[
08:30:29]  Loading pluginEncrypt
[08:30:29
[
08:30:29______________________________________
[08:30:29]  Encrypt Plugin v0.1 loaded
[08:30:29______________________________________
[08:30:29]  ByFro (cCopyright <TBG2009-2010
[08:30:29______________________________________
[08:30:29]   Loaded.
[
08:30:29]  Loading plugincrashdetect
[08:30:30]   CrashDetect v4.17 is OK.
[
08:30:30]   Loaded.
[
08:30:30]  Loading pluginstreamer
[08:30:30
*** 
Streamer Plugin v2.8.2 by Incognito loaded ***
[
08:30:30]   Loaded.
[
08:30:30]  Loading pluginirc
[08:30:30
*** 
IRC Plugin v1.4.8 by Incognito loaded ***
[
08:30:30]   Loaded.
[
08:30:30]  Loading pluginCTime
[08:30:30]  
 
» CTime Library Plugin For Pawn v0.1.0 Copyright © 2011 RyDeR` 
 
[08:30:30]   Loaded.
[08:30:30]  Loading plugin: sscanf
[08:30:30] 
[08:30:30]  ===============================
[08:30:30]       sscanf plugin loaded.     
[08:30:30]    © 2009 Alex "******" Cole
[08:30:30]    0.3d-R2 500 Players "dnee"
[08:30:30]  ===============================
[08:30:30]   Loaded.
[08:30:30]  Loading plugin: gvar
[08:30:30] 
*** GVar Plugin v1.3 by Incognito loaded ***
[08:30:30]   Loaded.
[08:30:30]  Loaded 8 plugins.
[08:30:30] 
[08:30:30] Ban list
[08:30:30] --------
[08:30:30]  Loaded: samp.ban
[08:30:30] 
[08:30:30] 
[08:30:30] Filterscripts
[08:30:30] ---------------
[08:30:30]   Loaded 0 filterscripts.
[08:30:31] Number of houses loaded: 0
[08:30:31] Gates loaded successfully.
[08:30:32] Memuat Database Dynamic Objects Server...
[08:30:32] 
 - - - - - - - - - - - - - - - - - - -    
[08:30:32] 
       NFS :: New Freeroam Stunt               
[08:30:32] 
  © Dandy And Miftahul Jannah - Build 26!
[08:30:32] 
 - - - - - - - - - - - - - - - - - - - 
[08:30:32] Number of objects loaded: 828
[08:30:32] Number of vehicles loaded: 1198
[08:30:32] Number of vehicle models: 102
[08:30:32] Number of houses loaded: 568
[08:30:56] IRC_OnConnect(1): Bot ircBot[1] has connected.
[08:30:57] IRC_OnJoinChannel(1): Bot ircBot[1] has joined #New-Freeroam-Stunt.
[08:30:57] IRC_OnJoinChannel(1): Bot ircBot[1] has joined #NFS.Staff.
[08:30:57] IRC_OnConnect(3): Bot ircBot[3] has connected.
[08:30:58] IRC_OnJoinChannel(3): Bot ircBot[3] has joined #New-Freeroam-Stunt.
[08:30:58] IRC_OnJoinChannel(3): Bot ircBot[3] has joined #NFS.Staff.
[08:30:59] [debug] Run time error 4: "Array index out of bounds"
[08:30:59] [debug]  Attempted to read/write array element at index 9 in array of size 9
[08:30:59] [debug] AMX backtrace:
[08:30:59] [debug] #0 0021f070 in public IRC_OnDisconnect (9, 18779972, 6667, 18779924) from NFS26.amx
[08:31:00] [debug] Run time error 4: "Array index out of bounds"
[08:31:00] [debug]  Attempted to read/write array element at index 10 in array of size 9
[08:31:00] [debug] AMX backtrace:
[08:31:00] [debug] #0 0021f070 in public IRC_OnDisconnect (10, 18779972, 6667, 18779924) from NFS26.amx
[08:31:00] [debug] Run time error 4: "Array index out of bounds"
[08:31:00] [debug]  Attempted to read/write array element at index 13 in array of size 9
[08:31:00] [debug] AMX backtrace:
[08:31:00] [debug] #0 0021f070 in public IRC_OnDisconnect (13, 18779972, 6667, 18779924) from NFS26.amx
[08:31:00] [debug] Run time error 4: "Array index out of bounds"
[08:31:00] [debug]  Attempted to read/write array element at index 12 in array of size 9
[08:31:00] [debug] AMX backtrace:
[08:31:00] [debug] #0 0021f070 in public IRC_OnDisconnect (12, 18780172, 6667, 18779924) from NFS26.amx
[08:31:00] [debug] Run time error 4: "Array index out of bounds"
[08:31:00] [debug]  Attempted to read/write array element at index 11 in array of size 9
[08:31:00] [debug] AMX backtrace:
[08:31:00] [debug] #0 0021f070 in public IRC_OnDisconnect (11, 18780172, 6667, 18779924) from NFS26.amx
[08:31:00] [debug] Run time error 4: "Array index out of bounds"
[08:31:00] [debug]  Attempted to read/write array element at index 14 in array of size 9
[08:31:00] [debug] AMX backtrace:
[08:31:00] [debug] #0 0021f070 in public IRC_OnDisconnect (14, 18779972, 6667, 18779924) from NFS26.amx
[08:31:03] [debug] Run time error 4: "Array index out of bounds"
[08:31:03] [debug]  Attempted to read/write array element at index 16 in array of size 9
[08:31:03] [debug] AMX backtrace:
[08:31:03] [debug] #0 0021f070 in public IRC_OnDisconnect (16, 18779972, 6667, 18779924) from NFS26.amx
[08:31:03] [debug] Run time error 4: "Array index out of bounds"
[08:31:03] [debug]  Attempted to read/write array element at index 15 in array of size 9
[08:31:03] [debug] AMX backtrace:
[08:31:03] [debug] #0 0021f070 in public IRC_OnDisconnect (15, 18779972, 6667, 18779924) from NFS26.amx
[08:31:29] [debug] Run time error 4: "Array index out of bounds"
[08:31:29] [debug]  Attempted to read/write array element at index 9 in array of size 9
[08:31:29] [debug] AMX backtrace:
[08:31:29] [debug] #0 0021f070 in public IRC_OnDisconnect (9, 18780172, 6667, 18779924) from NFS26.amx
[08:31:29] [debug] Run time error 4: "Array index out of bounds"
[08:31:29] [debug]  Attempted to read/write array element at index 10 in array of size 9
[08:31:29] [debug] AMX backtrace:
[08:31:29] [debug] #0 0021f070 in public IRC_OnDisconnect (10, 18779972, 6667, 18779924) from NFS26.amx
[08:31:29] [debug] Run time error 4: "Array index out of bounds"
[08:31:29] [debug]  Attempted to read/write array element at index 13 in array of size 9
[08:31:29] [debug] AMX backtrace: 
Reply
#2

you seem to have problems when it comes to arrays,
remember, start index will always be 0 and the last index will be size -1
important: check your loops

example:
Код:
new abc[5];
//valid indexes of "abc" are 0, 1, 2, 3, 4
//with 0 being the first, 4 the last and 2 being the median
also see: http://forum.sa-mp.com/showpost.php?...21&postcount=9

//EDIT: im off to sleep its 2am, hope this helped
Reply


Forum Jump:


Users browsing this thread: