Server crashes after startup.
#1

Hello.
Including YSI\y_ini to my gamemode makes it crash.
I decided to make a new gamemode and just add #include <YSI\y_ini> to it.
I want to mention that I put YSI (folder) and YSI.inc in pawno/includes and YSI (folder) and YSI.tde in scriptfiles

I save that new gamemode with name of test, no other filterscript, change password so I get no erros, everything done but still won't work. Here are my logs:

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

SA-MP Server: 0.3e-R2



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



Registers:

EAX: 0x00002EF8	EBX: 0x00002F00	ECX: 0x7EFDD000	EDX: 0x00002736

ESI: 0x00230000	EDI: 0x00000000	EBP: 0x0018FD8C	ESP: 0x0018FD7C

EFLAGS: 0x00010246



Stack:

+0000: 0x00002F00   0x00000064   0x02220020   0x00000000

+0010: 0x0018FDA0   0x75EC14DD   0x00230000   0x00000000

+0020: 0x00002F00   0x0018FDDC   0x00493271   0x00230000

+0030: 0x00000000   0x00002F00   0x00000064   0x02502AD8

+0040: 0x02220020   0x76512E57   0x0018FDB4   0x0018F950

+0050: 0x0018FEA4   0x00497668   0x004B22D0   0xFFFFFFFF

+0060: 0x75EC10FF   0x00468CD8   0x00002F00   0x02502AD8

+0070: 0x0047DE14   0x00000064   0x02222836   0x00000000

+0080: 0x0047DF36   0x02220020   0x75EC1136   0x00238F00

+0090: 0x3BA52F16   0x00238598   0x0000A630   0x024FEAD0

+00A0: 0x00000060   0x00000000   0x0048A9F7   0x75EC16C5

+00B0: 0x00000000   0x3BA52F16   0x0048706D   0x00000000

+00C0: 0x00001DB1   0x0018FF88   0x7EFDE000   0x0000E000

+00D0: 0x00010101   0x00000032   0x00001E61   0x000000A0

+00E0: 0x0000103C   0x00238F00   0x656D6167   0x65646F6D

+00F0: 0x00003531   0x004BC014   0x004BC010   0x7EFDE000

+0100: 0x004A5820   0x0018FE70   0x0018FF78   0x0018FF78

+0110: 0x00497668   0x004B2478   0xFFFFFFFF   0x00495901

+0120: 0x00495911   0x004A5820   0x0018FF78   0x004A5471

+0130: 0xFFFFFFFF   0x00497106   0x00000001   0x002314B0



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



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004F5000	(C:\Users\Alin\Desktop\testing\samp-server.exe)

ntdll.dll	A: 0x77CF0000 - 0x77E70000	(C:\Windows\SysWOW64\ntdll.dll)

kernel32.dll	A: 0x75EB0000 - 0x75FC0000	(C:\Windows\syswow64\kernel32.dll)

KERNELBASE.dll	A: 0x75E40000 - 0x75E87000	(C:\Windows\syswow64\KERNELBASE.dll)

SHELL32.dll	A: 0x76640000 - 0x7728A000	(C:\Windows\syswow64\SHELL32.dll)

msvcrt.dll	A: 0x756A0000 - 0x7574C000	(C:\Windows\syswow64\msvcrt.dll)

SHLWAPI.dll	A: 0x755B0000 - 0x75607000	(C:\Windows\syswow64\SHLWAPI.dll)

GDI32.dll	A: 0x76470000 - 0x76500000	(C:\Windows\syswow64\GDI32.dll)

USER32.dll	A: 0x76540000 - 0x76640000	(C:\Windows\syswow64\USER32.dll)

ADVAPI32.dll	A: 0x75510000 - 0x755B0000	(C:\Windows\syswow64\ADVAPI32.dll)

sechost.dll	A: 0x75E90000 - 0x75EA9000	(C:\Windows\SysWOW64\sechost.dll)

RPCRT4.dll	A: 0x75780000 - 0x75870000	(C:\Windows\syswow64\RPCRT4.dll)

SspiCli.dll	A: 0x753D0000 - 0x75430000	(C:\Windows\syswow64\SspiCli.dll)

CRYPTBASE.dll	A: 0x753C0000 - 0x753CC000	(C:\Windows\syswow64\CRYPTBASE.dll)

