Mellion Posted March 21, 2017 Posted March 21, 2017 (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 March 21, 2017 by Mellion
0 Reborn12 Posted March 21, 2017 Posted March 21, 2017 activeChar.getKnownTypeInRadius(Player.class,1250)) as i remember
0 Versus Posted March 21, 2017 Posted March 21, 2017 You are missing code from Say2 or ChatAll class, currently there's nothing triggering a voicedcommand.
0 Mellion Posted March 21, 2017 Author Posted March 21, 2017 You are missing code from Say2 or ChatAll class, currently there's nothing triggering a voicedcommand. Can please tell where i need put.
0 Reborn12 Posted March 21, 2017 Posted March 21, 2017 http://www.maxcheaters.com/topic/196617-voiced-command-handler-online-acis/ Check this
0 Mellion Posted March 21, 2017 Author Posted March 21, 2017 (edited) Ye i know now, but where change this? .getKnownList() + for (L2PcInstance player : activeChar.getKnownList().getKnownTypeInRadius(L2PcInstance.class, 1250)) Edited March 21, 2017 by Mellion
0 Reborn12 Posted March 21, 2017 Posted March 21, 2017 What you mean where change just apply the patch
0 Mellion Posted March 21, 2017 Author Posted March 21, 2017 (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 March 21, 2017 by Mellion
0 MarGaZeaS Posted March 21, 2017 Posted March 21, 2017 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.
Question
Mellion
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
11 answers to this question
Recommended Posts