Server Crashes.. When I enter vehicle..
#1

pawn Код:
--------------------------

SA-MP Server: 0.3x



Exception At Address: 0x004978BC Module: (samp-server.exe)



Registers:

EAX: 0x7325202A EBX: 0x03A81273 ECX: 0x7FFFFFFE EDX: 0x0018F711

ESI: 0x0018F378 EDI: 0x0018FB40 EBP: 0x0018F3C4 ESP: 0x0018F338

EFLAGS: 0x00010202



Stack:

+0000: 0x0018FB10   0x0018F710   0x03A812E4   0x0018F528

+0010: 0x0074019C   0x00740000   0x0000000D   0x00000007

+0020: 0x00000000   0x00000042   0x00000000   0x00000000

+0030: 0x00000000   0x00000000   0x00000000   0x00000042

+0040: 0x00000002   0x00000000   0x7325202A   0xFFFFFFFF

+0050: 0x00000000   0x03A7942C   0x00000005   0x0018FB5C

+0060: 0x004A4B2B   0xFFFFFFFF   0x0046FF8E   0x55FF00FF

+0070: 0x004010B6   0x01F6F228   0x03A812A0   0x0386679C

+0080: 0x00402B63   0x01F6F228   0x0000000A   0x0018F420

+0090: 0x0040174F   0x01F9A280   0x0000000A   0x0018F3EC

+00A0: 0x01F9A280   0x01F6F228   0x0018F888   0x00000000

+00B0: 0x0000000B   0x6C726F57   0x6C655364   0x00746365

+00C0: 0x54640074   0x00747865   0x4355535B   0x53534543

+00D0: 0x53203A5D   0x6E776170   0x61206465   0x79482220

+00E0: 0x22617264   0x4F4D2820   0x494C4544   0x35203A44

+00F0: 0x202C3032   0x49484556   0x49454C43   0x32203A44

+0100: 0x00002936   0x00000000   0x00000000   0x00000000

+0110: 0x00000000   0x00000000   0x00000000   0x00000000

+0120: 0x00000000   0x00000000   0x00000000   0x00000000

+0130: 0x00000000   0x00000000   0x00000000   0x00000000



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



Loaded Modules:

samp-server.exe A: 0x00400000 - 0x004F5000  (C:\Users\YourMama\Desktop\Ingusa!\samp03x_svr_R1-2_win32\samp-server.exe)

ntdll.dll   A: 0x777C0000 - 0x77940000  (C:\Windows\SysWOW64\ntdll.dll)

kernel32.dll    A: 0x76C90000 - 0x76DA0000  (C:\Windows\syswow64\kernel32.dll)

KERNELBASE.dll  A: 0x75CC0000 - 0x75D07000  (C:\Windows\syswow64\KERNELBASE.dll)

UMEngx86.dll    A: 0x74D80000 - 0x74DCC000  (C:\ProgramData\Norton\{0C55C096-0F1D-4F28-AAA2-85EF591126E7}\NIS_20.1.1.2\Definitions\BASHDefs\20130116.013\UMEngx86.dll)

SHELL32.dll A: 0x74FE0000 - 0x75C2A000  (C:\Windows\syswow64\SHELL32.dll)

msvcrt.dll  A: 0x75F00000 - 0x75FAC000  (C:\Windows\syswow64\msvcrt.dll)

SHLWAPI.dll A: 0x74F20000 - 0x74F77000  (C:\Windows\syswow64\SHLWAPI.dll)

GDI32.dll   A: 0x76630000 - 0x766C0000  (C:\Windows\syswow64\GDI32.dll)

USER32.dll  A: 0x76320000 - 0x76420000  (C:\Windows\syswow64\USER32.dll)

ADVAPI32.dll    A: 0x76840000 - 0x768E0000  (C:\Windows\syswow64\ADVAPI32.dll)

sechost.dll A: 0x767E0000 - 0x767F9000  (C:\Windows\SysWOW64\sechost.dll)

RPCRT4.dll  A: 0x76540000 - 0x76630000  (C:\Windows\syswow64\RPCRT4.dll)

SspiCli.dll A: 0x74EA0000 - 0x74F00000  (C:\Windows\syswow64\SspiCli.dll)

CRYPTBASE.dll   A: 0x74E90000 - 0x74E9C000  (C:\Windows\syswow64\CRYPTBASE.dll)

LPK.dll A: 0x76DF0000 - 0x76DFA000  (C:\Windows\syswow64\LPK.dll)

USP10.dll   A: 0x75D10000 - 0x75DAD000  (C:\Windows\syswow64\USP10.dll)

WSOCK32.dll A: 0x745E0000 - 0x745E7000  (C:\Windows\system32\WSOCK32.dll)

WS2_32.dll  A: 0x76DA0000 - 0x76DD5000  (C:\Windows\syswow64\WS2_32.dll)

