Mellion Posted March 21, 2017 Share 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 Link to comment Share on other sites More sharing options...
0 Reborn12 Posted March 21, 2017 Share Posted March 21, 2017 activeChar.getKnownTypeInRadius(Player.class,1250)) as i remember Link to comment Share on other sites More sharing options...
0 Versus Posted March 21, 2017 Share Posted March 21, 2017 You are missing code from Say2 or ChatAll class, currently there's nothing triggering a voicedcommand. Link to comment Share on other sites More sharing options...
0 Mellion Posted March 21, 2017 Author Share 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. Link to comment Share on other sites More sharing options...
0 Reborn12 Posted March 21, 2017 Share Posted March 21, 2017 http://www.maxcheaters.com/topic/196617-voiced-command-handler-online-acis/ Check this Link to comment Share on other sites More sharing options...
0 Mellion Posted March 21, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
0 Reborn12 Posted March 21, 2017 Share Posted March 21, 2017 What you mean where change just apply the patch Link to comment Share on other sites More sharing options...
0 Solomun Posted March 21, 2017 Share Posted March 21, 2017 Did u add it to MasterHandler? Link to comment Share on other sites More sharing options...
0 Trance Posted March 21, 2017 Share Posted March 21, 2017 Use usercommand, mate. Link to comment Share on other sites More sharing options...
0 Mellion Posted March 21, 2017 Author Share Posted March 21, 2017 acid 367 getKnownList not exist. Link to comment Share on other sites More sharing options...
0 Mellion Posted March 21, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
0 MarGaZeaS Posted March 21, 2017 Share 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. Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
11 answers to this question
Recommended Posts