Function crash the server.
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Make also sure that "pos" returned by fopen is not 0 otherwise using it to file functions such as fwrite and fclose will crash the server.

Always have crashdetect plugin loaded to get information directly than guessing.

A suggestion as well if you are interested: https://sampforum.blast.hk/showthread.php?tid=603175
What do you mean by "pos" ?



Alright, installed crashdetect plugin :
PHP код:
[17:58:13] [debugServer crashed while executing fs.amx
[17:58:13] [debugAMX backtrace:
[
17:58:13] [debug#0 native fwrite () from samp-server.exe
[17:58:13] [debug#1 00029dbc in ?? (17393428, 17393828, 17393884, 17393912, 17412996) from fs.amx
[17:58:13] [debug#2 0002944c in ?? (1, 17412996) from fs.amx
[17:58:13] [debug#3 00022d80 in public cmd_resetsetdata (0, 17396976) from fs.amx
[17:58:13] [debug#4 native CallLocalFunction () from samp-server.exe
[17:58:13] [debug#5 00000664 in public OnPlayerCommandText (0, 17396912) from fs.amx
[17:58:13] [debugNative backtrace:
[
17:58:13] [debug#0 77040d72 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[17:58:13] [debug#1 00498bb8 in ?? () from samp-server.exe
[17:58:13] [debug#2 0040531e in ?? () from samp-server.exe
[17:58:13] [debugServer crashed while executing fs.amx
[17:58:13] [debugAMX backtrace:
[
17:58:13] [debug#0 native fwrite () from samp-server.exe
[17:58:13] [debug#1 00029dbc in public cmd_resetsetdata (0, 17396912) from fs.amx
[17:58:13] [debug#2 native CallLocalFunction () from samp-server.exe
[17:58:13] [debug#3 00000664 in public OnPlayerCommandText (0, 17396912) from fs.amx
[17:58:13] [debugNative backtrace:
[
17:58:13] [debug#0 77041e49 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[17:58:13] [debug#1 77041c6a in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[17:58:13] [debug#2 00498e11 in ?? () from samp-server.exe
[17:58:13] [debug#3 0044d9c9 in ?? () from samp-server.exe
[17:58:13] [debug#4 0045856c in ?? () from samp-server.exe
[17:58:13] [debug#5 0045ad2a in ?? () from samp-server.exe
[17:58:13] [debug#6 61c07c09 in ?? () from plugins\crashdetect.dll
[17:58:13] [debug#7 75f02cc7 in ?? () from C:\Windows\SYSTEM32\KERNELBASE.dll
[17:58:13] [debug#8 75f02ce8 in ?? () from C:\Windows\SYSTEM32\KERNELBASE.dll 
Reply


Messages In This Thread
Function crash the server. - by Dayrion - 21.06.2016, 15:44
Re: Function crash the server. - by ATGOggy - 21.06.2016, 15:47
Re: Function crash the server. - by Dayrion - 21.06.2016, 15:49
Re: Function crash the server. - by Konstantinos - 21.06.2016, 15:51
Re: Function crash the server. - by Dayrion - 21.06.2016, 16:00
Re: Function crash the server. - by jlalt - 21.06.2016, 16:04
Re: Function crash the server. - by Konstantinos - 21.06.2016, 16:08
Re: Function crash the server. - by SecretBoss - 21.06.2016, 16:12
Re: Function crash the server. - by Dayrion - 21.06.2016, 16:33
Re: Function crash the server. - by Dayrion - 21.06.2016, 17:25

Forum Jump:


Users browsing this thread: 1 Guest(s)