LPK.dll	A: 0x75E30000 - 0x75E3A000	(C:\Windows\syswow64\LPK.dll)

USP10.dll	A: 0x762A0000 - 0x7633D000	(C:\Windows\syswow64\USP10.dll)

WSOCK32.dll	A: 0x65160000 - 0x65167000	(C:\Windows\system32\WSOCK32.dll)

WS2_32.dll	A: 0x76500000 - 0x76535000	(C:\Windows\syswow64\WS2_32.dll)

NSI.dll	A: 0x76340000 - 0x76346000	(C:\Windows\syswow64\NSI.dll)

WINMM.dll	A: 0x73A70000 - 0x73AA2000	(C:\Windows\system32\WINMM.dll)

IMM32.DLL	A: 0x75BE0000 - 0x75C40000	(C:\Windows\system32\IMM32.DLL)

MSCTF.dll	A: 0x75C40000 - 0x75D0C000	(C:\Windows\syswow64\MSCTF.dll)

mswsock.dll	A: 0x71840000 - 0x7187C000	(C:\Windows\system32\mswsock.dll)

wshtcpip.dll	A: 0x75260000 - 0x75265000	(C:\Windows\System32\wshtcpip.dll)

NLAapi.dll	A: 0x752B0000 - 0x752C0000	(C:\Windows\system32\NLAapi.dll)

napinsp.dll	A: 0x752A0000 - 0x752B0000	(C:\Windows\system32\napinsp.dll)

pnrpnsp.dll	A: 0x750C0000 - 0x750D2000	(C:\Windows\system32\pnrpnsp.dll)

wshbth.dll	A: 0x75290000 - 0x7529D000	(C:\Windows\system32\wshbth.dll)

DNSAPI.dll	A: 0x751F0000 - 0x75234000	(C:\Windows\system32\DNSAPI.dll)

winrnr.dll	A: 0x75280000 - 0x75288000	(C:\Windows\System32\winrnr.dll)

IPHLPAPI.DLL	A: 0x71C60000 - 0x71C7C000	(C:\Windows\system32\IPHLPAPI.DLL)

WINNSI.DLL	A: 0x71C50000 - 0x71C57000	(C:\Windows\system32\WINNSI.DLL)

rasadhlp.dll	A: 0x75270000 - 0x75276000	(C:\Windows\system32\rasadhlp.dll)
(seems like ntdll.dll is a problem...)

Код:
SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[15:55:39] filterscripts = ""  (string)
[15:55:39] 
[15:55:39] Server Plugins
[15:55:39] --------------
[15:55:39]  Loaded 0 plugins.

[15:55:39] 
[15:55:39] Filterscripts
[15:55:39] ---------------
[15:55:39]   Loaded 0 filterscripts.

[15:55:39]  
[15:55:39]  
[15:55:39]  
[15:55:39]  ======================================= 
[15:55:39]  |                                     | 
[15:55:39]  |        YSI version 1.06.0002        | 
[15:55:39]  |        By Alex "******" Cole        | 
[15:55:39]  |                                     | 
[15:55:39]  ======================================= 
[15:55:39]  
[15:55:39]  
[15:55:39]  
[15:55:39]  
[15:55:39] 
----------------------------------
[15:55:39]  Blank Gamemode by your name here
[15:55:39] ----------------------------------

[15:55:39] Number of vehicle models: 0
And the pawn script in case you didn't understand:

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <YSI\y_ini> // the only line added

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}
// and so on with the default new.pwn ofc lol
EDIT: here is the server.cfg too...
Код:
echo Executing Server Config...
lanmode 0
rcon_password omgwhocares
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 test
filterscripts
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
logtimeformat [%H:%M:%S]
I just want to use Y_INI... but it crashes my server
I hope you guys can spot me a fix.. if nothing works I will even format my windows....

thank you...
Reply
#2

Can anyone answer this?
Reply
#3

BUMP!!!

GUYS!! I also found my problem! I tried turning my internet off ( credits go to my friend for telling me to do that XD) and I tried running sa-mp server. It worked.

So now that I know I can run with my internet off but not on, what is the problem? Permissions?
Please help! Thank you!
Reply
#4

bump...
Reply
#5

i think it has something with the update fuction, same think is happening to me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)