PDA

View Full Version : Chat Filter 0.21


sarf
08-09-2004, 04:11 PM
EDIT: added some instructions & info updated version number, changed the pre-0.9.0 patch instructions, updated to (possibly) work on 0.9.0 patch

Hiya! I've whipped together a small Add-On called "Chat Filter" and it... uhm... filters... chat messages (changes words into other words). Duh. :)

Anyhow.

The chat filter site is located here :
http://www.fukt.bth.se/~k/wow/scripts/ChatFilter/
Latest version zipfile (http://www.fukt.bth.se/~k/wow/scripts/ChatFilter/Chat_Filter_latest.zip)

Version : 0.21 - 0.9.0 fix (I hope)
It is currently in alpha testing (otherwise I'd have someone put it in Cosmos), it does not require Cosmos (but it does make use of Cosmos if it is present).

To install the Chat Filter, extract the zip-file to your WoW directory.

If you do not have Cosmos, use some of the following commands to enable the Chat Filter :/script ChatFilter_HandleEnableIncomingChange(1);
/script ChatFilter_HandleEnableOutgoingChange(1);
/script ChatFilter_HandleEnableWhisperChange(1);
/script ChatFilter_HandleFilterProfanityChange(1);
/script ChatFilter_HandleFilterLeetChange(1);
/script ChatFilter_HandleFilterUserChange(1);I recommend enabling everything, except possibly ChatFilter_HandleEnableOutgoingChange since that translates what you are saying. Give it a whirl.

Currently, the Chat Filter is in alpha testing, but it should work. Feel free to fiddle around with the "ChatFilterX.lua" files to add words to be filtered - they should be pretty straightforward. Don't forget to use "reloadUI" if you are running WoW.

To enable the Chat Filter, you should go to the Cosmos options.
You can also use the /script commands I documented above.

Please post any bugs/issues you find with the Chat Filter here!

Sarf
---
All good things come to those who wait, but what lies ahead for the impatient?

DonD
08-09-2004, 04:37 PM
Um, just a question:
What does it do?
(dont say filter :wink: )

sarf
08-09-2004, 04:42 PM
Basically, it changes words into other words. What words it changes, and what they turn into, depends on what filter files you enable. I have made an improvised profanity file, and a somewhat more detailed "leet speak" file.

The "leet speak" file turns words like "n00b" into actual English words ("n00b" gets turned into "beginner" for example).

Sarf
---
If Cthulhu calls... let the machine pick it up.

DonD
08-09-2004, 08:15 PM
I thought stupid things like "leetspeak" are prohobited by blizzard and that GMs dont tolerate them? Or does this just apply to names?

sarf
08-09-2004, 10:08 PM
There are currently no restrictions on how you speak on the WoW servers (only what you can say, e.g. no harrassing things and stuff) as far as I know, and I don't think there's a naming policy forbidding "leet-names", either.

Sarf
---
They are a puckish band of rapscallions

Veyn
08-09-2004, 10:22 PM
As I have no current need to filter chat I think I'll leave this one out of my interface folder but this should definitely be in Cosmos sometime soon.

Good work -- maybe I'll use this to bug test for ya :P

Thanks,
Veyn

DonD
08-10-2004, 12:40 AM
Hm, just got the idea of a filter that does
4=a
3=e
7=t
and so on...
But i guess it would be too hard to program that it always gets when they are intended to be numbers :(

@Naming policy:
Really? Hm, must have been another one :?

sarf
08-10-2004, 12:44 AM
You can configure the Chat Filter to do what you suggest (rather easily). It is, however, very possible that it would tend to mess up, for example, Trade channel declarations.

Sarf
---
When life gives you a lemon, say 'Lemons? I like lemons. What else have you got?'

Anonymous
11-02-2004, 05:41 PM
Is there an update for this? It gives errors every time I load it...

sarf
11-02-2004, 06:26 PM
No. Currently, Chat Filter is on a hiatus.

I am considering making a new AddOn (or updating the old), but there are others that are doing similar addons, so...

Sarf
---
ENTERTAINMENT, n. Any kind of amusement whose inroads stop short of death by injection.

Anonymous
11-02-2004, 07:02 PM
Oh... that sucks. :(
I really wanted something like this.

sarf
11-02-2004, 08:35 PM
Don't worry - Chat Filter is not dead yet. It will be resurrected in some form. My hope is to make it a complete resurrection instead of some shambling zombie intent on eating my brains. :)

Sarf
---
Hey, that's just the way the cookie gets completely stomped on and obliterated.

vjeux
11-05-2004, 07:53 PM
In the localization.lua

CHATF_FILTER_LEET = "Benutzen Sie "l33t speak" Filter";
CHATF_FILTER_LEET_INFO = "Ermöglichen Sie dem "l33t speak" Filter.";

There's a mistake with the " between l33t speak, you must use \"

sarf
11-07-2004, 04:32 PM
Rats. I thought I had ironed out that bug before. :(

I'll fix it tonight. I have 123 messages left to check out tho...

Sarf
---
"I have sworn upon the altar of God eternal hostility against every form of tyranny over the mind of men." - Thomas Jefferson