SAMP server keeps closing down when i connect
#1

So when i connect to my samp server it says, Connected Joining server. And then the server shuts down. Here is Crash log and Server log.

Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:42:11]
[17:42:11] Server Plugins
[17:42:11] --------------
[17:42:11] Loading plugin: mysql.dll
[17:42:11]

> MySQL plugin R6-2 successfully loaded.

[17:42:11] Loaded.
[17:42:11] Loading plugin: streamer.dll
[17:42:11]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[17:42:11] Loaded.
[17:42:11] Loading plugin: Whirlpool.dll
[17:42:11]
[17:42:11] ==================
[17:42:11]
[17:42:11] Whirlpool loaded
[17:42:11]
[17:42:11] ==================
[17:42:11]
[17:42:11] Loaded.
[17:42:11] Loading plugin: sscanf.dll
[17:42:11]

[17:42:11] ===============================

[17:42:11] sscanf plugin loaded.

[17:42:11] Version: 2.8.1

[17:42:11] © 2012 Alex "******" Cole

[17:42:11] ===============================

[17:42:11] Loaded.
[17:42:11] Loading plugin: nativechecker.dll
[17:42:11] Loaded.
[17:42:11] Loaded 5 plugins.

[17:42:11]
[17:42:11] Filterscripts
[17:42:11] ---------------
[17:42:11] Loading filterscript 'yom_buttons.amx'...
[17:42:11] Loading filterscript 'anims.amx'...
[17:42:11] Loaded 2 filterscripts.

[17:42:11] SSCANF2 Loaded
[17:42:32]
----------------------------------
[17:42:32] Irish Roleplay
[17:42:32] ----------------------------------

[17:42:32] Number of vehicle models: 120

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:47:51]
[17:47:51] Server Plugins
[17:47:51] --------------
[17:47:51] Loading plugin: mysql.dll
[17:47:51]

> MySQL plugin R6-2 successfully loaded.

[17:47:51] Loaded.
[17:47:51] Loading plugin: streamer.dll
[17:47:51]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[17:47:51] Loaded.
[17:47:51] Loading plugin: Whirlpool.dll
[17:47:51]
[17:47:51] ==================
[17:47:51]
[17:47:51] Whirlpool loaded
[17:47:51]
[17:47:51] ==================
[17:47:51]
[17:47:51] Loaded.
[17:47:51] Loading plugin: sscanf.dll
[17:47:51]

[17:47:51] ===============================

[17:47:51] sscanf plugin loaded.

[17:47:51] Version: 2.8.1

[17:47:51] © 2012 Alex "******" Cole

[17:47:51] ===============================

[17:47:51] Loaded.
[17:47:51] Loading plugin: nativechecker.dll
[17:47:51] Loaded.
[17:47:51] Loaded 5 plugins.

[17:47:51]
[17:47:51] Filterscripts
[17:47:51] ---------------
[17:47:51] Loading filterscript 'yom_buttons.amx'...
[17:47:51] Loading filterscript 'anims.amx'...
[17:47:51] Loaded 2 filterscripts.

[17:47:51]
[17:47:51] =======================================
[17:47:51] | |
[17:47:51] | YSI version 1.03.0011 |
[17:47:51] | By Alex "******" Cole |
[17:47:51] | |
[17:47:51] | Checking the latest YSI version.. |
[17:47:51] | |
[17:47:51] =======================================
[17:47:51]
[17:47:51] SSCANF2 Loaded
[17:48:10]
----------------------------------
[17:48:10] Testing Script
[17:48:10] ----------------------------------

[17:48:10] Number of vehicle models: 120
[17:48:10]
[17:48:10] ==========================================
[17:48:10] | |
[17:48:10] | A new version (v3.09.0684) of YSI is |
[17:48:10] | available from: |
[17:48:10] | |
[17:48:10] | www.y-less.com/YSI/YSI_1.0.zip |
[17:48:10] | |
[17:48:10] | Changelog: |
[17:48:10] | |
[17:48:10] | 1.04.0000: |
[17:48:10] | |
[17:48:10] | RC 1 for YSI 3.0. Available from: |
[17:48:10] | http://www.y-less.com/YSI/YSI_3.0.rar |
[17:48:10] | - includes MANY new libraries and |
[17:48:10] | fixes, see |
[17:48:10] | http://forum.sa-mp.com/showthread.php? |
[17:48:10] | p=1425938 for more information, with |
[17:48:10] | more topics and updates due over the |
[17:48:10] | next few weeks. In brief: Added |
[17:48:10] | "y_inline", "y_text", "y_users", |
[17:48:10] | "y_uvar", "y_svar", "y_remote"; |
[17:48:10] | updated "y_timers", "y_iter"; MANY |
[17:48:10] | MANY fixes and tweaks in almost every |
[17:48:10] | other library. |
[17:48:10] | |
[17:48:10] | 3.00.0000: |
[17:48:10] | |
[17:48:10] | YSI 3.0 released! Now includes the |
[17:48:10] | "y_text" library for better messages, |
[17:48:10] | and a reworked "y_classes" library. |
[17:48:10] | Largely documented here |
[17:48:10] | "http://forum.sa-mp.com/showthread.php |
[17:48:10] | ?t=321092". |
[17:48:10] | |
[17:48:10] | 3.01.0002: |
[17:48:10] | |
[17:48:10] | Small fixes to "y_text" and |
[17:48:10] | "y_classes". |
[17:48:10] | |
[17:48:10] | 3.09.0684: |
[17:48:10] | |
[17:48:10] | Reverted to old download location. |
[17:48:10] | Improved (and fixed) version checks; |
[17:48:10] | added y_bitmap, y_areas, y_races, |
[17:48:10] | y_zonenames, better documentation; |
[17:48:10] | MANY other bug fixes - see the github |
[17:48:10] | repository for more details: |
[17:48:10] | |
[17:48:10] ==========================================
[17:48:10]
[17:50:53] Incoming connection: 127.0.0.1:52282
[17:50:53] [join] Frank_Junior_Hudson has joined the server (0:127.0.0.1)
Crash Log

