Jump to content
  • 0

Question

Posted (edited)

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

11 answers to this question

Recommended Posts

  • 0
Posted

You are missing code from Say2 or ChatAll class, currently there's nothing triggering a voicedcommand.

  • 0
Posted

You are missing code from Say2 or ChatAll class, currently there's nothing triggering a voicedcommand.

Can please tell where i need put.

  • 0
Posted (edited)

Ye i know now, but where change this?

.getKnownList()

  1. +                       for (L2PcInstance player : activeChar.getKnownList().getKnownTypeInRadius(L2PcInstance.class1250))
Edited by Mellion
  • 0
Posted (edited)
 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
  • 0
Posted

 

 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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...