Page 1 of 2
Bad word filter problem
Posted: 16 Feb 2009, 08:41
by pulse
Hi, we are using smartfoxserverPRO. We have issues in BadWord filter. When we type "Hi", "Where should we go?" etc. its count as badword. Can you please help us to resolve this problem.
Posted: 16 Feb 2009, 14:19
by Lapo
It probably depends on your word list settings. Could you show us the settings related to the BadWordsFilter in your config.xml?
Thanks
Posted: 16 Feb 2009, 16:37
by pulse
Sure
sorry its counting badword for "hello" not "Hi"
Thanks
Below is the code that used in config.xml
<BadWordsFilter active="true">
<FilterMode>filter</FilterMode>
<!-- REMOVE or FILTER -->
<StripCharacters><![CDATA[,.:_!$%/#*-+]]></StripCharacters>
<Warnings>true</Warnings>
<FilterRoomNames>true</FilterRoomNames>
<FilterUserNames>true</FilterUserNames>
<WarningsBeforeKick>3</WarningsBeforeKick>
<WarningMessage>
<![CDATA[No swearing!)]]>
</WarningMessage>
<KickMessage>
<![CDATA[You've been warned! No Swearing! Now you're kicked]]>
</KickMessage>
<BanMessage>
<![CDATA[Stop Swearing! You're being banned!]]>
</BanMessage>
<BanAfter timeSpan="1">3</BanAfter>
<BadWordsList>
<badWord>motherfucker</badWord>
<badWord>ass</badWord>
<badWord>arse</badWord>
<badWord>assbag</badWord>
<badWord>assbandit</badWord>
<badWord>assbanger</badWord>
<badWord>assbite</badWord>
<badWord>assclown</badWord>
<badWord>asscock</badWord>
<badWord>assface</badWord>
<badWord>assfuck</badWord>
<badWord>asshat</badWord>
<badWord>asshead</badWord>
<badWord>asshole</badWord>
<badWord>asshopper</badWord>
<badWord>assjacker</badWord>
<badWord>asslicker</badWord>
<badWord>assmunch</badWord>
<badWord>assshole</badWord>
<badWord>asswipe</badWord>
<badWord>bampot</badWord>
<badWord>bastard</badWord>
<badWord>beaner</badWord>
<badWord>bitch</badWord>
<badWord>bitchass</badWord>
<badWord>blow job</badWord>
<badWord>blowjob</badWord>
<badWord>boner</badWord>
<badWord>brotherfucker</badWord>
<badWord>bullshit</badWord>
<badWord>butt plug</badWord>
<badWord>butt-pirate</badWord>
<badWord>buttfucka</badWord>
<badWord>buttfucker</badWord>
<badWord>camel toe</badWord>
<badWord>carpetmuncher</badWord>
<badWord>chinc</badWord>
<badWord>chink</badWord>
<badWord>choad</badWord>
<badWord>chode</badWord>
<badWord>clit</badWord>
<badWord>clubpenguin</badWord>
<badWord>club penguin</badWord>
<badWord>cock</badWord>
<badWord>cockbite</badWord>
<badWord>cockface</badWord>
<badWord>cockfucker</badWord>
<badWord>cockmaster</badWord>
<badWord>cockmongruel</badWord>
<badWord>cockmuncher</badWord>
<badWord>cocksmoker</badWord>
<badWord>cocksucker</badWord>
<badWord>coon</badWord>
<badWord>cooter</badWord>
<badWord>cracker</badWord>
<badWord>cum</badWord>
<badWord>cumtart</badWord>
<badWord>cunnilingus</badWord>
<badWord>cunt</badWord>
<badWord>cunthole</badWord>
<badWord>damn</badWord>
<badWord>deggo</badWord>
<badWord>dick</badWord>
<badWord>dickbag</badWord>
<badWord>dickhead</badWord>
<badWord>dickhole</badWord>
<badWord>dicks</badWord>
<badWord>dickweed</badWord>
<badWord>dickwod</badWord>
<badWord>dildo</badWord>
<badWord>dipshit</badWord>
<badWord>dookie</badWord>
<badWord>dotcom</badWord>
<badWord>douche</badWord>
<badWord>douchebag</badWord>
<badWord>douchewaffle</badWord>
<badWord>dumb</badWord>
<badWord>dumass</badWord>
<badWord>dumb ass</badWord>
<badWord>dumbass</badWord>
<badWord>dumbfuck</badWord>
<badWord>dumbshit</badWord>
<badWord>dyke</badWord>
<badWord>effer</badWord>
<badWord>fag</badWord>
<badWord>fagbag</badWord>
<badWord>fagfucker</badWord>
<badWord>faggit</badWord>
<badWord>faggot</badWord>
<badWord>fagtard</badWord>
<badWord>fatass</badWord>
<badWord>fellatio</badWord>
<badWord>fuck</badWord>
<badWord>fuckass</badWord>
<badWord>fucked</badWord>
<badWord>fucker</badWord>
<badWord>fuckface</badWord>
<badWord>fuckhead</badWord>
<badWord>fuckhole</badWord>
<badWord>fuckin</badWord>
<badWord>fucking</badWord>
<badWord>fucknut</badWord>
<badWord>fucks</badWord>
<badWord>fuckstick</badWord>
<badWord>fucktard</badWord>
<badWord>fuckup</badWord>
<badWord>fuckwad</badWord>
<badWord>fuckwit</badWord>
<badWord>fudgepacker</badWord>
<badWord>gay</badWord>
<badWord>gaydo</badWord>
<badWord>gaytard</badWord>
<badWord>gaywad</badWord>
<badWord>gd</badWord>
<badWord>goddamn</badWord>
<badWord>goddamnit</badWord>
<badWord>gooch</badWord>
<badWord>gook</badWord>
<badWord>gringo</badWord>
<badWord>guido</badWord>
<badWord>hard on</badWord>
<badWord>heeb</badWord>
<badWord>hell</badWord>
<badWord>ho</badWord>
<badWord>homo</badWord>
<badWord>homodumbshit</badWord>
<badWord>honkey</badWord>
<badWord>http</badWord>
<badWord>humping</badWord>
<badWord>jackass</badWord>
<badWord>jap</badWord>
<badWord>jerk off</badWord>
<badWord>jigaboo</badWord>
<badWord>jizz</badWord>
<badWord>jungle bunny</badWord>
<badWord>kike</badWord>
<badWord>kooch</badWord>
<badWord>kootch</badWord>
<badWord>kum</badWord>
<badWord>kyke</badWord>
<badWord>lesbian</badWord>
<badWord>lesbo</badWord>
<badWord>mf</badWord>
<badWord>lezzie</badWord>
<badWord>mcfagget</badWord>
<badWord>mick</badWord>
<badWord>minge</badWord>
<badWord>mothafucka</badWord>
<badWord>motherfucker</badWord>
<badWord>motherfucking</badWord>
<badWord>muff</badWord>
<badWord>negro</badWord>
<badWord>nigga</badWord>
<badWord>nigger</badWord>
<badWord>niglet</badWord>
<badWord>nut sack</badWord>
<badWord>nutsack</badWord>
<badWord>paki</badWord>
<badWord>panooch</badWord>
<badWord>pecker</badWord>
<badWord>peckerhead</badWord>
<badWord>penis</badWord>
<badWord>phuc</badWord>
<badWord>phuk</badWord>
<badWord>phuck</badWord>
<badWord>piss</badWord>
<badWord>pissed</badWord>
<badWord>pissed off</badWord>
<badWord>pollock</badWord>
<badWord>poon</badWord>
<badWord>poonani</badWord>
<badWord>poonany</badWord>
<badWord>porch monkey</badWord>
<badWord>porchmonkey</badWord>
<badWord>prick</badWord>
<badWord>punta</badWord>
<badWord>pussy</badWord>
<badWord>pussylicking</badWord>
<badWord>puto</badWord>
<badWord>queef</badWord>
<badWord>queer</badWord>
<badWord>queerbait</badWord>
<badWord>renob</badWord>
<badWord>rimjob</badWord>
<badWord>sand nigger</badWord>
<badWord>sandnigger</badWord>
<badWord>schlong</badWord>
<badWord>scrote</badWord>
<badWord>sex</badWord>
<badWord>shit</badWord>
<badWord>shitcunt</badWord>
<badWord>shitdick</badWord>
<badWord>shitface</badWord>
<badWord>shitfaced</badWord>
<badWord>shithead</badWord>
<badWord>shitter</badWord>
<badWord>shittiest</badWord>
<badWord>shitting</badWord>
<badWord>shitty</badWord>
<badWord>skank</badWord>
<badWord>skeet</badWord>
<badWord>slut</badWord>
<badWord>slutbag</badWord>
<badWord>snatch</badWord>
<badWord>spic</badWord>
<badWord>spick</badWord>
<badWord>splooge</badWord>
<badWord>tard</badWord>
<badWord>testicle</badWord>
<badWord>thundercunt</badWord>
<badWord>tit</badWord>
<badWord>titfuck</badWord>
<badWord>tits</badWord>
<badWord>trackster</badWord>
<badWord>twat</badWord>
<badWord>twatlips</badWord>
<badWord>twats</badWord>
<badWord>twatwaffle</badWord>
<badWord>va-j-j</badWord>
<badWord>vag</badWord>
<badWord>vjayjay</badWord>
<badWord>wank</badWord>
<badWord>wetback</badWord>
<badWord>whore</badWord>
<badWord>whorebag</badWord>
<badWord>wop</badWord>
<badWord>www</badWord>
</BadWordsList>
</BadWordsFilter>
Posted: 18 Feb 2009, 06:07
by pulse
Please help us in bad word issues
Posted: 18 Feb 2009, 08:02
by Lapo
The filter attempts to locate bad words even within other characters.
Example:
One could write
Fool but also
F o o l or
F_o_o_l or
F - O - O - L etc...
In order to accomplish this, the words filter strips punctuation characters as configured in the <StripCharacters> parameter before checking the chat message.
The possible downside of this approach is that very short words such as
ass could be filtered even when found in words such as
mass, passive, assassin etc..
In order to avoid this problem simply add a blank space in front and/or at the end of the word in the list of badwords.
Example:
This way
passive will not be considered a bad word, while
assassin will still trigger the filter.
To avoid that put the space at the end too:
Back to your problem:
You have specified the bad word
ho which can be found in tons of words and phrases, in fact "Where s
hould we go" contains it.
Simply configure it like this:
The same goes for all other short words that have a high probability to be part of other common words
Hope it helps
Posted: 18 Feb 2009, 11:37
by pulse
Thanks for reply
We have added blank space on both side but when we type "ho" its not counting as badword.
We are using SmartfoxserverPRO 1.4. in this <StripCharacters> parameter not support. can we can use any other parameter instant of <StripCharacters> parameter or some other code.
Thanks
Posted: 19 Feb 2009, 11:10
by pulse
Please help us in bad word issues
Posted: 19 Feb 2009, 13:50
by Lapo
I would recommend to upgrade to a more recent version. The upgrade is free

Posted: 19 Feb 2009, 15:12
by pulse
Lapo wrote:I would recommend to upgrade to a more recent version. The upgrade is free

Will upgraded version support AS1?
Please reply
Thanks
Posted: 19 Feb 2009, 15:31
by Lapo
No, Actionscript 1 has been dropped in favor of Actionscript 3.0 since version 1.5
I guess you're asking this because you're using TheoChat?
If not, there is no problem to upgrade because you can use your existing AS1 code and compile it under Actionscript 2 without changing one line.
Even if you are using the old MX-Components you can find a replacement version on the Adobe website that compile under AS2
The only problem is with TheoChat... unfortunately they didn't upgrade it to AS2
Posted: 19 Feb 2009, 15:38
by pulse
Lapo wrote:No, Actionscript 1 has been dropped in favor of Actionscript 3.0 since version 1.5
I guess you're asking this because you're using TheoChat?
If not, there is no problem to upgrade because you can use your existing AS1 code and compile it under Actionscript 2 without changing one line.
Even if you are using the old MX-Components you can find a replacement version on the Adobe website that compile under AS2
The only problem is with TheoChat... unfortunately they didn't upgrade it to AS2
Yes we are using Theochat.
Is there any way to solve this problem.
Please help as in this issues.
Thanks Lapo
Posted: 19 Feb 2009, 15:47
by Lapo
Unfortunately we can't help in this specific case. Theo Chat has never updated their product since its release.

We also talked directly with the guys at Theoavatar suggesting some very simple updates to allow their client to be compatible at least with AS 2
Take into consideration that Actionscript 2 has been introduced in 2004

Posted: 19 Feb 2009, 15:53
by pulse
Lapo wrote:Unfortunately we can't help in this specific case. Theo Chat has never updated their product since its release.

We also talked directly with the guys at Theoavatar suggesting some very simple updates to allow their client to be compatible at least with AS 2
Take into consideration that Actionscript 2 has been introduced in 2004

Thanks lapo for your help & support
Thanks
bad words filter
Posted: 09 Nov 2009, 04:00
by sharingan
pulse wrote:Thanks for reply
We have added blank space on both side but when we type "ho" its not counting as badword.
We are using SmartfoxserverPRO 1.4. in this <StripCharacters> parameter not support. can we can use any other parameter instant of <StripCharacters> parameter or some other code.
Thanks
Hi Lapo,
I'm currently having the same problem. I'm using SmartfoxserverPRO 1.6.5. I added "ass" into the bad words list with a space behind and after, but it allows me to type "ass" and not count it as a badword. Is this a bug in SFS or something that i'm missing?
<StripCharacters><![CDATA[,.;:_!$%&/#*-+ ]]></StripCharacters>
When I try this:
<badWord>ass</badWord>
It filters out words like pass and assassin, which is correct.
When I try this:
<badWord> ass </badWord>
or this:
<badWord> ass</badWord>
<badWord>ass </badWord>
It doesn't filter out anything, even "ass" itself.
Please help!
Posted: 04 Jan 2010, 15:15
by pulse
Hi Lapo,
I have upgarded SmartfoxserverPRO 1.6.2 and Theochat application. I added "ho" into the bad words list with a space behind and after, but it allows me to type "ho" and not count it as a badword. Is this a bug in SFS or something that i'm missing?
<StripCharacters><![CDATA[,.;:_!$%&/#*-+ ]]></StripCharacters>
When I try this:
<badWord>ho</badWord>
It filters out words like should and how, which is correct.
When I try this:
<badWord> ho </badWord>
or this:
<badWord> ho</badWord>
<badWord>ho </badWord>
It doesn't filter out anything, even "ho" itself.
Please help!