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

REGEX Word Filter


Post New Thread Reply   
 
Thread Tools Display Modes
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 08-29-2014 , 14:50   Re: REGEX Word Filter
Reply With Quote #131

It works in CSGO.
__________________
Wilczek is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 09-08-2014 , 08:04   Re: REGEX Word Filter
Reply With Quote #132

So is there a way we can get a logfile for this plugin? Its useful to see words that gets blocked because sometimes regex invloves words you didnt even think of. Would be good to whitelist those. Also this log can be used to screen players that wants to be admins, to see if they follow the rules and behave etc.

Log should include:
STEAMID/Nickname
Date/Time
Chat-line that got blocked
Regex filter that was used to block it
Ejziponken is offline
Cockroach
Junior Member
Join Date: Oct 2006
Old 09-20-2014 , 03:01   Re: REGEX Word Filter
Reply With Quote #133

I am getting this in my error log after the last update in tf2
"L 09/20/2014 - 08:58:06: [sm_regexfilter.smx] REGEXFilter file partially parsed, please check for errors. Continuing..."

I tried recompileing no luck.

edit:after a few tf2 and sourcemod updates I do not get the error anymore.
nothing to see here

Last edited by Cockroach; 11-03-2014 at 10:43.
Cockroach is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 10-14-2014 , 15:39   Re: REGEX Word Filter
Reply With Quote #134

Thisplugin really needs a logfile and a whitelist. :/

Last edited by Ejziponken; 10-14-2014 at 15:39.
Ejziponken is offline
m22b
Senior Member
Join Date: Jul 2013
Old 10-27-2014 , 10:35   Re: REGEX Word Filter
Reply With Quote #135

L 10/27/2014 - 171:59: SourceMod error session started
L 10/27/2014 - 171:59: Info (map "de_dust2") (file "errors_20141027.log")
L 10/27/2014 - 171:59: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 10/27/2014 - 171:59: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 10/27/2014 - 171:59: [SM] [0] Line 77, /home/groups/alliedmodders/forums/files/1/5/9/9/26953.attach::OnClientDisconnect()
L 10/27/2014 - 172:46: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 10/27/2014 - 172:46: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 10/27/2014 - 172:46: [SM] [0] Line 77, /home/groups/alliedmodders/forums/files/1/5/9/9/26953.attach::OnClientDisconnect()
L 10/27/2014 - 172:47: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 10/27/2014 - 172:47: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 10/27/2014 - 172:47: [SM] [0] Line 77, /home/groups/alliedmodders/forums/files/1/5/9/9/26953.attach::OnClientDisconnect()
m22b is offline
Windroid
Member
Join Date: Mar 2013
Old 11-03-2014 , 10:12   Re: REGEX Word Filter
Reply With Quote #136

the limit and punish part is not working,here's the error log....

Code:
L 11/03/2014 - 22:56:00: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 22:56:00: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 22:56:00: [SM]   [0]  Line 127, /home/groups/alliedmodders/forums/files/4/1/4/1/8/87908.attach::Command_SayHandle()
L 11/03/2014 - 22:56:03: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 22:56:03: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 22:56:03: [SM]   [0]  Line 127, /home/groups/alliedmodders/forums/files/4/1/4/1/8/87908.attach::Command_SayHandle()
L 11/03/2014 - 22:56:05: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 22:56:05: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 22:56:05: [SM]   [0]  Line 127, /home/groups/alliedmodders/forums/files/4/1/4/1/8/87908.attach::Command_SayHandle()
L 11/03/2014 - 22:56:18: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 22:56:18: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 22:56:18: [SM]   [0]  Line 127, /home/groups/alliedmodders/forums/files/4/1/4/1/8/87908.attach::Command_SayHandle()
L 11/03/2014 - 23:00:40: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 23:00:40: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 23:00:40: [SM]   [0]  Line 127, C:\tf2sv\orangebox\tf\addons\sourcemod\scripting\sm_regexfilter2.sp::Command_SayHandle()
L 11/03/2014 - 23:03:02: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 23:03:02: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 23:03:02: [SM]   [0]  Line 127, C:\tf2sv\orangebox\tf\addons\sourcemod\scripting\sm_regexfilter2.sp::Command_SayHandle()
L 11/03/2014 - 23:03:03: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 23:03:03: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 23:03:03: [SM]   [0]  Line 127, C:\tf2sv\orangebox\tf\addons\sourcemod\scripting\sm_regexfilter2.sp::Command_SayHandle()
L 11/03/2014 - 23:03:05: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 23:03:05: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 23:03:05: [SM]   [0]  Line 127, C:\tf2sv\orangebox\tf\addons\sourcemod\scripting\sm_regexfilter2.sp::Command_SayHandle()
L 11/03/2014 - 23:03:06: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 11/03/2014 - 23:03:06: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 11/03/2014 - 23:03:06: [SM]   [0]  Line 127, C:\tf2sv\orangebox\tf\addons\sourcemod\scripting\sm_regexfilter2.sp::Command_SayHandle()
Windroid is offline
Gutty
Junior Member
Join Date: Aug 2014
Old 02-15-2015 , 21:58   Re: REGEX Word Filter
Reply With Quote #137

hey guys, just wondering if anyone knows how i can make this plugin exempt lenny faces
( ͡° ͜ʖ ͡°)‎

I hate them with a passion and the spam is insane. when i edit and put them into the config it just comes up with ( ?° ?? ?°)


cheers
Gutty is offline
Advokat
Member
Join Date: Mar 2014
Location: Australia
Old 02-16-2015 , 00:48   Re: REGEX Word Filter
Reply With Quote #138

Quote:
Originally Posted by Gutty View Post
hey guys, just wondering if anyone knows how i can make this plugin exempt lenny faces
( ͡° ͜ʖ ͡°)‎

I hate them with a passion and the spam is insane. when i edit and put them into the config it just comes up with ( ?° ?? ?°)


cheers
Haha, that was why I originally sought out this plugin as well. Here you are:

Code:
	{
		"chatpattern"		"( ͡° ͜ʖ ͡°) 'CASELESS'"
		"warn"				"Warning goes here."
		"block"				"1"
	}
That's the same face, the code wrap just changes up how it looks. Make sure to replace the warning.

For something slightly more broad to cover different types of faces, as they all tend to use the same noses:
Code:
	"ExampleBlock"
	{
		"chatpattern"		"ل 'CASELESS'"
		"chatpattern"		"ʖ 'CASELESS'"
		"warn"				"Warning goes here."
		"block"				"1"
	}
Code format seems to be not displaying indents.

Overall it should look something like this: http://pastebin.com/rrrgRTha and you can just add new chat patterns as needed.

Last edited by Advokat; 02-16-2015 at 00:48.
Advokat is offline
Cockroach
Junior Member
Join Date: Oct 2006
Old 02-16-2015 , 01:24   Re: REGEX Word Filter
Reply With Quote #139

in what format do I save it so it all keeps working?
I been trying it like that two years on and off.

edit: wish you did not post , I am still frustrated from a few weeks ago when I tried this again.
if I can save the config in another format but than everything stops working.
I tried all this many times :'(

I wish there was just a plugin I could install.

Last edited by Cockroach; 02-16-2015 at 01:45.
Cockroach is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 02-18-2015 , 17:35   Re: REGEX Word Filter
Reply With Quote #140

Could you add admin immunity and a whitelist?
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
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 15:42.


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