Page 1 of 1

Censoring: Client Side

Posted: Tue Aug 26, 2008 2:34 am
by Astroman
I was thinking it would be nice to be able to censor swear words on the client's side. This way, on servers where swearing is allowed, people who don't approve of such can still enjoy themselves. I'm not sure how it would be done, but I thought that it could use the same list of disallowed words that the censoring on the server side uses, this way some code could be "recycled".

P.S. Please don't ask me to "code it up", I'm just throwing it out there as an idea. :)

Posted: Tue Aug 26, 2008 3:54 am
by A Meteorite
This already has been implemented as a -badwords argument. There is no code reuse needed, you can use the same file that is provided for a server, or make your own.

To view the example bad word files, please look at the multilingualSwearList.txt and simpleSwearList.txt files in BZFlag's trunk misc folder.

Posted: Sun Aug 31, 2008 12:42 am
by optic delusion
Some work has been done on this in trunk, but i'm not sure how much it's gonna help.
What i'd like to see is a way for a parent to lock the game client into COPPA mode, so the player in COPPA doesn't even see the servers that don't have swear filtering on the serverlist. And the player can't easily take his client out of COPPA.

Posted: Mon Sep 01, 2008 4:49 am
by temporal distraction
A Meteorite wrote:This already has been implemented as a -badwords argument. There is no code reuse needed, you can use the same file that is provided for a server, or make your own.

To view the example bad word files, please look at the multilingualSwearList.txt and simpleSwearList.txt files in BZFlag's trunk misc folder.
Isn't the -badwords argument for a server conf file? How would a person who is not running a server, but just running a client use this? I don't think you mean that one can run a client (starting it with a command line code) with -badwords path/to/the/simpleSwearList.txt do you?

Posted: Mon Sep 01, 2008 1:05 pm
by anomaly
Yes you can run the bzflag client with the -badwords option and load one of the swearlist files. I know it works with the Linux client.

Posted: Mon Sep 01, 2008 11:50 pm
by A Meteorite
temporal distraction wrote:
A Meteorite wrote:This already has been implemented as a -badwords argument. There is no code reuse needed, you can use the same file that is provided for a server, or make your own.

To view the example bad word files, please look at the multilingualSwearList.txt and simpleSwearList.txt files in BZFlag's trunk misc folder.
Isn't the -badwords argument for a server conf file? How would a person who is not running a server, but just running a client use this? I don't think you mean that one can run a client (starting it with a command line code) with -badwords path/to/the/simpleSwearList.txt do you?
No, it has been there for as long as I can remember and I have used it. Run BZFlag with the -help argument next time. :)