Invalid Password - y-ini
#2

In the login, why are you comparing the hashed input text to to an integer?

I have never used udb_hash, but I would assume that the hashed result is a string (not just integers). You can only save integers to an array. You attempted to save a string into the PInfo[playerid][pPass].

You want to do INI_WriteString(File,"Password",udb_hash(inputtext ); in the register dialog, then compare udb_hash(inputtext) to INI_String(File,"Password) under login.
Reply


Messages In This Thread
Invalid Password - y-ini - by Kindred - 03.05.2012, 23:09
Re: Invalid Password - y-ini - by Yuryfury - 03.05.2012, 23:51
Re: Invalid Password - y-ini - by Kindred - 04.05.2012, 00:03
Re: Invalid Password - y-ini - by JaKe Elite - 04.05.2012, 01:40
Re: Invalid Password - y-ini - by Kindred - 04.05.2012, 02:00
Re: Invalid Password - y-ini - by ReneG - 04.05.2012, 02:42
Re: Invalid Password - y-ini - by Yuryfury - 04.05.2012, 03:02
Re: Invalid Password - y-ini - by Kindred - 04.05.2012, 11:08
Re: Invalid Password - y-ini - by Everybody - 09.06.2012, 20:12
Re: Invalid Password - y-ini - by ReneG - 09.06.2012, 21:09

Forum Jump:


Users browsing this thread: 1 Guest(s)