[FilterScript] AntiSwear - Featuring 22 languages!!
#1

Sinner's Anti Swear System


What does it do?

♦ This script will filter out all offensive words in the text a player types, if it finds any it will block out the word
(example: **** you). Also, it will give the player a warning, after 5 warnings (by default) the player will get kicked for offensive language.

How many languages are there to choose from?

♦ 22 in total, but only 1 at a time

Featured languages:
• English
• Dutch
• Estonian
• Finnish
• French
• German
• Greek
• Hebrew
♦ Hindi
• Hungarian
• Indonesian
• Italian
• Japanese (simplified)
• Korean
• Norwegian
• Polish
• Russian
• Serbian
• Slovenian
• Spanish (original and South-African)
• Swedish
• Turkish

Why can you only pick 1 language at a time?

♦ This has 2 reasons, the first one is to reduce lagg since the script must loop through all possible words, if you would put in all the languages it had to loop through 1000+ words for every line of text a player types, typically this would induce lagg. The second reason is because some words in one language are not offensive in another, putting in all languages would cause the script to censor waaay to much words initially not ment to be offensive.

Will this really block out ALL offensive language?

♦ No, that would be impossible, it WILL block out the most commonly used ones though.

How to configurate

♦ If you want it in english, don't cofigure anything, it's good to go.

♦ If you want it in another language, follow these steps:
• COMMENT OUT the swear words in english
• UNCOMMENT the language of your choice (every language is mentioned above the list of swearwords)
• SPECIFY the number of words in the swear[][] list in the "#define MAX_WORDS" define (important to reduce lagg)
• SPECIFY the max lenght of the swearword in the "#define MAX_WORD_LEN" define

Example



Known bugs

• Sometimes the script will indentify trivial words like "assasins" as a swearword because it has "ass" in it.

Download: V1.2

Megaupload: http://www.megaupload.com/?d=3OF4D2VJ
SolidFiles: http://www.solidfiles.com/d/91e12/
PasteBin: http://pastebin.com/2iLU3nx7

Credits

• Sinner
• Wikipedia for a considerable part of the words

Hope you enjoy it!


EDIT: I don't actually speak 22 languages, I only provide a system to censor the words, and some basic words I found on wikipedia. Don't troll at me for not correctly translating languages I don't speak--Instead, translate them properly yourself.
Reply
#2

http://pastebin.com/ please, thanks.
Reply
#3

If you need some help with greek tell me, I am Greek so yeah i know many of them xD
Reply
#4

Quote:
Originally Posted by gimini
Посмотреть сообщение
http://pastebin.com/ please, thanks.
Done, thanks.
Reply
#5

I don't really understand why someone would want a anti swear.The game is from 18 Years and over anyways.It's not like anyone should be offended on the game.
Reply
#6

Quote:
Originally Posted by Noss*
Посмотреть сообщение
I don't really understand why someone would want a anti swear.The game is from 18 Years and over anyways.It's not like anyone should be offended on the game.
True, but we can censor words like, Justin, Bieber, etcc
Reply
#7

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
True, but we can censor words like, Justin, Bieber, etcc
The english parts has some anti-advertisement and anti-email spam. It doesn't have to be all ant-swear, this thing can have many uses.
Reply
#8

Quote:
Originally Posted by Sinner
Посмотреть сообщение
[B][CENTER]
• Spanish (original and South-African)
Hummm,,
South African? no one speaks spanish there men, and there are not differences with the original spanish (from spain) and the south american one , just the accent change.
fix it now , south africa no one speaks spanish!

PD: i can help you with some words in spanish, is my native languague here you have some.

- perra (bitch)
- marica/maricon (is like bitch too)
- hijo de puta (son of a bitch)
- hijoeputa (son of a bitch too)
- puta (whore)
- prostituta (whore)
- weon (stupid in chile)
- boludo (stupid in argentina)
- retrasado (retarded)
- culiao ( fucker )
- culeado ( fucked)
- culero ( fucker in mexico )
- chingon ( IDK but is a insult in mex)
- coсo (vagina)
- pico (penis)
- pene (penis)
- bolas (balls)
- nationalist insults like:
- peruca (peru)
- gallego (spain)
- sudaca ( south american people )
- chilote (chile)
- argento (argentina)
- ecutatio (ecuator)
- colodrogo (colombia)
- venefolleta (venezuela)


that's all, (:
Reply
#9

Hungarian translate fucked up
Reply
#10

