Hi Community,
mein Server crasht sobald ich doppelt ein Command eingebe.
Beim Crashdetect kam folgendes herraus:
Command:
ocmd:race(playerid, params[])
{
modus[playerid] = 2;
SetPlayerVirtualWorld(playerid, 2);
//TogglePlayerControllable(playerid, 0);
//new Float:x, Float:y, Float:z;
//GetPlayerPos(playerid, x, y, z);
//SetPlayerPos(playerid, x-10, y-10, z-10);
for (new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i) && modus[i] == 2)
{
if (alive[i] == 0)
{
LoadRandomMap();
StartRace(playerid, 5000);
}
else
{
//Wenn noch welche Fahren
new vID = GetPlayerVehicleID(i);
PlayerSpectateVehicle(playerid, vID);
specid[playerid] = i;
}
return 1;
}
}
new string[128];
format(string, 128, "Modus: %i", modus[playerid]);
SendClientMessage(playerid, -1, string);
return 1;
}
[16:55:55] [debug] Server crashed while executing selfmade.amx
[16:55:55] [debug] AMX backtrace:
[16:55:55] [debug] #0 native fread () from samp-server.exe
[16:55:55] [debug] #1 00009d38 in ?? (6853612) from selfmade.amx
[16:55:55] [debug] #2 00009c50 in ?? (6855232, 0) from selfmade.amx
[16:55:55] [debug] #3 00008c10 in ?? (0) from selfmade.amx
[16:55:55] [debug] #4 0002fb08 in public ocmd_race (0, 6839496) from selfmade.amx
[16:55:55] [debug] #5 native CallLocalFunction () from samp-server.exe
[16:55:55] [debug] #6 000061a8 in public OnPlayerCommandText (0, 6839472) from selfmade.amx
[16:55:56] [debug] Native backtrace:
[16:55:56] [debug] #0 77d877b2 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:55:56] [debug] #1 004972e0 in ?? () from samp-server.exe
[16:55:56] [debug] #2 00497910 in ?? () from samp-server.exe
[16:55:56] [debug] #3 00404f44 in ?? () from samp-server.exe
[16:55:56] [debug] Server crashed while executing selfmade.amx
[16:55:56] [debug] AMX backtrace:
[16:55:56] [debug] #0 native fread () from samp-server.exe
[16:55:56] [debug] #1 00009d38 in public ocmd_race (0, 6839472) from selfmade.amx
[16:55:56] [debug] #2 native CallLocalFunction () from samp-server.exe
[16:55:56] [debug] #3 000061a8 in public OnPlayerCommandText (0, 6839472) from selfmade.amx
[16:55:56] [debug] Native backtrace:
[16:55:56] [debug] #0 77d95f99 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:55:56] [debug] #1 77d96287 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:55:56] [debug] #2 77d965a6 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:55:56] [debug] #3 77edbbe4 in ?? () from C:\Windows\system32\kernel32.dll
[16:55:56] [debug] #4 00497541 in ?? () from samp-server.exe
[16:55:56] [debug] #5 0044e119 in ?? () from samp-server.exe
[16:55:56] [debug] #6 00458bec in ?? () from samp-server.exe
[16:55:56] [debug] #7 00010100 in ?? ()
[16:55:56] [debug] #8 0045a360 in ?? () from samp-server.exe
[16:55:56] [debug] #9 0045a600 in ?? () from samp-server.exe
[16:55:56] [debug] #10 0045b040 in ?? () from samp-server.exe
[16:55:56] [debug] #11 00450660 in ?? () from samp-server.exe
[16:55:56] [debug] #12 00450670 in ?? () from samp-server.exe
[16:55:56] [debug] #13 00450680 in ?? () from samp-server.exe
[16:55:56] [debug] #14 004506d0 in ?? () from samp-server.exe
[16:55:56] [debug] #15 00458180 in ?? () from samp-server.exe
[16:55:56] [debug] #16 0045b050 in ?? () from samp-server.exe
[16:55:56] [debug] #17 0045b060 in ?? () from samp-server.exe
[16:55:56] [debug] #18 00450720 in ?? () from samp-server.exe
[16:55:56] [debug] #19 0045b070 in ?? () from samp-server.exe
[16:55:56] [debug] #20 0045b080 in ?? () from samp-server.exe
[16:55:56] [debug] #21 0045b640 in ?? () from samp-server.exe
[16:55:56] [debug] #22 0045b090 in ?? () from samp-server.exe
[16:55:56] [debug] #23 00450830 in ?? () from samp-server.exe
[16:55:56] [debug] #24 0045b0a0 in ?? () from samp-server.exe
[16:55:56] [debug] #25 0045b0b0 in ?? () from samp-server.exe
[16:55:56] [debug] #26 0045b0c0 in ?? () from samp-server.exe
[16:55:56] [debug] #27 0045b0d0 in ?? () from samp-server.exe
[16:55:56] [debug] #28 0045b0e0 in ?? () from samp-server.exe
[16:55:56] [debug] #29 00458630 in ?? () from samp-server.exe
[16:55:56] [debug] #30 0045b0f0 in ?? () from samp-server.exe
[16:55:56] [debug] #31 0045b100 in ?? () from samp-server.exe
[16:55:56] [debug] #32 00452190 in ?? () from samp-server.exe
[16:55:56] [debug] #33 0045b110 in ?? () from samp-server.exe
[16:55:56] [debug] #34 0045b120 in ?? () from samp-server.exe
[16:55:56] [debug] #35 0045b130 in ?? () from samp-server.exe
[16:55:56] [debug] #36 00452390 in ?? () from samp-server.exe
[16:55:56] [debug] #37 00458660 in ?? () from samp-server.exe
[16:55:56] [debug] #38 0045b140 in ?? () from samp-server.exe
[16:55:56] [debug] #39 00455d10 in ?? () from samp-server.exe
[16:55:56] [debug] #40 00455d60 in ?? () from samp-server.exe
[16:55:56] [debug] #41 00450970 in ?? () from samp-server.exe
[16:55:56] [debug] #42 00455da0 in ?? () from samp-server.exe
[16:55:56] [debug] #43 00455df0 in ?? () from samp-server.exe
[16:55:56] [debug] #44 00458680 in ?? () from samp-server.exe
[16:55:56] [debug] #45 0045b150 in ?? () from samp-server.exe
[16:55:56] [debug] #46 0045b160 in ?? () from samp-server.exe
[16:55:56] [debug] #47 004509f0 in ?? () from samp-server.exe
[16:55:56] [debug] #48 0045b170 in ?? () from samp-server.exe
[16:55:56] [debug] #49 0045b180 in ?? () from samp-server.exe
[16:55:56] [debug] #50 0045b190 in ?? () from samp-server.exe
[16:55:56] [debug] #51 0045b1a0 in ?? () from samp-server.exe
[16:55:56] [debug] #52 0045b1b0 in ?? () from samp-server.exe
[16:55:56] [debug] #53 00450b60 in ?? () from samp-server.exe
[16:55:56] [debug] #54 00450ee0 in ?? () from samp-server.exe
[16:55:56] [debug] #55 00450bb0 in ?? () from samp-server.exe
[16:55:56] [debug] #56 0045b1c0 in ?? () from samp-server.exe
[16:55:56] [debug] #57 00450bc0 in ?? () from samp-server.exe
[16:55:56] [debug] #58 00450c10 in ?? () from samp-server.exe
[16:55:56] [debug] #59 00450c60 in ?? () from samp-server.exe
[16:55:56] [debug] #60 00450c70 in ?? () from samp-server.exe
[16:55:56] [debug] #61 0045b1d0 in ?? () from samp-server.exe
[16:55:56] [debug] #62 0045b1e0 in ?? () from samp-server.exe
[16:55:56] [debug] #63 0045b1f0 in ?? () from samp-server.exe
[16:55:56] [debug] #64 0045b200 in ?? () from samp-server.exe
[16:55:56] [debug] #65 0045b210 in ?? () from samp-server.exe
[16:55:56] [debug] #66 0045b220 in ?? () from samp-server.exe
[16:55:56] [debug] #67 0045b230 in ?? () from samp-server.exe
[16:55:56] [debug] #68 0045b240 in ?? () from samp-server.exe
[16:55:56] [debug] #69 0045b250 in ?? () from samp-server.exe
[16:55:56] [debug] #70 0045b260 in ?? () from samp-server.exe
[16:55:56] [debug] #71 0045b270 in ?? () from samp-server.exe
[16:55:57] [debug] #72 0045b280 in ?? () from samp-server.exe
[16:55:57] [debug] #73 0045b290 in ?? () from samp-server.exe
[16:55:57] [debug] #74 00455ec0 in ?? () from samp-server.exe
[16:55:57] [debug] #75 0045b310 in ?? () from samp-server.exe
[16:55:57] [debug] #76 0045a7b0 in ?? () from samp-server.exe
[16:55:57] [debug] #77 0045a780 in ?? () from samp-server.exe
[16:55:57] [debug] #78 0045a7a0 in ?? () from samp-server.exe
[16:55:57] [debug] #79 0045a830 in ?? () from samp-server.exe
[16:55:57] [debug] #80 0045a870 in ?? () from samp-server.exe
[16:55:57] [debug] #81 0045a890 in ?? () from samp-server.exe
[16:55:57] [debug] #82 0045a8e0 in ?? () from samp-server.exe
[16:55:57] [debug] #83 0045a8a0 in ?? () from samp-server.exe
[16:55:57] [debug] #84 0045b330 in ?? () from samp-server.exe
[16:55:57] [debug] #85 0045b380 in ?? () from samp-server.exe
[16:55:57] [debug] #86 0045a920 in ?? () from samp-server.exe
[16:55:57] [debug] #87 0045a950 in ?? () from samp-server.exe
[16:55:57] [debug] #88 0045a960 in ?? () from samp-server.exe
[16:55:57] [debug] #89 0045a970 in ?? () from samp-server.exe
[16:55:57] [debug] #90 0045a980 in ?? () from samp-server.exe
[16:55:57] [debug] #91 0045a9a0 in ?? () from samp-server.exe
[16:55:57] [debug] #92 0045a9e0 in ?? () from samp-server.exe
[16:55:57] [debug] #93 0045aa00 in ?? () from samp-server.exe
[16:55:57] [debug] #94 0045aa20 in ?? () from samp-server.exe
[16:55:57] [debug] #95 0045aa40 in ?? () from samp-server.exe
[16:55:57] [debug] #96 0045aa60 in ?? () from samp-server.exe
[16:55:57] [debug] #97 0045aa70 in ?? () from samp-server.exe
[16:55:57] [debug] #98 0045aa80 in ?? () from samp-server.exe
[16:55:57] [debug] #99 0045aa90 in ?? () from samp-server.exe
[16:55:57] [debug] #100 0045aaa0 in ?? () from samp-server.exe
[16:55:57] [debug] #101 0045aab0 in ?? () from samp-server.exe
[16:55:57] [debug] #102 0045aac0 in ?? () from samp-server.exe
[16:55:57] [debug] #103 0045aad0 in ?? () from samp-server.exe
[16:55:57] [debug] #104 0045aae0 in ?? () from samp-server.exe
[16:55:57] [debug] #105 0045aaf0 in ?? () from samp-server.exe
[16:55:57] [debug] #106 0045ab00 in ?? () from samp-server.exe
[16:55:57] [debug] #107 0045ac30 in ?? () from samp-server.exe
[16:55:57] [debug] #108 0045ab70 in ?? () from samp-server.exe
[16:55:57] [debug] #109 0045ab10 in ?? () from samp-server.exe
[16:55:57] [debug] #110 0045abd0 in ?? () from samp-server.exe
[16:55:57] [debug] #111 0045ac90 in ?? () from samp-server.exe
[16:55:57] [debug] #112 0045acc0 in ?? () from samp-server.exe
[16:55:57] [debug] #113 0045acd0 in ?? () from samp-server.exe
[16:55:57] [debug] #114 0045ace0 in ?? () from samp-server.exe
[16:55:57] [debug] #115 0045acf0 in ?? () from samp-server.exe
[16:55:57] [debug] #116 0045ad00 in ?? () from samp-server.exe
[16:55:57] [debug] #117 0045ad10 in ?? () from samp-server.exe
[16:55:57] [debug] #118 0045ad20 in ?? () from samp-server.exe
[16:55:57] [debug] #119 0045ad50 in ?? () from samp-server.exe
[16:55:57] [debug] #120 0045ad80 in ?? () from samp-server.exe
[16:55:57] [debug] #121 0045ad90 in ?? () from samp-server.exe
[16:55:57] [debug] #122 0045adb0 in ?? () from samp-server.exe
[16:55:57] [debug] #123 0045adc0 in ?? () from samp-server.exe
[16:55:57] [debug] #124 0045ade0 in ?? () from samp-server.exe
[16:55:57] [debug] #125 0045b540 in ?? () from samp-server.exe
[16:55:57] [debug] #126 0045ae10 in ?? () from samp-server.exe
[16:55:57] [debug] #127 0045ae70 in ?? () from samp-server.exe
[16:55:57] [debug] #128 0045ae20 in ?? () from samp-server.exe
[16:55:57] [debug] #129 0045ae40 in ?? () from samp-server.exe
[16:55:57] [debug] #130 0045ae50 in ?? () from samp-server.exe
[16:55:57] [debug] #131 0045ae60 in ?? () from samp-server.exe
[16:55:57] [debug] #132 0045ae80 in ?? () from samp-server.exe
[16:55:57] [debug] #133 0045aea0 in ?? () from samp-server.exe
[16:55:57] [debug] #134 0045aec0 in ?? () from samp-server.exe
[16:55:57] [debug] #135 0045aee0 in ?? () from samp-server.exe
[16:55:57] [debug] #136 0045aef0 in ?? () from samp-server.exe
[16:55:57] [debug] #137 0045af00 in ?? () from samp-server.exe
[16:55:57] [debug] #138 0045af10 in ?? () from samp-server.exe
[16:55:57] [debug] #139 0045af20 in ?? () from samp-server.exe
[16:55:57] [debug] #140 0045af50 in ?? () from samp-server.exe
[16:55:57] [debug] #141 0045af80 in ?? () from samp-server.exe
[16:55:57] [debug] #142 0045af90 in ?? () from samp-server.exe
[16:55:57] [debug] #143 0045afa0 in ?? () from samp-server.exe
[16:55:57] [debug] #144 0045afb0 in ?? () from samp-server.exe
[16:55:57] [debug] #145 0045afd0 in ?? () from samp-server.exe
[16:55:57] [debug] #146 0045b000 in ?? () from samp-server.exe
[16:55:57] [debug] #147 0045b020 in ?? () from samp-server.exe
Alles anzeigen