Server crashes instant
#1

Alright when I turn the server on using my home connection it turns on then when I or someone else connects it crashes staight away - I've got zero warnings and my plugins are all updated

Also I did have a warning but I /* */ it as I couldn't get it fixed and I don't believe it's needed, but if you want it:

Код:
warning 235: public function lacks forward declaration (symbol "OnPlayerShootPlayer"
pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    if(GetPVarInt(Target, "EventToken") == 0 && GetPVarInt(Target, "IsInArena") == -1)
    {
        new Float:nhp;
        GetPlayerHealth(Target, nhp);
        if(GoChase[Shooter] == Target && GetPlayerWeapon(Shooter) == 34)
        {
            SetPlayerHealth(Target, 0.0);
        }
        else
        {
        }
        return 1;
    }
    if(PlayerInfo[Target][pAdmin] < 2)
    {
        if(HealthLost == 0.0)
        {
            new string[128];
            format(string, 128, "{AA3333}AdmWarning{FFFF00}:%s(%i) Might possibly be healthhacking, use /hhc to check him.", GetPlayerNameEx(Target), Target);
            ABroadCast(COLOR_ORANGE, string, 2);
            return 1;
        }
    }
    return 1;
}
Код:
--------------------------

SA-MP Server: 0.3x



Exception At Address: 0x7C90100B Module: (ntdll.dll)



Registers:

EAX: 0x00000020	EBX: 0x00000020	ECX: 0x7FFDE000	EDX: 0x00000020

ESI: 0x08361BA0	EDI: 0x08361BBC	EBP: 0x0013FA8C	ESP: 0x0013FA50

EFLAGS: 0x00010202



Stack:

+0000: 0x004925A0   0x00000020   0x00498F00   0x00000000

+0010: 0x08361BBC   0x08361BA0   0x00000020   0x0013FA71

+0020: 0xE1591001   0x0013FA60   0x0013F674   0x0013FCE8

+0030: 0x00496BF8   0x004B1CE0   0xFFFFFFFF   0x00000020

+0040: 0x00492BD0   0x00000000   0x00404F44   0x00000000

+0050: 0x0013FAB8   0x08361BA0   0x00000020   0x0013FB00

+0060: 0x004F03B6   0x00000FFF   0x0741F834   0x00F264E8

+0070: 0x00405832   0x00000000   0x00000020   0x00000001

+0080: 0x00F264E8   0x08361C28   0x00F264E8   0x08361C28

+0090: 0x004057D0   0x00F264E8   0x045A1258   0x004057E0

+00A0: 0x00F264E8   0x00F264E8   0x03887C48   0x00000087

+00B0: 0x03DC048C   0x004010B6   0x00F264E8   0x08361BBC

+00C0: 0x03DC0964   0x00402B63   0x00F264E8   0x00000057

+00D0: 0x0013FB38   0x08361BA0   0x0013FC8C   0x00F264E8

+00E0: 0x00000000   0x00F71D0B   0x00000000   0x045A1248

+00F0: 0x045A123C   0x045A13A8   0x0365EFAC   0x045A1388

+0100: 0x0365EFAC   0x03887C48   0x03DC0964   0x00000000

+0110: 0x03880020   0x00538D1C   0x0046C680   0x00F264E8

+0120: 0x0013FB84   0x00000094   0x00F264E8   0x00000000

+0130: 0x00000000   0x00000000   0x00000094   0x0048C41F



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



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004F4000	(C:\Documents and Settings\Ashley\Desktop\DSRP\samp-server.exe)

ntdll.dll	A: 0x7C900000 - 0x7C9B2000	(C:\WINDOWS\system32\ntdll.dll)

kernel32.dll	A: 0x7C800000 - 0x7C8F6000	(C:\WINDOWS\system32\kernel32.dll)

SHELL32.dll	A: 0x7C9C0000 - 0x7D1D7000	(C:\WINDOWS\system32\SHELL32.dll)

