SA-MP Forums Archive
Sscanf2 commands crashing the server when used 2 times. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Sscanf2 commands crashing the server when used 2 times. (/showthread.php?tid=485259)



Sscanf2 commands crashing the server when used 2 times. - Unri - 03.01.2014

Hello. I have a weird problem which i cant resolve by my self. Im currently trying to place my server from windows to a centos host machine.
When I use a command 2 times, which uses sscanf, the server crashes. Anyone had this before?


Re: Sscanf2 commands crashing the server when used 2 times. - Konstantinos - 03.01.2014

Load crashdetect plugin. Update sscanf plugin. Re-compile the script with the latest version of the sscanf2.inc, upload and start the server. On the next crash, post your server log.


Re: Sscanf2 commands crashing the server when used 2 times. - Unri - 03.01.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Load crashdetect plugin. Update sscanf plugin. Re-compile the script with the latest version of the sscanf2.inc, upload and start the server. On the next crash, post your server log.
Have done that already. Im not sure, but i think its actually logs that are crashing the server. Everytime the same log file gets edited, it crashes.
Could it be something with permissions on host?


Re: Sscanf2 commands crashing the server when used 2 times. - Konstantinos - 03.01.2014

I don't understand what you want to say. Does it print anything in server log about the crash (in [debug] prefix)?


Re: Sscanf2 commands crashing the server when used 2 times. - Unri - 03.01.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
I don't understand what you want to say. Does it print anything in server log about the crash (in [debug] prefix)?
It does not. It just freezes the server and i must end its process.
Yep, im 100% sure now, thats they are logs, that crash the server.