Quote:
Originally Posted by Noss*
Посмотреть сообщение
I don't really understand why someone would want a anti swear.The game is from 18 Years and over anyways.It's not like anyone should be offended on the game.
There are many players lower than the age of 18.
Reply
#11

THANK YOU A LOT :P
Reply
#12

You can just have all of them curse words put into some .txt file in scriptfiles and have it read through the script. Good job too! Now when someone uses it they can't get cursed in foreign language. +1
Reply
#13

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
You can just have all of them curse words put into some .txt file in scriptfiles and have it read through the script. Good job too! Now when someone uses it they can't get cursed in foreign language. +1
The best way would be to let players add the curse words in the list.

First the word goes to a file which contains the words that are pending (waiting for admins to handle them), then admins accept the word and it gets added to the main file.

This way the database of curse words stays updated, meaning if some word has been left out, it can be added without trouble (and without script update).
Reply
#14

Quote:
Originally Posted by Finn
Посмотреть сообщение
The best way would be to let players add the curse words in the list.

First the word goes to a file which contains the words that are pending (waiting for admins to handle them), then admins accept the word and it gets added to the main file.

This way the database of curse words stays updated, meaning if some word has been left out, it can be added without trouble (and without script update).
You just summed up v2
Reply
#15

Код:
// RUSSIAN
new swear[][MAX_WORD_LEN] =
{
        {"Sooka"},{"Yob"},{"khui"},{"zhopu"},
        {"ebut"},{"podmakhivai"},{"Chortoo"},{"kooshite"},{"balshoy"},
        {"syot"},{"khuy"},{"ebees"},{"tvoyu"},{"govno"},{"bliad"},
        {"Khui"},{"pizda"},{"manda"},{"zhopa"},{"sraka"},
        {"mudak"},{"govniuk"},{"Khuyesos"},{"zaebal"}
};
Weird list.
Reply
#16

Quote:
Originally Posted by gimini
Посмотреть сообщение
Код:
// RUSSIAN
new swear[][MAX_WORD_LEN] =
{
        {"Sooka"},{"Yob"},{"khui"},{"zhopu"},
        {"ebut"},{"podmakhivai"},{"Chortoo"},{"kooshite"},{"balshoy"},
        {"syot"},{"khuy"},{"ebees"},{"tvoyu"},{"govno"},{"bliad"},
        {"Khui"},{"pizda"},{"manda"},{"zhopa"},{"sraka"},
        {"mudak"},{"govniuk"},{"Khuyesos"},{"zaebal"}
};
Weird list.
I don't have Russian characters on my keyboard I'm afraid.
Reply
#17

jeze (WTF?)
jakiemus (the closest is "some", should be jakiemuś)
dresowi (closest is "hooligan")
idiota ("idiot", not considered swear)
laske (wider used as "chick" not as robić laskę "give a blowjob")
"krГіtka" (WTF2?),
konski ("horse's", should be koński),
reczny (means "handbrake" or "handmade" or "hand-operated" mostly, could be "wanking" too but come on!, should be ręczny)

are not swear words + many of them needs proper declension and conjugation to be effective It'd be better if you got the wordlists from some community members not from hell knows where as they know the language and how f***ed up is it so it won't have mistakes like this...
Reply
#18

U are fails at serbian.

Код:
#
// SERBIAN
#
new swear[][MAX_WORD_LEN] =
#
{
#
        {"stoko"},
#
        {"Popusis"},
#
        {"Peecko"},
#
        {"GovnoPeechka"},
#
        {"Sranje"},
#
        {"Yebachu"},
#
        {"sunce"},
#
        {"Ilija"},
#
        {"Papa"},
#
        {"Govedo"},
#
        {"Sisadzijo"},
#
        {"usta"},
#
        {"oko"}
#
};
stoko is ok
Popusis is ok, but word "pusi ga" is used more
Peecko dont exist in serbian. right word for it is Picko
GovnoPeechka - just put Govno
Sranje - ok
Yebachu - "jebacu"
Sunce - its Sun
Ilija - its an serbian name
Papa - On russian, its a Dad, but on serbian, it dont have meaning
Govedo Ok
Sisadzijo - its unused, but ok
usta - mouth
oko - eye

My advice to add:
Budalo, svinjo, Bem ti, dupe, sise, seks, kurac, itd....All of this is flames word...
Reply
#19

Add "fitta" to the list! It's Swedish and means like "Pussy" or "cunt"

Nice job, mate!
Reply
#20

Thank you! I like the Indonesian.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)