password help (y_ini + Whirpool) +REP
#2

where did you load your password? My system loads the password when the login dialog appears. Example:
pawn Код:
if(response)
        {
            WP_Hash(password, sizeof(password), inputtext);
            format(string, sizeof(string), "SELECT * FROM `USERS` WHERE `NAME`='%s' AND `PASSWORD`='%s'", DB_Escape(RPN(playerid)), DB_Escape(password)); // this should be your loading code
            result = db_query(UserDatabase, string);
            if(db_num_rows(result) > 0) // this is your strcmp
            {
Reply


Messages In This Thread
password help (y_ini + Whirpool) - by Sawalha - 14.12.2013, 07:55
Re: password help (y_ini + Whirpool) +REP - by dominik523 - 14.12.2013, 08:25
Re: password help (y_ini + Whirpool) +REP - by Sawalha - 14.12.2013, 09:17
Re: password help (y_ini + Whirpool) +REP - by Sawalha - 14.12.2013, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)