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
HappyLDE
Posts: 123 Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:
Post
by HappyLDE » Fri Oct 18, 2013 8:55 am
Find Revision
L2J Revision
5937 :
L2JDP Revision
9981 :
Hellow!
How does VoicedCommandHandler.java work ? I need to add it manually to GameServer.java to get it working?
What i did so far (is this the right way?):
GameServer.java
Code: Select all
import com.l2jserver.gameserver.handler.UserCommandHandler;import com.l2jserver.gameserver.handler.VoicedCommandHandler; ..myNewClassThatNeedsToUseTheVoicedCommands.getInstance(); UserCommandHandler.getInstance();VoicedCommandHandler.getInstance();_log.config("UserCommandHandler: Loaded " + UserCommandHandler.getInstance().size() + " handlers.");_log.config("VoicedCommandHandler: Loaded " + VoicedCommandHandler.getInstance().size() + " handlers.");..
How do i add commands like .join .info to it (so that it calls my functions)?
Any Help is Appreciated!
Thank you for making L2JServer happen!
"
If you believe you will fail or succeed, in both ways you are right. " - Henry Ford
UnAfraid
L2j Veteran
Posts: 4199 Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:
Post
by UnAfraid » Fri Oct 18, 2013 9:04 am
Take a look at data/scripts/handlers/voicecommandhandlers/
HappyLDE
Posts: 123 Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:
Post
by HappyLDE » Fri Oct 18, 2013 11:51 am
Ok that did the trick, thanks!
Thank you for making L2JServer happen!
"
If you believe you will fail or succeed, in both ways you are right. " - Henry Ford