Server crashes when spawning
#1

Hello

I'm making a gm, and for that I use SII for file writing.
I know it's outdated, but I like it, it's not too hard.

But since it is old I considered switching to y_ini.
I never started using y_ini in the first place because I found that it was very poorly explained (no offence, but none of ******' includes or plugins are clear to me and even the topic where ****** explained Y_ini himself didn't help me out...)
But I gave it a try, installed the plugins, and quickly went back to SII after because I just didn't like y_ini.
So I deleted the files I added to the pawno/include folder, replace YSI/Y_ini with SII on top of the script, compiled and tested the game, but then I get a server crash when spawning...

I've had this before and it was caused by a bad installation of a plugin or include, but now I didn't change a thing, but I do get the crash...
Reply
#2

Load crashdetect and show us what it prints.
Reply
#3

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

SA-MP Server: 0.3x



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



Registers:

EAX: 0x00000024	EBX: 0x00000020	ECX: 0x004E15A8	EDX: 0x00000000

ESI: 0x00000024	EDI: 0x00000020	EBP: 0x0012F344	ESP: 0x0012F330

EFLAGS: 0x00010212



Stack:

+0000: 0x02753BFC   0x00000000   0x00000000   0x00000000

+0010: 0x00000000   0x0012F380   0x004925A0   0x00000020

+0020: 0x00492BFE   0x00000000   0x02753BFC   0x00000000

+0030: 0x00000020   0x00000FFF   0x0012F358   0x0012EF54

+0040: 0x0012FB4C   0x00496BF8   0x004B1670   0xFFFFFFFF

+0050: 0x00000000   0x0040534E   0x00000020   0x00000000

+0060: 0x02753BEC   0x0012F3B0   0x026EE518   0x0040578F

+0070: 0x00000001   0x016DF578   0x016DF578   0x0000001F

+0080: 0x026F88C8   0x004010B6   0x016DF578   0x02753BFC

+0090: 0x026F8904   0x00402B63   0x016DF578   0x0000000D

+00A0: 0x0012F3E8   0x02753BEC   0x0012F87C   0x00000001

+00B0: 0x02754480   0x016DF578   0x00000000   0x0005B2E8

+00C0: 0x0005B2E8   0x0005BB70   0x0002FD50   0x0005B4F8

+00D0: 0x0002FD50   0x026EE518   0x026F8904   0x00000000

+00E0: 0x026EDBD8   0x0000A3EC   0x00471F3E   0x016DF578

+00F0: 0x0012F86C   0x0000002D   0x65742030   0x00007473

+0100: 0x00007369   0x5F646D63   0x6B63696B   0x00471C00

+0110: 0x016DF578   0x026F8904   0x0002FD18   0x0002FD34

+0120: 0x00000000   0x00000000   0x00000000   0x00000000

+0130: 0x00000000   0x00000000   0x00000000   0x00000000



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



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004F4000	(C:\Users\Els\Documents\GTA San Andreas User Files\Server\samp03x_svr_win32\samp-server.exe)

ntdll.dll	A: 0x77250000 - 0x77378000	(C:\Windows\system32\ntdll.dll)

kernel32.dll	A: 0x763F0000 - 0x764CC000	(C:\Windows\system32\kernel32.dll)

SHELL32.dll	A: 0x75680000 - 0x76191000	(C:\Windows\system32\SHELL32.dll)

msvcrt.dll	A: 0x76340000 - 0x763EA000	(C:\Windows\system32\msvcrt.dll)

GDI32.dll	A: 0x762F0000 - 0x7633B000	(C:\Windows\system32\GDI32.dll)

USER32.dll	A: 0x74E80000 - 0x74F1D000	(C:\Windows\system32\USER32.dll)

ADVAPI32.dll	A: 0x761A0000 - 0x76266000	(C:\Windows\system32\ADVAPI32.dll)

RPCRT4.dll	A: 0x75390000 - 0x75452000	(C:\Windows\system32\RPCRT4.dll)

SHLWAPI.dll	A: 0x74FA0000 - 0x74FF9000	(C:\Windows\system32\SHLWAPI.dll)

WSOCK32.dll	A: 0x707D0000 - 0x707D7000	(C:\Windows\system32\WSOCK32.dll)

WS2_32.dll	A: 0x75210000 - 0x7523D000	(C:\Windows\system32\WS2_32.dll)

