One guy has just suggested that for another game, but i somehow liked it.
Since abusive words in multiplayer chat and lobby names are known to be quite a problem, why don't we implement an optional (on by default, probably just a config file option) word filter on the game side? That is, the bad guy can say whatever he wants, but unless other people explicitly ask for this, his bad words are just filtered out (replaced with ***) by warzone2100 application other people run and thus never reach anybody.
Client side word filter
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
-
Rommel
- Trained

- Posts: 446
- Joined: 03 Nov 2012, 19:44
Re: Client side word filter
Unless you had a pretty good algorithm regex thingy it would be pretty u.se1ess.
Moving back instead of forward
Seems to me absurd
~
Metallica - Eye of the beholder
Seems to me absurd
~
Metallica - Eye of the beholder
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: Client side word filter
Shouldn't be the problem; obviously there already exist thousands of implementations of this, used by thousands of web services.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Per
- Warzone 2100 Team Member

- Posts: 3780
- Joined: 03 Aug 2006, 19:39
Re: Client side word filter
I like the idea. Many games do this. We could even automatically pull down updated lists from somewhere.
-
Perseus
- Trained

- Posts: 56
- Joined: 09 Oct 2010, 22:25
Re: Client side word filter
Yes, good idea, as well as in the lobby would be good to have this feature in game as well, so that people don't see those parts of messages coming from abusive people. 
-
bendib
- Regular

- Posts: 1016
- Joined: 29 Aug 2010, 05:22
- Location: Imeuta
Re: Client side word filter
Very doable without regex. I think the standard library of C and C++ both provide utilities to make this near painless in string.h.
I was thinking strncmp() stepping through the string in a stringContains() function. There is a good chance I am forgetting something. I feel like I am forgetting a useful function...
I was thinking strncmp() stepping through the string in a stringContains() function. There is a good chance I am forgetting something. I feel like I am forgetting a useful function...
Also known as Subsentient.
-
stiv
- Warzone 2100 Team Member

- Posts: 876
- Joined: 18 Jul 2008, 04:41
- Location: 45N 86W
Re: Client side word filter
You could do this with the Standard C library instead of regex, but it would be insane. The problem is more complicated than you realize.
-
Rommel
- Trained

- Posts: 446
- Joined: 03 Nov 2012, 19:44
Re: Client side word filter
Yes with all being easily circumvented. I am sure there are more important things that development time could be spent on other than this. If someone is set on being an abusive prick this is not going to stop them - however somekind of proper identification that would allow banning users (as has been discussed) would go a long way toward alleviating the issue of abusive players. I have also found that a good repertoire of mum insults can be a good repellent against griefersNoQ wrote:Shouldn't be the problem; obviously there already exist thousands of implementations of this, used by thousands of web services.
Just my 2 cents + there is a certain regret that would be involved in not being able to properly appreciate tomato_Cat's abusive rejoinders lol
Moving back instead of forward
Seems to me absurd
~
Metallica - Eye of the beholder
Seems to me absurd
~
Metallica - Eye of the beholder
-
bendib
- Regular

- Posts: 1016
- Joined: 29 Aug 2010, 05:22
- Location: Imeuta
Re: Client side word filter
Sir, you forget, I AM insane!stiv wrote:You could do this with the Standard C library instead of regex, but it would be insane. The problem is more complicated than you realize.
Also known as Subsentient.