Crash Server ?? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Crash Server ?? (
/showthread.php?tid=469722)
Crash Server ?? -
z0nzjn123 - 14.10.2013
I run the server for some time, then turn off the automatic ? Help me !
Server_Log.Txt !
Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[20:58:57]
[20:58:57] Server Plugins
[20:58:57] --------------
[20:58:57] Loading plugin: streamer
[20:58:57]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[20:58:57] Loaded.
[20:58:57] Loading plugin: audio
[20:58:57]
*** Audio Plugin v0.4 by Incognito loaded ***
[20:58:57] Loaded.
[20:58:57] Loading plugin: sscanf
[20:58:57]
[20:58:57] ===============================
[20:58:57] sscanf plugin loaded.
[20:58:57] © 2009 Alex "******" Cole
[20:58:57] 0.3d-R2 500 Players "dnee"
[20:58:57] ===============================
[20:58:57] Loaded.
[20:58:57] Loading plugin: crashdetect
[20:58:57] crashdetect v4.8.5 is OK.
[20:58:57] Loaded.
[20:58:57] Loading plugin: irc.dll
[20:58:57]
*** IRC Plugin v1.4.3 by Incognito loaded ***
[20:58:57] Loaded.
[20:58:57] Loaded 5 plugins.
[20:58:57]
[20:58:57] Ban list
[20:58:57] --------
[20:58:57] Loaded: samp.ban
[20:58:57]
[20:58:57]
[20:58:57] Incoming connection: 42.112.19.147:4696
[20:58:57] Filterscripts
[20:58:57] ---------------
[20:58:57] Loading filterscript 'buttons.amx'...
[20:58:57] Incoming connection: 42.112.19.147:4724
[20:58:57] Loading filterscript 'antispeed.amx'...
[20:58:57] Incoming connection: 115.78.13.182:1483
[20:58:57] Loading filterscript 'vactions.amx'...
[20:58:57] Incoming connection: 115.78.13.182:2107
[20:58:57] Loading filterscript 'damage.amx'...
[20:58:57] Incoming connection: 42.112.19.147:4497
[20:58:58] Incoming connection: 42.112.19.147:4498
[20:58:58] Loading filterscript 'time.amx'...
[20:58:58]
--------------------------------------
[20:58:58] Clock System by Shadow Loaded
[20:58:58] --------------------------------------
[20:58:58] Loading filterscript 'Headshot.amx'...
[20:58:58] Loading filterscript 'Crasher.amx'...
[20:58:58] Incoming connection: 42.112.19.147:4499
[20:58:58] Loaded 7 filterscripts.
[20:58:58] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x26104) (script needs to be recompiled with the latest include file)
[20:58:58]
[20:58:58] =======================================
[20:58:58] | |
[20:58:58] | YSI version 1.03.0011 |
[20:58:58] | By Alex "******" Cole |
[20:58:58] | |
[20:58:58] | Checking the latest YSI version.. |
[20:58:58] | |
[20:58:58] =======================================
[20:58:58]
[20:58:58] *** Audio Plugin: Started TCP server on port 7777
[20:58:58] Gamemode Loading.
[20:58:58] Gamemode Loading.
[20:58:58] Gamemode Loading.
[20:58:58] Loading.
[20:58:58] Incoming connection: 42.112.19.147:4733
[20:58:58] Paintball Arena 1 loaded
[20:58:58] Paintball Arena 2 loaded
[20:58:58] Paintball Arena 3 loaded
[20:58:58] Paintball Arena 4 loaded
[20:58:58] Paintball Arena 5 loaded
[20:58:58] Paintball Arena 6 loaded
[20:58:58] Paintball Arena 7 loaded
[20:58:58] Paintball Arena 8 loaded
[20:58:58] Paintball Arena 9 loaded
[20:58:58] Paintball Arena 10 loaded
[20:58:58] Loading.
[20:58:58] Loading.
[20:58:58] Incoming connection: 42.112.19.147:4523
[20:58:58] Incoming connection: 115.78.13.182:4293
[20:58:58] Loading.
[20:58:58] Loading.
[20:58:58] Loading.
[20:58:59] Incoming connection: 42.112.19.147:3272
[20:59:00] Loading.
[20:59:00] Loading.
[20:59:00] Incoming connection: 42.112.19.147:4142
[20:59:00] Incoming connection: 42.115.21.142:2195
[20:59:10] Incoming connection: 115.78.13.182:3584
[20:59:18] Incoming connection: 115.78.13.182:1484
[20:59:25] Loading.
[20:59:25] Loading.
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [debug] Run time error 4: "Array index out of bounds"
[20:59:25] [debug] Accessing element at index 51 past array upper bound 50
[20:59:25] [debug] AMX backtrace:
[20:59:25] [debug] #0 000008e0 in public FS_CreateButton () from buttons.amx
[20:59:25] [script] 3DTEXTDRAW LIMIT: 1024 (Static, non-streamed) | 3DTEXTDRAW COUNT: 1664
[20:59:25] [script] PICKUP LIMIT: 4096 (Static, non-streamed) | PICKUP COUNT: 1505
[20:59:25] [script] OBJECT LIMIT: 1000 (Static, non-streamed) | OBJECT COUNT: 7944
[20:59:25]
[20:59:25] -------------------------------------------
[20:59:25] Loading...
[20:59:25] Welcome to Next Evolution Roleplay
[20:59:25] -------------------------------------------
[20:59:25]
[20:59:25] Number of vehicle models: 96
[20:59:25]
[20:59:25] ==========================================
[20:59:25] | |
[20:59:25] | A new version (v3.09.0684) of YSI is |
[20:59:25] | available from: |
[20:59:25] | |
[20:59:25] | www.y-less.com/YSI/YSI_1.0.zip |
[20:59:25] | |
[20:59:25] | Changelog: |
[20:59:25] | |
[20:59:25] | 1.04.0000: |
[20:59:25] | |
[20:59:25] | RC 1 for YSI 3.0. Available from: |
[20:59:25] | http://www.y-less.com/YSI/YSI_3.0.rar |
[20:59:25] | - includes MANY new libraries and |
[20:59:25] | fixes, see |
[20:59:25] | http://forum.sa-mp.com/showthread.php? |
[20:59:25] | p=1425938 for more information, with |
[20:59:25] | more topics and updates due over the |
[20:59:25] | next few weeks. In brief: Added |
[20:59:25] | "y_inline", "y_text", "y_users", |
[20:59:25] | "y_uvar", "y_svar", "y_remote"; |
[20:59:25] | updated "y_timers", "y_iter"; MANY |
[20:59:25] | MANY fixes and tweaks in almost every |
[20:59:25] | other library. |
[20:59:25] | |
[20:59:25] | 3.00.0000: |
[20:59:25] | |
[20:59:25] | YSI 3.0 released! Now includes the |
[20:59:25] | "y_text" library for better messages, |
[20:59:25] | and a reworked "y_classes" library. |
[20:59:25] | Largely documented here |
[20:59:25] | "http://forum.sa-mp.com/showthread.php |
[20:59:25] | ?t=321092". |
[20:59:25] | |
[20:59:25] | 3.01.0002: |
[20:59:25] | |
[20:59:25] | Small fixes to "y_text" and |
[20:59:25] | "y_classes". |
[20:59:25] | |
[20:59:25] | 3.09.0684: |
[20:59:25] | |
[20:59:25] | Reverted to old download location. |
[20:59:25] | Improved (and fixed) version checks; |
[20:59:25] | added y_bitmap, y_areas, y_races, |
[20:59:25] | y_zonenames, better documentation; |
[20:59:25] | MANY other bug fixes - see the github |
[20:59:25] | repository for more details: |
[20:59:25] | |
[20:59:25] ==========================================
[21:04:33] [debug] Run time error 4: "Array index out of bounds"
[21:04:33] [debug] Accessing element at index 999 past array upper bound 500
[21:04:33] [debug] AMX backtrace:
[21:04:33] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:04:34] [debug] Run time error 4: "Array index out of bounds"
[21:04:34] [debug] Accessing element at index 999 past array upper bound 500
[21:04:34] [debug] AMX backtrace:
[21:04:34] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:04:42] [debug] Run time error 4: "Array index out of bounds"
[21:04:42] [debug] Accessing element at index 999 past array upper bound 500
[21:04:42] [debug] AMX backtrace:
[21:04:42] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:04:55] [debug] Run time error 4: "Array index out of bounds"
[21:04:55] [debug] Accessing element at index 999 past array upper bound 500
[21:04:55] [debug] AMX backtrace:
[21:04:55] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:04:57] [debug] Run time error 4: "Array index out of bounds"
[21:04:57] [debug] Accessing element at index 999 past array upper bound 500
[21:04:57] [debug] AMX backtrace:
[21:04:57] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:04:57] [zcmd] [Jame Jocker]: /newb @12 lon sever rui`
[21:04:57] [debug] Run time error 4: "Array index out of bounds"
[21:04:57] [debug] Accessing element at index 999 past array upper bound 500
[21:04:57] [debug] AMX backtrace:
[21:04:57] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:05:07] [debug] Run time error 4: "Array index out of bounds"
[21:05:07] [debug] Accessing element at index 999 past array upper bound 500
[21:05:07] [debug] AMX backtrace:
[21:05:07] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:05:11] [debug] Run time error 4: "Array index out of bounds"
[21:05:11] [debug] Accessing element at index 999 past array upper bound 500
[21:05:11] [debug] AMX backtrace:
[21:05:11] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:05:12] [debug] Run time error 4: "Array index out of bounds"
[21:05:12] [debug] Accessing element at index 999 past array upper bound 500
[21:05:12] [debug] AMX backtrace:
[21:05:12] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:05:12] [debug] Run time error 4: "Array index out of bounds"
[21:05:12] [debug] Accessing element at index 999 past array upper bound 500
[21:05:12] [debug] AMX backtrace:
[21:05:12] [debug] #0 0006e2dc in public OnPlayerStateChange () from SFNERP.amx
[21:05:13] [debug] Server crashed due to an unknown error
[21:05:13] [debug] System backtrace:
[21:05:14] [debug] #0 7c833a2a in RtlGetFullPathName_UstrEx () from C:\WINDOWS\system32\ntdll.dll
[21:05:14] [debug] #1 7c82b5fb in wcscpy () from C:\WINDOWS\system32\ntdll.dll
[21:05:14] [debug] #2 00492a06 in ?? () from C:\Documents and Settings\Administrator\Desktop\Server\samp-server.exe
[21:05:14] [debug] #3 00492a28 in ?? () from C:\Documents and Settings\Administrator\Desktop\Server\samp-server.exe
[21:05:14] [debug] #4 01dd1020 in ?? ()
----------
Loaded log file: "server_log.txt".
----------
Help me !
Re: Crash Server ?? -
Konstantinos - 14.10.2013
Show us FS_CreateButton and OnPlayerStateChange.
You need to update your plugins/includes too. Your sscanf plugin is very old version.
Re: Crash Server ?? -
z0nzjn123 - 14.10.2013
My OnPlayerStateChange
Attach Files
Re: Crash Server ?? -
Konstantinos - 14.10.2013
The problem was probably on the second:
pawn Код:
new spectator = GettingSpectated[playerid];
You did not check if it's not 999 before using it in
PlayerInfo[spectator][pAdmin].
Re: Crash Server ?? -
z0nzjn123 - 14.10.2013
Код:
warning 219: local variable "spectator" shadows a variable at a preceding level
warning 219: local variable "spectator" shadows a variable at a preceding level
warning 203: symbol is never used: "spectator"
Warning
Re: Crash Server ?? -
Konstantinos - 14.10.2013
Actually, I added an if check above and the rest was your code; thus it should've given you the same warnings when you compiled.
Anyways, replace the second spectator to spectator_
Re: Crash Server ?? -
z0nzjn123 - 15.10.2013
Код:
[debug] Server crashed while executing SFNERP.amx
[debug] AMX backtrace:
[debug] #0 native Streamer_UpdateEx () [10013110] from streamer.dll
[debug] #1 00046a50 in ?? () from SFNERP.amx
[debug] #2 004412b8 in public @yT_10000_MainMenuUpdate () from SFNERP.amx
[debug] System backtrace:
[debug] #0 00492ac1 in ?? () from C:\Documents and Settings\Administrator\Desktop\Server\samp-server.exe
[debug] #1 004650df in ?? () from C:\Documents and Settings\Administrator\Desktop\Server\samp-server.exe
MainMenuUpdate
pawn Код:
Timer:MainMenuUpdate[10000]()
{
foreach(Player, i)
{
if(PlayersConnected > 490)
{
if(playerTabbedTime[i] > 60 && PlayerInfo[i][pShopTech] < 1 && PlayerInfo[i][pAdmin] < 4)
{
Kick(i);
}
else if(playerAFK[i] != 0 && playerAFKTime[i] > 300 && PlayerInfo[i][pShopTech] < 1 && PlayerInfo[i][pAdmin] < 4)
{
Kick(i);
}
}
new string[768];
if(InsideMainMenu[i] == 1)
{
TextDrawSetString(MainMenuTxtdraw[7], Tooltips[random(sizeof(Tooltips))]);
format(string, sizeof(string), "Logins: ~y~%d~w~ | Connections: ~y~%d~w~ | Registrations: ~y~%d~w~ | Hackers Autobanned: ~y~%d~w~ | Players Connected: ~y~%d~w~ | Peak Players: ~y~%d (%d/%d/%d)~w~", TotalLogin, TotalConnect, TotalRegister, TotalAutoBan, PlayersConnected, MaxPlayersConnected, MPDay,MPMonth,MPYear);
TextDrawSetString(MainMenuTxtdraw[8], string);
format(string, sizeof(string), "~y~MOTD~w~: %s", GlobalMOTD);
TextDrawSetString(MainMenuTxtdraw[9], string);
SetPlayerJoinCamera(i);
}
else if(InsideTut[i] == 1)
{
TextDrawSetString(MainMenuTxtdraw[7], Tooltips[random(sizeof(Tooltips))]);
format(string, sizeof(string), "Logins: ~y~%d~w~ | Connections: ~y~%d~w~ | Registrations: ~y~%d~w~ | Hackers Autobanned: ~y~%d~w~ | Players Connected: ~y~%d~w~ | Peak Players: ~y~%d (%d/%d/%d)~w~", TotalLogin, TotalConnect, TotalRegister, TotalAutoBan, PlayersConnected, MaxPlayersConnected, MPDay,MPMonth,MPYear);
TextDrawSetString(MainMenuTxtdraw[8], string);
format(string, sizeof(string), "~y~MOTD~w~: %s", GlobalMOTD);
TextDrawSetString(MainMenuTxtdraw[9], string);
}
}
}