Page 1 of 1
Secondary Password
Posted: Wed Jul 02, 2014 4:54 am
by kornom
What happens if a player forgets it? How can it be recovered?
Re: Secondary Password
Posted: Wed Jul 02, 2014 2:42 pm
by UnAfraid
You should manage that in your web site.
Re: Secondary Password
Posted: Wed Jul 02, 2014 3:29 pm
by kornom
Are there any scripts? Anything already made?
And where are those passes are saved?
Re: Secondary Password
Posted: Wed Jul 02, 2014 4:41 pm
by Zealar
In your Database in table "accounts" there is column called "password". So you can manually change it ofc need to use server encryption methods.
Re: Secondary Password
Posted: Wed Jul 02, 2014 4:42 pm
by kornom
Zealar wrote:In your Database in table "accounts" there is column called "password". So you can manually change it ofc need to use server encryption methods.
This is the ACCOUNT password, there should be a separate pswrd for characters
Re: Secondary Password
Posted: Wed Jul 02, 2014 4:47 pm
by Zealar
That start sound me like something custom. Where is that second password ? I remember H5 got only 1 password and is account one.
Re: Secondary Password
Posted: Wed Jul 02, 2014 5:00 pm
by kornom
Zealar wrote:That start sound me like something custom. Where is that second password ? I remember H5 got only 1 password and is account one.
lol you are custom, it is in configs.
Re: Secondary Password
Posted: Wed Jul 02, 2014 5:11 pm
by lucan
I think he is talking about the PIN number of the H5.
Re: Secondary Password
Posted: Wed Jul 02, 2014 11:39 pm
by Zoey76
Character numeric password is a GOD feature.
Re: Secondary Password
Posted: Wed Jul 02, 2014 11:53 pm
by NosBit
Zoey76 wrote:Character numeric password is a GOD feature.
We have it implemented and its supported by H5 client without any client modification...
com.l2jserver.gameserver.security.SecondaryPasswordAuth
The password is stored in game server database in table 'account_gsdata' at var 'secauth_pwd' and its encrypted using sha1 and Base64,
Code: Select all
MessageDigest md = MessageDigest.getInstance("SHA");byte[] raw = password.getBytes("UTF-8");byte[] hash = md.digest(raw);return Base64.getEncoder().encodeToString(hash);
Re: Secondary Password
Posted: Thu Jul 03, 2014 12:11 am
by Zoey76
Doesn't it crash the client?
Re: Secondary Password
Posted: Thu Jul 03, 2014 4:31 am
by kornom
Zoey76 wrote:Doesn't it crash the client?
Works just fine actually, the only thing I wonder about is if there any script that someone made that I could use for implementation to my web for char password recovery?
