27.06.2014, 22:59
CODE:
Upon booting up the server, it crashes immediately. with this:
pawn Код:
SafeConnectNPC("[Bot]Robert","npcidle");
SafeConnectNPC("[Bot]Peter","npcidle");
SafeConnectNPC("[Bot]Harry","npcidle");
SafeConnectNPC("[Bot]Kayla","npcidle");
SafeConnectNPC("[Bot]Aaron","npcidle");
SafeConnectNPC("[Bot]Joshua","npcidle");
SafeConnectNPC("[Bot]Trevor","train_lv");
SafeConnectNPC("[Bot]Gary","train_ls");
SafeConnectNPC("[Bot]Paul","train_sf");
SafeConnectNPC("[Bot]Qantas","at400_lv");
SafeConnectNPC("[Bot]JetStar","at400_sf");
SafeConnectNPC("[Bot]Virgin","at400_ls");
SafeConnectNPC("[Bot]TramDriver","tram");
SafeConnectNPC("[Bot]Rick","npcidle");//SF
SafeConnectNPC("[Bot]Charlie","npcidle");//LV
SafeConnectNPC("[Bot]Tom","npcidle");//LS
SafeConnectNPC("[Bot]Buddy","npcidle");
return 1;
}
stock SafeConnectNPC(npcname[], npcfile[])
{
new therand = random(1000-300)+300;
SetTimerEx("SafeConnectNPC2", therand, 0, "ss", npcname, npcfile);
}
forward SafeConnectNPC2(npcname[], npcfile[]);
public SafeConnectNPC2(npcname[], npcfile[])
{
ConnectNPC(npcname, npcfile); //Line 9805
}
Код:
[18:20:44] Number of vehicle models: 125 [18:20:46] [debug] Server crashed while executing cnr.amx [18:20:46] [debug] AMX backtrace: [18:20:46] [debug] #0 native ConnectNPC () [00476170] from samp-server.exe [18:20:46] [debug] #1 0005e810 in public SafeConnectNPC2 (npcname[]=@0x00a11af0 "[Bot]Buddy", npcfile[]=@0x00a11ad0 "dpcidle") at cnr.pwn:9805 [18:20:46] [debug] Native backtrace: [18:20:46] [debug] #0 00476230 in ?? () from samp-server.exe [18:20:46] [debug] #1 004010b6 in ?? () from samp-server.exe [18:20:46] [debug] #2 726660ba in ?? () from crashdetect.DLL [18:20:46] [debug] #3 72667fee in ?? () from crashdetect.DLL [18:20:46] [debug] #4 72660091 in ?? () from crashdetect.DLL [18:20:46] [debug] #5 7266610a in ?? () from crashdetect.DLL [18:20:46] [debug] #6 0047f188 in ?? () from samp-server.exe [18:20:46] [debug] #7 0048b70a in ?? () from samp-server.exe