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

Swear Replacement/Filter


Post New Thread Reply   
 
Thread Tools Display Modes
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 02-14-2013 , 01:14   Re: Swear Replacement/Filter
Reply With Quote #141

L 02/14/2013 - 16:21:49: SourceMod error session started
L 02/14/2013 - 16:21:49: Info (map "arena_ravine") (file "errors_20130214.log")
L 02/14/2013 - 16:21:49: [SM] Native "GetClientTeam" reported: Client 14 is not in game
L 02/14/2013 - 16:21:49: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 02/14/2013 - 16:21:49: [SM] [0] Line 368, swear_replacement.sp::Command_TeamSay()
L 02/14/2013 - 1619: [SM] Native "GetClientTeam" reported: Client 19 is not in game
L 02/14/2013 - 1619: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 02/14/2013 - 1619: [SM] [0] Line 368, swear_replacement.sp::Command_TeamSay()
L 02/14/2013 - 161:43: [SM] Native "GetClientTeam" reported: Client 19 is not in game
L 02/14/2013 - 161:43: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 02/14/2013 - 161:43: [SM] [0] Line 389, swear_replacement.sp::Command_TeamSay()
L 02/14/2013 - 16:470: [SM] Native "GetClientTeam" reported: Client 5 is not in game
L 02/14/2013 - 16:470: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 02/14/2013 - 16:470: [SM] [0] Line 389, swear_replacement.sp::Command_TeamSay()
L 02/14/2013 - 16:53:28: Error log file session closed.
RavensBro is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 02-14-2013 , 04:32   Re: Swear Replacement/Filter
Reply With Quote #142

https://forums.alliedmods.net/showthread.php?p=630204

Works fine.
Wilczek is offline
Spyper
Senior Member
Join Date: Sep 2013
Old 03-01-2014 , 10:28   Re: Swear Replacement/Filter
Reply With Quote #143

Non english words (Ü,ö,ç etc.) doesn't working
Spyper is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 03-14-2014 , 03:45   Re: Swear Replacement/Filter
Reply With Quote #144

Didn't work with someones name they were allowed to join and didn't get kicked or name filtered
works with in game chat though .


Also failed at team chat on one occasion.

Last edited by s.m.a.c head; 03-14-2014 at 07:07.
s.m.a.c head is offline
Smurfette
Member
Join Date: Oct 2010
Old 06-06-2014 , 09:06   Re: Swear Replacement/Filter
Reply With Quote #145

The plugin is throwing off this error for me:-

L 06/06/2014 - 23:05:42: [SM] Native "ReplaceString" reported: Cannot replace searches of empty strings
L 06/06/2014 - 23:05:42: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 06/06/2014 - 23:05:42: [SM] [0] Line 201, /home/groups/alliedmodders/forums/files/3/7/6/4/17848.attach::Command_Say()

Any ideas on how to fix it? It was working fine the other day and just stopped working all of a sudden.
Smurfette is offline
easono
Senior Member
Join Date: Nov 2013
Old 07-14-2014 , 13:27   Re: Swear Replacement/Filter
Reply With Quote #146

Is there any way to tell this plugin not to remove spaces when checking for words? it keeps removing thing when it shouldn't. I.E typing "wish it was" see see "Wi 'shit' was" please fix this. It makes some conversations very difficult especially with language barriers.

Excuse the swearing in the example.

and I also changed my name to a swear word also listed in the badwords file and it did not stop my name or block me, although I am admin, will it override?

otherwise great plugin :-)

Last edited by easono; 07-14-2014 at 13:31. Reason: update
easono is offline
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 03-10-2015 , 08:12   Re: Swear Replacement/Filter
Reply With Quote #147

L 03/10/2015 - 00:02:17: [SM] [0] Line 201, C:\Users\RavensBro\Desktop\knights of god\source mod and meta mod\sourcemod-1.5.3-hg3953-windows\addons\sourcemod\scripting\swear_repl acement.sp::Command_Say()
L 03/10/2015 - 00:04:49: [SM] Native "ReplaceString" reported: Cannot replace searches of empty strings
L 03/10/2015 - 00:04:49: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 03/10/2015 - 00:04:49: [SM] [0] Line 201, C:\Users\RavensBro\Desktop\knights of god\source mod and meta mod\sourcemod-1.5.3-hg3953-windows\addons\sourcemod\scripting\swear_repl acement.sp::Command_Say()
L 03/10/2015 - 00:04:51: [SM] Native "ReplaceString" reported: Cannot replace searches of empty strings
L 03/10/2015 - 00:04:51: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 03/10/2015 - 00:04:51: [SM] [0] Line 201, C:\Users\RavensBro\Desktop\
RavensBro is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 12-11-2015 , 13:57   Re: Swear Replacement/Filter
Reply With Quote #148

Quote:
Originally Posted by Calystos View Post
I've managed to fix it, least it works now on Nuclear Dawn.

I've updated it somewhat too. Am trying to add an optional ALL CAPS filter too. Works when swearing found, but not quite with normal chat yet, lol.

The caps code was duped from the dontshout plugin, which didn't work but the shout code did so merged it into this one with plans on updating it an fixing both to work as a chat filter,

1.5
* Fixed ReplaceString empty string error
* Added option to ignore team chat filtering
* Added option to filter ALL CAPS chat
* Using colors.inc to display team based colored chat
* Added SPEC/DEAD output to say chat to make it look legit
1.5.1
* Added autoconfig system
EDIT: Forgot to add the Auto Config bit, lol.

EDIT: My bad, forgot to upload a compiled build since it now uses colors include. (Have also attached that too)

UPDATED 26th February 2011
1.5.2
* Added ALL CAPS chat filter for both swear filtered chat & non-swear normal chat

Can some mods please replace first post with this one?
This fixes several bugs that aren't fixed in the original plugin and i missed it until i had my log full of errors.
__________________
nikooo777 is offline
freakav
Senior Member
Join Date: Jul 2016
Old 11-06-2018 , 07:48   Re: Swear Replacement/Filter
Reply With Quote #149

L 11/06/2018 - 09:104: Info (map "am_garage_64") (file "/home/client58/service235/csgo/csgo/addons/sourcemod/logs/errors_20181106.log")
L 11/06/2018 - 09:104: [SM] Exception reported: Cannot replace searches of empty strings
L 11/06/2018 - 09:104: [SM] Blaming: swear_replacement.smx
L 11/06/2018 - 09:104: [SM] Call stack trace:
L 11/06/2018 - 09:104: [SM] [0] ReplaceString
L 11/06/2018 - 09:104: [SM] [1] Line 201, /home/forums/content/files/3/7/6/4/17848.attach::Command_Say

How can I solve this ?
__________________
freakav 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 09:42.


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