SA-MP Forums Archive
My server is crashing(crashlog included) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: My server is crashing(crashlog included) (/showthread.php?tid=521700)



My server is crashing(crashlog included) - Rg-Gaming.Info - 24.06.2014

Hey there guys, i've never been able to fully understand crashlogs. I am asking for your help here, please tell me why is my server crashing. I've just finished my script and it compiled without no warnings or errors. But whenever I type any command or anything, the server crashes.

CrashLog: http://pastebin.com/7Qk52FxF


Re: My server is crashing(crashlog included) - Jankingston - 24.06.2014

show us server-log, not Crash-log.


Re: My server is crashing(crashlog included) - Team_PRO - 24.06.2014

Quote:
Originally Posted by Jankingston
Посмотреть сообщение
show us server-log, not Crash-log.
Up^^


Re: My server is crashing(crashlog included) - Jankingston - 24.06.2014

or it may happened because of the mods, (if you installed any) remove it.


Re: My server is crashing(crashlog included) - Rg-Gaming.Info - 24.06.2014

[10:50:16] Number of vehicle models: 71
[10:50:16]
[10:50:16] ==========================================
[10:50:16] | |
[10:50:16] | A new version (v<html>
) of YSI is |
[10:50:16] | available from: |
[10:50:16] | |
[10:50:16] | www.y-less.com/YSI/YSI_1.0.zip |
[10:50:16] | |
[10:50:16] ==========================================
[10:50:16]
[10:50:37] Incoming connection: 192.168.0.100:53084
[10:50:38] [join] Nathan_Fuentes has joined the server (0:192.168.0.100)

Nothing is really happening here.
Also about the post above, how can mods that installed on my game can affect the server?


Re: My server is crashing(crashlog included) - Jankingston - 24.06.2014

it affects .. almost everyone experiences this if he/she had installed any mods ( Some mods crash the server, not all )

Even I've also experienced


Re: My server is crashing(crashlog included) - Konstantinos - 24.06.2014

Load crashdetect plugin, after a server crash post the server log.


Re: My server is crashing(crashlog included) - Rg-Gaming.Info - 24.06.2014

This is what I get from the crashdetect plugin: (Note: I am using the New Generation Roleplay mode, don't thing that I am using NGRP)

[11:48:06] [debug] Server crashed while executing NGG.amx
[11:48:06] [debug] AMX backtrace:
[11:48:06] [debug] #0 native fwrite () [004056e0] from samp-server.exe
[11:48:06] [debug] #1 00075750 in ?? (0x01293f6c, 0x012a7f0 from NGG.amx
[11:48:06] [debug] #2 0005fe30 in ?? (0x00000000, 0x012a4140) from NGG.amx
[11:48:06] [debug] #3 00006020 in public OnPlayerText (0x00000000, 0x012a4140) from NGG.amx
[11:48:06] [debug] Native backtrace:
[11:48:06] [debug] #0 774c77a2 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[11:48:06] [debug] #1 00493990 in ?? () from samp-server.exe
[11:48:06] [debug] #2 0040531e in ?? () from samp-server.exe


Re: My server is crashing(crashlog included) - Konstantinos - 24.06.2014

Invalid file handle. Take a look at the example of how it checks if the file handle is valid and then writes in and close the file: https://sampwiki.blast.hk/wiki/Fwrite

For now, we know the callback OnPlayerText but it has atleast 2 more functions that get called and with -d3 you can get the exact line: https://github.com/Zeex/samp-plugin-...ith-debug-info

After re-compiling your scripts, run the server again and type something on the chat. After a server crash post your server log once again.