Jump to content

Recommended Posts

  • 2 weeks later...
Posted

Voice commands are the future!!!

ALright.. i have a question... Can you make a ".join" command?

Each time the auto events coming up (TvT) (CTF) (DM) (TvTvTvT) the player can join from any place just type in ".join"

I am waiting answer...

Thanks nice share....

  • 2 months later...
  • 3 weeks later...
Posted

aw i really like that....with that we can put out the npc buffers so less lag...but if its for low rate server we must make especially buff list for its race....because a dagger player has different buffs than a glady or  tank...

  • 4 months later...
  • 3 weeks later...
  • 3 months later...
Posted

Can someone plss tell me where i must register this command? registerVoicedCommandHandler(new Buffs());

 

Yes I can, read sticked guides from this section.

  • 1 month later...
Posted

Then register the command like registerVoicedCommandHandler(new Buffs());

i can't understand where i can register this command?

 

if you use l2jserver IL. than its

 

L2_GameServer_It\java\net\sf\l2j\gameserver\Gameserver.java

 

first put it intro import lines at gameserver.java

 

 

import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Buffs;

 

than register the new command :

 

       _log.config("UserCommandHandler: Loaded " + _userCommandHandler.size() + " handlers.");

	_voicedCommandHandler = VoicedCommandHandler.getInstance();
	_voicedCommandHandler.registerVoicedCommandHandler(new Buffs());

 

something like that. but you need to rewrite alot if you want it working for l2j....

 

 

 

 

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...