Quote:


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

SA-MP Server: 0.3z



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



Registers:

EAX: 0x00000024 EBX: 0x00000014 ECX: 0x00000020 EDX: 0x7FFDD000

ESI: 0x0477CD20 EDI: 0x0477CD38 EBP: 0x0018E2B0 ESP: 0x0018E2B0

EFLAGS: 0x00010202



Stack:

+0000: 0x0018E2F0 0x00493990 0x00000020 0x0049A2F0

+0010: 0x00000000 0x0477CD38 0x0477CD20 0x00000014

+0020: 0x0018E2FC 0x7562EE1D 0x0018E2C4 0x0018DDEC

+0030: 0x0018F394 0x00497FE8 0x004B3390 0xFFFFFFFF

+0040: 0x00000014 0x00493FC0 0x00000000 0x00404F14

+0050: 0x00000000 0x0018E31C 0x0477CD20 0x00000014

+0060: 0x0018E358 0x0040650C 0x00000000 0x00000000

+0070: 0x0477CAC8 0x00405802 0x00000000 0x00000014

+0080: 0x00000001 0x045E4C30 0x004057A0 0x02706420

+0090: 0x013682C0 0x004057B0 0x02706420 0x02706420

+00A0: 0x031772EC 0x00000087 0x031A04D0 0x004010B6

+00B0: 0x02706420 0x0477CD38 0x03414A78 0x00402B63

+00C0: 0x02706420 0x0000003C 0x0018E390 0x0477CD20

+00D0: 0x0018E828 0x00000000 0x0477CDF4 0x02706420

+00E0: 0x00000000 0x013682B0 0x013682A8 0x01368370

+00F0: 0x0134E7F4 0x01368310 0x0134E7F4 0x031772EC

+0100: 0x03414A78 0x00000000 0x03172020 0x0029D78C

+0110: 0x00472DDE 0x02706420 0x0018E818 0x00000069

+0120: 0x00470069 0x41435353 0x4F5F464E 0x616C506E

+0130: 0x43726579 0x656E6E6F 0x00007463 0x02706420



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



Loaded Modules:

samp-server.exe A: 0x00400000 - 0x004F5000 (C:\Users\Luke\Desktop\SAMP 0.ez\samp-server.exe)

ntdll.dll A: 0x770D0000 - 0x7723E000 (C:\WINDOWS\SYSTEM32\ntdll.dll)

KERNEL32.DLL A: 0x753C0000 - 0x75500000 (C:\WINDOWS\SYSTEM32\KERNEL32.DLL)

KERNELBASE.dll A: 0x75620000 - 0x756F0000 (C:\WINDOWS\SYSTEM32\KERNELBASE.dll)

SHELL32.dll A: 0x757E0000 - 0x76A8C000 (C:\WINDOWS\SYSTEM32\SHELL32.dll)

USER32.dll A: 0x74A60000 - 0x74BAF000 (C:\WINDOWS\SYSTEM32\USER32.dll)

WSOCK32.dll A: 0x70D50000 - 0x70D58000 (C:\WINDOWS\SYSTEM32\WSOCK32.dll)

WINMM.dll A: 0x74410000 - 0x74430000 (C:\WINDOWS\SYSTEM32\WINMM.dll)

msvcrt.dll A: 0x76F40000 - 0x76FFE000 (C:\WINDOWS\SYSTEM32\msvcrt.dll)

combase.dll A: 0x75270000 - 0x753BE000 (C:\WINDOWS\SYSTEM32\combase.dll)

SHLWAPI.dll A: 0x75790000 - 0x757D1000 (C:\WINDOWS\SYSTEM32\SHLWAPI.dll)

GDI32.dll A: 0x76C10000 - 0x76D17000 (C:\WINDOWS\SYSTEM32\GDI32.dll)

WS2_32.dll A: 0x75500000 - 0x7554D000 (C:\WINDOWS\SYSTEM32\WS2_32.dll)

WINMMBASE.dll A: 0x743D0000 - 0x743F0000 (C:\WINDOWS\SYSTEM32\WINMMBASE.dll)

RPCRT4.dll A: 0x75550000 - 0x75600000 (C:\WINDOWS\SYSTEM32\RPCRT4.dll)

NSI.dll A: 0x75610000 - 0x75617000 (C:\WINDOWS\SYSTEM32\NSI.dll)

cfgmgr32.dll A: 0x74DD0000 - 0x74E0A000 (C:\WINDOWS\SYSTEM32\cfgmgr32.dll)

DEVOBJ.dll A: 0x73D40000 - 0x73D5F000 (C:\WINDOWS\SYSTEM32\DEVOBJ.dll)

SspiCli.dll A: 0x749B0000 - 0x749CD000 (C:\WINDOWS\SYSTEM32\SspiCli.dll)

