SA-MP Forums Archive
[Help] Server restart - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] Server restart (/showthread.php?tid=415381)



[Help] Server restart - Kudoz - 12.02.2013

Hey guys!

My server keeps restarting everytime someone connects to the server.. I've tried updating sscanf and the streamer but nothing works! Please help me FAST!

- Kudoz.


Re: [Help] Server restart - SilverKiller - 12.02.2013

Probably your OnPlayerConnect got something wrong? show it.


Re: [Help] Server restart - Kudoz - 12.02.2013

It has always been the same, I just randomly restarted the server because it hasn't been restarted for 2 days, so as I did, this happened..

anyways;

Код:
 public OnPlayerConnect(playerid)
{
    new jstring[128];
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername));
    format(jstring, sizeof(jstring), ".: ( {FF6347}%s {33FF00}) has joined the ( {FF6347}DriftDevilz{33FF00} ) :.", playername);
    SendClientMessageToAll(COLOR_GREEN, jstring);
    TextDrawsShown[playerid] = false;
    TextDrawShowForAll(Website);
    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/v8gk2vg1h1/6-30_-_snoop_dogg_and_wiz_khalifa_-_mac_and_devin_go_to_high_school.mp3");
    SetPlayerMapIcon(playerid, 1, -1991.7861,447.2431,35.3338, 18, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 2, -1978.9697,477.1599,35.1719, 27, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 5, -1989.7284,206.1598,27.6799, 29, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 6, -1984.5907,96.2644,27.6875, 10, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 7, -2048.5498,-103.3935,34.7950, 36, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 8, -2167.1455,654.6904,51.9884, 27, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 9, -2709.8076,217.2819,3.7947, 27, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 10, 1553.1205,-1675.4795,15.7222, 30, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 11, 1480.6471,-1745.7032,13.5572, 56, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 12, 1769.5992,-1658.0878,14.0253, 52, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 13, 1803.7263,-1574.9133,13.0237, 23, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 14, 1939.5121,-1773.0956,12.9934, 55, 0, MAPICON_LOCAL);
    isJailed[playerid] = 0;
    //=======================
    RemoveBuildingForPlayer(playerid, 1294, 1753.7656, -1671.3125, 17.2500, 0.25);
	RemoveBuildingForPlayer(playerid, 11039, -2055.3594, -54.0078, 40.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 11162, -2111.2578, 11.0625, 37.3906, 0.25);
	RemoveBuildingForPlayer(playerid, 11163, -2110.8281, -27.3594, 36.9766, 0.25);
	RemoveBuildingForPlayer(playerid, 11269, -2088.0781, 86.1250, 37.3516, 0.25);
	RemoveBuildingForPlayer(playerid, 3869, -2126.2109, 231.9766, 41.6875, 0.25);
	RemoveBuildingForPlayer(playerid, 3869, -2116.6797, 131.0078, 42.1484, 0.25);
	RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
	RemoveBuildingForPlayer(playerid, 3888, -2128.1797, 171.4609, 42.4297, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -2007.1172, 311.3516, 37.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2016.8281, 315.2500, 34.1641, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -2001.2266, 329.3438, 37.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 792, -2012.8672, 398.5313, 34.2734, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -1997.6328, 398.2500, 38.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2010.7266, 358.5391, 38.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 792, -1995.4766, 298.0859, 34.2734, 0.25);
	RemoveBuildingForPlayer(playerid, 792, -1995.2656, 358.7656, 34.2734, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2016.8359, 499.0938, 34.1641, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2036.1406, 508.2422, 38.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -2016.6953, 569.4453, 37.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2010.7422, 438.5391, 38.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 792, -1995.4297, 438.5156, 34.2734, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -1997.6328, 478.2500, 38.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -2007.5156, 495.1953, 37.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2010.7188, 533.5391, 38.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -2007.4844, 554.3984, 37.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 792, -1995.4297, 514.3828, 34.2734, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -2000.4922, 576.8125, 37.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -2000.8906, 514.4688, 37.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
	RemoveBuildingForPlayer(playerid, 11092, -2110.8281, -27.3594, 36.9766, 0.25);
	RemoveBuildingForPlayer(playerid, 11102, -2102.9297, -16.0547, 36.4844, 0.25);
	RemoveBuildingForPlayer(playerid, 11093, -2111.2578, 11.0625, 37.3906, 0.25);
	RemoveBuildingForPlayer(playerid, 11244, -2088.0781, 86.1250, 37.3516, 0.25);
	RemoveBuildingForPlayer(playerid, 3887, -2128.1797, 171.4609, 42.4297, 0.25);
	RemoveBuildingForPlayer(playerid, 3866, -2116.6797, 131.0078, 42.1484, 0.25);
	RemoveBuildingForPlayer(playerid, 3864, -2082.5391, 153.5469, 40.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 3872, -2079.8203, 159.6719, 40.8906, 0.25);
	RemoveBuildingForPlayer(playerid, 3864, -2111.8828, 172.4688, 40.1953, 0.25);
	RemoveBuildingForPlayer(playerid, 3872, -2116.7500, 177.0781, 40.9844, 0.25);
	RemoveBuildingForPlayer(playerid, 3872, -2107.0313, 226.0391, 40.8438, 0.25);
	RemoveBuildingForPlayer(playerid, 3864, -2102.2109, 230.7031, 40.0547, 0.25);
	RemoveBuildingForPlayer(playerid, 3866, -2126.2109, 231.9766, 41.6875, 0.25);
	RemoveBuildingForPlayer(playerid, 10982, -2055.3594, -54.0078, 40.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2017.3672, 23.2891, 31.9531, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2011.6484, -61.3672, 38.1172, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2010.7422, 58.5391, 33.0000, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2010.7422, -21.4609, 38.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2012.2969, 38.4531, 31.9531, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2001.1016, 18.3359, 31.9531, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2016.8594, 103.2891, 26.6797, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2011.7813, 118.4531, 26.6797, 0.25);
	RemoveBuildingForPlayer(playerid, 1350, -2001.0234, 96.1172, 26.6797, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2001.9766, 200.3438, 30.5547, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -1980.4531, 233.4297, 32.6484, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -2010.7266, 238.5391, 31.9141, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -1998.2734, 278.2500, 36.2813, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -1925.2734, 223.2656, 37.3906, 0.25);
	RemoveBuildingForPlayer(playerid, 1365, -1908.7578, 220.1719, 35.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1897.8594, 209.0391, 38.1328, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1898.1172, 207.5938, 38.1172, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1898.3750, 206.1406, 38.0859, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1897.4766, 213.1094, 38.1719, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1897.6641, 211.0703, 38.1563, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1896.9063, 219.2188, 38.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1897.1016, 217.1875, 38.2344, 0.25);
	RemoveBuildingForPlayer(playerid, 1238, -1897.2891, 215.1484, 38.1953, 0.25);
	RemoveBuildingForPlayer(playerid, 1459, -1896.8047, 221.7734, 38.6016, 0.25);
	RemoveBuildingForPlayer(playerid, 1459, -1895.9297, 229.8438, 38.7031, 0.25);
	RemoveBuildingForPlayer(playerid, 1459, -1896.2188, 227.1719, 38.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 1459, -1896.5000, 224.4766, 38.6250, 0.25);
	RemoveBuildingForPlayer(playerid, 10150, -2162.0313, 654.6563, 53.3750, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -1986.2969, 598.8906, 37.9453, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, -1951.5156, 613.0547, 37.9922, 0.25);
	RemoveBuildingForPlayer(playerid, 1312, -1904.7578, 594.3594, 38.3516, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -1902.7578, 594.7266, 37.1719, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -1913.1484, 602.2344, 37.1719, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -1885.6797, 609.6719, 37.1719, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, -1895.6250, 617.0234, 37.1719, 0.25);
	
	RemoveBuildingForPlayer(playerid, 1294, 1753.7656, -1671.3125, 17.2500, 0.25);
	//==========================================================================
	new randomcolor = random(sizeof(PlayerColour));
	SetPlayerColor(playerid,PlayerColour[randomcolor][Colour]);
	return 1;
}



