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

Swear Replacement/Filter


Post New Thread Reply   
 
Thread Tools Display Modes
gilmon
Senior Member
Join Date: Feb 2011
Location: China
Old 03-04-2011 , 23:38   Re: Swear Replacement/Filter
Reply With Quote #121

This plugins seem doesn't work on bad chat start with '/' or '\'.
gilmon is offline
Send a message via MSN to gilmon
PAL-18
AlliedModders Donor
Join Date: Jul 2010
Old 08-17-2011 , 20:08   Re: Swear Replacement/Filter
Reply With Quote #122

In TF2 i get the following errors nearly everytime someone says something:

Quote:
L 08/16/2011 - 20:07:18: [SM] Native "ReplaceString" reported: Cannot replace searches of empty strings
L 08/16/2011 - 20:07:18: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 08/16/2011 - 20:07:18: [SM] [0] Line 201, Swear_replacement.sp::Command_Say
()
How do i fix this? It's spamming the server logs.
PAL-18 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-17-2011 , 21:32   Re: Swear Replacement/Filter
Reply With Quote #123

do you have any empty lines in your replacement text file? or is someone putting blank text in chat?
TnTSCS is offline
PAL-18
AlliedModders Donor
Join Date: Jul 2010
Old 08-18-2011 , 03:06   Re: Swear Replacement/Filter
Reply With Quote #124

Nope, no blank lines. No extra line at end of file either. It does this even when people have text in their chat and even if they dont say a bad word.
PAL-18 is offline
Gurney Halleck
New Member
Join Date: Aug 2011
Old 08-20-2011 , 16:18   Re: Swear Replacement/Filter
Reply With Quote #125

I can confirm the problem on TF2. The plugin does work for awhile (hours?) but will eventuality show the empty string error as in PAL-18's post.

Quote:
L 08/09/2011 - 09:47:44: [SM] Native "ReplaceString" reported: Cannot replace searches of empty strings
L 08/09/2011 - 09:47:44: [SM] Displaying call stack trace for plugin "swear_replacement.smx":
L 08/09/2011 - 09:47:44: [SM] [0] Line 201, /home/groups/alliedmodders/forums/files/3/7/6/4/17848.attach::Command_Say()
The 3rd line seems like its looking for a bogus file location. I'd like to see this fixed. When its working it works well. The plugin was a direct download, no compiling on my machine.

Cheers
Gurney Halleck is offline
niask1
Junior Member
Join Date: Dec 2010
Location: Kaluga, Russia
Old 09-19-2011 , 03:01   Re: Swear Replacement/Filter
Reply With Quote #126

Quote:
Originally Posted by nyf-nyf View Post
By the way here is my badwords.txt
The first part is english as default and then russian.
May be someone will need it.
Спасибо, нужно.
Thanks, I need it.
niask1 is offline
xomp
BANNED
Join Date: Jul 2008
Old 09-19-2011 , 14:46   Re: Swear Replacement/Filter
Reply With Quote #127

Cool plugin **** Phoenix
xomp is offline
Send a message via Skype™ to xomp
T1k3
Junior Member
Join Date: Jul 2011
Old 10-01-2011 , 07:59   Re: Swear Replacement/Filter
Reply With Quote #128

Quote:
addons/sourcemod/configs/badwords.txt
addons/sourcemod/plugins/swear_replacement.smx
---
[SM] Loaded plugin swear_replacement.smx successfully.
The plugin is not working on (mine) TF2 & CSS servers (Sourcemod 1.3.8 ).
What is wrong?

Last edited by T1k3; 10-01-2011 at 11:48.
T1k3 is offline
GunSpeed
Member
Join Date: Oct 2010
Old 10-01-2011 , 08:58   Re: Swear Replacement/Filter
Reply With Quote #129

Quote:
Originally Posted by T1k3 View Post
The plugin is not working on TF2 & CSS servers (Sourcemod 1.3.8 ).
What is wrong?
It's working fine on my TF2 server, SM 1.3.8.

Give us more details please.
GunSpeed is offline
T1k3
Junior Member
Join Date: Jul 2011
Old 10-01-2011 , 11:46   Re: Swear Replacement/Filter
Reply With Quote #130

Upload the files.
Quote:
addons/sourcemod/configs/badwords.txt
addons/sourcemod/plugins/swear_replacement.smx
Loading the plugin.
Quote:
[SM] Loaded plugin swear_replacement.smx successfully.
But typing the words (twat, mother etc.) in chat and nothing happens - No block, no hide, no stars out there.

Last edited by T1k3; 10-01-2011 at 11:52.
T1k3 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 10:23.


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