Whirlpool Doesn't Hash my password
#4

This is what he meant
Код:
case DIALOG_LOGIN:
        {
  			if(!response)
	        {
 				ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_MSGBOX,"Kicked",""chat" You must login to play at "NAME"","Close","");
				Kick(playerid);
	        }
            if(response)
            {
                new buf[129];
				WP_Hash(buf, sizeof(buf), inputtext);
				INI_ParseFile(UserPath(playerid), "LoadUser_data", .bExtra = true, .extra = playerid);//Should be placed before checking so as data needed is fetched before checking.
if(!strcmp(buf,pInfo[playerid][pPassword]))
                {
                    
                    pInfo[playerid][pLogged] = 1;
				    playedtimer[playerid] = SetTimerEx("TimeOnServer", 1000, 1, "i", playerid);
				    SendClientMessage(playerid,-1,""chat""COL_LGREEN" Logged in!");
				    printf("%s",pInfo[playerid][pPassword]);
Reply


Messages In This Thread
Whirlpool Doesn't Hash my password - by henkas - 15.11.2016, 19:44
Re: Whirlpool Doesn't Hash my password - by Vince - 15.11.2016, 21:09
Re: Whirlpool Doesn't Hash my password - by henkas - 16.11.2016, 10:56
Re: Whirlpool Doesn't Hash my password - by SyS - 16.11.2016, 11:30
Re: Whirlpool Doesn't Hash my password - by henkas - 16.11.2016, 11:46
Re: Whirlpool Doesn't Hash my password - by henkas - 16.11.2016, 14:37
Re: Whirlpool Doesn't Hash my password - by henkas - 16.11.2016, 17:16
Re: Whirlpool Doesn't Hash my password - by henkas - 17.11.2016, 05:52
Re: Whirlpool Doesn't Hash my password - by Threshold - 17.11.2016, 06:09
Re: Whirlpool Doesn't Hash my password - by henkas - 17.11.2016, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)