Download
(9 Kb)
Download
Updated: 06-18-09 01:10 PM
Updated:06-18-09 01:10 PM
Created:06-10-09 02:40 PM
Downloads:1,102
Favorites:4
MD5:
Trade Is For Trade!
Version: 0.2.5
by: Hirsute [More]
All Rights Reserved

We're still in the early stages of the addon. Bear with me.

Trade is for Trade! is a chat filtering addon that allows users to filter chat messages against a user-built blacklist of words and phrases. It offers a universal blacklist and channel specific blacklists both for Character names (works like a more-or-less selective Ignore) and Words/Phrases.

For in-game help, use "/tift help"

General Information

This addon allows you to blacklist words or players, and will automatically filter out any chat messages that match your blacklists. It also has the ability to automatically temporarily blacklist the senders of filtered messages though this is off, by default. You choose which channels to filter by checking the box next to the channel's entry on the Social->Chat frame. A brief listing of commands follows: (/tift <command> <parameters>)

Brief overview of commands

addword (/tift addword channelname comma,separated,list of,words) Adds a word, phrase, or list of words/phrases to the blacklist. You must specify a channel name, or use "all" to add to the global blacklist. Note: entries in the global blacklist cannot be removed from individual channels. Instead, remove them from the global blacklist, and add them to the individual channels you want.

removeword (/tift removeword channelname comma,separated,list of,words) Removes a word, phrase, or list of words/phrases from the blacklist. Specify a channelname or "all" to add to the global blacklist. Because of the way words are added to the global list, they cannot be added to the global list then removed from one specific channel. In that case, remove the word from the global list, and add it to the specific channel/channels you want.

adduser (/tift adduser channelname yes/no) Adds a player to the blacklist. Specify a channel name to blacklist that user for one specific channel if no channelname is specified, it will default to all channels. Designate if you want the user added permanently or only for the amount of time specified by /tift removetime by following the user's name with yes or no. Defaults to "yes" (permanently added) if not specified, if you specify this, you *must* specify either "all" or a channel name for the channelname argument. This command will *not* accept multiple users at once.

removeuser (/tift removeuser comma-separated-list-of-players channelname) Removes a player or group of players from the blacklist. Specify a channel name to remove users added to specific channels.

