Author Topic: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1  (Read 6207 times)

0 Members and 1 Guest are viewing this topic.

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« on: August 15, 2006, 06:17:54 am »

@312 LINES SOURCECODE

Der Soldat-Anti-Flame-Bot is a Soldat-Runner-2006's Feature, which is supposed to stop the flaming of some gamers.
The "badwords" are saved in a .txt-file.
If a gamer say one of those "badwords" , (s)he gets a warning. If he flames once more, (s)he will be kicked. When the gamer flames again, he will be warned only one more time, before he get banned.

# with the command "!time" the bot tells you the time.
# !info-command: The Bot can write a message up to 5 lines, which are saved in a seperate txt-file.
# Admin-Command added: "/learnbad *word*"

# Version 0.1 released.

Current "badwords.txt"
Quote
Post a better one!
New words for the "badwords.txt" are wanted!

Have fun and let me know all the bugs you find :)

Download:
« Last Edit: August 19, 2006, 05:09:34 pm by ManSoft|Warlord »

Offline MofoNofo

  • Veteran
  • *****
  • Posts: 1019
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #1 on: August 15, 2006, 06:34:55 am »
1. Hitler isnt a swear word
2. Swearing is what makes soldat, soldat.

GJ for making an app, though *goes back to polyworks*

Offline Bgretydews

  • Flagrunner
  • ****
  • Posts: 805
  • y halo thar rabbit
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #2 on: August 15, 2006, 06:42:02 am »
Ass? Lol
Suck? Lol

They are perfectly fne words
http://yossi.jrgp.org/?action=maps&sa=user_maps&u=10
Image (and link) is broken. Feel free to fix it.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #3 on: August 15, 2006, 06:42:43 am »
I was planning on making a php script a while back to do the same thing that this does. Oh well...

But I think stfu. Shouldnt be in the list. But if you want a hole bunch of bad words to add to the list look at these from my guestbook config:
Code: [Select]
"asinine" => "a*******",
"a.s.i.n.i.n.e" => "a*******",
"a s i n i n e" => "a*******",
" ass " => " a** ",
"a s s" => "a**",
"a.s.s" => "a**",
"ass fucker" => "a** f*****",
"a.s.s.f.u.c.k.e.r" => "a** f*****",
"a s s f u c k e r" => "a** f*****",
"asshole" => "a******",
"a s s h o l e" => "a******",
"a.s.s.h.o.l.e" => "a******",
"ass hole" => "a******",
"a.s.s h.o.l.e" => "a******",
"bastard" => "b******",
"b.a.s.t.a.r.d" => "b******",
"b a s t a r d" => "b******",
"bitch" => "b****",
"b i t c h" => "b****",
"b.i.t.c.h" => "b****",
"blowjob" => "b******",
"b.l.o.w.j.o.b" => "b******",
"b l o w j o b" => "b******",
"bollocks" => "b*******",
"b.o.l.l.o.c.k.s" => "b*******",
"b o l l o c k s" => "b*******",
" butt " => " b*** ",
"buttfucker" => "b*********",
"b u t t f u c k e r" => "b*********",
"b.u.t.t.f.u.c.k.e.r" => "b*********",
"butt fucker" => "b*********",
"b.u.t.t f.u.c.k.e.r" => "b*********",
"b u t t" => "b***",
"b.u.t.t" => "b***",
"christ sakes" => "c***** s****",
"c.h.r.i.s.t.s.a.k.e.s" => "c***** s****",
"c h r i s t s a k e s" => "c***** s****",
"christs sakes" => "c***** s****",
"c.h.r.i.s.t.s.s.a.k.e.s" => "c***** s****",
"c h r i s t s s a k e s" => "c***** s****",
"christ's sakes" => "c***** s****",
"clit" => "c***",
"c.l.i.t" => "c***",
"c l i t" => "c***",
" cock " => " c*** ",
"c o c k" => "c***",
"c.o.c.k" => "c***",
"cocksucker" => "c*********",
"c.o.c.k.s.u.c.k.e.r" => "c*********",
"c o c k s u c k e r" => "c*********",
"crap" => "c***",
"c r a p" => "c***",
"c.r.a.p" => "c***",
"cunt" => "c***",
"c u n t" => "c***",
"c.u.n.t" => "c***",
"cuck" => "c***",
"c u c k" => "c***",
"c.u.c.k" => "c***",
"d i c k" => "d***",
"d.i.c.k" => "d***",
"fag" => "f**",
"f.a.g" => "f**",
"f a g" => "f**",
"fuck" => "f***",
"f u c k" => "f***",
"f.u.c.k" => "f***",
"fucking" => "f******",
"f u c k i n g" => "f******",
"f.u.c.k.i.n.g" => "f******",
"fuk" => "f***",
"f u k" => "f***",
"f.u.k" => "f***",
"handjob" => "h******",
"h.a.n.d.j.o.b" => "h******",
"h a n d j o b" => "h******",
"jackass" => "j*** a**",
"jack ass" => "j*** a**",
"j a c k a s s" => "j*** a**",
"j.a.c.k.a.s.s" => "j*** a**",
"jerk" => "j***",
"j e r k" => "j***",
"j.e.r.k" => "j***",
"jerck" => "j***",
"j e r c k" => "j***",
"j.e.r.c.k" => "j***",
"jerq" => "j***",
"j e r q" => "j***",
"j.e.r.q" => "j***",
"motherfucker" => "m***********",
"m o t h e r f u c k e r" => "m***********",
"m.o.t.h.e.r.f.u.c.k.e.r" => "m***********",
"mother fucker" => "m***********",
"m.o.t.h.e.r f.u.c.k.e.r" => "m***********",
"my cock" => "my c***",
"my dick" => "my d***",
"nigger" => "n*****",
"n.i.g.g.e.r" => "n*****",
"n i g g e r" => "n*****",
"piss" => "p***",
"p.i.s.s" => "p***",
"p i s s" => "p***",
"poop" => "p***",
"p o o p" => "p***",
"p.o.o.p" => "p***",
"shit" => "s***",
"s h i t" => "s***",
"s.h.i.t" => "s***",
"slut" => "s***",
"s.l.u.t" => "s***",
"s l u t" => "s***",
"s o n o f a" => "s** ** *",
"s.o.n o.f a" => "s** ** *",
"s.o.n.o.f.a." => "s** ** *",
"suck" => "s***",
"s u c k" => "s***",
"s.u.c.k" => "s***",
"whore" => "w****",
"w.h.o.r.e" => "w****",
"w h o r e" => "w****",
"your cock" => "your c***",
"your dick" => "your d***"
There are other worlds than these

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #4 on: August 15, 2006, 07:07:35 am »
Oh great, I have always dreamt of the day when Soldat Servers would try and suppress my language...

