Server crashing
#1

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

Quote:
Originally Posted by Coldfox
Посмотреть сообщение
Alright , I've got a SQL based script
check your "mysql_log"
you might find something suspicious there
Reply
#3

This script doesn't require mysql , just SQL.
Reply
#4

Check your server log for any crash information.
Reply
#5

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)