Forum

Best Way To Implement a Profanity Filter On a Server?

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Best Way To Implement a Profanity Filter On a Server?

Postby Baker » Tue May 29, 2007 12:05 am

What is the best way to implement a profanity filter on a server?

Is this best to handle via QuakeC or better handled in the engine?

I know that if this is handled in QuakeC, frik_file would support would probably be a prerequisite. In this type of implementation, where in QuakeC is the place where this type of code would be implemented (it looks like SUB_UseTargets in subs.qc).
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Urre » Tue May 29, 2007 8:11 am

FrikFile has very little to do with this, you're better off with KRIMZON_SV_CLIENTCOMMAND or whatever it was called. It's too easy to get around profanity filters though. If you still want to do it, make it humorous, DJQuake style. I did it for a mod which I never finished, but the filter worked great (until someone said fcuk or suck my bhalls).
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby Baker » Tue May 29, 2007 9:08 am

Thanks Urre, I'll look into that feature. KRIMZON_SV_PARSECLIENTCOMMAND ... ? Hmmm.

Yeah, people can get around the filter but if it is there then they at least know a standard of behavior is at least desired and if someone can't take a hint, at least they'll understand in advance how they got in the ban file :P :P

After a lot of searching I found in the spot in the engine where the messagemode is sent to other clients, funny how hard it can be to find stuff in engine code when you aren't familiar with the code. ;)
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Urre » Wed May 30, 2007 6:21 am

Didn't know you meant to do it engineside. The thing I mentioned is a qc builtin, supported by at least darkplaces and fte, other than that I'm unsure. Probably Krimzon's engine, if he has one :)
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby lth » Fri Jun 15, 2007 2:01 pm

Dude, you kill people for fun in Quake. How is that more socially acceptable than swearing??
User avatar
lth
 
Posts: 144
Joined: Thu Nov 11, 2004 1:15 pm

Postby Spirit » Fri Jun 15, 2007 6:04 pm

lth wrote:Dude, you kill people for fun in Quake. How is that more socially acceptable than swearing??
No, you don't. How sick is that? Game /= reality, eh?


edit: I DO think that banning swearwords is totally wrong in Quake though. Swearing is an essential part of Deathmatching!
Spirit
 
Posts: 1031
Joined: Sat Nov 20, 2004 9:00 pm

Postby scar3crow » Fri Jun 15, 2007 6:19 pm

Swearing is an essential part of Deathmatching!

Like hell it is! Fuck off, we don't need any swearing!
User avatar
scar3crow
InsideQC Staff
 
Posts: 1054
Joined: Tue Jan 18, 2005 8:54 pm
Location: Alabama

Postby Sajt » Sat Jun 16, 2007 7:03 am

Yeah... I need a filter like bubbles needs a peardrops
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
Sajt
 
Posts: 1215
Joined: Sat Oct 16, 2004 3:39 am

Postby Teiman » Sat Jun 16, 2007 2:30 pm

I am against filtering. But:

Your server, your rules.
Teiman
 
Posts: 309
Joined: Sun Jun 03, 2007 9:39 am

Postby RenegadeC » Sat Jun 16, 2007 8:00 pm

You guys need to watch your fuckin language, there's kids in the room.
User avatar
RenegadeC
 
Posts: 391
Joined: Fri Oct 15, 2004 10:19 pm
Location: The freezing hell; Canada


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest