01.06.2015, 18:40
Hello everyone, I made a topic yesterday trying to get help with the whirlpool problem that I had, which got fixed however another problem occured which is still happening as I haven't been able to find a problem.
Here is the code.
The problem is that when it inserts the values i.e. the username and password.. the username is put into the table however the WP Hashed Password isn't, here is the logs that I get back.
Thank you in advance.
Here is the code.
Код:
{ WP_Hash(HPass, 129, inputtext); mysql_format(1, query, sizeof(query), "INSERT INTO masterdata (uName, uPass) VALUES ('%e', '%e')", MasterData[playerid][uName], HPass); mysql_tquery(1, query, "OnPlayerAccountRegister", "i", playerid); }
Код:
[22:07:44] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [22:07:47] [DEBUG] mysql_format - connection: 1, len: 128, format: "INSERT INTO masterdata (uName, uPass) VALUES ('%e', '%e')" [22:07:47] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO masterdata (uName, uPass) VALUES ('Duck', '')", callback: "OnPlayerAccountRegister", format: "i" [22:07:47] [DEBUG] CMySQLQuery::Execute[OnPlayerAccountRegister] - starting query execution [22:07:47] [DEBUG] CMySQLQuery::Execute[OnPlayerAccountRegister] - query was successfully executed within 46.478 milliseconds [22:07:47] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [22:07:47] [DEBUG] Calling callback "OnPlayerAccountRegister".. [22:07:48] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called