[BUG?] player die (255) and part = server crash
#1

Hello everyone

that is not the first time I'm having this issue and I really can't believe it's on my gamemode

some times my server crash and when I go to the crash time I see something weird, like a player parting and dieying


Код:
[17/04/13 23:07:01] [part] Anderson_Messias has left the server (32:2)
[17/04/13 23:07:01] [death] Anderson_Messias died 255
and then server just close




I already tried to use that:

PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
    if(!
IsPlayerConnected(playerid))
        return 
1;
// rest of my code

but still don't work...

does anyone have any idea??


@Edit
btw, the crashinfo:

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

SA-MP Server: 0.3x



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



Registers:

EAX: 0x003D76A0	EBX: 0x00000264	ECX: 0x011432B0	EDX: 0x7C9385EC

ESI: 0x00000000	EDI: 0x0C885008	EBP: 0x0012FFFF	ESP: 0x0012F920

EFLAGS: 0x00010287



Stack:

+0000: 0x0000FFFF   0x0C885008   0x000000FF   0x0047FC01

+0010: 0xF62C26B1   0x0C885008   0x0012FC8C   0x088EEC72

+0020: 0x00000020   0x00000010   0x00000800   0x00000000

+0030: 0x0012F955   0x00002001   0x00000048   0x00000001

+0040: 0x00000003   0x00000002   0x8A880BB1   0x00000533

+0050: 0x00000000   0x00000000   0xFFFFFFFF   0xFFFFFFFF

+0060: 0x00000000   0x00000003   0x003D76A0   0x00000002

+0070: 0x0045AB5E   0x004AD21C   0x0012FA50   0x00000001

+0080: 0x00000003   0x00000002   0x8A880BB1   0x00000533

+0090: 0x00000000   0x00000000   0xFFFFFFFF   0xFFFFFFFF

+00A0: 0x00000000   0x00489A7E   0x004AD21C   0x0012FA50

+00B0: 0x00000001   0x00000003   0x00000002   0x8A880BB1

+00C0: 0x00480533   0x00000000   0x00000000   0x00000282

+00D0: 0x07A1F08F   0x00000282   0x0113D410   0x0BB10282

+00E0: 0x05338A88   0x0046723E   0x004AD21C   0x0012FA50

+00F0: 0x0000004D   0x00467266   0x0EB18CE8   0x00000282

+0100: 0xFFFFFF03   0x00000282   0x01A70282   0x83BB0000

+0110: 0xE9C344D4   0x0045400D   0x0012FA4C   0xF62C26B1

+0120: 0x088EEC72   0x0012FBAC   0x00455B8B   0xF62C26B1

+0130: 0xF62C26B1   0x0012FC8C   0x0012FB98   0x004A4B2B



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



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004F5000	(C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe)

ntdll.dll	A: 0x7C910000 - 0x7C9D4000	(C:\WINDOWS\system32\ntdll.dll)

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

SHELL32.dll	A: 0x7C9E0000 - 0x7D1E5000	(C:\WINDOWS\system32\SHELL32.dll)

msvcrt.dll	A: 0x77B90000 - 0x77BEA000	(C:\WINDOWS\system32\msvcrt.dll)

GDI32.dll	A: 0x77BF0000 - 0x77C38000	(C:\WINDOWS\system32\GDI32.dll)

USER32.dll	A: 0x77F40000 - 0x77FD1000	(C:\WINDOWS\system32\USER32.dll)

ADVAPI32.dll	A: 0x77D90000 - 0x77E3D000	(C:\WINDOWS\system32\ADVAPI32.dll)

RPCRT4.dll	A: 0x77C40000 - 0x77CDF000	(C:\WINDOWS\system32\RPCRT4.dll)

Secur32.dll	A: 0x76E70000 - 0x76E83000	(C:\WINDOWS\system32\Secur32.dll)

SHLWAPI.dll	A: 0x77EE0000 - 0x77F32000	(C:\WINDOWS\system32\SHLWAPI.dll)

WSOCK32.dll	A: 0x71A00000 - 0x71A0A000	(C:\WINDOWS\system32\WSOCK32.dll)

