Server crashing on command input
#1

Causing server crash...

Crash Detect info:
Код:
--------------------------

SA-MP Server: 0.3z



Exception At Address: 0x756214D0 Module: (KERNELBASE.dll)



Registers:

EAX: 0x7FFFFFFF	EBX: 0x00000000	ECX: 0x01B450B0	EDX: 0x0359FE1C

ESI: 0x005C08A0	EDI: 0x03379E3C	EBP: 0x00000000	ESP: 0x0018FDA4

EFLAGS: 0x00010202



Stack:

+0000: 0xFCCAC1BA   0x75011136   0x0000009C   0x00000000

+0010: 0x7756FD91   0x75623BC8   0x00000000   0x75623BF4

+0020: 0xFCCAC25A   0x75011136   0x75011695   0x00000000

+0030: 0x00000024   0x00000001   0x00000000   0x00000000

+0040: 0x00000000   0x00000000   0x00000000   0x00000000

+0050: 0x00000000   0x022096F8   0x75011136   0x0044F192

+0060: 0xBF3581A0   0x00005D36   0x0018FEA4   0x004A556B

+0070: 0xFFFFFFFF   0x0048B2BC   0x75011136   0x022096F8

+0080: 0x0048B4BC   0x75011695   0x00000000   0x3BA3D90E

+0090: 0x004877CB   0x00000000   0x00001DB1   0x0018FF88

+00A0: 0x7EFDE000   0x0000E000   0x00010101   0x00000032

+00B0: 0x00001F39   0x000000A0   0x00001F88   0x022096F8

+00C0: 0x656D6167   0x65646F6D   0x00003531   0x004BC014

+00D0: 0x004BC010   0x7EFDE000   0x004A6140   0x0018FE70

+00E0: 0x0018FF78   0x0018FF78   0x00497FE8   0x004B2E98

+00F0: 0xFFFFFFFF   0x00496281   0x00496291   0x004A6140

+0100: 0x0018FF78   0x004A5DB1   0xFFFFFFFF   0x00497A86

+0110: 0x00000001   0x02201788   0x022017D0   0x00000094

+0120: 0x00000006   0x00000001   0x00001DB1   0x00000002

+0130: 0x76726553   0x20656369   0x6B636150   0x00003120



--------------------------



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004F5000	(C:\Users\Alex\Desktop\Servers\Samp\IBS\samp-server.exe)

ntdll.dll	A: 0x77550000 - 0x776D0000	(C:\Windows\SysWOW64\ntdll.dll)

kernel32.dll	A: 0x75000000 - 0x75110000	(C:\Windows\syswow64\kernel32.dll)

KERNELBASE.dll	A: 0x75610000 - 0x75657000	(C:\Windows\syswow64\KERNELBASE.dll)

SHELL32.dll	A: 0x75960000 - 0x765AA000	(C:\Windows\syswow64\SHELL32.dll)

msvcrt.dll	A: 0x76750000 - 0x767FC000	(C:\Windows\syswow64\msvcrt.dll)

SHLWAPI.dll	A: 0x769F0000 - 0x76A47000	(C:\Windows\syswow64\SHLWAPI.dll)

GDI32.dll	A: 0x75660000 - 0x756F0000	(C:\Windows\syswow64\GDI32.dll)

USER32.dll	A: 0x76A50000 - 0x76B50000	(C:\Windows\syswow64\USER32.dll)

ADVAPI32.dll	A: 0x752B0000 - 0x75350000	(C:\Windows\syswow64\ADVAPI32.dll)

sechost.dll	A: 0x769D0000 - 0x769E9000	(C:\Windows\SysWOW64\sechost.dll)

RPCRT4.dll	A: 0x76850000 - 0x76940000	(C:\Windows\syswow64\RPCRT4.dll)

SspiCli.dll	A: 0x74FA0000 - 0x75000000	(C:\Windows\syswow64\SspiCli.dll)

CRYPTBASE.dll	A: 0x74F90000 - 0x74F9C000	(C:\Windows\syswow64\CRYPTBASE.dll)

LPK.dll	A: 0x76800000 - 0x7680A000	(C:\Windows\syswow64\LPK.dll)

USP10.dll	A: 0x75570000 - 0x7560D000	(C:\Windows\syswow64\USP10.dll)

WSOCK32.dll	A: 0x741D0000 - 0x741D7000	(C:\Windows\system32\WSOCK32.dll)

WS2_32.dll	A: 0x76710000 - 0x76745000	(C:\Windows\syswow64\WS2_32.dll)

NSI.dll	A: 0x76F10000 - 0x76F16000	(C:\Windows\syswow64\NSI.dll)

WINMM.dll	A: 0x71850000 - 0x71882000	(C:\Windows\system32\WINMM.dll)

IMM32.DLL	A: 0x75350000 - 0x753B0000	(C:\Windows\system32\IMM32.DLL)

MSCTF.dll	A: 0x753B0000 - 0x7547C000	(C:\Windows\syswow64\MSCTF.dll)

sscanf.DLL	A: 0x10000000 - 0x1000D000	(C:\Users\Alex\Desktop\Servers\Samp\IBS\plugins\sscanf.DLL)

MSVCR100.dll	A: 0x66450000 - 0x6650E000	(C:\Windows\system32\MSVCR100.dll)

streamer.DLL	A: 0x5FEF0000 - 0x5FF2E000	(C:\Users\Alex\Desktop\Servers\Samp\IBS\plugins\streamer.DLL)

MSVCP100.dll	A: 0x6A170000 - 0x6A1D9000	(C:\Windows\system32\MSVCP100.dll)

