Login System Via ShowPlayerDialog
#10

Quote:
Originally Posted by JaTochNietDan
Quote:
Originally Posted by KyleSmith
I am trying to intergrate Dracoblues login system to work with ShowPlayerDialog

So when your password is typed in the box it logs you in

Ive tried

Quote:

if(dialogid == 1 && response == 1)
{
if(udb_UserInt(nickname,"password_hash")==udb_hash (pwd))
{

}
}

But that dont work

Here is the stock to check the password

Quote:

stock udb_CheckLogin(nickname[],pwd[]) {
new fname[MAX_STRING];
format(fname,sizeof(fname),"%s.dudb.sav",udb_encod e(nickname));
if (udb_UserInt(nickname,"password_hash")==udb_hash(p wd)) return true;
return false;
}

Thankss
"pwd" isn't defined in "OnDialogResponse".

Use udb_hash(inputtext) instead.

Also, neither is "nickname", so define that also.
After some hours i managed to make it work thanks alot JaTochNietDan
Reply


Messages In This Thread
Login System Via ShowPlayerDialog - by Kyle - 13.09.2009, 14:57
Re: Login System Via ShowPlayerDialog - by Kyle - 13.09.2009, 14:58
Re: Login System Via ShowPlayerDialog - by Calgon - 13.09.2009, 14:59
Re: Login System Via ShowPlayerDialog - by Kyle - 13.09.2009, 15:01
Re: Login System Via ShowPlayerDialog - by Calgon - 13.09.2009, 15:03
Re: Login System Via ShowPlayerDialog - by Kyle - 13.09.2009, 15:04
Re: Login System Via ShowPlayerDialog - by Calgon - 13.09.2009, 15:07
DracoBlue Login System / Register System - by Kyle - 13.09.2009, 16:12
Re: Login System Via ShowPlayerDialog - by JaTochNietDan - 13.09.2009, 16:29
Re: Login System Via ShowPlayerDialog - by Kyle - 13.09.2009, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)