25.06.2013, 02:59
the length you specified for the password in the table is only 30 whereas the whirlpool hash length is 132 so only part of the password is getting matched with the hash string
replace
with this
tested and works fine
pawn Code:
new FinalPassword[132], pass[132];
Password VARCHAR(30)
replace
pawn Code:
mysql_query("CREATE TABLE IF NOT EXISTS Users(UserID INT(20), Name VARCHAR(24), Score INT(20), Password VARCHAR(30), Money INT(20), Admin INT(5))");
pawn Code:
mysql_query("CREATE TABLE IF NOT EXISTS Users(UserID INT(20), Name VARCHAR(24), Score INT(20), Password VARCHAR(132), Money INT(20), Admin INT(5))");