Whirlpool.DLL	A: 0x00290000 - 0x0029C000	(C:\Users\Alex\Desktop\Servers\Samp\IBS\plugins\Whirlpool.DLL)

MSVCR80.dll	A: 0x73220000 - 0x732BB000	(C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll)

dbghelp.dll	A: 0x72FB0000 - 0x7309B000	(C:\Windows\system32\dbghelp.dll)

mswsock.dll	A: 0x73AC0000 - 0x73AFC000	(C:\Windows\system32\mswsock.dll)

wshtcpip.dll	A: 0x72EA0000 - 0x72EA5000	(C:\Windows\System32\wshtcpip.dll)

NLAapi.dll	A: 0x72E90000 - 0x72EA0000	(C:\Windows\system32\NLAapi.dll)

napinsp.dll	A: 0x73AB0000 - 0x73AC0000	(C:\Windows\system32\napinsp.dll)

pnrpnsp.dll	A: 0x73A90000 - 0x73AA2000	(C:\Windows\system32\pnrpnsp.dll)

DNSAPI.dll	A: 0x73A40000 - 0x73A84000	(C:\Windows\system32\DNSAPI.dll)

winrnr.dll	A: 0x73A30000 - 0x73A38000	(C:\Windows\System32\winrnr.dll)

mdnsNSP.dll	A: 0x73A00000 - 0x73A21000	(C:\Program Files (x86)\Bonjour\mdnsNSP.dll)

Iphlpapi.DLL	A: 0x73B10000 - 0x73B2C000	(C:\Windows\system32\Iphlpapi.DLL)

WINNSI.DLL	A: 0x73B00000 - 0x73B07000	(C:\Windows\system32\WINNSI.DLL)

WLIDNSP.DLL	A: 0x739D0000 - 0x739F7000	(C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL)

PSAPI.DLL	A: 0x77520000 - 0x77525000	(C:\Windows\syswow64\PSAPI.DLL)

rasadhlp.dll	A: 0x73300000 - 0x73306000	(C:\Windows\system32\rasadhlp.dll)

uxtheme.dll	A: 0x71890000 - 0x71910000	(C:\Windows\system32\uxtheme.dll)

OWExplorer.dll	A: 0x6DD60000 - 0x6DD9B000	(C:\Program Files (x86)\Overwolf\0.81.34.0\OWExplorer.dll)

VERSION.dll	A: 0x73170000 - 0x73179000	(C:\Windows\system32\VERSION.dll)

PROPSYS.dll	A: 0x74300000 - 0x743F5000	(C:\Windows\system32\PROPSYS.dll)

OLEAUT32.dll	A: 0x754E0000 - 0x7556F000	(C:\Windows\syswow64\OLEAUT32.dll)

comctl32.dll	A: 0x70810000 - 0x709AE000	(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll)

apphelp.dll	A: 0x73190000 - 0x731DC000	(C:\Windows\system32\apphelp.dll)

CLBCatQ.DLL	A: 0x76940000 - 0x769C3000	(C:\Windows\syswow64\CLBCatQ.DLL)

SETUPAPI.dll	A: 0x75110000 - 0x752AD000	(C:\Windows\syswow64\SETUPAPI.dll)

CFGMGR32.dll	A: 0x76FC0000 - 0x76FE7000	(C:\Windows\syswow64\CFGMGR32.dll)

DEVOBJ.dll	A: 0x76CE0000 - 0x76CF2000	(C:\Windows\syswow64\DEVOBJ.dll)

ntmarta.dll	A: 0x74AE0000 - 0x74B01000	(C:\Windows\system32\ntmarta.dll)

WLDAP32.dll	A: 0x75480000 - 0x754C5000	(C:\Windows\syswow64\WLDAP32.dll)
pawn Код:
CMD:carsign(playerid, params[])
{
    new type, string[256];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(!aDuty[playerid] && PlayerInfo[playerid][pAdmin] < 7) return SendClientMessage(playerid, COLOR_GREY, "You are not on Admin Duty.");
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to add/change vehicle Sign.");
    if(sscanf(params, "s[32]", type))
    {
        SendClientMessage(playerid, USAGE, "[Usage]: /createcarsign [type]");
        SendClientMessage(playerid, USAGE, "[Type]: Add, Delete");
    }
    if(strcmp(params, "Add", true) == 0)
    {
        new Car, Text3D:idx, text1[128];
        if(sscanf(params, "s[32]s[128]", type, text1)) return SendClientMessage(playerid, USAGE, "[Usage]: /createcarsign Add [text]");
        for(new idx=0; idx<MAX_CARSIGN; idx++)
        {
            format(text1, sizeof(text1), "%s", text1);
            idx = Create3DTextLabel( text1, 0xFFFFFFFF, 0.0, 0.0,0.0, 50.0, 0, 1 ); // Create3D
            Car = GetPlayerVehicleID(playerid); // CreateVehicle
            Attach3DTextLabelToVehicle( idx, Car, -0.8, -2.3, 0);// Attach3D
            format(string, sizeof(string), "AdmWarn: %s has created a carsign. ID: %d Text: %s Car: %d", RPN(playerid), idx, text1, Car);
            SendAdminMessage(COLOR_DARKRED, 1, string);
        }
    }
    else if(strcmp(params, "Delete", true) == 0)
    {
        new id;
        if(sscanf(params, "s[32]s[32]", type, id)) return SendClientMessage(playerid, USAGE, "[Usage]: /createcarsign Delete [id]");
        {
            DestroyDynamic3DTextLabel(id);
        }
    }
    return 1;
}
Crash Detect info:
Reply
#2

I don't even know what this is, but it makes no sense;
pawn Код:
format(text1, sizeof(text1), "%s", text1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)