Raised This Month: $ Target: $400
 0% 

REGEX Word Filter


Post New Thread Reply   
 
Thread Tools Display Modes
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 05-18-2013 , 10:58   Re: REGEX Word Filter
Reply With Quote #81

Yes this plugin is still running fine.
__________________
cREANy0 is offline
cree
BANNED
Join Date: May 2013
Location: GB
Old 05-19-2013 , 17:37   Re: REGEX Word Filter
Reply With Quote #82

Got it to work. i placed the cfg file in cfg/sourcemod instead of sourcemod/configs.

Last edited by cree; 05-19-2013 at 18:24.
cree is offline
Send a message via ICQ to cree Send a message via AIM to cree Send a message via Yahoo to cree Send a message via Skype™ to cree
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 05-19-2013 , 21:08   Re: REGEX Word Filter
Reply With Quote #83

yes plugin is functioning nominally in CS:S server.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
QuillOmega0
Junior Member
Join Date: Apr 2013
Old 05-20-2013 , 00:29   Re: REGEX Word Filter
Reply With Quote #84

I've been trying to get immunity to work, but have had no such luck:


"immunity" "bt"

Is there a way to specify multiple flags?
QuillOmega0 is offline
scorpadorp
SourceMod Donor
Join Date: May 2012
Location: NC
Old 05-20-2013 , 23:19   Re: REGEX Word Filter
Reply With Quote #85

Quote:
Originally Posted by cree View Post
Got it to work. i placed the cfg file in cfg/sourcemod instead of sourcemod/configs.
I tried that and it doesn't work. I get this in the logs:

Code:
[SM] Failed to load plugin "sm_regexfilter.smx": .
scorpadorp is offline
cree
BANNED
Join Date: May 2013
Location: GB
Old 05-21-2013 , 11:20   Re: REGEX Word Filter
Reply With Quote #86

one thing i've encountered is when using "replace" "wordhere" it doesnt actually replace it how it should be, it still shows the word or phrase the person said and then showed the replaced word.
cree is offline
Send a message via ICQ to cree Send a message via AIM to cree Send a message via Yahoo to cree Send a message via Skype™ to cree
cree
BANNED
Join Date: May 2013
Location: GB
Old 05-21-2013 , 11:22   Re: REGEX Word Filter
Reply With Quote #87

Quote:
Originally Posted by scorpadorp View Post
I tried that and it doesn't work. I get this in the logs:

Code:
[SM] Failed to load plugin "sm_regexfilter.smx": .
what i meant was that i had placed the cfg file in cfg/sourcemod (which is the wrong place) instead of placing it in configs/sourcemod (which is the correct place) you might have read wrong but the cfg file is to be placed in the config/sourcemod folder ok.
cree is offline
Send a message via ICQ to cree Send a message via AIM to cree Send a message via Yahoo to cree Send a message via Skype™ to cree
scorpadorp
SourceMod Donor
Join Date: May 2012
Location: NC
Old 05-23-2013 , 20:19   Re: REGEX Word Filter
Reply With Quote #88

I got it to work.

On that note, it doesn't show the replaced word at all, just the original one.

Last edited by scorpadorp; 05-24-2013 at 17:49.
scorpadorp is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 06-16-2013 , 15:07   Re: REGEX Word Filter
Reply With Quote #89

Code:
L 06/16/2013 - 09:20:57: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 06/16/2013 - 09:20:57: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 06/16/2013 - 09:20:57: [SM]   [0]  Line 77, /home/groups/alliedmodders/forums/files/1/5/9/9/26953.attach::OnClientDisconnect()
Just doing an error log check, and posting errors I've found in the respective plugins' threads. Here's one for this wonderful plugin.
404UserNotFound is offline
Jargon
SourceMod Donor
Join Date: Jun 2012
Location: Sydney, Australia
Old 06-24-2013 , 09:20   Re: REGEX Word Filter
Reply With Quote #90

Code:
L 06/24/2013 - 21:54:38: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 06/24/2013 - 21:54:38: [SM] Displaying call stack trace for plugin "sm_regexfilter.smx":
L 06/24/2013 - 21:54:38: [SM]   [0]  Line 127, /home/groups/alliedmodders/forums/files/4/1/4/1/8/87908.attach::Command_SayHandle()
Recently added a new rule:
Code:
	"AllCaps"
	{
		"chatpattern"	"(?=[A-Z])([A-Z\s]*[A-Z]+)"
		"warn" 	"Please don't shout, it's rude."
		"limit" 	"5"
		"punish" 	"sm_gag #%u [Caps spam limit exceeded]"
	}
Trying to gag people who constantly spam all caps sentences in chat, as CS:GO has a limited viewing window for chat commands and people find it hard to read console instructions on zombie maps.

From what I could gather, it was trying to block console say commands, any way to give console immunity?

Edit:
Seems to be tripping up on this whenever a map uses the console say commands:
Code:
				GetTrieValue(ClientLimits[client], strval, at);
I've tried adding the aforementioned:
Code:
	if (client == 0)
	{
		return Plugin_Continue;
	}
But this made no difference.

Last edited by Jargon; 06-24-2013 at 09:40.
Jargon 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 22:04.


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