03.09.2018, 08:19
Is mysql_log enabled? The query can fail if the rest of the columns you did not specify in the query do not have a default value. Have you tried executing the query you printed for debug purposes earlier in phpMyAdmin and see the results there?
EDIT: A per-player salt is a better idea.
EDIT: A per-player salt is a better idea.