ADVAPI32.dll	A: 0x77DD0000 - 0x77E6B000	(C:\WINDOWS\system32\ADVAPI32.dll)

RPCRT4.dll	A: 0x77E70000 - 0x77F03000	(C:\WINDOWS\system32\RPCRT4.dll)

Secur32.dll	A: 0x77FE0000 - 0x77FF1000	(C:\WINDOWS\system32\Secur32.dll)

GDI32.dll	A: 0x77F10000 - 0x77F59000	(C:\WINDOWS\system32\GDI32.dll)

USER32.dll	A: 0x7E410000 - 0x7E4A1000	(C:\WINDOWS\system32\USER32.dll)

msvcrt.dll	A: 0x77C10000 - 0x77C68000	(C:\WINDOWS\system32\msvcrt.dll)

SHLWAPI.dll	A: 0x77F60000 - 0x77FD6000	(C:\WINDOWS\system32\SHLWAPI.dll)

WSOCK32.dll	A: 0x71AD0000 - 0x71AD9000	(C:\WINDOWS\system32\WSOCK32.dll)

WS2_32.dll	A: 0x71AB0000 - 0x71AC7000	(C:\WINDOWS\system32\WS2_32.dll)

WS2HELP.dll	A: 0x71AA0000 - 0x71AA8000	(C:\WINDOWS\system32\WS2HELP.dll)

WINMM.dll	A: 0x76B40000 - 0x76B6D000	(C:\WINDOWS\system32\WINMM.dll)

IMM32.DLL	A: 0x76390000 - 0x763AD000	(C:\WINDOWS\system32\IMM32.DLL)

comctl32.dll	A: 0x773D0000 - 0x774D3000	(C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll)

comctl32.dll	A: 0x5D090000 - 0x5D12A000	(C:\WINDOWS\system32\comctl32.dll)

streamer.dll	A: 0x10000000 - 0x1003B000	(C:\Documents and Settings\Ashley\Desktop\DSRP\plugins\streamer.dll)

MSVCP90.dll	A: 0x78480000 - 0x7850E000	(C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43\MSVCP90.dll)

MSVCR90.dll	A: 0x78520000 - 0x785C3000	(C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43\MSVCR90.dll)

audio.dll	A: 0x00B80000 - 0x00BCF000	(C:\Documents and Settings\Ashley\Desktop\DSRP\plugins\audio.dll)

MSVCP100.dll	A: 0x78050000 - 0x780B9000	(C:\WINDOWS\system32\MSVCP100.dll)

MSVCR100.dll	A: 0x78AA0000 - 0x78B5F000	(C:\WINDOWS\system32\MSVCR100.dll)

MSWSOCK.dll	A: 0x71A50000 - 0x71A8F000	(C:\WINDOWS\system32\MSWSOCK.dll)

sscanf.dll	A: 0x00C30000 - 0x00C3D000	(C:\Documents and Settings\Ashley\Desktop\DSRP\plugins\sscanf.dll)

hnetcfg.dll	A: 0x662B0000 - 0x66308000	(C:\WINDOWS\system32\hnetcfg.dll)

wshtcpip.dll	A: 0x71A90000 - 0x71A98000	(C:\WINDOWS\System32\wshtcpip.dll)

DNSAPI.dll	A: 0x76F20000 - 0x76F47000	(C:\WINDOWS\system32\DNSAPI.dll)

iphlpapi.dll	A: 0x76D60000 - 0x76D79000	(C:\WINDOWS\system32\iphlpapi.dll)

winrnr.dll	A: 0x76FB0000 - 0x76FB8000	(C:\WINDOWS\System32\winrnr.dll)

WLDAP32.dll	A: 0x76F60000 - 0x76F8C000	(C:\WINDOWS\system32\WLDAP32.dll)

mdnsNSP.dll	A: 0x64000000 - 0x64021000	(C:\Program Files\Bonjour\mdnsNSP.dll)

