Raised This Month: $32 Target: $400
 8% 

Auto swear gag


Post New Thread Reply   
 
Thread Tools Display Modes
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 02-16-2012 , 13:06   Re: Auto swear gag
Reply With Quote #11

L 02/16/2012 - 19:06:10: [REGEX] Invalid regex handle -2
L 02/16/2012 - 19:06:10: [AMXX] Displaying debug trace (plugin "swear_filter.amxx")
L 02/16/2012 - 19:06:10: [AMXX] Run time error 10: native error (native "regex_match_c")
L 02/16/2012 - 19:06:10: [AMXX] [0] swear_filter.sma::CmdSay (line 86)
L 02/16/2012 - 19:06:13: [REGEX] Invalid regex handle -2
L 02/16/2012 - 19:06:13: [AMXX] Displaying debug trace (plugin "swear_filter.amxx")
L 02/16/2012 - 19:06:13: [AMXX] Run time error 10: native error (native "regex_match_c")
L 02/16/2012 - 19:06:13: [AMXX] [0] swear_filter.sma::CmdSay (line 86)
Ejziponken is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 13:13   Re: Auto swear gag
Reply With Quote #12

Added more error logs. Try now.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 02-16-2012 , 13:15   Re: Auto swear gag
Reply With Quote #13

L 02/16/2012 - 19:15:01: [AMXX] Plugin ("swear_filter.amxx") is setting itself as failed.
L 02/16/2012 - 19:15:01: [AMXX] Plugin says: No swear filter file found.
L 02/16/2012 - 19:15:01: [AMXX] Displaying debug trace (plugin "swear_filter.amxx")
L 02/16/2012 - 19:15:01: [AMXX] Run time error 1: forced exit
L 02/16/2012 - 19:15:01: [AMXX] [0] swear_filter.sma::LoadPattern (line 15
L 02/16/2012 - 19:15:01: [AMXX] [1] swear_filter.sma::plugin_init (line 24)
Ejziponken is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 13:16   Re: Auto swear gag
Reply With Quote #14

Make sure the file is there, and be aware it was renamed to fit properly its contents (swear_words.ini -> swear_filters.ini).
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 02-16-2012 , 13:16   Re: Auto swear gag
Reply With Quote #15

aha, u changed the filename.

Edit: Seems to work now. THX

Last edited by Ejziponken; 02-16-2012 at 13:18.
Ejziponken is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 02-16-2012 , 13:19   Re: Auto swear gag
Reply With Quote #16

The words from swear_filters.ini does'nt show in text chat but the player don't get any gag
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 02-16-2012 at 13:20.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 13:22   Re: Auto swear gag
Reply With Quote #17

Quote:
Originally Posted by Schpraaankiii View Post
The words from swear_filters.ini does'nt show in text chat but the player don't get any gag
Do you have a gag plugin running?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 02-16-2012 , 13:24   Re: Auto swear gag
Reply With Quote #18

Sorry, I remove my accessflags and now it works fine. I was immune...
But can you add a green colored text that says:
"You have been gaged from the chat for X minutes" or something like that?
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 13:25   Re: Auto swear gag
Reply With Quote #19

Quote:
Originally Posted by Schpraaankiii View Post
Sorry, I remove my accessflags and now it works fine. I was immune...
But can you add a green colored text that says:
"You have been gaged from the chat for X minutes" or something like that?
The gag plugin should notify the player (or all players) when they get gagged.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 02-16-2012 , 13:27   Re: Auto swear gag
Reply With Quote #20

Quote:
Originally Posted by Exolent[jNr] View Post
The gag plugin should notify the player (or all players) when they get gagged.
yeah I see now. just that it was a 5 sec delay before the text turned up so I missed it the first time :p

EDIT!
Is it posible to also add a warning with cvar so I can type what ever I want...
I want this warning to show the first time (insted of a gag) when the say a banned word.
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 02-16-2012 at 13:33.
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 13:52.


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