Ta®oS™ Posted May 6, 2012 Share Posted May 6, 2012 Hello again share one java code for your server go to /java/net/sf/l2j/gameserver/clientpackets/say2.java and find this L2PcInstance activeChar = getClient().getActiveChar(); and down of this put this lines + + if(_type2Check == SystemChatChannelId.CHAT_NONE || _type2Check == +SystemChatChannelId.CHAT_ANNOUNCE || _type2Check == +SystemChatChannelId.CHAT_CRITICAL_ANNOUNCE || _type2Check == +SystemChatChannelId.CHAT_SYSTEM || _type2Check == SystemChatChannelId.CHAT_CUSTOM || +(_type2Check == SystemChatChannelId.CHAT_GM_PET && !activeChar.isGM())) + { + _log.warning("[Anti-PHX Announce] Illegal Chat channel was used by character: [" + activeChar.getName() + "]"); + return; + } + + + if (_text.length() >= 100) + { + _log.warning("Say2: Max input exceeded."); + return; + } Special Thanks to VHailor [L2jSigmo Onwer] Link to comment Share on other sites More sharing options...
penglezos Posted May 6, 2012 Share Posted May 6, 2012 Already shared: http://www.maxcheaters.com/forum/index.php?topic=70306.0 Link to comment Share on other sites More sharing options...
Zake Posted May 6, 2012 Share Posted May 6, 2012 Already shared: http://www.maxcheaters.com/forum/index.php?topic=70306.0 it's not the same code, but it's simple. Link to comment Share on other sites More sharing options...
penglezos Posted May 6, 2012 Share Posted May 6, 2012 it's not the same code, but it's simple. + SystemChatChannelId part is missing + Wrong creadits Link to comment Share on other sites More sharing options...
Ta®oS™ Posted May 6, 2012 Author Share Posted May 6, 2012 you cant send me in PM the code ? or post here Link to comment Share on other sites More sharing options...
Zake Posted May 6, 2012 Share Posted May 6, 2012 you cant send me in PM the code ? or post here Which code? Link to comment Share on other sites More sharing options...
Ta®oS™ Posted May 6, 2012 Author Share Posted May 6, 2012 Which code? from here http://www.maxcheaters.com/forum/index.php?topic=70306.0 i dont have the post i need look the code Link to comment Share on other sites More sharing options...
Zake Posted May 6, 2012 Share Posted May 6, 2012 from here http://www.maxcheaters.com/forum/index.php?topic=70306.0 i dont have the post i need look the code Index: C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/say2.java =================================================================== --- C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/say2.java (Revision 1434) +++ C:/workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/say2.java (working copy) L2PcInstance activeChar = getClient().getActiveChar(); if (activeChar == null) { _log.warning("[say2.java] Active Character is null."); return; } + + + if (_text.length() >= 100) + { + _log.warning("Say2: Max input exceeded."); + return; + } + Link to comment Share on other sites More sharing options...
Ta®oS™ Posted May 6, 2012 Author Share Posted May 6, 2012 is not the same codes Link to comment Share on other sites More sharing options...
penglezos Posted May 6, 2012 Share Posted May 6, 2012 is not the same codes the difference is between one _log check and systemchannelid that you forgot to post.Practically is the same thing Link to comment Share on other sites More sharing options...
Fortuna Posted May 6, 2012 Share Posted May 6, 2012 Already shared by Devon. Locked. Link to comment Share on other sites More sharing options...
Recommended Posts