SA-MP Forums Archive
Whirlpool issue - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Whirlpool issue (/showthread.php?tid=422133)



Whirlpool issue - Itzhak E. - 12.03.2013

When I register I have for example "hash1" in the database and when I login this is being converted to "hash2" (different hash).
Login Hash:
PHP код:
new szHashedPassword[129];
WP_Hash(szHashedPasswordsizeof(szHashedPassword), inputtext); 
Register Hash:
PHP код:
WP_Hash(AccountData[playerid][szPassword], 129inputtext); 
Thanks!


Re: Whirlpool issue - Patrick - 12.03.2013

can you show us your enum on part where AccountData[playerid][szPassword] is


Re: Whirlpool issue - Jewell - 12.03.2013

I had this problem in past year. when i updated the y_ini and Whirlpool plugin problem was ok.
do you use y_ini to save password in database ?


Re: Whirlpool issue - Itzhak E. - 12.03.2013

Quote:
Originally Posted by pds2012
Посмотреть сообщение
can you show us your enum on part where AccountData[playerid][szPassword] is
PHP код:
enum _accountData
{
    
szPassword[129],
    
szEmail[60],
    
szIP[16],

Quote:
Originally Posted by Jewell
Посмотреть сообщение
I had this problem in past year. when i updated the y_ini and Whirlpool plugin problem was ok.
do you use y_ini to save password in database ?
I use MySQL R7 Plugin by Blue.


Re: Whirlpool issue - Itzhak E. - 13.03.2013

UP.. anyone please?


Re: Whirlpool issue - Itzhak E. - 14.03.2013

24 hours passed, another bump.


Re: Whirlpool issue - Itzhak E. - 15.03.2013

bump.. anyone?