Jump to content

[Share]Voiced command to change your password


Nik

Recommended Posts

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");

}

 

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...