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

Simple Chat Filter


Post New Thread Reply   
 
Thread Tools Display Modes
markg
Senior Member
Join Date: Jan 2009
Old 08-01-2012 , 17:05   Re: Simple Chat Filter
Reply With Quote #11

tried using this, it loads fine but doesnt work; could be my config file.

one error in the source prevents the reload of the config;
line 111 has a spelling error: simple-chatfiler.cfg vs simple-chatfilter.cfg
so it cant find the config file if you use the reload command (but does on start up)

anyway, the config i am using is pretty short:

//This is just a simple list of banned words.
//There should only be 1 word per line
//The method used is Regex and is caseless
f(?:uc|oo)k
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
<([A-Z][A-Z0-9]*)\b[^>]*>(.*?)</\1>
\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b

my intent is to block ALL ip addresses and ALL urls. i also threw in a email block just to see if that worked.

i get no errors (except on reload, which is explained by the typo) but can still post ip addresses etc.

any ideas? or did i do the regex filters wrong? i copied them from the regex site.

ps just wanted to say i AM using the Simple Chat Processor (and the Simple Chat Colors plugin also if that matters)

[update] a newer snapshot fixed this, thanks

Last edited by markg; 09-07-2012 at 20:21.
markg is offline
Ade
I love purple
Join Date: May 2010
Old 02-07-2013 , 03:57   Re: Simple Chat Filter
Reply With Quote #12

can someone make a translation file for hl2mp pls?

and if any1 has an extensive regex formula for bad words pls pm
__________________

Last edited by Ade; 02-07-2013 at 05:10.
Ade is offline
kaytaro
Member
Join Date: May 2011
Old 05-25-2013 , 15:31   Re: Simple Chat Filter
Reply With Quote #13

I'm getting L 05/25/2013 - 14:289: [simple-chatfilter.smx] missing )

and its in the plugins folder -.-
kaytaro is offline
Lucasha
Junior Member
Join Date: Mar 2015
Old 04-07-2015 , 03:42   Re: Simple Chat Filter
Reply With Quote #14

Quote:
Originally Posted by kaytaro View Post
I'm getting L 05/25/2013 - 14:289: [simple-chatfilter.smx] missing )

and its in the plugins folder -.-

Have you get sm plugins refresh on Server Console (or server restart)


Quote:
Originally Posted by mickael002 View Post
Hello,

I really hard to understand your system.

How does one made ​​to ban the words:



Please

thank you
Good Ask me wonder too dont understand the system

Last edited by Lucasha; 04-07-2015 at 03:44.
Lucasha is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 08-18-2016 , 08:32   Re: Simple Chat Filter
Reply With Quote #15

Hi I have been using this plugin for years, but now I'm suddenly running in to problems. The plugin is flooding my error logs with this:
Code:
L 08/18/2016 - 00:00:00: SourceMod error session started
L 08/18/2016 - 00:00:00: Info (map "gmodtech_hotel_rc1a") (file "errors_20160818.log")
L 08/18/2016 - 00:00:00: [SM] Exception reported: Invalid regex handle 0 (error 4)
L 08/18/2016 - 00:00:00: [SM] Blaming: simple-chatfilter.smx()
L 08/18/2016 - 00:00:00: [SM] Call stack trace:
L 08/18/2016 - 00:00:00: [SM]   [0] MatchRegex
L 08/18/2016 - 00:00:00: [SM]   [1] Line 178, C:\compiler\simple-chatfilter.sp::SaidBadWord()
L 08/18/2016 - 00:00:00: [SM]   [2] Line 86, C:\compiler\simple-chatfilter.sp::OnChatMessage()
L 08/18/2016 - 00:00:00: [SM]   [4] Call_Finish
L 08/18/2016 - 00:00:00: [SM]   [5] Line 260,  C:\Users\Daniel\Desktop\Tools\Sourcemod\scripting\simple-chatprocessor.sp::OnSayText2()
L 08/18/2016 - 00:00:00: [SM] Exception reported: Invalid regex handle 0 (error 4)
L 08/18/2016 - 00:00:00: [SM] Blaming: simple-chatfilter.smx()
L 08/18/2016 - 00:00:00: [SM] Call stack trace:
L 08/18/2016 - 00:00:00: [SM]   [0] MatchRegex
L 08/18/2016 - 00:00:00: [SM]   [1] Line 178, C:\compiler\simple-chatfilter.sp::SaidBadWord()
L 08/18/2016 - 00:00:00: [SM]   [2] Line 86, C:\compiler\simple-chatfilter.sp::OnChatMessage()
L 08/18/2016 - 00:00:00: [SM]   [4] Call_Finish
L 08/18/2016 - 00:00:00: [SM]   [5] Line 260,  C:\Users\Daniel\Desktop\Tools\Sourcemod\scripting\simple-chatprocessor.sp::OnSayText2()
L 08/18/2016 - 00:00:00: [SM] Exception reported: Invalid regex handle 0 (error 4)
L 08/18/2016 - 00:00:00: [SM] Blaming: simple-chatfilter.smx()
L 08/18/2016 - 00:00:00: [SM] Call stack trace:
L 08/18/2016 - 00:00:00: [SM]   [0] MatchRegex
L 08/18/2016 - 00:00:00: [SM]   [1] Line 178, C:\compiler\simple-chatfilter.sp::SaidBadWord()
L 08/18/2016 - 00:00:00: [SM]   [2] Line 86, C:\compiler\simple-chatfilter.sp::OnChatMessage()
L 08/18/2016 - 00:00:01: [SM]   [4] Call_Finish
L 08/18/2016 - 00:00:01: [SM]   [5] Line 260,  C:\Users\Daniel\Desktop\Tools\Sourcemod\scripting\simple-chatprocessor.sp::OnSayText2()
I have tried recompiling the plugin with the latest versions of Sourcemod (1.8.0.592 and Metamod:Source (v1.10.7-devV), but it fails to compile.

As this thread was marked as archived I did search Google to see if someone else had the same problem or had updated the plugin privatly, and I did find a version marked 1.0.1 in Github (link here) which also failed to compile.

If it helps, this is the simple-chatfilter.cfg I have been using:
Spoiler
Would someone be able to help fix this plugin please? I can't believe something that has been so reliably stable and simple has now broken.
__________________
Werewolf_UK is offline
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 22:22.


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