CRYPTBASE.dll A: 0x749A0000 - 0x749A9000 (C:\WINDOWS\SYSTEM32\CRYPTBASE.dll)

sechost.dll A: 0x76EF0000 - 0x76F31000 (C:\WINDOWS\SYSTEM32\sechost.dll)

bcryptPrimitives.dll A: 0x74940000 - 0x74992000 (C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll)

IMM32.DLL A: 0x750B0000 - 0x750D5000 (C:\WINDOWS\system32\IMM32.DLL)

MSCTF.dll A: 0x76A90000 - 0x76BA2000 (C:\WINDOWS\SYSTEM32\MSCTF.dll)

mysql.dll A: 0x10000000 - 0x10013000 (C:\Users\Luke\Desktop\SAMP 0.ez\plugins\mysql.dll)

LIBMYSQL.dll A: 0x021A0000 - 0x022E1000 (C:\Users\Luke\Desktop\SAMP 0.ez\LIBMYSQL.dll)

MSVCR90.dll A: 0x6C040000 - 0x6C0E3000 (C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9 a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVC R90.dll)

MSVCP90.dll A: 0x6CC80000 - 0x6CD0E000 (C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9 a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVC P90.dll)

ADVAPI32.dll A: 0x74EA0000 - 0x74F18000 (C:\WINDOWS\SYSTEM32\ADVAPI32.dll)

napinsp.dll A: 0x70D40000 - 0x70D50000 (C:\WINDOWS\system32\napinsp.dll)

pnrpnsp.dll A: 0x6CFE0000 - 0x6CFF4000 (C:\WINDOWS\system32\pnrpnsp.dll)

NLAapi.dll A: 0x74060000 - 0x74074000 (C:\WINDOWS\system32\NLAapi.dll)

mswsock.dll A: 0x74180000 - 0x741C5000 (C:\WINDOWS\System32\mswsock.dll)

DNSAPI.dll A: 0x740A0000 - 0x7411C000 (C:\WINDOWS\SYSTEM32\DNSAPI.dll)

winrnr.dll A: 0x6CFD0000 - 0x6CFD9000 (C:\WINDOWS\System32\winrnr.dll)

rasadhlp.dll A: 0x74090000 - 0x74097000 (C:\Windows\System32\rasadhlp.dll)

streamer.dll A: 0x6CBF0000 - 0x6CC2B000 (C:\Users\Luke\Desktop\SAMP 0.ez\plugins\streamer.dll)

Whirlpool.dll A: 0x003F0000 - 0x003FC000 (C:\Users\Luke\Desktop\SAMP 0.ez\plugins\Whirlpool.dll)

MSVCR80.dll A: 0x65E00000 - 0x65E9B000 (C:\WINDOWS\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9 a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d\MSVC R80.dll)

sscanf.dll A: 0x00560000 - 0x0056D000 (C:\Users\Luke\Desktop\SAMP 0.ez\plugins\sscanf.dll)

MSVCR100.dll A: 0x65D40000 - 0x65DFF000 (C:\WINDOWS\SYSTEM32\MSVCR100.dll)

nativechecker.dll A: 0x6D950000 - 0x6D955000 (C:\Users\Luke\Desktop\SAMP 0.ez\plugins\nativechecker.dll)

IPHLPAPI.DLL A: 0x74300000 - 0x7431E000 (C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL)

WINNSI.DLL A: 0x742E0000 - 0x742E8000 (C:\WINDOWS\SYSTEM32\WINNSI.DLL)

SHCORE.dll A: 0x73F90000 - 0x7401B000 (C:\WINDOWS\SYSTEM32\SHCORE.dll)

kernel.appcore.dll A: 0x74040000 - 0x74049000 (C:\WINDOWS\SYSTEM32\kernel.appcore.dll)

uxtheme.dll A: 0x719A0000 - 0x71A7B000 (C:\WINDOWS\system32\uxtheme.dll)

PROPSYS.dll A: 0x73E60000 - 0x73F85000 (C:\WINDOWS\SYSTEM32\PROPSYS.dll)

OLEAUT32.dll A: 0x756F0000 - 0x75785000 (C:\WINDOWS\SYSTEM32\OLEAUT32.dll)

SETUPAPI.dll A: 0x76D20000 - 0x76ECD000 (C:\WINDOWS\SYSTEM32\SETUPAPI.dll)

CRYPTSP.dll A: 0x74020000 - 0x74038000 (C:\WINDOWS\SYSTEM32\CRYPTSP.dll)

bcrypt.dll A: 0x73DE0000 - 0x73DFD000 (C:\WINDOWS\SYSTEM32\bcrypt.dll)

Secur32.dll A: 0x73DD0000 - 0x73DD9000 (C:\WINDOWS\SYSTEM32\Secur32.dll)

Any sort of help please!!!
Reply
#2

Load crashdetect plugin: https://github.com/Zeex/samp-plugin-...es/tag/v4.15.1
Compile with -d3: https://github.com/Zeex/samp-plugin-...ith-debug-info

After done the above: restart the server and join the server. When the server crash again, post your server log.
Reply
#3

Thank you, Here is what it says.

Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:42:11]
[17:42:11] Server Plugins
[17:42:11] --------------
[17:42:11] Loading plugin: mysql.dll
[17:42:11]

> MySQL plugin R6-2 successfully loaded.

