Skip to content

[Share]Voiced command to change your password

Featured Replies

Im sure that many of you want to have a password change option other than web account manager, so this is your solution - a voiced command to change your password... its pretty simple, you just have to type it in the following format: [.changepassword CurrentPass NewPass NewPass] and voila a new password... no more players QQing about they cant change their password :)

 

Done on L2J Server Gracia Final

 

HOW TO INSTALL:

Download: http://rapidshare.com/files/291857104/changepassword_command.rar

1. Place the `data` folder inside your gameserver folder.

2. Open gameserver\data\scripts\handlers\MasterHandler.java

3. Search for this: (~line 225)

 

private static void loadVoicedHandlers()

{

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new stats());

if (Config.L2JMOD_ALLOW_WEDDING)

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Wedding());

if (Config.BANKING_SYSTEM_ENABLED)

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Banking());

_log.config("Loaded " + VoicedCommandHandler.getInstance().size() + " VoicedHandlers");

}

 

4. Then place this:

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new ChangePassword());

  Between those two:

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Banking());

_log.config("Loaded " + VoicedCommandHandler.getInstance().size() + " VoicedHandlers");

  Should look like that:

private static void loadVoicedHandlers()

{

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new stats());

if (Config.L2JMOD_ALLOW_WEDDING)

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Wedding());

if (Config.BANKING_SYSTEM_ENABLED)

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Banking());

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new ChangePassword());

_log.config("Loaded " + VoicedCommandHandler.getInstance().size() + " VoicedHandlers");

}

 

Nice and very usefull code Nik..it deserves karma but i will w8 to see another good one like this :D

It's From L2Emu .... Some change sonly to work in L2J!

 

Anyway ... This Good Share - Idea!

It's From L2Emu .... Some change sonly to work in L2J!

 

Anyway ... This Good Share - Idea!

proove it.. :D

  • Author

It's From L2Emu .... Some change sonly to work in L2J!

 

Anyway ... This Good Share - Idea!

Ah lol.. prove it... i wanna see the code(if there is one) how it matches mine

Be sure that you are right before you say smth like that...

 

good one but what if you are scammed?:D

Its logged in the console when you change ur pass... and anyway, its same like a simple website pass change... so the only difference is that you change the pass ingame, and i find it more safe for your server...

 

BTW, 1st post link updated with some changes in the system...

Omg Nik amazing share, thanks for code!!!!!!

btw i forgot...

add a [share] before your title or risk to be dekarmed :D

just RESPECT!!! aWsome & crazy Share....thanks a lot....keep up!!!!

It is amazing , crazy , and indeed usefull +1

It is amazing , crazy , and indeed usefull +1

 

wizzy already give him +1:

its awesome.

+1 from me Niki :)

what tha fak.

awesome code nik!

gratz for your point.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.