NSI.dll	A: 0x769E0000 - 0x769E6000	(C:\Windows\system32\NSI.dll)

WINMM.dll	A: 0x73620000 - 0x73652000	(C:\Windows\system32\WINMM.dll)

OLEAUT32.dll	A: 0x755F0000 - 0x7567D000	(C:\Windows\system32\OLEAUT32.dll)

OLEACC.dll	A: 0x735E0000 - 0x7361E000	(C:\Windows\system32\OLEACC.dll)

IMM32.DLL	A: 0x768D0000 - 0x768EE000	(C:\Windows\system32\IMM32.DLL)

MSCTF.dll	A: 0x75000000 - 0x750C8000	(C:\Windows\system32\MSCTF.dll)

LPK.DLL	A: 0x768C0000 - 0x768C9000	(C:\Windows\system32\LPK.DLL)

USP10.dll	A: 0x74F20000 - 0x74F9D000	(C:\Windows\system32\USP10.dll)

comctl32.dll	A: 0x73DF0000 - 0x73F8E000	(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18305_none_5cb72f2a088b0ed3\comctl32.dll)

sscanf.dll	A: 0x10000000 - 0x1000D000	(C:\Users\Els\Documents\GTA San Andreas User Files\Server\samp03x_svr_win32\plugins\sscanf.dll)

MSVCR100.dll	A: 0x6FEA0000 - 0x6FF5F000	(C:\Windows\system32\MSVCR100.dll)

mswsock.dll	A: 0x74490000 - 0x744CB000	(C:\Windows\system32\mswsock.dll)

wshtcpip.dll	A: 0x74020000 - 0x74025000	(C:\Windows\System32\wshtcpip.dll)

NLAapi.dll	A: 0x735B0000 - 0x735BF000	(C:\Windows\system32\NLAapi.dll)

IPHLPAPI.DLL	A: 0x746F0000 - 0x74709000	(C:\Windows\system32\IPHLPAPI.DLL)

dhcpcsvc.DLL	A: 0x746B0000 - 0x746E5000	(C:\Windows\system32\dhcpcsvc.DLL)

DNSAPI.dll	A: 0x749C0000 - 0x749EC000	(C:\Windows\system32\DNSAPI.dll)

Secur32.dll	A: 0x74D10000 - 0x74D24000	(C:\Windows\system32\Secur32.dll)

WINNSI.DLL	A: 0x74690000 - 0x74697000	(C:\Windows\system32\WINNSI.DLL)

dhcpcsvc6.DLL	A: 0x74660000 - 0x74682000	(C:\Windows\system32\dhcpcsvc6.DLL)

napinsp.dll	A: 0x70B70000 - 0x70B7F000	(C:\Windows\system32\napinsp.dll)

pnrpnsp.dll	A: 0x70B30000 - 0x70B42000	(C:\Windows\system32\pnrpnsp.dll)

winrnr.dll	A: 0x70B60000 - 0x70B68000	(C:\Windows\System32\winrnr.dll)

WLDAP32.dll	A: 0x768F0000 - 0x76939000	(C:\Windows\system32\WLDAP32.dll)

PSAPI.DLL	A: 0x74E70000 - 0x74E77000	(C:\Windows\system32\PSAPI.DLL)

mdnsNSP.dll	A: 0x70980000 - 0x709A1000	(C:\Program Files\Bonjour\mdnsNSP.dll)

rasadhlp.dll	A: 0x722A0000 - 0x722A6000	(C:\Windows\system32\rasadhlp.dll)
Reply
#4

Could you perhaps... show us your OnPlayerSpawn? 0_o
Reply
#5

That's a client crash. Unfortunately, I cannot help on that.

When you said "but then I get a server crash", did you mean client crash?

If not, then I can help you find the problem it causes the crash and fix it with crashdetect's help.
If it's a client crash and happens to everyone (we can test it later), then OnPlayerSpawn might cause it.
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
That's a client crash. Unfortunately, I cannot help on that.

When you said "but then I get a server crash", did you mean client crash?

If not, then I can help you find the problem it causes the crash and fix it with crashdetect's help.
If it's a client crash and happens to everyone (we can test it later), then OnPlayerSpawn might cause it.
Can't be an OnPlayerSpawn crash, I changed nothing in the script, only the include, then I changed it back, whitout touching a line, and the game 'flashes' (not really crashes) when I spawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)