Last time I checked, "noo" wasnt a bad word... Im pretty sure saying "nooooo i died" or "noo I didnt mean to press o twice" isnt really... bad... or nap? "im going for a nap"="[SERVER MESSAGE] STOP SWEARING!!!111OENO"=>"noo I didnt mean it"=>"[SERVER MESSAGE] STOP SWEARING I SAYSS"=>"ok ill just go do the washing"=>"[SERVER MESSAGE] SUPRESS THE INFIDEL!"=>"Major has been kicked and permanently banned"

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #5 on: August 15, 2006, 07:24:15 am »
Oh great, I have always dreamt of the day when Soldat Servers would try and suppress my language...

Last time I checked, "noo" wasnt a bad word... Im pretty sure saying "nooooo i died" or "noo I didnt mean to press o twice" isnt really... bad... or nap? "im going for a nap"="[SERVER MESSAGE] STOP SWEARING!!!111OENO"=>"noo I didnt mean it"=>"[SERVER MESSAGE] STOP SWEARING I SAYSS"=>"ok ill just go do the washing"=>"[SERVER MESSAGE] SUPRESS THE INFIDEL!"=>"Major has been kicked and permanently banned"
They are parts of words - but I think you are right.

I was planning on making a php script a while back to do the same thing that this does. Oh well...

But I think stfu. Shouldnt be in the list. But if you want a hole bunch of bad words to add to the list look at these from my guestbook config:

Thank you.
« Last Edit: August 15, 2006, 07:28:58 am by ManSoft|Warlord »

Offline Bgretydews

  • Flagrunner
  • ****
  • Posts: 805
  • y halo thar rabbit
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #6 on: August 15, 2006, 07:26:15 am »
Oh great, I have always dreamt of the day when Soldat Servers would try and suppress my language...

