Page 1 of 2

Local Chat Filter?

Posted: Tue Oct 18, 2011 9:31 am
by atlarjy
I was thinking instead of the global bot banning people it might be useful to just have the local client had a chat filter. Starts with a basic list of the "normal" filtered words. Each user could then use a command like "/forbidden <word>" or "/censor <word>" to add/remove words they find offensive from the filter list.

That would not only allow people to block ANY word they find offensive on an individual basis but save the server the effort of having to deal with a long list of words and variations.

I don't know if that's possible but I think it would work better than trying to manage hundreds of peoples opinions of offensive language.

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 9:34 am
by Japee12
atlarjy wrote:Each user could then use a command like "/forbidden <word>" or "/censor <word>" to add/remove words they find offensive from the filter list..
Geeze I can see that going well... :?

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 9:35 am
by BSGSamuel
It's not really about everyone else's opinion, it's about Intelli's opinion. He wants this to be an all age server and therefor there should be no swearing whatsoever. This also means no censored swearing.

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 10:08 am
by atlarjy
I wasn't suggesting that he remove ALL filtering from the server but trying to catch every word and phrase that anyone might find offensive is a much larger task than most people think. This filter wouldn't effect anyone but the local client and would allow people to block those things that they find personally offensive without burdening the rest of us with their opinions.

The core language filter could watch for the most offensive and most common variations and the locally running filter could catch any of the basic stuff.

I'm not trying to argue or anything I just think this would work better than trying to catch everything in a global filter.

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 10:12 am
by ConfidingBullet
All Intelli needs to do is add word boundaries to the regex he's using to match words.

If he's not using regex, then, well...

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 10:15 am
by RyGuy130
Even with a chat filter, it's very easy to tell when swearing is implied. I think the idea of banning people for swearing is supposed to encourage the chat to be generally friendlier. If Intelli really just wanted little kids to not have to look at swear words I think he probably would have just implemented a chat filter to begin with.

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 10:24 am
by aguy130
atlarjy wrote:I was thinking instead of the global bot banning people it might be useful to just have the local client had a chat filter. Starts with a basic list of the "normal" filtered words. Each user could then use a command like "/forbidden <word>" or "/censor <word>" to add/remove words they find offensive from the filter list.

That would not only allow people to block ANY word they find offensive on an individual basis but save the server the effort of having to deal with a long list of words and variations.

I don't know if that's possible but I think it would work better than trying to manage hundreds of peoples opinions of offensive language.
You know there's the idiot who will censor "the" "a" "I" "it" etc...

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 10:53 am
by Kojaimea
aguy130 wrote:You know there's the idiot who will censor "the" "a" "I" "it" etc...
I think he means that each player has their own filter list that they themselves are allowed to edit, rather than having a server wide one.

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 11:05 am
by Aelcalan
This would take an obscene amount of processing time for what it does. EVERY TIME someone says something, the server would have to:
1. Check who's on.
2. Retrieve their word list.
3. Run the filtering algorithm on EACH AND EVERY WORD on EACH AND EVERY LIST.
4. Hope nobody else got on during that time.
5. Send each player their own version of chat.

Re: Local Chat Filter?

Posted: Tue Oct 18, 2011 1:48 pm
by atlarjy
This would be a local list. The local client would check against it's local list and filter the text on that end instead of on the server side.