WS2_32.dll	A: 0x71A50000 - 0x71A67000	(C:\WINDOWS\system32\WS2_32.dll)

WS2HELP.dll	A: 0x71A40000 - 0x71A48000	(C:\WINDOWS\system32\WS2HELP.dll)

WINMM.dll	A: 0x769C0000 - 0x769EE000	(C:\WINDOWS\system32\WINMM.dll)

comctl32.dll	A: 0x77360000 - 0x77463000	(C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll)

rdpsnd.dll	A: 0x71A10000 - 0x71A18000	(C:\WINDOWS\system32\rdpsnd.dll)

WINSTA.dll	A: 0x779B0000 - 0x779C1000	(C:\WINDOWS\system32\WINSTA.dll)

NETAPI32.dll	A: 0x71A90000 - 0x71AE7000	(C:\WINDOWS\system32\NETAPI32.dll)

PSAPI.DLL	A: 0x76A90000 - 0x76A9B000	(C:\WINDOWS\system32\PSAPI.DLL)

streamer.dll	A: 0x10000000 - 0x1003E000	(C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\streamer.dll)

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

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

MapAndreas.dll	A: 0x00B60000 - 0x00B77000	(C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\MapAndreas.dll)

sscanf.dll	A: 0x00BA0000 - 0x00BAD000	(C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\sscanf.dll)

ExtRcon.dll	A: 0x6FF80000 - 0x6FF89000	(C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\ExtRcon.dll)

mswsock.dll	A: 0x71970000 - 0x719B2000	(C:\WINDOWS\system32\mswsock.dll)

hnetcfg.dll	A: 0x5C7E0000 - 0x5C83A000	(C:\WINDOWS\system32\hnetcfg.dll)

wshtcpip.dll	A: 0x71930000 - 0x71938000	(C:\WINDOWS\System32\wshtcpip.dll)

DNSAPI.dll	A: 0x76DF0000 - 0x76E1B000	(C:\WINDOWS\system32\DNSAPI.dll)

winrnr.dll	A: 0x76E90000 - 0x76E97000	(C:\WINDOWS\System32\winrnr.dll)

WLDAP32.dll	A: 0x76E30000 - 0x76E5F000	(C:\WINDOWS\system32\WLDAP32.dll)

rasadhlp.dll	A: 0x76EA0000 - 0x76EA5000	(C:\WINDOWS\system32\rasadhlp.dll)

MSCTF.dll	A: 0x74400000 - 0x74450000	(C:\WINDOWS\system32\MSCTF.dll)

apphelp.dll	A: 0x75D70000 - 0x75D97000	(C:\WINDOWS\system32\apphelp.dll)

CLBCatQ.DLL	A: 0x77650000 - 0x776D3000	(C:\WINDOWS\system32\CLBCatQ.DLL)

OLEAUT32.dll	A: 0x77CF0000 - 0x77D7B000	(C:\WINDOWS\system32\OLEAUT32.dll)

COMRes.dll	A: 0x76F30000 - 0x770BD000	(C:\WINDOWS\system32\COMRes.dll)

VERSION.dll	A: 0x77B80000 - 0x77B88000	(C:\WINDOWS\system32\VERSION.dll)

urlmon.dll	A: 0x77A80000 - 0x77B2F000	(C:\WINDOWS\system32\urlmon.dll)

SETUPAPI.dll	A: 0x764C0000 - 0x765CB000	(C:\WINDOWS\system32\SETUPAPI.dll)

USERENV.dll	A: 0x76840000 - 0x76903000	(C:\WINDOWS\system32\USERENV.dll)
Reply
#2

@Bump

again, but now with crashdetect (not much info btw)


[20/04/13 13:11:02] [death] Swtyy_Domo died 255
[20/04/13 13:11:06] connections => Swtyy_Domo desconectou no servidor. (id: 23 - IP: 255.255.255.255 - Serial: 995E5CD8CADCD88FCAE89EDCACA00DADDC4E49C4)
[20/04/13 13:11:06] [part] Swtyy_Domo has left the server (23:2)
[20/04/13 13:11:06] [debug] Server crashed due to an unknown error
[20/04/13 13:11:06] [debug] System backtrace:
[20/04/13 13:11:06] [debug] #0 000000fa in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
Reply
#3

