Raised This Month: $51 Target: $400
 12% 

Swear Replacement/Filter


Post New Thread Reply   
 
Thread Tools Display Modes
DividedByZero
New Member
Join Date: Oct 2009
Old 10-10-2009 , 01:31   Re: Swear Replacement/Filter
Reply With Quote #91

Quote:
Originally Posted by GTA View Post
Why are some words getting blocked like "furry" (lots more) that are not in the badwords.txt?

How can I stop this from happening? and making the pluggin only read the badwords.txt
My guess is some of the other words are:

fur
fun
fund
full
perfume

notice a pattern?

Yeah, those words are probably getting blocked because they have *FU* in them, which I'm guessing the badwords.txt has in it. (the rest of the short acronyms/words that cause the problem will be found in badwords.txt as well)

As far as fixing it goes, you would have to make certain exceptions within the code allowing for stuff like "fu" if, in this case at least, maybe either it had at least 1 letter after it, or 2 letters before it.
_____________________________________________ ______
End of respone/Start of request slash improvement slash idea

I was thinking that it would be great if this plugin could remove the "bad word" and everything after it (or before it, or both,) and replace it with something that was set to replace it by the admin.

Of course, it would need exceptions for if they JUST typed the word, and nothing else, and then have it do something else under that condition.


For Example:

Before Filter:
NotRudePerson:
I love this map, it is so much fun, yippee.
RudePerson: YALL ARE N****RS (not starred out, of course)

After:
NotRudePerson:
I love this map, it is so much fun, yippee.
RudePerson: YALL ARE......HAHA DISREGARD THAT, I SUCK COCKS


I am going to try to do it, but it will probably end up either 2/3 done and in a deep, dark, mysterious tunnel of folders, never to be seen again...

or just really shitty.

If any of you guys want to try to add it in, it would be much appreciated.

Note: Be able to change the entirety of what someone says
Note: Be able to apply multiple actions to a single incident
Note: Be able to trigger drug/slap/slay/etc for an offense
Note: Be able to trigger MUTE for an offense

Note: Be able to ban for a set amount of time if a user leaves and then returns upon being muted to get around it, and then says another "bad word."

Note: Tells the user words that might be on the iffy side when they join, and each time they are warned.

Note: etc... :O
DividedByZero is offline
GrossKopf
Senior Member
Join Date: Jun 2007
Old 10-10-2009 , 06:19   Re: Swear Replacement/Filter
Reply With Quote #92

I forgot about this plugin. It's a great one. I've used it on our TF2 server and now added it to our L4D servers. It's hillarious when people get mad and what they type is replaced... makes 'em even madder!
GrossKopf is offline
gaissi
Senior Member
Join Date: Sep 2009
Old 10-14-2009 , 01:25   Re: Swear Replacement/Filter
Reply With Quote #93

Quote:
L 10/13/2009 - 10:23:15: [SM] Native "GetClientTeam" reported: Client 9 is not in game
L 10/13/2009 - 10:23:15: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 10/13/2009 - 10:23:15: [SM] [0] Line 277, /home/groups/alliedmodders/forums/files/3/7/6/4/17848.attach::Command_TeamSay()
I always get this error... Can you fix it?

Greet Gaissi
gaissi is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 10-17-2009 , 18:04   Re: Swear Replacement/Filter
Reply With Quote #94

FYI, if anyone is interested in having beautiful colors and on saytext replacement, change:

PrintToChatAll("%s: %s", clientname, speech[startidx]);

To:

FakeClientCommand(client, "say %s", speech[startidx]);
FrostbyteX is offline
Iron.Pirate
New Member
Join Date: Nov 2009
Old 11-08-2009 , 10:57   Re: Swear Replacement/Filter
Reply With Quote #95

Hi this is a great little plug in but i cant seem to get mode 2 to work. I added
Quote:
sm_swear_replace_mode 2
sm_swear_name_check 0
sm_swear_replace ****
to sourcemod.cfg but it still stays in mode 1.

being a noob I've probably just missed something out but any help would be greatly apreciated
Iron.Pirate is offline
Xaphan
SourceMod Donor
Join Date: Jun 2008
Old 11-11-2009 , 18:40   Re: Swear Replacement/Filter
Reply With Quote #96

sm_swear_replace_mode 2
Seems upper case is valid.
Even know it gives player warning, it still shows the word in-chat.
Anyway we can include lower or upper case for any letter?
I don't wanna edit badwords.txt...
word
Word
WORD

word = invalid
Word = valid
WORD = valid

guinea pig: Word
Please do not use foul language here!
__________________

Last edited by Xaphan; 11-11-2009 at 20:26.
Xaphan is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 11-18-2009 , 07:13   Re: Swear Replacement/Filter
Reply With Quote #97

Quote:
Originally Posted by Iron.Pirate View Post
Hi this is a great little plug in but i cant seem to get mode 2 to work. I added


to sourcemod.cfg but it still stays in mode 1.

being a noob I've probably just missed something out but any help would be greatly apreciated
I assume these CVARS go in your server.cfg
Cain is offline
6a6ka
Junior Member
Join Date: Jan 2010
Old 03-31-2010 , 14:52   Re: Swear Replacement/Filter
Reply With Quote #98

This plugin supported now? I have some idea about him.
6a6ka is offline
Send a message via ICQ to 6a6ka
SpikerNoob
Member
Join Date: Jan 2009
Location: Orlando, FL
Old 04-17-2010 , 10:26   Re: Swear Replacement/Filter
Reply With Quote #99

Okay... Not sure what is going on here, but I have this plugin loaded on our arena server and I have tried loading the CVARS in the server.cfg, arena_server.cfg, and the sourcemod.cfg as follows:

sm_swear_replace_mode 1
sm_swear_replace ****
sm_swear_name_check 1

I have the badwords.txt and replacements.txt loaded in the sourcemod/configs folder.

I look at the server logs and run sm_plugins_list and the plugin shows up but the filter is not working. I pulled myself off the admin list, restarted the server and tried again but nothing is happening.

Any suggestions?
SpikerNoob is offline
SpikerNoob
Member
Join Date: Jan 2009
Location: Orlando, FL
Old 04-27-2010 , 23:32   Re: Swear Replacement/Filter
Reply With Quote #100

I would submit this plugin is no longer working. Is anyone currently using this?
SpikerNoob is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode