Server Crashing - Crash Detector -
Shockey HD - 08.06.2014
Код:
02:29:42] [debug] Server crashed while executing atd.amx
[02:29:42] [debug] AMX backtrace:
[02:29:42] [debug] #0 native fwrite () [004056e0] from samp-server.exe
[02:29:42] [debug] #1 00034894 in ?? (0x000a1110, 0x000b6974) from atd.amx
[02:29:42] [debug] #2 0000e944 in public OnPlayerText (0x00000000, 0x000b2b8c) from atd.amx
[02:29:43] [debug] Native backtrace:
[02:29:43] [debug] #0 77dafd12 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[02:29:43] [debug] #1 00493990 in ?? () from samp-server.exe
[02:29:43] [debug] #2 0040531e in ?? () from samp-server.exe
This just randomly started happening..
Any idea whats up?
Re: Server Crashing - Crash Detector -
]Rafaellos[ - 08.06.2014
Do you have logs that save the chat?
Re: Server Crashing - Crash Detector -
ball - 08.06.2014
Compile your script with -d2 mode. Then you will get more info about problem (callback name, line in the script) and post this logs here.
Re: Server Crashing - Crash Detector -
Konstantinos - 08.06.2014
fwrite crashed the server because of an invalid file handle. Check the wiki of how it should be:
https://sampwiki.blast.hk/wiki/Fwrite
And -d3 is better:
https://github.com/Zeex/samp-plugin-...ith-debug-info
This will help you to get the exact line and the function which called fwrite.
Re: Server Crashing - Crash Detector -
Shockey HD - 08.06.2014
Thanks so much guys!
Debugging it like that revealed the fwrite that was crashing the server and it turns out when i copied these files over in my server, I never copied over scriptfiles!
Thanks !
Re: Server Crashing - Crash Detector -
Goldenfox - 08.06.2014
Do you have any mods?
Re: Server Crashing - Crash Detector -
KSI - 08.06.2014
Quote:
Originally Posted by Konstantinos
|
this is the answer ^
Quote:
Originally Posted by Goldenfox
Do you have any mods?
|
Mods won't have anything to do with it.
Konstantinos just said that the fwrite crashes his server no file handle.
Re: Server Crashing - Crash Detector -
Goldenfox - 08.06.2014
Quote:
Originally Posted by KSI
this is the answer ^
Mods won't have anything to do with it.
Konstantinos just said that the fwrite crashes his server no file handle.
|
Mods have a lot to do with it. It's not like this is MTA where 99% of the things actually work.
Re: Server Crashing - Crash Detector -
Konstantinos - 08.06.2014
Quote:
Originally Posted by Goldenfox
Mods have a lot to do with it. It's not like this is MTA where 99% of the things actually work.
|
What do mods for clients have to do with server crashes? None.
Anyways, Shockey HD has already fixed the problem so there's no reason to reply to this thread anymore.
Re: Server Crashing - Crash Detector -
Goldenfox - 08.06.2014
Quote:
Originally Posted by Konstantinos
What do mods for clients have to do with server crashes? None.
Anyways, Shockey HD has already fixed the problem so there's no reason to reply to this thread anymore.
|
That's like asking a Mexican if he's a legal citizen. The client and mods are narrowly connected through love. Btw, I don't even want to know what Fayth Flleming puts in his ass to 'shock' himself.