Go to Page... |
Compatibility: | The War Within Beta (11.0.0) Cataclysm Classic (4.4.0) Classic (1.15.2) |
Updated: | 08-10-24 11:59 PM |
Created: | 06-11-09 12:49 AM |
Downloads: | 5,208 |
Favorites: | 17 |
MD5: |
A Simple World of Warcraft Spam Filter!
Please help localize this project Here
TradeFilter does not only filter Trade Chat but has the ability to filter General, LookingforGroup, Say and Yell channels all which are configurable through the blizzard options panel.
Channel Filters
TradeFilter has a set of patterns for trade channel and a separate set of patterns for all other channels, or "base" channels. This allows the user to define what patterns may be good for trade but not other channels and vise versa. The user also has the ability to add patterns of their own to be matched against for both trade and "base" channel filters.
Black and White Lists
TradeFilter also has a configurable black and white list. Refer to the Flowchart for how friends, party, black, and white lists are processed according to your configuration options.
Configuration
/tf or /filter
File Name |
Version |
Size |
Author |
Date |
v3.7.10 |
186kB |
evonder |
07-14-24 11:25 AM |
|
v3.7.9 |
151kB |
evonder |
05-02-24 08:11 PM |
|
v3.7.8 |
151kB |
evonder |
05-29-23 09:40 AM |
|
v3.7.7 |
151kB |
evonder |
05-16-23 06:46 PM |
|
v3.7.6 |
150kB |
evonder |
04-30-23 02:10 PM |
|
v3.7.5 |
148kB |
evonder |
04-23-23 01:41 AM |
|
v3.7.4 |
148kB |
evonder |
03-05-23 04:46 AM |
|
v3.7.1 |
149kB |
evonder |
02-26-23 02:56 AM |
Comment Options |
06-13-09, 01:01 PM | |
An Aku'mai Servant
Forum posts: 30
File comments: 14
Uploads: 0
|
what specifically does this filter? anything not related to buying, selling, and tradeskills? repeat ads?
|
|
Kraki |
View Public Profile |
Send a private message to Kraki |
Find More Posts by Kraki |
Add Kraki to Your Buddy List |
evonder |
View Public Profile |
Send a private message to evonder |
Find More Posts by evonder |
Add evonder to Your Buddy List |
06-28-09, 10:30 AM | |
|
I'm currently fine-tuning the filter for trade channels on German servers since the default filter understandably didn't do so well. I've been missing a feature to test sentences without waiting for players to say something in Trade. When a message comes through that shouldn't come through, I change the respective regular expression - or pattern as Lua likes to call it - and... wait. I wait for another player to repeat the line or a very similar one which can take a while.
Do you think it's worthwhile to add such a testing feature, a sandbox of sorts where players can test a sentence without actually using Trade channel? The add-on then reports whether or not that sentence would have been filtered or shown. All the best, Contiki //edit: another feature I've been missing is a black list. Like, "if any of these terms appear in a sentence don't even check against the regular filter, just don't show this line". That'd be so neat ;-) Also, I failed to mention the most important thing: THIS ADD-ON ROCKS! I've been getting more and more annoyed at people who're unwilling or incapable of using Trade for trade-related chat.
Last edited by Contiki : 06-28-09 at 11:06 AM.
|
|
Contiki |
View Public Profile |
Send a private message to Contiki |
Find More Posts by Contiki |
Add Contiki to Your Buddy List |
07-01-09, 10:48 PM | ||
|
r105 adds the ability to not filter self so that you can test your filters out. I will see about adding a "blacklist" feature so that sentences that contain those words are just trashed and not able to slip by when a "good" string pattern is found. Also the project needs localizations for more languages, if you could you can add them HERE. And if you get the base filter expression list translated to German I would love to see that EDIT: I have added the base filters to the localization at project home for r107.
Last edited by evonder : 07-02-09 at 02:24 AM.
|
|
|
evonder |
View Public Profile |
Send a private message to evonder |
Find More Posts by evonder |
Add evonder to Your Buddy List |
07-02-09, 01:00 PM | |
|
Greetings,
I've added the German translation to the WowAce project page - I love these hubs where players from all over the planet come together and make add-ons more accessible ;-) Two quick notes, however, on what I did there:
As for the base filters, this is the list I've come up with over the course of roughly ten hours of testing during peak and off-peak hours on different days: Code:
-- Clickable links that tend to show up in "good" sentences. "enchant:%d+[^%a%d]", "item:%d+[^%a%d]", "spell:%d+[^%a%d]", "trade:%d+[^%a%d]", -- Professions including slang terms and common typos. "alchi", "alchemist", "bergbau", "ingeni?eur", "ingi", "inschrift", "juw[ei]", "knack[et]n?", "kr\195\164uter", "k\195\188rschner", "leder", "schloss", "schl\195\182sser", "schmi+e?d", "schreiber", "schneider", "verzauber", "verz[%p%s]", "suche verz", "vz[%p%s]", "suche vz", "suche %s- vz", -- Indicators that players want to buy, sell or auction stuff. "biete", "[^%a]gebot", "g\195\188nstig", "kaufe", "vk[%p%s]", "wt[bs]", "im ah", "auktionshaus", "handel", "markt", -- Materials and tips, sentences that contain an amount of gold. "%d+%s?g[^%a]", "%d+%s?gold", "material", "mat[sz]", "tg[%p%s]", "%a-g[eo]ld", -- Indicators that players are looking for others to build/produce/sew stuff etc. "[^%a]bau[et]?n?", "[^%a]h?erstell[et]n?", "[^%a]n\195\164h[et]n?", -- Common products "%a-stein", "%a-stoff", "glyph", "port ", "portal", Maybe there's a user-friendly way to allow players to turn their filters upside down without the need to edit TradeFilter3.lua. My actual filter list has five more entries I added out of desperation. You probably know it from your server: players with a perfectly valid Trade channel sentence start off with "looking for accurate huge citrine". But they just type it out. No link, no "buying" or other terms that trigger a filter and let the sentences pass trough. Now you could allow "looking for" to pass through. It'll open Pandora's box, you'll see Trade flooded with players looking for naxx, ema, kara, arena partners and whatnot. But you could. That's where I had the black list in mind. I'd like to still see a player who's "looking for accurate huge citrine" but not the other guys and gals who're "looking for group" and the like ;-) Aaanyway, long story short, I hope there's at least something useful in there for the add-on. Greetings and all the best, Contiki //edit: Just took some time to test self-filtering and it works perfectly. At first I was wondering if the feature meant other players could no longer read what I was typing. Tested some regular Trade chat with a guildie to verify that, yup, others could still see what I was typing in Trade ;-) Took me a minute to figure out a way of using this neat feature if it meant others could see me babbling nonsense in Trade or in the middle of Orgrimmar. Well, not that nonsense is anything new for Orgrimmar's citizens. I went down into Ragefire Chasm, enabled the Say filter and bam, my own testing environment. Self-filtering immediately helped me fine-tune a pattern that let something unexpected slip through. Very very neat!
Last edited by Contiki : 07-02-09 at 02:52 PM.
|
|
Contiki |
View Public Profile |
Send a private message to Contiki |
Find More Posts by Contiki |
Add Contiki to Your Buddy List |
07-03-09, 12:02 AM | |||||
|
Apart from working on the B/W list I am trying to find the best way to enable the ability to modify the whole table at once to add/remove items that each user would like to keep or not. I am right in the middle of unrelated paying project so getting the GUI worked out may be a few days off. I will commit an alpha tonight containing the B/W list and locales for translations. Thanks for the great input Contiki! EDIT: r111 contains B/W list pattern checking, please test it if you get an opportunity. ty
Last edited by evonder : 07-03-09 at 01:36 AM.
|
||||
|
evonder |
View Public Profile |
Send a private message to evonder |
Find More Posts by evonder |
Add evonder to Your Buddy List |
07-06-09, 11:45 PM | |
|
3.0.129-beta
I have uploaded the latest version(r129) as beta quality, though I think I have pretty much ironed all the bugs out. Please download the latest beta and test it out as it has a lot more configuration capabilities than prior versions. For more info on the changes please refer to the the change log on the project main page.
If I don't find or receive any reports or tickets then I will push this to release. As always localization help is much appreciated. BTW sorry Contiki had to do a lot of changes in the locale file to reflect the changes in the configuration overhaul so a chunk of your previously translated items got whacked |
|
evonder |
View Public Profile |
Send a private message to evonder |
Find More Posts by evonder |
Add evonder to Your Buddy List |
07-07-09, 11:00 AM | ||
|
I think you must put this sentence somewhere we can easily find it (I was puzzled too) |
|
|
oXid_FoX |
View Public Profile |
Send a private message to oXid_FoX |
Find More Posts by oXid_FoX |
Add oXid_FoX to Your Buddy List |
07-07-09, 08:21 PM | ||
|
EDIT:: Or maybe remove the context altogether as not to cause confusion...
Last edited by evonder : 07-07-09 at 08:26 PM.
|
|
|
evonder |
View Public Profile |
Send a private message to evonder |
Find More Posts by evonder |
Add evonder to Your Buddy List |
07-09-09, 09:10 PM | |
|
Greetings,
I've taken time to test r131. Quite a few things to note this time. Hope you don't mind.
As a closing comment, just a quick question about the black and white list and the filters. In which order are these lists checked? I imagine it to be like this:
Greetings and all the best, Contiki
Last edited by Contiki : 07-09-09 at 10:02 PM.
|
|
Contiki |
View Public Profile |
Send a private message to Contiki |
Find More Posts by Contiki |
Add Contiki to Your Buddy List |
07-10-09, 12:28 AM | ||
|
Translations:
Suggestions:
Closing Comments: B/W Lists: Your spot on. On one hand it does seem like needless redundancy and tbh I am unsure if it saves on overhead which I was thinking when I implemented it. EDIT:: Suggestions #3 = Done Latest: r132
Last edited by evonder : 07-10-09 at 01:58 AM.
|
|
|
evonder |
View Public Profile |
Send a private message to evonder |
Find More Posts by evonder |
Add evonder to Your Buddy List |
07-10-09, 09:29 AM | |
|
Greetings,
the new translations are done. I've read your post and can't believe you did all this this over night! I'll check the latest version as soon as I can savely take the time for it. One thing to note in the meantime: the English text of the translation key FREM is "removed to the TradeFilter exempt list" instead of "removed from [...]". Those neat changes make me all giddy ;-) As for the black and white lists, I think the more accessible this add-on becomes, the more players are going to accept, use and love it. I myself wasn't sure how a white list fit into the larger picture of filters. Other players may be unsure about that feature, too. You could counteract this by explaining the feature, maybe by explaining the priority of white list, then black list, then filters. On the other hand, "just" filters and the black list get the job done, too. And they mean fewer options for players to understand. Just my two cents. Greetings and all the best, Contiki PS: I'll be back with thorough(er) feedback once I've tested the latest version. |
|
Contiki |
View Public Profile |
Send a private message to Contiki |
Find More Posts by Contiki |
Add Contiki to Your Buddy List |
07-11-09, 12:12 AM | |||
|
|
||
|
evonder |
View Public Profile |
Send a private message to evonder |
Find More Posts by evonder |
Add evonder to Your Buddy List |
07-13-09, 02:25 AM | |
|
Could we get an option to disable the 'so and so added/removed from exempt list' spam? It's not a bad feature or anything, but I have an addon which uses the friends list to determine corpse statuses, and it gets really spammy! Thanks
__________________
We'd be together, but only diamonds last forever... |
|
Recluse |
View Public Profile |
Send a private message to Recluse |
Visit Recluse's homepage! |
Find More Posts by Recluse |
Add Recluse to Your Buddy List |
07-14-09, 05:28 PM | |
|
OK, I think I'm finally starting to understand how this works. I've taken your priority diagram from the description and turned it into a sort of pseudo-code. Tell me if this is correct, please.
Is that about correct? What I'm hoping for is a little different. Here's what I'm looking for; differences in bold.
Is this possible with your addon? On a related note, are the regular expressions used for the filter and white/blacklists interchangeable? Can I copy the expressions from, say, the blacklist into the filter window and the addon would parse them without error? |
|
KyrosKrane |
View Public Profile |
Send a private message to KyrosKrane |
Visit KyrosKrane's homepage! |
Find More Posts by KyrosKrane |
Add KyrosKrane to Your Buddy List |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.