Last time I checked, "noo" wasnt a bad word... Im pretty sure saying "nooooo i died" or "noo I didnt mean to press o twice" isnt really... bad... or nap? "im going for a nap"="[SERVER MESSAGE] STOP SWEARING!!!111OENO"=>"noo I didnt mean it"=>"[SERVER MESSAGE] STOP SWEARING I SAYSS"=>"ok ill just go do the washing"=>"[SERVER MESSAGE] SUPRESS THE INFIDEL!"=>"Major has been kicked and permanently banned"
They are parts of words - but I think you are right.

N0ob.
You see?
http://yossi.jrgp.org/?action=maps&sa=user_maps&u=10
Image (and link) is broken. Feel free to fix it.

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #7 on: August 15, 2006, 07:59:19 am »
yep - for example

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #8 on: August 15, 2006, 09:41:14 am »
can you please attach it to your original post instead of using rapidshare?  Rapidshare is annoying as hell to download from, and I enabled attachments so that we wouldn't have to use sites like that

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #9 on: August 15, 2006, 12:02:14 pm »
done.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #10 on: August 15, 2006, 08:34:37 pm »
ya know, using Kylix Open Edition means you have to release the source code of the program under the GNU license?

Offline Gold

  • Flagrunner
  • ****
  • Posts: 764
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #11 on: August 15, 2006, 11:03:58 pm »
Swearing isn't bad unless its being used to intentionally abuse someone.

~ Saying "you suck" doesnt count or "your a hitler, WTF?" lol hitler isnt swearing, and if you think Hitler is a swearword... omg

Offline The Geologist

  • Inactive Staff
  • Flagrunner
  • *****
  • Posts: 909
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #12 on: August 15, 2006, 11:18:45 pm »
Censoring what people say in game?  No thanks.
With all its sham, drudgery, and broken dreams it is
still a beautiful world.  Strive to be happy.

Offline Denacke

  • Soldat Beta Team
  • Soldier
  • ******
  • Posts: 209
  • Cake!
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #13 on: August 16, 2006, 04:43:18 am »
Nice stuff you made there.

I'm tired of people calling names to others and creating flame wars in my server. It's there to be played on, not to chat, and certainly not to flame.

Also, stop flaming this guy for the example words he put in the flame list. You can edit it yourself if you want to use it on your server so there is really no reason to complain.

Hope to see more stuff coming!

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #14 on: August 16, 2006, 06:07:09 am »
ya know, using Kylix Open Edition means you have to release the source code of the program under the GNU license?

Yepp. But I'm going to buy Kylix 3 pro :)

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #15 on: August 17, 2006, 10:45:35 am »
please add editable language :/
thanks.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline a-4-year-old

  • Veteran
  • *****
  • Posts: 1918
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #16 on: August 17, 2006, 12:13:41 pm »
I was planning on making a php script a while back to do the same thing that this does. Oh well...

But I think stfu. Shouldnt be in the list. But if you want a hole bunch of bad words to add to the list look at these from my guestbook config:
you need every type of combination of periods and letters and spaces, basically, nobody can say anything.

for example if you wanted to suppress noob (why?)
noob
n.o.o.b
n.oob
n.o.ob
no.ob
no.o.b
noo.b
n o o b
n oob
n o ob
no o b
noo b
n.o.o b (and other combinations, it would be very difficult to not get banned on this server, imagine voting for a map

NO NOT NUUBIA!
[user warned 3/3 perm ban]
If we hit the bullseye the rest of the dominoes will fall like a house of cards. Checkmate. -Zapp Brannigan

Offline Mr Pink

  • Major(1)
  • Posts: 37
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #17 on: August 18, 2006, 08:15:22 pm »
Gj on the app. would it be possible in a future release to get a gui to enter the ip, port and pw and have it manage a multisever environment?

Also encountered two things which seemed a bit odd...

1. a player uses 3 bad words in one message and gets kicked as opposed to getting a first warning
2. for player with a name "-[A/B]- name here" the bot tried to kick just "-[A/B" so player doesnt get kicked

gl hope to see future releases and improvements 

Offline MofoNofo

  • Veteran
  • *****
  • Posts: 1019
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #18 on: August 18, 2006, 09:10:32 pm »
So the N/A Clantag doesn't get kicked?! lol Bl1nk for choosing an unkickable tag ;D

Offline The Red Guy

  • Flagrunner
  • ****
  • Posts: 751
Re: Soldat-Anti-Flame-Bot for Linux and Windows V 0.1
« Reply #19 on: August 18, 2006, 10:06:31 pm »
Isn't soldat's about flaming and insulting?
N00b isn't a bad word anyway.