removetime (/tift removetime #) Designates the number of days a player temporarily blacklist will remain on the blacklist. Defaults to 3.

autoblacklist (/tift autoblacklist yes/no) Turns auto blacklisting of the authors of filtered messages. Defaults to no (off).

listwords (/tift listwords channelname) Lists the currently blacklisted words and phrases for the specified channel. If none is specified it lists the global ("all channel") blacklist. listusers (/tift listusers channelname) Lists the currently blacklisted users for the specified channel. If none is specified, it lists the global ("all channel") blacklist.

version (/tift version) Lists the current version of the addon.

channels (/tift channels) Opens the Social->Chat frame for you to turn filtering on or off for specific channels.

help (/tift help) Prints a brief description of the addon and lists its commands.

on (/tift on) Turns the addon on. The addon defaults to on.

off (/tift off) Turns the addon off. This can be used to quickly turn the addon off.

profile (/tift profile add/remove/list/switch) add (/tift profile add profilename templateprofile) adds a the profile "profilename". You may specify a profile to use as a template. If none is specified, the current settings of the default profile are used. remove (/tift remove profilename) Removes the profile "profilename". list (/tift profile list) Lists the currently available profiles switch (/tift profile switch profilename) Switches to the specified profile, which must exist.

use /tift <command> help while in-game for more information.
v0.2.5 Resolves a typo that prevented listusers from functioning appropriately.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
0.2.4
9kB
Hirsute
06-10-09 02:40 PM


Post A Reply Comment Options
Old 06-19-09, 09:01 PM  
Hirsute
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 12
Uploads: 1
Originally posted by Silenia
This addon would be more useful to me if it had a gui instead of only command line options. If you ever add that, I would love to use this addon!
*I* probably never will. I don't know the first thing about gui creation, and unfortunately haven't the time to learn. I'm not, however, opposed to anyone else coming on board. So if you know someone who's up for the task, feel free to send him/her my way.
Hirsute is offline Report comment to moderator  
Reply With Quote
Old 06-18-09, 02:43 PM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2865
File comments: 333
Uploads: 10
This addon would be more useful to me if it had a gui instead of only command line options. If you ever add that, I would love to use this addon!
__________________
♪~ ( ) I My Sonos!
Petrah is offline Report comment to moderator  
Reply With Quote
Old 06-17-09, 10:54 PM  
Hirsute
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 12
Uploads: 1
Re: listusers

Originally posted by David2702
Interface\AddOns\TiFT\TiFT.lua:309: attempt to index field '?' (a nil value)


no other addons loaded
I think I see what's going on there, I'll test a fix and hopefully have an update for that in the next day or two.

edit: v0.2.5 should fix this error.
Last edited by Hirsute : 06-18-09 at 01:11 PM.
Hirsute is offline Report comment to moderator  
Reply With Quote
Old 06-16-09, 07:34 PM  
David2702
A Defias Bandit

Forum posts: 3
File comments: 5
Uploads: 0
listusers

Interface\AddOns\TiFT\TiFT.lua:309: attempt to index field '?' (a nil value)


no other addons loaded
David2702 is offline Report comment to moderator  
Reply With Quote
Old 06-13-09, 12:53 PM  
Hirsute
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 12
Uploads: 1
Originally posted by loctrinh01
With Cellular disabled: No errors when logging in, opening, browsing, posting in Auctioneer.
Okay, then. It appears that something Cellular is doing is causing the error. I'll see if I can get it installed and poke around a bit, but it may, unfortunately take some time, which I have little of for the next couple of weeks. I'll update if I find anything.

edit: It might help me if you can send me a zipped version of your <wow folder>/wtf/account/<account name>/savedvariables/tift.lua. If you're willing to do this, pm me for an email address.
Last edited by Hirsute : 06-13-09 at 12:55 PM.
Hirsute is offline Report comment to moderator  
Reply With Quote
Old 06-13-09, 12:27 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
Originally posted by Hirsute
Thank you!

I'm curious what happens if you disable Cellular. Do you still get errors?
With Cellular disabled: No errors when logging in, opening, browsing, posting in Auctioneer.
loctrinh01 is offline Report comment to moderator  
Reply With Quote
Old 06-13-09, 12:19 PM  
Hirsute
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 12
Uploads: 1
Thank you!

I'm curious what happens if you disable Cellular. Do you still get errors?
Hirsute is offline Report comment to moderator  
Reply With Quote
Old 06-13-09, 12:17 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
Re: Th

Originally posted by Hirsute
Thanks for the report. If you continue to get errors, please repost the full error message. Those look like Swatter errors, but they're missing the addons list and the ID numbers for the errors, both of which are helpful in troubleshoot problems I'm not experiencing right now. I'll play around with the code, though and see if I can find what's causing the issue.
This the full error that Swatter shows (spammage inc!)

Date: 2009-06-13 04:10:20
ID: -2
Error occured in: Stubby
Count: 7
Message: Error: Original call failed after running hooks for: ChatFrame_OnEvent
..\AddOns\TIFT\TiFT.lua line 499:
attempt to compare number with nil
Debug:
(tail call): ?
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
AddOns:
Swatter, v5.5.4293 (WombatII)
Ampere, v3.0.3.14
AucAdvanced, v5.5.4293 (WombatII)
AucFilterBasic, v5.5.4293 (WombatII)
AucFilterOutlier, v5.5.4293.2531
AucMatchUndercut, v5.5.4293.2531
AucScanData, v5.5.4293 (WombatII)
AucStatClassic, v5.5.4293 (WombatII)
AucStatHistogram, v5.5.4293 (WombatII)
AucStatiLevel, v5.5.4293 (WombatII)
AucStatPurchased, v5.5.4293 (WombatII)
AucStatSales, v5.5.4293.2842
AucStatSimple, v5.5.4293 (WombatII)
AucStatStdDev, v5.5.4293 (WombatII)
AucStatWOWEcon, v5.5.4293.2530
AucUtilAHWindowControl, v5.5.4293.3311
AucUtilAppraiser, v5.5.4293.2530
AucUtilAskPrice, v5.5.4293.3175
AucUtilAutoMagic, v5.5.4293.3142
AucUtilCompactUI, v5.5.4293.2530
AucUtilEasyBuyout, v5.5.4293.3583
AucUtilFixAH, v5.5.4293 (WombatII)
AucUtilItemSuggest, v5.5.4293.3108
AucUtilPriceLevel, v5.5.4293.2545
AucUtilScanButton, v5.5.4293.2530
AucUtilScanFinish, v5.5.4293.2530
AucUtilScanProgress, v5.5.4293.2530
AucUtilSearchUI, v5.5.4293.3655
AucUtilSimpleAuction, v5.5.4293.0
AucUtilVendMarkup, v5.5.4293.2530
Auditor2, v4.0
Babylonian, v5.1.DEV.130
BadBoy, v3.4.1.8
BadBoyCCleaner, v2.1.0
BagnonForever, v1.1.1
BagnonTooltips, v
BeanCounter, v5.5.4293 (WombatII)
BetterInbox, v
BrokerAuditor, v1.0
BrokerCPU, v30100.$Revision: 16 $
BrokerVolumetric, v1.0
Cellular, v3.1.003
Combuctor, v2.1.0
CombuctorSets, v
Configator, v5.1.DEV.130
DebugLib, v5.1.DEV.130
Dominos, v1.9.4
Enchantrix, v5.5.4293 (WombatII)
EnchantrixBarker, v5.5.4293 (WombatII)
EnsidiaFails, v1.0
ErrorMonster, v3
Informant, v5.5.4293 (WombatII)
MikScrollingBattleText, v5.4.59
NinjaPanel, v30
PhanxChat, v3.1.1.49-beta
Scrap, vBeta 4.1
SellFish, v2.1.10
SlideBar, v5.5.4293 (WombatII)
Stubby, v5.5.4293 (WombatII)
TIFT, v
(ck=717)
loctrinh01 is offline Report comment to moderator  
Reply With Quote
Old 06-13-09, 12:14 PM  
Hirsute
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 12
Uploads: 1
Th

Thanks for the report. If you continue to get errors, please repost the full error message. Those look like Swatter errors, but they're missing the addons list and the ID numbers for the errors, both of which are helpful in troubleshoot problems I'm not experiencing right now. I'll play around with the code, though and see if I can find what's causing the issue.

Originally posted by loctrinh01
Got two errors:

Error occured in: Stubby
Count: 161
Message: Error: Original call failed after running hooks for: ChatFrame_OnEvent
..\AddOns\TIFT\TiFT.lua line 499:
attempt to compare number with nil
Debug:
(tail call): ?
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1

After Stubby was turned off:

Error occured in: Global
Count: 14
Message: ..\AddOns\TIFT\TiFT.lua line 499:
attempt to compare number with nil
Debug:
[C]: ?
TIFT\TiFT.lua:499: filterFunc()
..\FrameXML\ChatFrame.lua:2359: ChatFrame_MessageEventHandler()
..\FrameXML\ChatFrame.lua:2202: ChatFrame_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Hirsute is offline Report comment to moderator  
Reply With Quote
Old 06-12-09, 05:09 AM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
Got two errors:

Error occured in: Stubby
Count: 161
Message: Error: Original call failed after running hooks for: ChatFrame_OnEvent
..\AddOns\TIFT\TiFT.lua line 499:
attempt to compare number with nil
Debug:
(tail call): ?
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1

After Stubby was turned off:

Error occured in: Global
Count: 14
Message: ..\AddOns\TIFT\TiFT.lua line 499:
attempt to compare number with nil
Debug:
[C]: ?
TIFT\TiFT.lua:499: filterFunc()
..\FrameXML\ChatFrame.lua:2359: ChatFrame_MessageEventHandler()
..\FrameXML\ChatFrame.lua:2202: ChatFrame_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
loctrinh01 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: