Nik Posted October 7, 2009 Posted October 7, 2009 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"); }
SneakyBeaky Posted October 7, 2009 Posted October 7, 2009 Nice and very usefull code Nik..it deserves karma but i will w8 to see another good one like this :D
Zeva Posted October 7, 2009 Posted October 7, 2009 It's From L2Emu .... Some change sonly to work in L2J! Anyway ... This Good Share - Idea!
WizZy™ Posted October 7, 2009 Posted October 7, 2009 It's From L2Emu .... Some change sonly to work in L2J! Anyway ... This Good Share - Idea! proove it.. :D
Nik Posted October 7, 2009 Author Posted October 7, 2009 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...
WizZy™ Posted October 7, 2009 Posted October 7, 2009 btw i forgot... add a [share] before your title or risk to be dekarmed :D
sabas Posted October 10, 2009 Posted October 10, 2009 just RESPECT!!! aWsome & crazy Share....thanks a lot....keep up!!!!
RєVєnGeR^ Posted October 10, 2009 Posted October 10, 2009 It is amazing , crazy , and indeed usefull +1
killer666 Posted October 10, 2009 Posted October 10, 2009 It is amazing , crazy , and indeed usefull +1 wizzy already give him +1: its awesome. +1 from me Niki :)
Grim. Posted October 10, 2009 Posted October 10, 2009 what tha fak. awesome code nik! gratz for your point.
Recommended Posts