Download
(151Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 05-29-23 09:40 AM
Pictures
File Info
Compatibility:
Embers of Neltharion (10.1.0)
WOTLK Patch (3.4.1)
Classic (1.14.3)
Updated:05-29-23 09:40 AM
Created:06-11-09 12:49 AM
Downloads:5,133
Favorites:17
MD5:

TradeFilter  Popular! (More than 5000 hits)

Version: v3.7.8
by: evonder [More]

A Simple World of Warcraft Spam Filter!
Please help localize this project Here

TradeFilter does not only filter trade 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 separate set of patterns for all other channels, or "base" channels as we will call them. 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.

Default Channel Filters

Black and White Lists
TradeFilter also has a built in Black and White list. Refer to the flowchart for how Black and White lists are checked.

Default Black/White Lists

Configuration

Code:
/tf or /filter
To Do
Nothing planned

ChangeLog
ChangeLog Page

Supported Translations
Please help localize this project Here

TradeFilter3
v3.7.8 (2023-05-25)
Full Changelog Previous Releases
  • Changes for Battleground filtering - drycoded
  • Fix debug output channel names
Archived Files (5)
File Name
Version
Size
Author
Date
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


Post A Reply Comment Options
Unread 01-29-11, 01:50 AM  
evonder
A Defias Bandit
 
evonder's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 28
Uploads: 1
Originally posted by Aisenfaire
Thank you for the fast update! <3

I saw a message from Ace in chat while in a raid, saying something like "TradeFilter3 has 480 live timers, surely this is not intended?" (I copied it to paste later but forgot and copied something else. )
Give this version a try g0f22db4

Reference: Ticket 6
__________________
Author: TradeFilter, CheckFearWard, Bloodsurge and more
Report comment to moderator  
Reply With Quote
Unread 01-29-11, 01:39 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Thank you for the fast update! <3

I saw a message from Ace in chat while in a raid, saying something like "TradeFilter3 has 480 live timers, surely this is not intended?" (I copied it to paste later but forgot and copied something else. )
Last edited by Aisenfaire : 01-29-11 at 01:40 AM.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 08:40 AM  
evonder
A Defias Bandit
 
evonder's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 28
Uploads: 1
Originally posted by Aisenfaire
Getting the following error:

Code:
2x TradeFilter3-v3.4.4\TradeFilter3.lua:278: attempt to call method 'ScheduleTimer' (a nil value)
CallbackHandler-1.0-6:145: in function <...ade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-6:92: in function `Fire'
AceEvent-3.0-3 (Casualty):120: in function `OnEvent'
StopAddonMessage-1.6.0beta\core.lua:282: in function <StopAddonMessage\core.lua:211>
(tail call): ?:

  ---
Fixed in v3.4.5
__________________
Author: TradeFilter, CheckFearWard, Bloodsurge and more
Report comment to moderator  
Reply With Quote
Unread 01-23-11, 04:20 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Getting the following error:

Code:
2x TradeFilter3-v3.4.4\TradeFilter3.lua:278: attempt to call method 'ScheduleTimer' (a nil value)
CallbackHandler-1.0-6:145: in function <...ade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-6:92: in function `Fire'
AceEvent-3.0-3 (Casualty):120: in function `OnEvent'
StopAddonMessage-1.6.0beta\core.lua:282: in function <StopAddonMessage\core.lua:211>
(tail call): ?:

  ---
Report comment to moderator  
Reply With Quote
Unread 11-09-10, 10:24 PM  
evonder
A Defias Bandit
 
evonder's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 28
Uploads: 1
Re: 2 issues i found

Originally posted by DaemonSambe
1. My trade channels got scrambled today (probably for loggin out in BRD). After that, filters were broken, specifically for the Tradeforward channel, which is usually #4, but became #1. Since i don't filter General, i was not checking TFW at all. That took me a few minutes to figure out. I imagine the filters are checking channel #s, which is fine, but you should probably check the active channels and reset the numbers on each init. There may even be an EVENT for join/leave channel, that you may want to catch as well.

2. Sometimes editing expressions can cause one of them to be blank. I'm still not certain how it happened, since i removed the blank line at the end of the list. However, all spam was going thru, and the debug output showed - matched: ; with just a blank expression.

Regards.
1. Channels are filtered by either there zoneid or channel id via the CHAT_MSG_X event. I did however find a flaw that was filtering special channels according the GENERAL list and not the TRADE list.

2. This is odd as a blank line in a table should be nil, but I have been able to reproduce the problem and am working on it.

Edit:: please try 3.3.4-beta
Code:
    - Fix allowing a blank entry into any list
    - Add check in FilterFunc() for special channels
    - Move profile management into TradeFilter GUI frame
__________________
Author: TradeFilter, CheckFearWard, Bloodsurge and more
Last edited by evonder : 11-10-10 at 06:58 PM.
Report comment to moderator  
Reply With Quote
Unread 11-09-10, 03:39 PM  
DaemonSambe
A Kobold Labourer
 
DaemonSambe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 169
Uploads: 2
2 issues i found

1. My trade channels got scrambled today (probably for loggin out in BRD). After that, filters were broken, specifically for the Tradeforward channel, which is usually #4, but became #1. Since i don't filter General, i was not checking TFW at all. That took me a few minutes to figure out. I imagine the filters are checking channel #s, which is fine, but you should probably check the active channels and reset the numbers on each init. There may even be an EVENT for join/leave channel, that you may want to catch as well.

2. Sometimes editing expressions can cause one of them to be blank. I'm still not certain how it happened, since i removed the blank line at the end of the list. However, all spam was going thru, and the debug output showed - matched: ; with just a blank expression.

Regards.
Last edited by DaemonSambe : 11-09-10 at 03:41 PM.
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 07:19 PM  
evonder
A Defias Bandit
 
evonder's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 28
Uploads: 1
Re: Error

Originally posted by DaemonSambe
There was a lua error on line 155 (Print) that was causing the problem.

Also, that blacklist for Thunderfury, doesn't work.. maybe because the item: whitelist is in?? I'm pretty bad with expressions anyway, so just guessing.
The string should work fine in the blacklist to block [Thunderfury] link as any message must pass both the white and black list unless you expressly tell TradeFilter that a match on the whitelist bypass the blacklist.

Originally posted by Tondef
Consistently getting the following error.
I'm checking to see if it is prat or addon loader conflicting with it.
Its an oversight on my part and will be fixed tonight. line 155 should read:
Code:
print(L.TOC.Title .. ": " .. TF3.version .. " " .. L["ENABLED"])
__________________
Author: TradeFilter, CheckFearWard, Bloodsurge and more
Last edited by evonder : 11-08-10 at 07:20 PM.
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 06:47 PM  
Tondef
A Cyclonian
 
Tondef's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 57
Uploads: 4
Error

Consistently getting the following error.
I'm checking to see if it is prat or addon loader conflicting with it.

1x TradeFilter3-3.3.0-release\TradeFilter3.lua:155: attempt to call global 'Print' (a nil value)
TradeFilter3-3.3.0-release\TradeFilter3.lua:134: in function <TradeFilter3\TradeFilter3.lua:111>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-10 (Prat-3.0_Libraries):514: in function `InitializeAddon'
AceAddon-3.0-10 (Prat-3.0_Libraries):628: in function <...Ons\Prat-3.0_Libraries\AceAddon-3.0\AceAddon-3.0.lua:621>
<in C code>: in function `LoadAddOn'
AddonLoader-2.0\AddonLoader.lua:109: in function `LoadAddOn'
AddonLoader-2.0\Conditions.lua:128: in function <AddonLoader\Conditions.lua:118>
AddonLoader-2.0\Conditions.lua:143: in function <AddonLoader\Conditions.lua:133>

---
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 02:23 PM  
DaemonSambe
A Kobold Labourer
 
DaemonSambe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 169
Uploads: 2
There was a lua error on line 155 (Print) that was causing the problem.

Also, that blacklist for Thunderfury, doesn't work.. maybe because the item: whitelist is in?? I'm pretty bad with expressions anyway, so just guessing.
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 11:08 PM  
evonder
A Defias Bandit
 
evonder's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 28
Uploads: 1
Re: Whitelist Bug

Originally posted by DaemonSambe
Bug /w the default Whitelist:

I tried to delete the item: reference, as a way of blacklisting [Thunderfury] useless spam, however, every reload the whitelist resets to default.
I am not able to reproduce the whitelist resetting itself to default settings, could you reset your profile or delete the saved variable file and try it again to see if it persists?

As far as removing [Thunderfury] crap in trade I just added item:%d+[Thunderfury] to the blacklist.
__________________
Author: TradeFilter, CheckFearWard, Bloodsurge and more
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 10:53 PM  
DaemonSambe
A Kobold Labourer
 
DaemonSambe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 169
Uploads: 2
Whitelist Bug

Bug /w the default Whitelist:

I tried to delete the item: reference, as a way of blacklisting [Thunderfury] useless spam, however, every reload the whitelist resets to default.
Report comment to moderator  
Reply With Quote
Unread 07-15-10, 10:45 PM  
Niightblade
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 3
NVM seems to be working now
Last edited by Niightblade : 07-16-10 at 07:21 AM.
Report comment to moderator  
Reply With Quote
Unread 06-17-10, 06:43 AM  
Beta7
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
I think I have finally found the add-on that makes Trade chat bearable. I hope you keep this up, this is wonderful.
Report comment to moderator  
Reply With Quote
Unread 03-13-10, 08:10 PM  
BattleChicken
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Thumbs up Thanks!

Fantastic addon My server's trade and general channels are so full of trash that I had to run out and find an addon that filtered it.

Thank you so much for your contribution to our game.
Report comment to moderator  
Reply With Quote
Unread 12-24-09, 06:30 PM  
thantik
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Here's another suggestion then, could you make it so LFG style captures in the trade channel get redirected to LFG and DISPLAYED instead of just hidden in TF?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

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.