Server Crashing - Crash Detector
#1

Код:
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?
Reply
#2

Do you have logs that save the chat?
Reply
#3

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

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

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

Do you have any mods?
Reply
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
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.
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.
Reply
#8

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

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

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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)