My server is crashing(crashlog included)
#1

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
Reply
#2

show us server-log, not Crash-log.
Reply
#3

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

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

[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?
Reply
#6

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
Reply
#7

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

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
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: