28.11.2014, 20:36
When someone logs in and play 5-10 mins then the server crash him auto. I don't know how to find the problem. Can someone help me please.
Thanks.
Thanks.
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3z, ©2005-2014 SA-MP Team [23:29:26] password = "" (string) [23:29:26] [23:29:26] Server Plugins [23:29:26] -------------- [23:29:26] Loading plugin: Whirlpool [23:29:26] [23:29:26] ================== [23:29:26] [23:29:26] Whirlpool loaded [23:29:26] [23:29:26] ================== [23:29:26] [23:29:26] Loaded. [23:29:26] Loading plugin: sscanf [23:29:26] [23:29:26] =============================== [23:29:26] sscanf plugin loaded. [23:29:26] © 2009 Alex "******" Cole [23:29:26] 0.3d-R2 500 Players "dnee" [23:29:26] =============================== [23:29:26] Loaded. [23:29:26] Loading plugin: streamer [23:29:26] *** Streamer Plugin v2.6.1 by Incognito loaded *** [23:29:26] Loaded. [23:29:26] Loaded 3 plugins. [23:29:26] [23:29:26] Filterscripts [23:29:26] --------------- [23:29:26] Loading filterscript 'map.amx'... [23:29:26] Loading filterscript 'map2.amx'... [23:29:26] Loading filterscript 'pm.amx'... [23:29:26] Loading filterscript 'ct.amx'... [23:29:26] Loading filterscript 'anim.amx'... [23:29:26] Loading filterscript 'lightcontrol.amx'... [23:29:26] Loading filterscript 'gl_mapicon.amx'... [23:29:26] Loading filterscript 'pcar.amx'... [23:29:26] Loading filterscript 'House.amx'... [23:29:26] [23:29:26] [23:29:26] [23:29:26] ======================================= [23:29:26] | | [23:29:26] | YSI version 3.09.0684 | [23:29:26] | By Alex "******" Cole | [23:29:26] | | [23:29:26] ======================================= [23:29:26] [23:29:26] [23:29:26] [23:29:26] Total House Interiors Loaded: 16. Duration: 5 ms [23:29:27] Total Houses Loaded: 1084. Duration: 1029 ms [23:29:27] Loading filterscript 'admin.amx'... [23:29:27] [23:29:27] [23:29:27] [23:29:27] ======================================= [23:29:27] | | [23:29:27] | YSI version 3.09.0684 | [23:29:27] | By Alex "******" Cole | [23:29:27] | | [23:29:27] ======================================= [23:29:27] [23:29:27] [23:29:27] [23:29:27] Loading filterscript 'titanic.amx'... [23:29:27] Loaded 11 filterscripts. [23:29:27] [23:29:27] [23:29:27] [23:29:27] ======================================= [23:29:27] | | [23:29:27] | YSI version 3.09.0684 | [23:29:27] | By Alex "******" Cole | [23:29:27] | | [23:29:27] ======================================= [23:29:27] [23:29:27] Number of vehicle models: 27 [23:29:27] [23:29:27] ========================================== [23:29:27] | | [23:29:27] | A new version (v<html> ) of YSI is | [23:29:27] | available from: | [23:29:27] | | [23:29:27] | www.y-less.com/YSI/YSI_1.0.zip | [23:29:27] | | [23:29:27] ========================================== [23:29:27] [23:29:28] [23:29:28] ========================================== [23:29:28] | | [23:29:28] | A new version (v<html> ) of YSI is | [23:29:28] | available from: | [23:29:28] | | [23:29:28] | www.y-less.com/YSI/YSI_1.0.zip | [23:29:28] | | [23:29:28] ========================================== [23:29:28]
Do you have numerous of timers repeating or w/e? |
Is OnPlayerUpdate returning values, and/or does it contain large amounts of scripts or never ending loops that could get tied up? |
public OnPlayerUpdate(playerid) { if(GetPlayerSpeed(playerid) > 650) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { Cheater(playerid); } } return 1; } //****************************************** stock Cheater(playerid) { new string[128], tt[MAX_PLAYER_NAME]; GetPlayerName(playerid, tt, sizeof(tt)); format(string, sizeof(string), "%s Car Swing", tt); SendClientMessageToAll(RED, string); Kick(playerid); }
public OnPlayerUpdate(playerid) { new string[128]; new plneim[32]; GetPlayerName(playerid, plneim, sizeof(plneim)); if(GetPlayerPing(playerid) >= MAX_PING) { format(string, sizeof (string), "%s High Ping", plneim); SendClientMessageToAll(RED, string); Kick(playerid); } return 1; }
Is there a missing include or folder that's required? |
Has it ever worked this script? |
What happens if you remove the ping detection? |
Perhaps something on connect/before spawn ect. is causing a higher ping -> then kicking? |
Player's ping may be 65535 for a while after a player connects |