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

Swear Replacement/Filter


Post New Thread Reply   
 
Thread Tools Display Modes
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 04-29-2010 , 06:40   Re: Swear Replacement/Filter
Reply With Quote #101

This plugin still works great must say.

I also have

//Swear replace
sm_swear_replace_mode 2
sm_swear_name_check 0
sm_swear_replace (word here)

And it runs smooth and blocks allot of sh*t on the server.

So go ahead install an go,
Happy DODs player is offline
SpikerNoob
Member
Join Date: Jan 2009
Location: Orlando, FL
Old 05-02-2010 , 21:49   Re: Swear Replacement/Filter
Reply With Quote #102

Well, I don't get it. I am not a SM noob and I still can't get this thing to work. I can see the plug in when I run the plugin list and I even entered the sm_swear_replace_mode 2 in the console and it took it with no errors yet it is not working.

Code:
[SM] Listing 25 plugins:
  01 "Admin File Reader" (1.3.2-dev) by AlliedModders LLC
  02 "Admin Help" (1.3.2-dev) by AlliedModders LLC
  03 "Admin Menu" (1.3.2-dev) by AlliedModders LLC
  04 "Advertisements" (0.5.5) by Tsunami
  05 "AFK Manager" (2.6) by Liam
  06 "Anti-Flood" (1.3.2-dev) by AlliedModders LLC
  07 "Basic Ban Commands" (1.3.2-dev) by AlliedModders LLC
  08 "Basic Chat" (1.3.2-dev) by AlliedModders LLC
  09 "Basic Comm Control" (1.3.2-dev) by AlliedModders LLC
  10 "Basic Commands" (1.3.2-dev) by AlliedModders LLC
  11 "Basic Info Triggers" (1.3.2-dev) by AlliedModders LLC
  12 "Basic Votes" (1.3.2-dev) by AlliedModders LLC
  13 "Client Preferences" (1.3.2-dev) by AlliedModders LLC
  14 "Forlix FloodCheck" (1.54) by Forlix (Dominik Friedrichs)
  15 "Fun Commands" (1.3.2-dev) by AlliedModders LLC
  16 "Fun Votes" (1.3.2-dev) by AlliedModders LLC
  17 "MapChooser" (1.3.2-dev) by AlliedModders LLC
  18 "Nextmap" (1.3.2-dev) by AlliedModders LLC
  19 "Player Commands" (1.3.2-dev) by AlliedModders LLC
  20 "Reserved Slots" (1.3.2-dev) by AlliedModders LLC
  21 "Rock The Vote" (1.3.2-dev) by AlliedModders LLC
  22 "Vote Scramble Teams" (1.0.500) by KevLaR/Seb/Snipa
  23 "SoDStats" (1.0.11) by ]SoD[ Frostbyte
  24 "Sound Commands" (1.3.2-dev) by AlliedModders LLC
  25 "Swear Replacement" (1.4) by Hell Phoenix
This is what I have in my server.cfg

Code:
//Swear replace
sm_swear_replace_mode 2
sm_swear_name_check 0
sm_swear_replace (replacement word)
MM Version 1.8.1 -devV
SM Version 1.3.2
SpikerNoob is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 05-10-2010 , 16:09   Re: Swear Replacement/Filter
Reply With Quote #103

Did you installed the Txts etc in the folders also. ?

So that also is working proper ?
Happy DODs player is offline
SpikerNoob
Member
Join Date: Jan 2009
Location: Orlando, FL
Old 05-17-2010 , 22:16   Re: Swear Replacement/Filter
Reply With Quote #104

Quote:
Originally Posted by Happy DODs player View Post
Did you installed the Txts etc in the folders also. ?

So that also is working proper ?
Yup. I have the text file in the addons/config folder.
SpikerNoob is offline
alinayg
Senior Member
Join Date: Apr 2009
Location: USA, RI
Old 05-25-2010 , 05:34   Re: Swear Replacement/Filter
Reply With Quote #105

It works... But it doesn't show the team color.

Messes up with simple chat colors.

This is not for me.

Wish it was just a simple replace a few discriminatory words with "♥♥♥♥"

Oh well.
__________________
alinayg is offline
Viper_Vicki
AlliedModders Donor
Join Date: Sep 2005
Location: USA
Old 05-26-2010 , 13:59   Re: Swear Replacement/Filter
Reply With Quote #106

The plugin is filtering the chat in allchat but not in team chat I am running an empiresmod server windows 2008..any ideas how to get it to filter the badwordslist in team chat as well?

Thank you
__________________
[VIPER]_Vicki

Viper_Vicki is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-26-2010 , 14:35   Re: Swear Replacement/Filter
Reply With Quote #107

Quote:
Originally Posted by Viper_Vicki View Post
The plugin is filtering the chat in allchat but not in team chat I am running an empiresmod server windows 2008..any ideas how to get it to filter the badwordslist in team chat as well?

Thank you
Replace "say_team" in this line with the console command empires uses for team chat
PHP Code:
RegConsoleCmd("say_team"Command_TeamSay); 
psychonic is offline
Viper_Vicki
AlliedModders Donor
Join Date: Sep 2005
Location: USA
Old 05-26-2010 , 15:44   Re: Swear Replacement/Filter
Reply With Quote #108

I was told the console command for team chat in empires is say_team
any ideas why its not filtering in team chat? and does anyone else have this issue?
Thank you
__________________
[VIPER]_Vicki


Last edited by Viper_Vicki; 05-26-2010 at 15:47.
Viper_Vicki is offline
SpikerNoob
Member
Join Date: Jan 2009
Location: Orlando, FL
Old 06-06-2010 , 12:36   Re: Swear Replacement/Filter
Reply With Quote #109

Well, not to beat a dead horse, but this is still not working on my TF2 server. When I load it and look at the logs, this is the debug error I get.

PHP Code:
L 06/06/2010 11:22:39: [SMNative "ReplaceString" reportedCannot replace searches of empty strings
L 06
/06/2010 11:22:39: [SMDisplaying call stack trace for plugin "swear_repl
acement.smx"
:
L 06/06/2010 11:22:39: [SM]   [0]  Line 201, /home/groups/alliedmodders/forums
/files/3/7/6/4/17848.attach::Command_Say() 
I have both .txt files loaded in the configs folder. I even modified the code and added:

PHP Code:
AutoExecConfig(true"plugin_swearfilter"); 
to create a unique .cfg and I still cannot get it to work.

I am guessing it is a TF2 issue but I am not sure how to fix it. I may just start from scratch and write my own at this point.
__________________
SpikerNoob is offline
EvilLinux
Member
Join Date: Dec 2004
Location: San Diego, CA
Old 06-28-2010 , 23:59   Re: Swear Replacement/Filter
Reply With Quote #110

Since the new CS: S update, in-game names that are filters\curse words can not currently be changed, is there a way to just kick those people out or is there a new functionality that allows the name to be changed. My logs are hitting 4-6+MB a day because the swearfilter is trying to change the names and it can't due to the new naming conventions placed in.

Thanks,
~Evil
__________________
N00bSalad Gaming Community
www.n00bsalad.net
CERKSystems - IT Management/Consulting
http://www.cerksystems.com
EvilLinux is offline
Send a message via AIM to EvilLinux Send a message via MSN to EvilLinux Send a message via Yahoo to EvilLinux Send a message via Skype™ to EvilLinux
Reply


Thread Tools
Display Modes

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 20:26.


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