Jump to content
  • 0

Voicecommand Problem


Mellion

Question

Hello, i am using  acis 367 and i have small problem.

I write VoicedCommandHandler and try .online command, when i try write .online in game its not show online(Zero effects).

 

Here is code:

http://pastebin.com/YxRwszWh

 

 

 

 

Edited by Mellion
Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Ye i know now, but where change this?

.getKnownList()

  1. +                       for (L2PcInstance player : activeChar.getKnownList().getKnownTypeInRadius(L2PcInstance.class1250))
Edited by Mellion
Link to comment
Share on other sites

  • 0
 Like this yes? bu i think its solved thanks @Reborn12, you are best :)

 

 

      if (!vcd_used)

        {

        if (!FloodProtectors.performAction(activeChar.getClient(), Action.GLOBAL_CHAT))

    return;

        

final CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getName(), text);

for (Player player : activeChar.getKnownTypeInRadius(Player.class,1250))

{

if (!BlockList.isBlocked(player, activeChar))

player.sendPacket(cs);

}

activeChar.sendPacket(cs);

        }

Edited by Mellion
Link to comment
Share on other sites

  • 0

 

 Like this yes? bu i think its solved thanks @Reborn12, you are best :)
 
 
      if (!vcd_used)
        {
        if (!FloodProtectors.performAction(activeChar.getClient(), Action.GLOBAL_CHAT))
    return;
        
final CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getName(), text);
for (Player player : activeChar.getKnownTypeInRadius(Player.class,1250))
{
if (!BlockList.isBlocked(player, activeChar))
player.sendPacket(cs);
}
activeChar.sendPacket(cs);
        }

 

problem fixed locked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...