19.03.2011, 00:19
I have an issue with my MySQL reg/login system. First, there are values in the pInfo enum that are changing without being set. The pHouse slot, set to -1 on player connect, somehow changes to 48 between registration, log-in, and saving on disconnect, even if no other actions are performed. The values are not used anywhere else in the script currently and there is no default value set for the field in MySQL.
Also, the saving part of the system, using MySQL UPDATE, the order of some of the data gets jumbled, usually between 1 and 3 slots. There are no syntax errors in the queries, checked by mysql_debug();
Any help is appreciated. Thanks in advance.
Also, the saving part of the system, using MySQL UPDATE, the order of some of the data gets jumbled, usually between 1 and 3 slots. There are no syntax errors in the queries, checked by mysql_debug();
Any help is appreciated. Thanks in advance.