If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
lowercase everything is fine filters, if you write in big letters mats or large print - there is no (
example
her - -_-
HER - HER
chatfilter bag
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 99
- Joined: Wed Jan 04, 2006 12:51 am
Re: chatfilter bag
What are your revisions? This seems to work fine for me. Anyway look at
in java/com/l2jserver/gameserver/network/clientpackets/Say2.java
Code: Select all
filteredText = filteredText.replaceAll("(?i)" + pattern, Config.CHAT_FILTER_CHARS);
- achilless
- Posts: 153
- Joined: Thu Oct 02, 2008 7:40 pm
- Location: Russia & Ukraine
Re: chatfilter bag
latest revision
her - -_-
HER - -_-
хуй - -_-
ХУЙ - ХУЙ
sorry, with English all right! Problem of a Russian words!private void checkText()
{
String filteredText = _text;
for (String pattern : Config.FILTER_LIST)
filteredText = filteredText.replaceAll("(?i)" + pattern, Config.CHAT_FILTER_CHARS);
_text = filteredText;
}
her - -_-
HER - -_-
хуй - -_-
ХУЙ - ХУЙ