[17:42:11] Loaded.
[17:42:11] Loading plugin: streamer.dll
[17:42:11]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[17:42:11] Loaded.
[17:42:11] Loading plugin: Whirlpool.dll
[17:42:11]
[17:42:11] ==================
[17:42:11]
[17:42:11] Whirlpool loaded
[17:42:11]
[17:42:11] ==================
[17:42:11]
[17:42:11] Loaded.
[17:42:11] Loading plugin: sscanf.dll
[17:42:11]

[17:42:11] ===============================

[17:42:11] sscanf plugin loaded.

[17:42:11] Version: 2.8.1

[17:42:11] © 2012 Alex "******" Cole

[17:42:11] ===============================

[17:42:11] Loaded.
[17:42:11] Loading plugin: nativechecker.dll
[17:42:11] Loaded.
[17:42:11] Loaded 5 plugins.

[17:42:11]
[17:42:11] Filterscripts
[17:42:11] ---------------
[17:42:11] Loading filterscript 'yom_buttons.amx'...
[17:42:11] Loading filterscript 'anims.amx'...
[17:42:11] Loaded 2 filterscripts.

[17:42:11] SSCANF2 Loaded
[17:42:32]
----------------------------------
[17:42:32] Irish Roleplay
[17:42:32] ----------------------------------

[17:42:32] Number of vehicle models: 120

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:47:51]
[17:47:51] Server Plugins
[17:47:51] --------------
[17:47:51] Loading plugin: mysql.dll
[17:47:51]

> MySQL plugin R6-2 successfully loaded.

[17:47:51] Loaded.
[17:47:51] Loading plugin: streamer.dll
[17:47:51]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[17:47:51] Loaded.
[17:47:51] Loading plugin: Whirlpool.dll
[17:47:51]
[17:47:51] ==================
[17:47:51]
[17:47:51] Whirlpool loaded
[17:47:51]
[17:47:51] ==================
[17:47:51]
[17:47:51] Loaded.
[17:47:51] Loading plugin: sscanf.dll
[17:47:51]

[17:47:51] ===============================

[17:47:51] sscanf plugin loaded.

[17:47:51] Version: 2.8.1

[17:47:51] © 2012 Alex "******" Cole

[17:47:51] ===============================

[17:47:51] Loaded.
[17:47:51] Loading plugin: nativechecker.dll
[17:47:51] Loaded.
[17:47:51] Loaded 5 plugins.

[17:47:51]
[17:47:51] Filterscripts
[17:47:51] ---------------
[17:47:51] Loading filterscript 'yom_buttons.amx'...
[17:47:51] Loading filterscript 'anims.amx'...
[17:47:51] Loaded 2 filterscripts.

[17:47:51]
[17:47:51] =======================================
[17:47:51] | |
[17:47:51] | YSI version 1.03.0011 |
[17:47:51] | By Alex "******" Cole |
[17:47:51] | |
[17:47:51] | Checking the latest YSI version.. |
[17:47:51] | |
[17:47:51] =======================================
[17:47:51]
[17:47:51] SSCANF2 Loaded
[17:48:10]
----------------------------------
[17:48:10] Irish Roleplay
[17:48:10] ----------------------------------

