Swear Filter
kay
Posted: Jul 10 2009, 07:50 PM


Lieutenant Colonel - Missile Class
*

Group: Members
Posts: 127
Member No.: 111
Joined: 30-November 07



Because Re-Volt players' ages are from 7~unknown, a swear filter is STRICTLY needed

I don't know how to do this in C++... but in visual basic (6) language:

CODE
'StrData : Data coming from the peers
'BadWords(): array 0~200 containing all the bad words
'TmpStr: a temporary string

for i = 0 to 200
if instr(1,StrData,BadWords(i),vbTextCompare)>0 then
tmpstr=""
do until len(tempstr) = len(badwords(i))
tempstr= tempstr & "*"
loop

strdata = replace(strdata,BadWords(i),tempstr,vbtextcompare)
end if
next i
Top
miro
  Posted: Jul 11 2009, 08:41 AM


Annoying Person!
*

Group: Members
Posts: 167
Member No.: 316
Joined: 5-February 09



What is this program about ?
Top
Jaseaka!
Posted: Jul 11 2009, 10:38 AM


it's JESSICA!!!!!
*

Group: Admin
Posts: 251
Member No.: 3
Joined: 2-May 07



well, it may/maynot be needed. not like the words aren't heard out in the public. an occasional eff u in a comedy way isn't a problem. and if there's someone posting lines and lines of unneeded text, just ignore them. problem solved..


D@mn that was a good race.
or...
argh effed rockets! hil keeps shooting me.

i dont see swear words in normal chit chat as a problem.


just when those guys enter and say . hey eff u.... Bi+c..bi...bi... suck this suck that down the page and u see the whole screen is becoming full w/ swear words then i just ignore.
Top
Urnemanden
Posted: Jul 11 2009, 01:28 PM


Colonel - 3 Missiles Class
*

Group: Members
Posts: 225
Member No.: 130
Joined: 29-December 07



If that's really what we need I think we should have some sort of spam filter too. Like if the same word is mentioned 5 times in same sentence it won't show up in the main chat for others.
Top
miro
Posted: Jul 11 2009, 03:46 PM


Annoying Person!
*

Group: Members
Posts: 167
Member No.: 316
Joined: 5-February 09



aha.... now I understand this program , we need it ..
Top
arto
Posted: Aug 12 2009, 08:19 PM


Colonel - 3 Missiles Class
*

Group: Admin
Posts: 190
Member No.: 7
Joined: 2-May 07



If someone wants to implement a swear filter to RV House, I will accept the code. But it must be an option, so you must be able to turn it on/off from the Settings.

I personally think it's totally irrelevant, but if someone wants to do it, I'm not going to object.
Top
kay
Posted: Aug 13 2009, 08:41 AM


Lieutenant Colonel - Missile Class
*

Group: Members
Posts: 127
Member No.: 111
Joined: 30-November 07



I just need a vb6 to c++ translator wink.gif
cause I already made a program that detects the swear automaticly and if it want to fix, it fix it easily
Top
arto
Posted: Aug 20 2009, 07:12 PM


Colonel - 3 Missiles Class
*

Group: Admin
Posts: 190
Member No.: 7
Joined: 2-May 07



QUOTE (kay @ Aug 13 2009, 08:41 AM)
I just need a vb6 to c++ translator wink.gif
cause I already made a program that detects the swear automaticly and if it want to fix, it fix it easily

Why? A brain is completely capable translator. Learning computer languages is trivial.
Top
miro
Posted: Aug 21 2009, 06:13 AM


Annoying Person!
*

Group: Members
Posts: 167
Member No.: 316
Joined: 5-February 09



Lol . Well I use my brain and see what stupid english I have. I understand just 60% of all what's write in english. So if i'll make a romanian language because a lot of romanians come there I can't understand all because...
Top
« Next Oldest | RVhouse Suggestions | Next Newest »


Topic Options



Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 0.0610 seconds | Archive