Server crashing - 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: Server crashing (
/showthread.php?tid=483355)
Server crashing -
Coldfox - 25.12.2013
Alright , I've got a SQL based script and everything should be scripted correctly. It's a gamemode that is posted in here. Everything works fine , compiles. I register , after it asks to login - I do that. Bam , suddenly the server crashes and no information about the crash in the server log even with the crashdetect plugin.
Re: Server crashing -
CutX - 25.12.2013
Quote:
Originally Posted by Coldfox
Alright , I've got a SQL based script
|
check your "mysql_log"
you might find something suspicious there
Re: Server crashing -
Coldfox - 25.12.2013
This script doesn't require mysql , just SQL.
Re: Server crashing -
zT KiNgKoNg - 25.12.2013
Check your server log for any crash information.
Re: Server crashing -
Konstantinos - 25.12.2013
It can crash a server if a field is NULL while trying to retrieve data from it. Add default values while creating the table.
Crashdetect always reported (and still does) that kind of crashes, so make sure you use the latest version (4.12):
https://github.com/Zeex/samp-plugin-...ases/tag/v4.12
For more information about the crash, try compiling with debug info:
https://github.com/Zeex/samp-plugin-...ith-debug-info
Re: Server crashing -
Coldfox - 25.12.2013
The script kind of works
https://sampforum.blast.hk/showthread.php?tid=369706 , but its just that I don't understand the SQL trick , how to change columns and stuff like that.