Narek
Компетентный
Когда пишеш текст в /ooc то samp.server.exe крашитсья
КРАШ ЛОГ
PHP:
CMD:ooc(playerid, params[])
{
if(PTEMP[playerid][pMuted] > 0)
{
format(YCMDstr, sizeof(YCMDstr), "У Вас бан чата! До снятия: %i секунд(ы)",PTEMP[playerid][pMuted]);
SendClientMessage(playerid, COLOR_LIGHTRED, YCMDstr);
return true;
}
if(sscanf(params, "s[128]",params[0])) return SendClientMessage(playerid, COLOR_WHITE, "Введите: (/o)oc [текст]");
if((!noooc) && PTEMP[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Общий чат отключен админом!");
else if(dostup[playerid] == 0 && PTEMP[playerid][pAdmin] >= 1) return true;
if(PTEMP[playerid][pAdmin] == 0 && gettime() < antioocsend) return SendClientMessage(playerid, COLOR_GREY, "Антифлуд ООС чата");
antioocsend = gettime()+antiooc;
foreach(i)
{
if(ChatOOC[playerid] == 1) SendMes(i,COLOR_OOC,"<< %s[%i]: %s >>",PTEMP[playerid][pName], playerid, params[0]);
}
return 1;
}
КРАШ ЛОГ
PHP:
[22:08:58] [debug] #0 native format () from samp-server.exe
[22:08:58] [debug] #1 002b1ea0 in public cmd_ooc (playerid=0, params[]=@00cef044 "/o s") at C:\Users\Narek\Desktop\EVOLVE RP\gamemodes\evolve.pwn:35421
[22:08:58] [debug] #2 native DC_CMD () from DC_CMD.DLL
[22:08:58] [debug] #3 00007e5c in public OnPlayerCommandText (playerid=0, cmdtext[]=@00cef044 "/o s") at C:\Users\Narek\Desktop\EVOLVE RP\pawno\include\dc_cmd.inc:62
[22:09:10] [debug] Native backtrace:
[22:09:10] [debug] #0 7778c1ad in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[22:09:10] [debug] #1 7778b4c8 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[22:09:10] [debug] #2 00498e11 in ?? () from samp-server.exe
[22:09:10] [debug] #3 0044d9c9 in ?? () from samp-server.exe
[22:09:10] [debug] #4 0045856c in ?? () from samp-server.exe
[22:09:10] [debug] #5 0045ad2a in ?? () from samp-server.exe
[22:09:10] [debug] #6 57be3159 in ?? () from plugins\crashdetect.DLL
[22:09:10] [debug] #7 62b715e3 in ?? () from plugins\mysql.DLL
[22:09:10] [debug] #8 62b7173f in ?? () from plugins\mysql.DLL
[22:09:10] [debug] #9 777c6bfc in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[22:09:10] [debug] Registers:
[22:09:10] [debug] EAX: 000000b8 EBX: 0019fcd0 ECX: 00000000 EDX: 0000d678
[22:09:10] [debug] ESI: 0013df30 EDI: 00ba0000 EBP: 00000000 ESP: 0019fd9c
[22:09:10] [debug] EIP: 777c6bfc EFLAGS: 00010246
[22:09:10] [debug] Stack:
[22:09:10] [debug] ESP+00000000: 7682e1d1 000001ac 00000000 7682e1ee
[22:09:10] [debug] ESP+00000020: 8fe5c49a 75cb6820 75cb67d0 00000000
[22:09:10] [debug] ESP+00000040: 00000000 00000000 777abb4c 75cb6820
[22:09:10] [debug] ESP+00000060: 39f9bbf0 00001fba 0019fe9c 004aa78b
[22:09:10] [debug] ESP+00000080: 0049125c 75cb67d0 00000000 3ba92423
[22:09:10] [debug] ESP+000000a0: 0026f000 0100401c 00010101 00000064
[22:09:10] [debug] ESP+000000c0: 656d6167 65646f6d 00003531 004c4020
[22:09:10] [debug] ESP+000000e0: 0019ff70 0019ff70 0049d208 004ba2f8
[22:09:10] [debug] ESP+00000100: 0019ff70 004ab0e1 ffffffff 0049cca6
[22:09:10] [debug] ESP+00000120: 00000006 00000002 000023f0 00000002
[22:09:10] [debug] ESP+00000140: 00000000 00000000 00000000 00000000
[22:09:10] [debug] ESP+00000160: 00000000 00000000 00000000 00000000
[22:09:10] [debug] ESP+00000180: 00000000 00000000 00000000 00000000
[22:09:10] [debug] ESP+000001a0: 00000000 00000000 00000000 0049cb52
[22:09:10] [debug] ESP+000001c0: 00000000 c0000005 00000000 0019feb8
[22:09:10] [debug] ESP+000001e0: 00000000 0019ff94 75ca38f4 0026f000
[22:09:10] [debug] ESP+00000200: 0026f000 7ebdda63 00000000 00000000
[22:09:10] [debug] ESP+00000220: 00000000 7ebdda63 0019ffa0 00000000
[22:09:10] [debug] ESP+00000240: 0019ffec 777b5dae ffffffff 777db7ce
[22:09:10] [debug] ESP+00000260: 00000000 78746341 00000020 00000001
[22:09:10] [debug] ESP+00000280: 00000000 00000014 00000001 00000007
[22:09:10] [debug] ESP+000002a0: 00000000 00000000 00000000 00000000
[22:09:10] [debug] ESP+000002c0: 000002e0 00000254 00000000 f33271ba
[22:09:10] [debug] ESP+000002e0: 00000000 2d59495b 000008b8 00000032
[22:09:10] [debug] ESP+00000300: 00000be0 00000042 00000c24 00000324
[22:09:10] [debug] ESP+00000320: 00000fa8 00000356 00000000 b1280544
[22:09:10] [debug] ESP+00000340: 00000010 00000009 000000ec 00000002
[22:09:10] [debug] ESP+00000360: 00000002 00001718 000007a0 00000001
[22:09:10] [debug] ESP+00000380: 00000004 00002d44 00000314 00000002
[22:09:10] [debug] ESP+000003a0: 00000006 000030f0 000000cc 00000002
[22:09:10] [debug] ESP+000003c0: 00000009 000032ac 00000028 00000002
[22:09:10] [debug] ESP+000003e0: 64487353 0000002c 00000001 00000001
[22:09:10] [debug] Loaded modules:
[22:09:10] [debug] 00400000 - 00519000 samp-server.exe
[22:09:10] [debug] 77750000 - 778cb000 ntdll.dll
[22:09:10] [debug] 75c90000 - 75d70000 KERNEL32.DLL
[22:09:10] [debug] 76780000 - 768fe000 KERNELBASE.dll
[22:09:10] [debug] 74640000 - 75a3e000 SHELL32.dll
[22:09:10] [debug] 763b0000 - 7646e000 msvcrt.dll
[22:09:10] [debug] 76ab0000 - 76ae7000 cfgmgr32.dll
[22:09:10] [debug] 76c60000 - 7715a000 windows.storage.dll
[22:09:10] [debug] 75ed0000 - 7608d000 combase.dll
[22:09:10] [debug] 76090000 - 7613d000 RPCRT4.dll
[22:09:10] [debug] 74480000 - 7449e000 SspiCli.dll
[22:09:10] [debug] 74470000 - 7447a000 CRYPTBASE.dll
[22:09:10] [debug] 761e0000 - 76238000 bcryptPrimitives.dll
[22:09:10] [debug] 76900000 - 76944000 sechost.dll
[22:09:10] [debug] 76330000 - 763ab000 advapi32.dll
[22:09:10] [debug] 744f0000 - 74535000 shlwapi.dll
[22:09:10] [debug] 76b10000 - 76c5f000 GDI32.dll
[22:09:10] [debug] 76960000 - 76aa7000 USER32.dll
[22:09:10] [debug] 76af0000 - 76afc000 kernel.appcore.dll
[22:09:10] [debug] 76240000 - 762cd000 shcore.dll
[22:09:10] [debug] 75aa0000 - 75ae4000 powrprof.dll
[22:09:10] [debug] 76b00000 - 76b0f000 profapi.dll
[22:09:10] [debug] 706d0000 - 706d8000 WSOCK32.dll
[22:09:10] [debug] 75a40000 - 75a9f000 WS2_32.dll
[22:09:10] [debug] 72ec0000 - 72ee4000 WINMM.dll
[22:09:10] [debug] 00a90000 - 00ab3000 WINMMBASE.dll
[22:09:10] [debug] 77720000 - 7774b000 IMM32.DLL
[22:09:10] [debug] 10000000 - 10007000 DC_CMD.DLL
[22:09:10] [debug] 57e60000 - 57ee5000 MSVCP110.dll
[22:09:10] [debug] 57d80000 - 57e56000 MSVCR110.dll
[22:09:10] [debug] 62b70000 - 62bb3000 mysql.DLL
[22:09:10] [debug] 02750000 - 02891000 LIBMYSQL.dll
[22:09:10] [debug] 58880000 - 58892000 napinsp.dll
[22:09:10] [debug] 58860000 - 58876000 pnrpnsp.dll
[22:09:10] [debug] 6ab60000 - 6ab74000 NLAapi.dll
[22:09:10] [debug] 74200000 - 7424f000 mswsock.dll
[22:09:10] [debug] 70740000 - 707c4000 DNSAPI.dll
[22:09:10] [debug] 77590000 - 77597000 NSI.dll
[22:09:10] [debug] 58850000 - 5885b000 winrnr.dll
[22:09:10] [debug] 70730000 - 70738000 rasadhlp.dll
[22:09:10] [debug] 57d40000 - 57d7e000 streamer.DLL
[22:09:10] [debug] 59600000 - 59669000 MSVCP100.dll
[22:09:10] [debug] 59540000 - 595ff000 MSVCR100.dll
[22:09:10] [debug] 00b50000 - 00b5d000 sscanf.DLL
[22:09:10] [debug] 57bc0000 - 57c10000 crashdetect.DLL
[22:09:10] [debug] 74250000 - 7427f000 IPHLPAPI.DLL
[22:09:10] [debug] 60120000 - 60167000 fwpuclnt.dll
[22:09:10] [debug] 743d0000 - 743eb000 bcrypt.dll
PHP:
Что делать?
