Quote:
Originally Posted by lukewid
pawn Код:
case DIALOG_LOGIN: { if(response) { new hashpass[129]; WP_Hash(hashpass,sizeof(hashpass),inputtext); if(!strcmp(hashpass, PlayerInfo[playerid][pPassword], false)) { //IF Password is good, login part } else { //if miss 3 times part when kick's him.. } printf("%s", PlayerInfo[playerid][pPassword]); printf("%s", hashpass); } else Kick(playerid); }
Tell me the results of the printf function.
EDIT:
Probably the size of PlayerInfo[playerid][pPassword] is 128, on which Whirlpool requires 129.
|
Print is the same... if that was mistake you could never login with same password