NSI.dll A: 0x77790000 - 0x77796000  (C:\Windows\syswow64\NSI.dll)

WINMM.dll   A: 0x717C0000 - 0x717F2000  (C:\Windows\system32\WINMM.dll)

IMM32.DLL   A: 0x74F80000 - 0x74FE0000  (C:\Windows\system32\IMM32.DLL)

MSCTF.dll   A: 0x76E00000 - 0x76ECC000  (C:\Windows\syswow64\MSCTF.dll)

streamer.dll    A: 0x63460000 - 0x6349E000  (C:\Users\YourMama\Desktop\Ingusa!\samp03x_svr_R1-2_win32\plugins\streamer.dll)

MSVCP100.dll    A: 0x62C30000 - 0x62C99000  (C:\Windows\system32\MSVCP100.dll)

MSVCR100.dll    A: 0x60AA0000 - 0x60B5F000  (C:\Windows\system32\MSVCR100.dll)

sscanf.dll  A: 0x10000000 - 0x1000D000  (C:\Users\YourMama\Desktop\Ingusa!\samp03x_svr_R1-2_win32\plugins\sscanf.dll)

Whirlpool.DLL   A: 0x00690000 - 0x0069C000  (C:\Users\YourMama\Desktop\Ingusa!\samp03x_svr_R1-2_win32\plugins\Whirlpool.DLL)

MSVCR80.dll A: 0x727D0000 - 0x7286B000  (C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_d08cc06a442b34fc\MSVCR80.dll)

mswsock.dll A: 0x71A60000 - 0x71A9C000  (C:\Windows\system32\mswsock.dll)

wshtcpip.dll    A: 0x710F0000 - 0x710F5000  (C:\Windows\System32\wshtcpip.dll)

NLAapi.dll  A: 0x70DD0000 - 0x70DE0000  (C:\Windows\system32\NLAapi.dll)

napinsp.dll A: 0x70D30000 - 0x70D40000  (C:\Windows\system32\napinsp.dll)

pnrpnsp.dll A: 0x70FE0000 - 0x70FF2000  (C:\Windows\system32\pnrpnsp.dll)

DNSAPI.dll  A: 0x70F90000 - 0x70FD4000  (C:\Windows\system32\DNSAPI.dll)

winrnr.dll  A: 0x70F80000 - 0x70F88000  (C:\Windows\System32\winrnr.dll)

IPHLPAPI.DLL    A: 0x72500000 - 0x7251C000  (C:\Windows\system32\IPHLPAPI.DLL)

WINNSI.DLL  A: 0x724F0000 - 0x724F7000  (C:\Windows\system32\WINNSI.DLL)

rasadhlp.dll    A: 0x70EB0000 - 0x70EB6000  (C:\Windows\system32\rasadhlp.dll)
Here is my public OnPlayerStateChange(playerid, newstate, oldstate)

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) // Player entered a vehicle as a driver
    {
        new CarCheck = GetPlayerVehicleID(playerid);
        if(CarCheck == Cars[GroveStreet])
        {
            if (Group_GetPlayer(gGSF, playerid)) // Can use the car.
            {
                SendClientMessage(playerid, COLOR_RED, "* %s spins a key and tries to start vehicle engine.");
            }
            else
            {
                SendClientMessage(playerid, COLOR_RED, "You aren't in team Grove Street Crips");
                RemovePlayerFromVehicle(playerid);
            }
            return 0;
        }
        if(CarCheck == Cars[SevileCrips])
        {
            if (Group_GetPlayer(gSBF, playerid)) // Can use the car.
            {
                SendClientMessage(playerid, COLOR_RED, "* %s spins a key and tries to start vehicle engine.*");
            }
            else
            {
                SendClientMessage(playerid, COLOR_RED, "You aren't in team Sevile Beach Crips");
                RemovePlayerFromVehicle(playerid);
            }
            return 0;
        }
        if(CarCheck == Cars[VeronaBeachCrips])
        {
            if (Group_GetPlayer(gVBF, playerid)) // Can use the car.
            {
                SendClientMessage(playerid, COLOR_RED, "* %s spins a key and tries to start vehicle engine.*");
            }
            else
            {
                SendClientMessage(playerid, COLOR_RED, "You aren't in Verona Beach Crips");
                RemovePlayerFromVehicle(playerid);
            }
            return 0;
        }
        if(CarCheck == Cars[TempleDriveCrips])
        {
            if (Group_GetPlayer(gTDF, playerid)) // Can use the car.
            {
       SendClientMessage(playerid, COLOR_RED, "* %s spins a key and tries to start vehicle engine.*");
            }
            else
            {
                SendClientMessage(playerid, COLOR_RED, "You aren't in Temple Drive Crips");
                RemovePlayerFromVehicle(playerid);
            }
            return 0;
        }
    }
    return 0;
}
Respecfully Scrillex!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)