Re: [Help] Server restart - MP2 - 12.02.2013

Use the crashdetect plugin.


Re: [Help] Server restart - Jewell - 13.02.2013

remove this two lines and try

pawn Код:
TextDrawShowForAll(Website); //i think may be this is the problem
    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/v8gk2vg1h1/6-30_-_snoop_dogg_and_wiz_khalifa_-_mac_and_devin_go_to_high_school.mp3");



Re: [Help] Server restart - Kudoz - 13.02.2013

I'll try to remove the AudioStream. The textdraw has been there for weeks! So it can't be that.


Re: [Help] Server restart - Kudoz - 13.02.2013

Код:
 [07:03:48] [debug] System backtrace:
[07:03:48] [debug] #0 ???????? in ?? () from DRIFTDEVILZ.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug] Server crashed while executing DRIFTDEVILZ.amx
[07:03:48] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00003aac in public AutoFix () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:48] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:48] [debug] AMX backtrace:
[07:03:48] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:48] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003aac in public AutoFix () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003aac in public AutoFix () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:47] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:47] [debug] AMX backtrace:
[07:03:47] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:47] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003aac in public AutoFix () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003aac in public AutoFix () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:46] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:46] [debug] AMX backtrace:
[07:03:46] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:46] [debug] Run time error 4: "Array index out of bounds"
[07:03:45] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:45] [debug] AMX backtrace:
[07:03:45] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:45] [debug] Run time error 4: "Array index out of bounds"
[07:03:45] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:45] [debug] AMX backtrace:
[07:03:45] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:45] [debug] Run time error 4: "Array index out of bounds"
[07:03:45] [debug] #0 00002614 in public AngleUpdate () from score.amx
[07:03:45] [debug] AMX backtrace:
[07:03:45] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:45] [debug] Run time error 4: "Array index out of bounds"
[07:03:45] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:45] [debug] AMX backtrace:
[07:03:45] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:45] [debug] Run time error 4: "Array index out of bounds"
[07:03:45] [debug] #0 00003aac in public AutoFix () from score.amx
[07:03:45] [debug] AMX backtrace:
[07:03:45] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:45] [debug] Run time error 4: "Array index out of bounds"
[07:03:45] [debug] #0 00003584 in public CheckPlayerState () from score.amx
[07:03:45] [debug] AMX backtrace:
[07:03:45] [debug]  Accessing element at index 500 past array upper bound 499
[07:03:45] [debug] Run time error 4: "Array index out of bounds"
From the crashdetect.. is the problem in score.amx?


Re: [Help] Server restart - Kudoz - 13.02.2013

when I removed the score.amx, the server actually had no errors on the crashdetect, until I logged in.. :

Код:
 [07:38:02] [debug] System backtrace:
[07:38:02] [debug] #0 ???????? in ?? () from DRIFTDEVILZ.amx
[07:38:02] [debug] AMX backtrace:
[07:38:02] [debug] Server crashed while executing DRIFTDEVILZ.amx
[07:37:51] [join] Kudoz[DDZ] has joined the server (MY IP HERE..)
[07:37:51] [debug] #0 000782b0 in public PingKick () from LuxAdmin.amx
[07:37:51] [debug] AMX backtrace:
[07:37:51] [debug]  Accessing element at index 4 past array upper bound 3
[07:37:51] [debug] Run time error 4: "Array index out of bounds"



AW: [Help] Server restart - Blackazur - 13.02.2013

Код:
new array[MAX_PLAYERS];

public OnPlayerDeath(playerid,killerid,reason)
{
    array[killerid]++;
    return 1;
}



Re: [Help] Server restart - Kudoz - 13.02.2013

Why does it have something to do with OnPlayerDeath? It have always been working. For several months now. I'll try anyways.