Page 1 of 2

Swear Filter on Servers

Posted: Sat Aug 07, 2010 2:27 pm
by Shifty
Someone recently asked a question in the TF2 forum about the swear filters, and it reminded me I've been meaning to ask why my chats are often blocked with no foul language in them. What exactly is going on here?

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 2:34 pm
by Stevo
Sometimes you can find bad words within innocent words or if you move spaces around. The filter isn't very smart.

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 2:46 pm
by Gizanked
it does give back a lot of false positives, maybe read back over what you read to see if there are any hidden swears.. like stevo said, it isn't very smart.

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 2:54 pm
by Pine
An example might be if you typed "As soon as possible"
It would calculate he first 3 letters as a swear word and cause it to be blocked.

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 2:58 pm
by TheCarpe
Yeah, it can filter some strange things. You can be typing something like "Push it" during a payload match and it will catch it for the perceived swear in there.

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 3:03 pm
by Dog
Of course, people from a certain town called 'S c u n t h o r p e' in England are going to have a really hard time explaining where they're from.

It's not our plugin and doesn't work the way we want.
If you know enough regex, you could try and rewrite it!

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 4:07 pm
by Darklightr
Regex? Never heard if it

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 4:13 pm
by TheCarpe

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 4:15 pm
by Darklightr
Can't go on that now. I'm using my godfather's laptop, and, apparently, his JavaScript is on O.o

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 4:18 pm
by Masakari
I know I used to/still might get a warning for using the word "**********" on the servers.

But then again, that may just be Dog trying to get me to stop saying that word. :P

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 7:02 pm
by Flobee
Probably the latter.

Re: Swear Filter on Servers

Posted: Sat Aug 07, 2010 10:29 pm
by Fox_Blaze
Most definatly.

Re: Swear Filter on Servers

Posted: Sun Aug 08, 2010 2:00 am
by Shifty
I realize that it might find swears in innocent sentances, and maybe I'm just not looking hard enough, but I swear (no pun intended) that I'm typing completely clean sentances.

Perhaps I need to think more dirty and see the bad words better...

Re: Swear Filter on Servers

Posted: Sun Dec 05, 2010 1:03 pm
by The Spanish Inquisition
Dog wrote:Of course, people from a certain town called 'S c u n t h o r p e' in England are going to have a really hard time explaining where they're from.

It's not our plugin and doesn't work the way we want.
If you know enough regex, you could try and rewrite it!
I would like to take a stab at fixing this ridiculous regex then. Got flagged last night for "Can't you just smash it back into metal."

Re: Swear Filter on Servers

Posted: Sun Dec 05, 2010 1:18 pm
by TheCarpe
Dumb though it may be, it's better than nothing. It catches a lot more actual language than false positives, I'm certain.