Secondary Password

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Secondary Password

Post by kornom »

What happens if a player forgets it? How can it be recovered?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Secondary Password

Post by UnAfraid »

You should manage that in your web site.
Image
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: Secondary Password

Post by kornom »

Are there any scripts? Anything already made?
And where are those passes are saved?
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Secondary Password

Post 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.
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: Secondary Password

Post 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
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Secondary Password

Post 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.
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: Secondary Password

Post 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.
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Re: Secondary Password

Post by lucan »

I think he is talking about the PIN number of the H5.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Secondary Password

Post by Zoey76 »

Character numeric password is a GOD feature.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: Secondary Password

Post 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);
Image
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Secondary Password

Post by Zoey76 »

Doesn't it crash the client?
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: Secondary Password

Post 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? :roll: :roll: :roll:
Post Reply