[Help] Whirpool problem (Weird)
#3

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.
Reply


Messages In This Thread
[Help] Whirpool problem (Weird) - by David (Sabljak) - 03.11.2015, 09:30
Re: [Help] Whirpool problem (Weird) - by prineside - 03.11.2015, 13:07
Re: [Help] Whirpool problem (Weird) - by lukewid - 03.11.2015, 14:03
Re: [Help] Whirpool problem (Weird) - by David (Sabljak) - 03.11.2015, 14:13
Re: [Help] Whirpool problem (Weird) - by David (Sabljak) - 05.11.2015, 15:04

Forum Jump:


Users browsing this thread: 2 Guest(s)