Script Crash.
#1

Hello, my script is crashing, there's report.

Код:
[20:01:52] [join] Rafferty_Whitehall has joined the server (2:89.173.69.214)
[20:01:52] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[20:01:52] [debug]  Stack pointer (STK) is 0x116DBB4, heap pointer (HEA) is 0x116DB7C
[20:01:52] [debug] AMX backtrace:
[20:01:52] [debug] #0 00048c28 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #1 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #2 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #3 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #4 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #5 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #6 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #7 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #8 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #9 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #10 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #11 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #12 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #13 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #14 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #15 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #16 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #17 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #18 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #19 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #20 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #21 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #22 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #23 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #24 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #25 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #26 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #27 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #28 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #29 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #30 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #31 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #32 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #33 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #34 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #35 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #36 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #37 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #38 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #39 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #40 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #41 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #42 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #43 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #44 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #45 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #46 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #47 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #48 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #49 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #50 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #51 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #52 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #53 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #54 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #55 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #56 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #57 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #58 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #59 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #60 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #61 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #62 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #63 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #64 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #65 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #66 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #67 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #68 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #69 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #70 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #71 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #72 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #73 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #74 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #75 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #76 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #77 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #78 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #79 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #80 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #81 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #82 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #83 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #84 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #85 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #86 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #87 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #88 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #89 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #90 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #91 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #92 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #93 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #94 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #95 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #96 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #97 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #98 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #99 00048ea4 in ?? (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #100 00048ea4 in public GAC_OnPlayerConnect (2, -1, 17162768) from clrp.amx
[20:01:52] [debug] #101 native CallLocalFunction () from 7777svr
[20:01:52] [debug] #102 00016054 in public SSCANF_OnPlayerConnect (2) from clrp.amx
[20:01:52] [debug] #103 000005d4 in public OnPlayerConnect (2) from clrp.amx
Код:
public OnPlayerConnect(playerid) {

    SetPlayerColor(playerid, COLOR_GRAY);
    
    camId[playerid] = random(6);
	if(camId[playerid] == 0) PlayAudioStreamForPlayer(playerid, "http://rl-rp.ga/downloads/palomino.mp3");
	else if(camId[playerid] == 1) PlayAudioStreamForPlayer(playerid, "http://rl-rp.ga/downloads/chapman.mp3");
	else if(camId[playerid] == 2) PlayAudioStreamForPlayer(playerid, "http://rl-rp.ga/downloads/dillimore.mp3");
	else if(camId[playerid] == 3) PlayAudioStreamForPlayer(playerid, "http://rl-rp.ga/downloads/carson.mp3");
	else if(camId[playerid] == 4) PlayAudioStreamForPlayer(playerid, "http://rl-rp.ga/downloads/outlaws.mp3");
	else PlayAudioStreamForPlayer(playerid, "http://rl-rp.ga/downloads/spawn.mp3");
    LoadRemObjFromFile(playerid, "removeobjects.txt");
    RemoveBuildingForPlayer(playerid, 5430, 2148.9531, -1791.8359, 19.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 5531, 2148.9531, -1791.8359, 19.1016, 0.25);
    
    TogglePlayerSpectating(playerid, 1);
	for(new i; i < 100; i++) SendClientMessageEx(playerid, COLOR_WHITE, " ");
	SetTimerEx("ClearChatForPlayer", 50, false, "ii", playerid,100);
	SetTimerEx("ClearChatForPlayer", 150, false, "ii", playerid,100);
	SetTimerEx("ClearChatForPlayer", 300, false, "ii", playerid,100);
	SetTimerEx("ClearChatForPlayer", 1000, false, "ii", playerid,100);

    SetTimerEx("SetPlayerCameraPosLogin", 1000, false, "i", playerid);
    /*SetTimerEx("SetPlayerCameraPosLogin", 2000, false, "i", playerid);
    SetTimerEx("SetPlayerCameraPosLogin", 3000, false, "i", playerid);
    SetTimerEx("SetPlayerCameraPosLogin", 4000, false, "i", playerid);
    SetTimerEx("SetPlayerCameraPosLogin", 5000, false, "i", playerid);*/
	SetTimerEx("OnPlayerConnectEx", 4000, false, "i", playerid);
	return 1;
}
Please help me, it is really urgent.
Reply


Messages In This Thread
Script Crash. - by Bigwebicek - 18.09.2016, 16:18
Re: Script Crash. - by Bigwebicek - 18.09.2016, 16:55
Re: Script Crash. - by Bigwebicek - 18.09.2016, 18:01
Re: Script Crash. - by Konstantinos - 18.09.2016, 18:14
Re: Script Crash. - by Bigwebicek - 18.09.2016, 18:38
Re: Script Crash. - by Konstantinos - 18.09.2016, 19:23
Re: Script Crash. - by Bigwebicek - 19.09.2016, 11:34
Re: Script Crash. - by Konstantinos - 19.09.2016, 11:46
Re: Script Crash. - by Bigwebicek - 19.09.2016, 12:54
Re: Script Crash. - by Bigwebicek - 19.09.2016, 14:51

Forum Jump:


Users browsing this thread: 3 Guest(s)