rasadhlp.dll	A: 0x76FC0000 - 0x76FC6000	(C:\WINDOWS\system32\rasadhlp.dll)

uxtheme.dll	A: 0x5AD70000 - 0x5ADA8000	(C:\WINDOWS\system32\uxtheme.dll)

MSCTF.dll	A: 0x74720000 - 0x7476C000	(C:\WINDOWS\system32\MSCTF.dll)

netapi32.dll	A: 0x5B860000 - 0x5B8B5000	(C:\WINDOWS\system32\netapi32.dll)

appHelp.dll	A: 0x77B40000 - 0x77B62000	(C:\WINDOWS\system32\appHelp.dll)

CLBCATQ.DLL	A: 0x76FD0000 - 0x7704F000	(C:\WINDOWS\system32\CLBCATQ.DLL)

COMRes.dll	A: 0x77050000 - 0x77115000	(C:\WINDOWS\system32\COMRes.dll)

OLEAUT32.dll	A: 0x77120000 - 0x771AB000	(C:\WINDOWS\system32\OLEAUT32.dll)

VERSION.dll	A: 0x77C00000 - 0x77C08000	(C:\WINDOWS\system32\VERSION.dll)

iertutil.dll	A: 0x3DFD0000 - 0x3E1BC000	(C:\WINDOWS\system32\iertutil.dll)

urlmon.dll	A: 0x78130000 - 0x78264000	(C:\WINDOWS\system32\urlmon.dll)

SETUPAPI.dll	A: 0x77920000 - 0x77A13000	(C:\WINDOWS\system32\SETUPAPI.dll)
Reply
#2

Al right I've fixed the warning but now the server keeps crashing for some reason.
Reply
#3

If your server gets crashed, then load crashdetect plugin (https://github.com/Zeex/samp-plugin-...es/tag/v4.11.2), do what this post says and re-compile your scripts. Run your server, if the server gets crashed, then show us what it printed in the console/server log.
Reply
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If your server gets crashed, then load crashdetect plugin (https://github.com/Zeex/samp-plugin-...es/tag/v4.11.2), do what this post says and re-compile your scripts. Run your server, if the server gets crashed, then show us what it printed in the console/server log.
I've put it on but I quickly re-compile my script and I got
Код:
C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\moe.pwn(54052) : warning 211: possibly unintended assignment
C:\Documents and Settings\Ashley\Desktop\DSRP1\gamemodes\moe.pwn(54062) : error 017: undefined symbol "pHelper"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
/*new string[128];
    format(string, sizeof(string), "%s Has Now Joined Dynamic Street's Roleplay. ", GetPlayerNameEx(playerid));
    foreach(Player, i) {
        if(PlayerInfo[i][pHelper] >= 2 || PlayerInfo[i][pAdmin] >= 1) {
            if(!togJoin[i]) {
                SendClientMessage(i, TEAM_AZTECAS_COLOR, string);
            }
        }
    } */
Reply
#5

Do you have pHelper in your enum? I believe you do not.

About that warning, you need to show us the line 54052.
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Do you have pHelper in your enum? I believe you do not.

About that warning, you need to show us the line 54052.
Alright I've fixed that warning but like everytime I start the server and login it crashes upon spawning.
Reply
#7

Client crash or server crash?

Server crash:
Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If your server gets crashed, then load crashdetect plugin (https://github.com/Zeex/samp-plugin-...es/tag/v4.11.2), do what this post says and re-compile your scripts. Run your server, if the server gets crashed, then show us what it printed in the console/server log.
Client crash:
Not sure, but I saw a similar thread to that and it was because atleast one class was missing. It was flashing and then crashed.
Reply
#8

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Client crash or server crash?

Server crash:


Client crash:
Not sure, but I saw a similar thread to that and it was because atleast one class was missing. It was flashing and then crashed.
I've fixed the crashing, sorry for wasting your time but have some rep for the help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)