[17:48:10] Number of vehicle models: 120
[17:48:10]
[17:48:10] ==========================================
[17:48:10] | |
[17:48:10] | A new version (v3.09.0684) of YSI is |
[17:48:10] | available from: |
[17:48:10] | |
[17:48:10] | www.y-less.com/YSI/YSI_1.0.zip |
[17:48:10] | |
[17:48:10] | Changelog: |
[17:48:10] | |
[17:48:10] | 1.04.0000: |
[17:48:10] | |
[17:48:10] | RC 1 for YSI 3.0. Available from: |
[17:48:10] | http://www.y-less.com/YSI/YSI_3.0.rar |
[17:48:10] | - includes MANY new libraries and |
[17:48:10] | fixes, see |
[17:48:10] | http://forum.sa-mp.com/showthread.php? |
[17:48:10] | p=1425938 for more information, with |
[17:48:10] | more topics and updates due over the |
[17:48:10] | next few weeks. In brief: Added |
[17:48:10] | "y_inline", "y_text", "y_users", |
[17:48:10] | "y_uvar", "y_svar", "y_remote"; |
[17:48:10] | updated "y_timers", "y_iter"; MANY |
[17:48:10] | MANY fixes and tweaks in almost every |
[17:48:10] | other library. |
[17:48:10] | |
[17:48:10] | 3.00.0000: |
[17:48:10] | |
[17:48:10] | YSI 3.0 released! Now includes the |
[17:48:10] | "y_text" library for better messages, |
[17:48:10] | and a reworked "y_classes" library. |
[17:48:10] | Largely documented here |
[17:48:10] | "http://forum.sa-mp.com/showthread.php |
[17:48:10] | ?t=321092". |
[17:48:10] | |
[17:48:10] | 3.01.0002: |
[17:48:10] | |
[17:48:10] | Small fixes to "y_text" and |
[17:48:10] | "y_classes". |
[17:48:10] | |
[17:48:10] | 3.09.0684: |
[17:48:10] | |
[17:48:10] | Reverted to old download location. |
[17:48:10] | Improved (and fixed) version checks; |
[17:48:10] | added y_bitmap, y_areas, y_races, |
[17:48:10] | y_zonenames, better documentation; |
[17:48:10] | MANY other bug fixes - see the github |
[17:48:10] | repository for more details: |
[17:48:10] | |
[17:48:10] ==========================================
[17:48:10]
[17:50:53] Incoming connection: 127.0.0.1:52282
[17:50:53] [join] Frank_Junior_Hudson has joined the server (0:127.0.0.1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[18:01:53]
[18:01:53] Server Plugins
[18:01:53] --------------
[18:01:53] Loading plugin: mysql.dll
[18:01:53]

> MySQL plugin R6-2 successfully loaded.

[18:01:53] Loaded.
[18:01:53] Loading plugin: streamer.dll
[18:01:53]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[18:01:53] Loaded.
[18:01:53] Loading plugin: Whirlpool.dll
[18:01:53]
[18:01:53] ==================
[18:01:53]
[18:01:53] Whirlpool loaded
[18:01:53]
[18:01:53] ==================
[18:01:53]
[18:01:53] Loaded.
[18:01:53] Loading plugin: sscanf.dll
[18:01:53]

[18:01:53] ===============================

[18:01:53] sscanf plugin loaded.

[18:01:53] Version: 2.8.1

[18:01:53] © 2012 Alex "******" Cole

[18:01:53] ===============================

[18:01:53] Loaded.
[18:01:53] Loading plugin: nativechecker.dll
[18:01:53] Loaded.
[18:01:53] Loading plugin: crashdetect.dll
[18:01:53] CrashDetect v4.15.1 is OK.
[18:01:53] Loaded.
[18:01:53] Loaded 6 plugins.

[18:01:53]
[18:01:53] Filterscripts
[18:01:53] ---------------
[18:01:53] Loading filterscript 'yom_buttons.amx'...
[18:01:53] Loading filterscript 'anims.amx'...
[18:01:53] Loaded 2 filterscripts.

[18:01:53]
[18:01:53] =======================================
[18:01:53] | |
[18:01:53] | YSI version 1.03.0011 |
[18:01:53] | By Alex "******" Cole |
[18:01:53] | |
[18:01:53] | Checking the latest YSI version.. |
[18:01:53] | |
[18:01:53] =======================================
[18:01:53]
[18:01:53] SSCANF2 Loaded
[18:02:15]
----------------------------------
[18:02:15] Irish Roleplay
[18:02:15] ----------------------------------

[18:02:15] Number of vehicle models: 120
[18:02:15]
[18:02:15] ==========================================
[18:02:15] | |
[18:02:15] | A new version (v3.09.0684) of YSI is |
[18:02:15] | available from: |
[18:02:15] | |
[18:02:15] | www.y-less.com/YSI/YSI_1.0.zip |
[18:02:15] | |
[18:02:15] | Changelog: |
[18:02:15] | |
[18:02:15] | 1.04.0000: |
[18:02:15] | |
[18:02:15] | RC 1 for YSI 3.0. Available from: |
[18:02:15] | http://www.y-less.com/YSI/YSI_3.0.rar |
[18:02:15] | - includes MANY new libraries and |
[18:02:15] | fixes, see |
[18:02:15] | http://forum.sa-mp.com/showthread.php? |
[18:02:15] | p=1425938 for more information, with |
[18:02:15] | more topics and updates due over the |
[18:02:15] | next few weeks. In brief: Added |
[18:02:15] | "y_inline", "y_text", "y_users", |
[18:02:15] | "y_uvar", "y_svar", "y_remote"; |
[18:02:15] | updated "y_timers", "y_iter"; MANY |
[18:02:15] | MANY fixes and tweaks in almost every |
[18:02:15] | other library. |
[18:02:15] | |
[18:02:15] | 3.00.0000: |
[18:02:15] | |
[18:02:15] | YSI 3.0 released! Now includes the |
[18:02:15] | "y_text" library for better messages, |
[18:02:15] | and a reworked "y_classes" library. |
[18:02:15] | Largely documented here |
[18:02:15] | "http://forum.sa-mp.com/showthread.php |
[18:02:15] | ?t=321092". |
[18:02:15] | |
[18:02:15] | 3.01.0002: |
[18:02:15] | |
[18:02:15] | Small fixes to "y_text" and |
[18:02:15] | "y_classes". |
[18:02:15] | |
[18:02:15] | 3.09.0684: |
[18:02:15] | |
[18:02:15] | Reverted to old download location. |
[18:02:15] | Improved (and fixed) version checks; |
[18:02:15] | added y_bitmap, y_areas, y_races, |
[18:02:15] | y_zonenames, better documentation; |
[18:02:15] | MANY other bug fixes - see the github |
[18:02:15] | repository for more details: |
[18:02:15] | |
[18:02:15] ==========================================
[18:02:15]
[18:02:38] Incoming connection: 127.0.0.1:49838
[18:02:38] [join] Frank_Junior_Hudson has joined the server (0:127.0.0.1)
[18:02:38] [debug] Server crashed while executing HRP_9.0.amx
[18:02:38] [debug] AMX backtrace:
[18:02:38] [debug] #0 native fread () from samp-server.exe
[18:02:38] [debug] #1 000291e4 in ?? (2034972 from HRP_9.0.amx
[18:02:38] [debug] #2 001f2224 in public SSCANF_OnPlayerConnect (0) from HRP_9.0.amx
[18:02:38] [debug] #3 native CallLocalFunction () from samp-server.exe
[18:02:38] [debug] #4 000060dc in public Itter_OnPlayerConnect (0) from HRP_9.0.amx
[18:02:38] [debug] #5 native CallLocalFunction () from samp-server.exe
[18:02:38] [debug] #6 00001ff0 in public Streamer_OnPlayerConnect (0) from HRP_9.0.amx
[18:02:38] [debug] #7 native CallLocalFunction () from samp-server.exe
[18:02:38] [debug] #8 0000176c in public OnPlayerConnect (0) from HRP_9.0.amx
[18:02:39] [debug] Native backtrace:
[18:02:39] [debug] #0 77110fb2 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[18:02:39] [debug] #1 00493990 in ?? () from samp-server.exe
[18:02:39] [debug] #2 00493fc0 in ?? () from samp-server.exe
[18:02:39] [debug] #3 00404f14 in ?? () from samp-server.exe
[18:02:39] [debug] Server crashed while executing HRP_9.0.amx
[18:02:39] [debug] AMX backtrace:
[18:02:39] [debug] #0 native fread () from samp-server.exe
[18:02:39] [debug] #1 000291e4 in public SSCANF_OnPlayerConnect (0) from HRP_9.0.amx
[18:02:39] [debug] #2 native CallLocalFunction () from samp-server.exe
[18:02:39] [debug] #3 000060dc in public Itter_OnPlayerConnect (0) from HRP_9.0.amx
[18:02:39] [debug] #4 native CallLocalFunction () from samp-server.exe
[18:02:39] [debug] #5 00001ff0 in public Streamer_OnPlayerConnect (0) from HRP_9.0.amx
[18:02:39] [debug] #6 native CallLocalFunction () from samp-server.exe
[18:02:39] [debug] #7 0000176c in public OnPlayerConnect (0) from HRP_9.0.amx
[18:02:39] [debug] Native backtrace:
[18:02:39] [debug] #0 77112089 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[18:02:39] [debug] #1 77111eaa in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[18:02:39] [debug] #2 00493bf1 in ?? () from samp-server.exe
[18:02:39] [debug] #3 0044e129 in ?? () from samp-server.exe
[18:02:39] [debug] #4 00458bcc in ?? () from samp-server.exe
[18:02:39] [debug] #5 00010100 in ?? ()
[18:02:39] [debug] #6 0045a3b0 in ?? () from samp-server.exe
[18:02:39] [debug] #7 0045a650 in ?? () from samp-server.exe
[18:02:39] [debug] #8 0045b040 in ?? () from samp-server.exe
[18:02:39] [debug] #9 00450660 in ?? () from samp-server.exe
[18:02:39] [debug] #10 00450670 in ?? () from samp-server.exe
[18:02:39] [debug] #11 00450680 in ?? () from samp-server.exe
[18:02:39] [debug] #12 004506d0 in ?? () from samp-server.exe
[18:02:39] [debug] #13 00458160 in ?? () from samp-server.exe
[18:02:39] [debug] #14 0045b050 in ?? () from samp-server.exe
[18:02:39] [debug] #15 0045b060 in ?? () from samp-server.exe
[18:02:39] [debug] #16 00450720 in ?? () from samp-server.exe
[18:02:39] [debug] #17 0045b070 in ?? () from samp-server.exe
[18:02:39] [debug] #18 0045b080 in ?? () from samp-server.exe
[18:02:39] [debug] #19 0045b630 in ?? () from samp-server.exe
[18:02:39] [debug] #20 0045b090 in ?? () from samp-server.exe
[18:02:39] [debug] #21 00450830 in ?? () from samp-server.exe
[18:02:39] [debug] #22 0045b0a0 in ?? () from samp-server.exe
[18:02:39] [debug] #23 0045b0b0 in ?? () from samp-server.exe
[18:02:39] [debug] #24 0045b0c0 in ?? () from samp-server.exe
[18:02:39] [debug] #25 0045b0d0 in ?? () from samp-server.exe
[18:02:39] [debug] #26 0045b0e0 in ?? () from samp-server.exe
[18:02:39] [debug] #27 00458610 in ?? () from samp-server.exe
[18:02:39] [debug] #28 0045b0f0 in ?? () from samp-server.exe
[18:02:39] [debug] #29 0045b100 in ?? () from samp-server.exe
[18:02:39] [debug] #30 00452210 in ?? () from samp-server.exe
[18:02:39] [debug] #31 0045b110 in ?? () from samp-server.exe
[18:02:39] [debug] #32 0045b120 in ?? () from samp-server.exe
[18:02:39] [debug] #33 0045b130 in ?? () from samp-server.exe
[18:02:39] [debug] #34 00452410 in ?? () from samp-server.exe
[18:02:39] [debug] #35 00458640 in ?? () from samp-server.exe
[18:02:39] [debug] #36 0045b140 in ?? () from samp-server.exe
[18:02:39] [debug] #37 00455d60 in ?? () from samp-server.exe
[18:02:39] [debug] #38 00455db0 in ?? () from samp-server.exe
[18:02:39] [debug] #39 00450910 in ?? () from samp-server.exe
[18:02:39] [debug] #40 00455df0 in ?? () from samp-server.exe
[18:02:39] [debug] #41 00455e40 in ?? () from samp-server.exe
[18:02:39] [debug] #42 00458660 in ?? () from samp-server.exe
[18:02:39] [debug] #43 0045b150 in ?? () from samp-server.exe
[18:02:39] [debug] #44 0045b160 in ?? () from samp-server.exe
[18:02:40] [debug] #45 00450990 in ?? () from samp-server.exe
[18:02:40] [debug] #46 0045b170 in ?? () from samp-server.exe
[18:02:40] [debug] #47 0045b180 in ?? () from samp-server.exe
[18:02:40] [debug] #48 0045b190 in ?? () from samp-server.exe
[18:02:40] [debug] #49 0045b1a0 in ?? () from samp-server.exe
[18:02:40] [debug] #50 0045b1b0 in ?? () from samp-server.exe
[18:02:40] [debug] #51 00450b00 in ?? () from samp-server.exe
[18:02:40] [debug] #52 00450e80 in ?? () from samp-server.exe
[18:02:40] [debug] #53 00450b50 in ?? () from samp-server.exe
[18:02:40] [debug] #54 0045b1c0 in ?? () from samp-server.exe
[18:02:40] [debug] #55 00450b60 in ?? () from samp-server.exe
[18:02:40] [debug] #56 00450bb0 in ?? () from samp-server.exe
[18:02:40] [debug] #57 00450c00 in ?? () from samp-server.exe
[18:02:40] [debug] #58 00450c10 in ?? () from samp-server.exe
[18:02:40] [debug] #59 0045b1d0 in ?? () from samp-server.exe
[18:02:40] [debug] #60 0045b1e0 in ?? () from samp-server.exe
[18:02:40] [debug] #61 0045b1f0 in ?? () from samp-server.exe
[18:02:40] [debug] #62 0045b200 in ?? () from samp-server.exe
[18:02:40] [debug] #63 0045b210 in ?? () from samp-server.exe
[18:02:40] [debug] #64 0045b220 in ?? () from samp-server.exe
[18:02:40] [debug] #65 0045b230 in ?? () from samp-server.exe
[18:02:40] [debug] #66 0045b240 in ?? () from samp-server.exe
[18:02:40] [debug] #67 0045b250 in ?? () from samp-server.exe
[18:02:40] [debug] #68 0045b260 in ?? () from samp-server.exe
[18:02:40] [debug] #69 0045b270 in ?? () from samp-server.exe
[18:02:40] [debug] #70 0045b280 in ?? () from samp-server.exe
[18:02:40] [debug] #71 00455f10 in ?? () from samp-server.exe
Reply
#4

https://sampwiki.blast.hk/wiki/Fread

Invalid file handle crashed your server, in other words the file could not be opened and you're trying to read from a closed file.

Re-compile the script with debug info as I mentioned above to get the exact line otherwise it'll be harder to fix it because the only thing we know is that it was in OnPlayerConnect.

By the way, an example of what I meant before.
pawn Код:
new File: fhandle = fopen(...);
fread(fhandle, string);
...
that is wrong. The correct way would be:
pawn Код:
new File: fhandle = fopen(...);
if (fhandle) // valid file handle (not 0)
{
    fread(fhandle, string);
    ...
}
Reply
#5

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 22624 bytes
Code size: 3509000 bytes
Data size: 20334144 bytes
Stack/heap size: 105536 bytes; estimated max. usage: unknown, due to recursion
Total requirements:23971304 bytes

that is that there
Reply
#6

Having -d3 will show those information after compiling. Since the script was compiled successfully with debug info, you'll need to start the server once again and join. Post the server log (only the part with debug info is needed).
Reply
#7

[18:24:13] Incoming connection: 127.0.0.1:53217
[18:24:13] [join] Frank_Junior_Hudson has joined the server (0:127.0.0.1)
[18:24:13] [debug] Server crashed while executing HRP_9.0.amx
[18:24:13] [debug] AMX backtrace:
[18:24:13] [debug] #0 native fread () from samp-server.exe
[18:24:13] [debug] #1 00033f90 in CheckBan (ip[]=@01368320 "127.0.0.1") at C:\Users\Luke\Desktop\SAMP 0.ez\gamemodes\HRP_9.0.pwn:4835
[18:24:13] [debug] #2 0027c5b8 in public SSCANF_OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\gamemodes\HRP_9.0.pwn:44386
[18:24:13] [debug] #3 native CallLocalFunction () from samp-server.exe
[18:24:13] [debug] #4 0000767c in public Itter_OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\pawno\include\sscanf2.inc:114
[18:24:13] [debug] #5 native CallLocalFunction () from samp-server.exe
[18:24:13] [debug] #6 00002764 in public Streamer_OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\pawno\include\foreach.inc:524
[18:24:13] [debug] #7 native CallLocalFunction () from samp-server.exe
[18:24:13] [debug] #8 00001d30 in public OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\pawno\include\streamer.inc:346
[18:24:14] [debug] Native backtrace:
[18:24:14] [debug] #0 77110fb2 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[18:24:14] [debug] #1 00493990 in ?? () from samp-server.exe
[18:24:14] [debug] #2 00493fc0 in ?? () from samp-server.exe
[18:24:14] [debug] #3 00404f14 in ?? () from samp-server.exe
[18:24:14] [debug] Server crashed while executing HRP_9.0.amx
[18:24:14] [debug] AMX backtrace:
[18:24:14] [debug] #0 native fread () from samp-server.exe
[18:24:14] [debug] #1 00033f90 in public SSCANF_OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\gamemodes\HRP_9.0.pwn:4835
[18:24:14] [debug] #2 native CallLocalFunction () from samp-server.exe
[18:24:14] [debug] #3 0000767c in public Itter_OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\pawno\include\sscanf2.inc:114
[18:24:14] [debug] #4 native CallLocalFunction () from samp-server.exe
[18:24:14] [debug] #5 00002764 in public Streamer_OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\pawno\include\foreach.inc:524
[18:24:14] [debug] #6 native CallLocalFunction () from samp-server.exe
[18:24:14] [debug] #7 00001d30 in public OnPlayerConnect (playerid=0) at C:\Users\Luke\Desktop\SAMP 0.ez\pawno\include\streamer.inc:346
[18:24:14] [debug] Native backtrace:
[18:24:14] [debug] #0 77112089 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[18:24:14] [debug] #1 77111eaa in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[18:24:14] [debug] #2 00493bf1 in ?? () from samp-server.exe
[18:24:14] [debug] #3 0044e129 in ?? () from samp-server.exe
[18:24:14] [debug] #4 00458bcc in ?? () from samp-server.exe
[18:24:14] [debug] #5 00010100 in ?? ()
[18:24:14] [debug] #6 0045a3b0 in ?? () from samp-server.exe
[18:24:14] [debug] #7 0045a650 in ?? () from samp-server.exe
[18:24:14] [debug] #8 0045b040 in ?? () from samp-server.exe
[18:24:14] [debug] #9 00450660 in ?? () from samp-server.exe
[18:24:14] [debug] #10 00450670 in ?? () from samp-server.exe
[18:24:14] [debug] #11 00450680 in ?? () from samp-server.exe
[18:24:14] [debug] #12 004506d0 in ?? () from samp-server.exe
[18:24:14] [debug] #13 00458160 in ?? () from samp-server.exe
[18:24:14] [debug] #14 0045b050 in ?? () from samp-server.exe
[18:24:14] [debug] #15 0045b060 in ?? () from samp-server.exe
[18:24:14] [debug] #16 00450720 in ?? () from samp-server.exe
[18:24:14] [debug] #17 0045b070 in ?? () from samp-server.exe
[18:24:14] [debug] #18 0045b080 in ?? () from samp-server.exe
[18:24:14] [debug] #19 0045b630 in ?? () from samp-server.exe
[18:24:14] [debug] #20 0045b090 in ?? () from samp-server.exe
[18:24:14] [debug] #21 00450830 in ?? () from samp-server.exe
[18:24:14] [debug] #22 0045b0a0 in ?? () from samp-server.exe
[18:24:14] [debug] #23 0045b0b0 in ?? () from samp-server.exe
[18:24:14] [debug] #24 0045b0c0 in ?? () from samp-server.exe
[18:24:14] [debug] #25 0045b0d0 in ?? () from samp-server.exe
[18:24:14] [debug] #26 0045b0e0 in ?? () from samp-server.exe
[18:24:14] [debug] #27 00458610 in ?? () from samp-server.exe
[18:24:15] [debug] #28 0045b0f0 in ?? () from samp-server.exe
[18:24:15] [debug] #29 0045b100 in ?? () from samp-server.exe
[18:24:15] [debug] #30 00452210 in ?? () from samp-server.exe
[18:24:15] [debug] #31 0045b110 in ?? () from samp-server.exe
[18:24:15] [debug] #32 0045b120 in ?? () from samp-server.exe
[18:24:15] [debug] #33 0045b130 in ?? () from samp-server.exe
[18:24:15] [debug] #34 00452410 in ?? () from samp-server.exe
[18:24:15] [debug] #35 00458640 in ?? () from samp-server.exe
[18:24:15] [debug] #36 0045b140 in ?? () from samp-server.exe
[18:24:15] [debug] #37 00455d60 in ?? () from samp-server.exe
[18:24:15] [debug] #38 00455db0 in ?? () from samp-server.exe
[18:24:15] [debug] #39 00450910 in ?? () from samp-server.exe
[18:24:15] [debug] #40 00455df0 in ?? () from samp-server.exe
[18:24:15] [debug] #41 00455e40 in ?? () from samp-server.exe
Reply
#8

So the problem is in CheckBan function.

I've given you all the details needed to fix this here (the example): http://forum.sa-mp.com/showpost.php?...29&postcount=4
If you still do not know how, post the function and I'll correct it.
Reply
#9

If i have got this right, Here it was it was before im not sure what to change it to. New to scripting

stock CheckBan(ip[])
{
new string[20];
new File: file = fopen("ban.cfg", io_read);
while(fread(file, string))
{
if(strcmp(ip, string, true, strlen(ip)) == 0)
{
fclose(file);
return 1;
}
}
fclose(file);
return 0;
}
Reply
#10

Since it returns 0 if the player's IP is not in the file and 1 if it is. We need to return some other value if the file was not opened to prevent any action.

PHP код:
stock CheckBan(ip[])
{
    new 
Filefile fopen("ban.cfg"io_read);
    if (!
file) return -1;
    new 
string[20];
    while(
fread(filestring))
    {
        if(
strcmp(ipstringtruestrlen(ip)) == 0)
        {
            
fclose(file);
            return 
1;
        }
    }
    
fclose(file);
    return 
0;

An example would be:
PHP код:
switch (CheckBan(player_ip)) // supposed "player_ip" stores the player's IP on connect.
{
    case -
1:
    {
        
// could not read from the file, send a notice to admins
    
}
    case 
1:
    {
        
// banned; do something
    
}

However, I'd recommend you since you're new to scripting to try better and more efficient ways such as SQL or y_ini instead.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)