please ease up on the language filter

Post here your suggestions for new possible features in SmartFoxServer.

Moderators: Lapo, Bax

Post Reply
dream
Posts: 21
Joined: 21 Aug 2006, 13:54
Location: Bucharest, Romania
Contact:

please ease up on the language filter

Post by dream »

There have been many complaints about the language filter and how it handles words. It would be a great improvement to take spaces into consideration (eg: "as someone") as well as leaving words containing bad words (like "assets").

I've been told that putting a space at the begining or the end of the bad word in the the bad word list would fix the second problem.. but It ended up not detecting any words at all, including the ones which matched.
Please consider this in the future release.
nature has a funny way of breaking what does not bend
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Yes, this has been mentioned several times in this board. We have plans for adding more flexibility to the bad word filters.

Additionally I'd like to mention that, with the latest version of the server, we enhanced the "pubMsg" internal event. It is now possible to catch all the public messages in your extension and apply your custom filters.
Lapo
--
gotoAndPlay()
...addicted to flash games
aMUSiC
Posts: 48
Joined: 15 Dec 2007, 17:15

Post by aMUSiC »

hm.. enhancing the suggestion... maybe allow regular expressions for bad word filtering?
delany
Posts: 27
Joined: 10 Dec 2007, 00:32

Post by delany »

I'll second the regular expressions suggestions. I have a list of regular expressions that I just move over to new forum or single player game environments when we implement them.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Nice suggestion. I am adding it to the To-Do list right now :)
Lapo
--
gotoAndPlay()
...addicted to flash games
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Post by patso »

And while we talk about suggestions....
This one one may be will not be included in the to-do list but I think its interesting.

What about flag option? When some chat is flaged it's send to moderator to take adctions. And the bad words fillter can just do this task automatically - sends the message to moderator so it could take the proper actions.
turtlesoup
Posts: 77
Joined: 28 Dec 2007, 20:56

Post by turtlesoup »

Lapo wrote:Yes, this has been mentioned several times in this board. We have plans for adding more flexibility to the bad word filters.

Additionally I'd like to mention that, with the latest version of the server, we enhanced the "pubMsg" internal event. It is now possible to catch all the public messages in your extension and apply your custom filters.


Does the pubMsg extension get called before or after the word filter? Or does it disable the word filter?
darnpunk
Posts: 229
Joined: 22 Jun 2007, 02:58
Location: SG

Post by darnpunk »

Does the pubMsg extension get called before or after the word filter? Or does it disable the word filter?
I just tried creating my own custom filter. The word filter comes first before pubMsg and it does not disable the word filter. When I typed in a bad word that is listed inside SFS bad word list and my custom filter, SFS catches it first.
turtlesoup
Posts: 77
Joined: 28 Dec 2007, 20:56

Post by turtlesoup »

darnpunk wrote:
Does the pubMsg extension get called before or after the word filter? Or does it disable the word filter?
I just tried creating my own custom filter. The word filter comes first before pubMsg and it does not disable the word filter. When I typed in a bad word that is listed inside SFS bad word list and my custom filter, SFS catches it first.

Cool. Thanks!
no-one
Posts: 35
Joined: 01 Sep 2007, 16:42

Post by no-one »

just a suggestion.

use a client side word filter like mine.
it wont ban or kick but it will remove a lot more bad words, and its has a ignore word list (ignore grape but remove rape)

checkout the link bellow for source
http://m0rkeulv.net/showsource.php?file=/code/filter.as
turtlesoup
Posts: 77
Joined: 28 Dec 2007, 20:56

Post by turtlesoup »

Any update on the regular expressions filtering?

Also, would it be possible to load the bad word list from a separate text file instead of typing them all inside config.xml ?

thanks
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

It's in our list of things to do, but sorry, it's not something that will be out in the next weeks. We have a long list of enhancements on which we are working on. We'll disclose more details in the next months.
Lapo
--
gotoAndPlay()
...addicted to flash games
ptdgames
Posts: 39
Joined: 10 Mar 2008, 21:55

Post by ptdgames »

no-one wrote:use a client side word filter like mine.
For now, this is what I'm doing. The client is running a RegEx type thing to filter out bad words and then taking the appropriate action.

Hopefully SMS does this soon. Using regular expressions pretty much fixes any problems with the "ass / pass" type things.
Post Reply