compile gamemode with -d3

and post your OnPlayerDeath if your server crash here

EDIT: OnPlayerDIsconnect too
Reply
#4

it's already compiled on -d3
and I would love to post OnPlayerDeath or OnPlayerDisconnect, but I have at least 10 of each as I use y_hooks

if it was something on my callbacks crashdetect would certainly say so =/
Reply
#5

Quote:
Originally Posted by dudaefj
Посмотреть сообщение
@Bump

again, but now with crashdetect (not much info btw)


[20/04/13 13:11:02] [death] Swtyy_Domo died 255
[20/04/13 13:11:06] connections => Swtyy_Domo desconectou no servidor. (id: 23 - IP: 255.255.255.255 - Serial: 995E5CD8CADCD88FCAE89EDCACA00DADDC4E49C4)
[20/04/13 13:11:06] [part] Swtyy_Domo has left the server (23:2)
[20/04/13 13:11:06] [debug] Server crashed due to an unknown error
[20/04/13 13:11:06] [debug] System backtrace:
[20/04/13 13:11:06] [debug] #0 000000fa in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
See the IP address. It can be a hacker or a lagger. Script your own IsPlayerConnected function to ensure that someone has left the server and it isn't a fake message by cheat. See if it works.
Reply
#6

it's not a hacker, if you use GetPlayerIP() func on callback OnPlayerDisconnect the ip normaly will be showed as 255.255.255.255

and there is no way to fake your ip address like that...

and there is not just this guy, it happens at least once per week

sometimes I think it's something on Windows Server 2003
or maybe the plugins (I use a lot of them)


@Edit
I got an other crashdetect report, can anyone understand that??


Код:
[23/04/13 13:50:57] Incoming connection: 187.21.106.161:53321
[23/04/13 13:50:57] [debug] Server crashed while executing BSL2.amx
[23/04/13 13:50:57] [debug] AMX backtrace:
[23/04/13 13:50:57] [debug] #0 native CallLocalFunction () [00471e90] from samp-server.exe
[23/04/13 13:50:57] [debug] System backtrace:
[23/04/13 13:50:57] [debug] #0 1002340a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #1 10025aa6 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #2 1001d621 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #3 1002345a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #4 0047219e in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
[23/04/13 13:50:57] [debug] #5 004010b6 in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
[23/04/13 13:50:57] [debug] #6 1002340a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #7 10025aa6 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #8 1001d621 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #9 1002345a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:57] [debug] #10 0047219e in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
[23/04/13 13:50:57] [debug] #11 004010b6 in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
[23/04/13 13:50:57] [debug] #12 1002340a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #13 10025aa6 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #14 1001d621 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #15 1002345a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #16 0047219e in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
[23/04/13 13:50:58] [debug] #17 004010b6 in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
[23/04/13 13:50:58] [debug] #18 1002340a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #19 10025aa6 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #20 1001d621 in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #21 1002345a in Load () from C:\Documents and Settings\Administrador\Desktop\BSL2\plugins\crashdetect.dll
[23/04/13 13:50:58] [debug] #22 0046c8cb in ?? () from C:\Documents and Settings\Administrador\Desktop\BSL2\samp-server.exe
Reply
#7

@Bump
nobody knows anything about that?
Reply
#8

Do you have a public called Load? If so, post it.

PS: That's not a bug, it's your script fault.
Reply
#9

Try latest crashdetect, this one is outdated (and possibly buggy)
https://github.com/Zeex/samp-plugin-...tag/v4.12-beta
Reply
#10

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Do you have a public called Load? If so, post it.

PS: That's not a bug, it's your script fault.
I used a Full Search on:
Load(
c Load
"Load


but no results of any public called Load


I really can't imagine how a crash on part could be a script fault, but I'm really trying to figer it out


Quote:
Originally Posted by xeeZ
Посмотреть сообщение
Try latest crashdetect, this one is outdated (and possibly buggy)
https://github.com/Zeex/samp-plugin-...tag/v4.12-beta
thank you, I'm downloading it right now

@Edit
what do I do with crashdetect.pdb file? Just throw it on plugins folder?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)