Category: Data Broker
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Zhinjio's Portal Bug Reports Feature Requests
Author:
Version:
1.12.4 Release
Date:
08-11-2009 05:28 AM
Size:
137.53 Kb
Downloads:
4,051
Favorites:
161
MD5:
Pictures
Click to enlarge
tooltip
Broker TradeCooldowns
Very simple LDB data source that publishes the skills and current cooldowns in the tooltip.

Note: Skills are not visible in this display until you have opened them at least once.
-----------------------
For those of you new to using LDB based plugins

You can find a great description, and links to more information here:
  • http://forums.wowace.com/showthread.php?t=14903

Writing addons is hard work. If you feel the author deserves some compensation for those efforts, feel free to use the donation button below!

Click here to lend your support!
  Change Log - Broker TradeCooldowns
1.12.4 Release
- updated translator credits, thanks!
1.12.3 Release
- TOC bump
- fix minor embeds error
- repackage libs (some have updated)
1.12.2 Release
- fix improperly bundled libqtip
1.12.1 Release
- Toc bumped for 3.1
- fixed optdep for running disembedded
- fixed libqtip embed
1.12.0 Release
- added remove from SV for cooldowns no longer present in game
- added credits for zhTW and deDE contributions
- removed cooldowns removed from game
- added check for invalid spelllink
1.11.1 Release
- added same-key-is-true
- fix localization stupidity
- switch over to wowace localization
- re-included koKR (thanks amunra, 7destiny)
- doc push
- added koKR (thanks amunra)
- forgot locale entry for Guns
- updated pkgmeta to use "latest" tags
- added "Guns" to weapon skills
1.10.0 Release
- updated qtip embed
- added in showing a cooldown on the text field
1.9-release
- added ruRU (thanks xska!)
- added zhTW (thanks NightOw1), added frFR (thanks whynona2)
- removed stupid Ace3 loadline
- added Smelt Titansteel
- footer line added and colspan'd
- added zhCN (thanks tnt2ray)
1.81
- Forgot EnableMouse() on tooltip
1.8
- changed to data source
- tooltip now persists on mousein
- added addonloader support
1.7
fixed embedded libraries
fixed no values on initial loading
a couple more small fixes I can't remember
  Archived Versions - Broker TradeCooldowns
File Name
Version
Size
Author
Date
1.12.3 Release
137kB
Zhinjio
08-07-2009 06:43 PM
1.12.2 Release
136kB
Zhinjio
04-22-2009 05:00 AM
1.12.1 Release
129kB
Zhinjio
04-15-2009 05:11 AM
1.12.0 Release
125kB
Zhinjio
03-16-2009 04:59 AM
1.11.1 Release
120kB
Zhinjio
01-19-2009 04:27 AM
1.10.0 Release
117kB
Zhinjio
12-23-2008 02:23 PM
1.9 Release
116kB
Zhinjio
12-09-2008 06:40 AM
1.81 Release
106kB
Zhinjio
12-04-2008 06:03 AM
1.8 Release
106kB
Zhinjio
12-04-2008 05:40 AM
1.7 Release
106kB
Zhinjio
12-03-2008 06:16 AM
1.6 Release
57kB
Zhinjio
12-01-2008 09:48 PM
  Comments - Broker TradeCooldowns
Post A Reply Comment Options
Old 11-14-2009, 06:39 PM  
brknsoul
A Deviate Faerie Dragon

Forum posts: 15
File comments: 54
Uploads: 0
Nice mod but I have two requests

1) Could you have an option to disable tracking of some cooldowns, for example, I've discovered everything I can from Northrend Alchemy Research, so I don't want that to be tracked.

2) Could you change "Elements" to "Alchemical Transmutes" or just "Transmutes" since Elemental Transmutes are tied to Epic Gem Transmutes too.

Thanks for the awesome mod.

Last edited by brknsoul : 11-14-2009 at 06:39 PM.
brknsoul is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-30-2009, 11:56 PM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 113
Uploads: 9
Quote:
Originally posted by xtoq
Not really a bug, but strange....I have a maxed herb/alch, and when I have BTC on that toon, it shows me under the heading of Mosrael (alch/herbalist) that she has a cooldown ready for Prismatic Sphere and some other enchanting thing. I'll give you the exact details and a screenie when I get home, but I actually remembered - for once - to post this. I have NO enchanter toons, so idk where this weird enchanting info is coming from. Incorrect IDs perhaps? No clue, I'm just a mom. =)

Other than that, this addon is perfecto. For me. I don't know what all their problems are. XD Just kidding!
Any news on this? Is it still happening? I'm not seeing this on any of my toons, and can't reproduce right now.
Zhinjio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-22-2009, 01:07 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 495
Uploads: 1
Not really a bug, but strange....I have a maxed herb/alch, and when I have BTC on that toon, it shows me under the heading of Mosrael (alch/herbalist) that she has a cooldown ready for Prismatic Sphere and some other enchanting thing. I'll give you the exact details and a screenie when I get home, but I actually remembered - for once - to post this. I have NO enchanter toons, so idk where this weird enchanting info is coming from. Incorrect IDs perhaps? No clue, I'm just a mom. =)

Other than that, this addon is perfecto. For me. I don't know what all their problems are. XD Just kidding!
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-17-2009, 03:40 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 113
Uploads: 9
Quote:
Originally posted by PProvost
Found a bug. I think the bug is with LibQTip, but it shows up here for me so I thought you should know.

I've got another addon that embeds LibQTip 1.0 with a minor revision of 9. You embed a minor of 7.

A get a QTip error unless I replace the copy of LibQTip that you shipped with the one from the other addon. Seems like a QTip versioning issue, but I thought you might wanna know you're shipping an out-of-date version of the library.
Noted. I'll update in the next push.
Zhinjio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-16-2009, 10:55 PM  
PProvost
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 13
File comments: 100
Uploads: 23
Found a bug. I think the bug is with LibQTip, but it shows up here for me so I thought you should know.

I've got another addon that embeds LibQTip 1.0 with a minor revision of 9. You embed a minor of 7.

A get a QTip error unless I replace the copy of LibQTip that you shipped with the one from the other addon. Seems like a QTip versioning issue, but I thought you might wanna know you're shipping an out-of-date version of the library.
PProvost is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-16-2009, 09:32 PM  
PProvost
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 13
File comments: 100
Uploads: 23
Ah sweet. I was just about to write one of these.
PProvost is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-16-2009, 05:05 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 113
Uploads: 9
Re: Feature request: Time text

Quote:
Originally posted by Mike-N-Go
In my addon, WintergraspTimer, I added some code that would display the time in this formant: 16:15 - 59m 31s. It would be nice if the addon would display a message like that instead of: 2d 4h 22m. Of course, you would have to add the parts for day, am/pm, but it is a start.
Thanks for the suggestion. I do not intend to support alternate time formats at this time. If I reconsider this decision in the future, I will take a look at your code snippet to see how best to implement.
Zhinjio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-16-2009, 05:03 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 113
Uploads: 9
Quote:
Originally posted by Mike-N-Go
There is a bug that I have noticed. Not an error, just an inconvenience. I am an addon author, so I may be able to explain this better then the average user. I have a high level miner and alchemist, I'll use mining in my example, yet I have this same problem with Alchemy.
...
Known issue. I'm still investigating the "proper" way to handle it.
Zhinjio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-16-2009, 05:03 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 113
Uploads: 9
Re: Icy Prism

Quote:
Originally posted by Greymonkey
Seems to be missing the CD for Icy Prism
Fixed in latest push.
Zhinjio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-12-2009, 06:47 PM  
Mike-N-Go
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 36
File comments: 147
Uploads: 19
Feature request: Time text

In my addon, WintergraspTimer, I added some code that would display the time in this formant: 16:15 - 59m 31s. It would be nice if the addon would display a message like that instead of: 2d 4h 22m. Of course, you would have to add the parts for day, am/pm, but it is a start.


Here is the relevant chunk of code from my addon, if you do use it, just give me a comment credit "--Code originally from WintergraspTimer:ConvertSecondsToHourMinute() by MikeNGo" in your changelog and/or in the addon code.
Code:
--The parameter is the time in seconds of what we want to formant
function WintergraspTimer:ConvertSecondsToHourMinute(value)
    value = tonumber(value)
    local _, currentHour, currentMinute =	GameTime_GetTime()
    local currentSecond = 0
    local currentSecond = date"sec"
    if GetCVarBool("timeMgrUseLocalTime") == 1 then
        currentHour = date"%H"
        currentMinute = date"%M"
        currentSecond = date"%S"
    else
        currentHour, currentMinute = GetGameTime()
        currentSecond = date"%S"
    end
    value = value - currentSecond 
    value = value + (currentSecond+(currentHour*3600)+(currentMinute*60))
    local hours = floor(value / 3600)
    local minutes = (hours * 3600) - value
    minutes = floor(minutes / 60)
    local seconds = floor( ((hours * 3600) + (minutes * 60)) - value )
    minutes = math.abs(minutes)--Because it sometimes is negative, and the abs value is what we want
    if minutes == 60 then minutes = 0; hours = hours + 1 end
    if GetCVarBool("timeMgrUseMilitaryTime") then
        for i=1, hours/24 do if hours >= 24 then hours = hours - 24 end end
    else
        for i=1, hours/12 do if hours > 12 then hours = hours - 12 end end
    end
    if minutes < 10 then minutes = "0"..minutes end
    if hours > 0 then return hours,minutes,seconds
    elseif tonumber(minutes) > 0 then return 0,minutes,seconds
    else return 0,0,seconds
    end
end
Hope this is useful to you.
Mike-N-Go is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-12-2009, 06:36 PM  
Mike-N-Go
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 36
File comments: 147
Uploads: 19
There is a bug that I have noticed. Not an error, just an inconvenience. I am an addon author, so I may be able to explain this better then the average user. I have a high level miner and alchemist, I'll use mining in my example, yet I have this same problem with Alchemy.

Environment:
This is with all my addons enabled and without this addon's debug feature enabled. Just recently saw this problem, so I will disable all but the addon and the LDB display and debug when my next cooldown comes up..

Reproduction:
1) I cast a tradeskill cooldown spell, like Smelt Titansteell
2) I close the trade window after the item is made
3) I do not see the count down indicator of Smelt Titansteell in your addon's tooltip
4) I re-open the tradeskill window
5) The count down for Smelt Titansteell is now in the mod

Hypotheses:
After looking at the addon code, it appears BTC:TRADE_SKILL_SHOW() and BTC:COMBAT_LOG_EVENT_UNFILTERED() are the events that update the cooldowns. I believe that BTC:COMBAT_LOG_EVENT_UNFILTERED() is either not working properly, or there is something interfering with the code that runs with COMBAT_LOG_EVENT_UNFILTERED event.

Possible solution:
Run the BTC:TRADE_SKILL_SHOW() code on BTC:COMBAT_LOG_EVENT_UNFILTERED(). I will report and edit this thread if this has any impact on the bug.. after my next cooldown comes up.

Update/edit 1: I enabled FuBar, AddonLoader, AddonControlPannel, and this mod, and the problem does not appear to be one of these mods messing up the addon event handling: when I used a tradeskill cooldown, the same problem (not updating unless the tradeskill window is reopened after the cooldown is used). Their is still some problem with the combat log event hook in scanning the tradeskill window.

Another possible error: The scanning via the opening of the craft window does not seam to see the cooldown if the header for that cooldown is hidden (like with Have Materials checked and no more mats for another cast of the CD. Hide Materials should be turned off and all headers expanded before the addon scans the craft, if this is a problem.

Last edited by Mike-N-Go : 03-15-2009 at 08:15 PM.
Mike-N-Go is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-30-2009, 03:07 PM  
Greymonkey
A Kobold Labourer

Forum posts: 1
File comments: 14
Uploads: 0
Icy Prism

Seems to be missing the CD for Icy Prism
Greymonkey is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-16-2009, 06:53 PM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 113
Uploads: 9
Good stuff. Thanks. I'll include this in my next push, should be in the next day or so...

Quote:
Originally posted by EnSabahNur
Great Addon exactli what i was looking for but it's way too much. riding or armor skills or language is just useless and not of any interest for me. I modified it and removed this parts from the code and to make it work on my German client I wrote this:

here is a way to minimize the Loclisation work

Code:
-- Items with cooldowns:
local SaltShaker	= GetItemInfo(15846)
local Snowmaster9000= GetItemInfo(17716)
local EluneLantern	= GetItemInfo(21540)
-- Primary Skills
local Alchemy		= GetSpellInfo(2259)
local Blacksmithing	= GetSpellInfo(2018)
local Enchanting	= GetSpellInfo(7411)
local Engineering	= GetSpellInfo(4036)
local Herbalism		= GetSpellInfo(13614)
local Inscription	= GetSpellInfo(45357)
local Jewelcrafting	= GetSpellInfo(25229)
local Leatherworking= GetSpellInfo(2108)
local Mining		= GetSpellInfo(2575)
local Skinning		= GetSpellInfo(8613)
local Tailoring		= GetSpellInfo(3908)
local Lockpicking	= GetSpellInfo(1809)
local Runeforging	= GetSpellInfo(53428)
local Smelting		= GetSpellInfo(2656)
-- Secondary Skills
local FirstAid		= GetSpellInfo(3273)
local Cooking		= GetSpellInfo(2550)
local Fishing		= GetSpellInfo(7620)
ps here are the German Weapon names
Code:
-- Weapons
L["Axes"]				= "Äxte"
L["Bows"]				= "Bogen"
L["Crossbows"]			= "Armbrüste"
L["Daggers"]			= "Dolche"
L["Defense"]			= "Verteidigung"
L["Guns"]				= "Schusswaffen"
L["Maces"]				= "Streitkolben"
L["Polearms"]			= "Stangenwaffen"
L["Staves"]				= "Stäbe"
L["Swords"]				= "Schwerter"
L["Thrown"]				= "Wurfwaffe"
L["Two-Handed Axes"]	= "Zweihandäxte"
L["Two-Handed Maces"]	= "Zweihandstreitkolben"
L["Two-Handed Swords"]	= "Zweihandschwerter"
L["Unarmed"]			= "Unbewaffnet"
L["Wands"]				= "Zauberstäbe"
Zhinjio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-15-2009, 11:14 AM  
EnSabahNur
A Defias Bandit
 
EnSabahNur's Avatar
Interface Author - Click to view interfaces

Forum posts: 3
File comments: 52
Uploads: 6
Great Addon exactli what i was looking for but it's way too much. riding or armor skills or language is just useless and not of any interest for me. I modified it and removed this parts from the code and to make it work on my German client I wrote this:

here is a way to minimize the Loclisation work

Code:
-- Items with cooldowns:
local SaltShaker	= GetItemInfo(15846)
local Snowmaster9000= GetItemInfo(17716)
local EluneLantern	= GetItemInfo(21540)
-- Primary Skills
local Alchemy		= GetSpellInfo(2259)
local Blacksmithing	= GetSpellInfo(2018)
local Enchanting	= GetSpellInfo(7411)
local Engineering	= GetSpellInfo(4036)
local Herbalism		= GetSpellInfo(13614)
local Inscription	= GetSpellInfo(45357)
local Jewelcrafting	= GetSpellInfo(25229)
local Leatherworking= GetSpellInfo(2108)
local Mining		= GetSpellInfo(2575)
local Skinning		= GetSpellInfo(8613)
local Tailoring		= GetSpellInfo(3908)
local Lockpicking	= GetSpellInfo(1809)
local Runeforging	= GetSpellInfo(53428)
local Smelting		= GetSpellInfo(2656)
-- Secondary Skills
local FirstAid		= GetSpellInfo(3273)
local Cooking		= GetSpellInfo(2550)
local Fishing		= GetSpellInfo(7620)
ps here are the German Weapon names
Code:
-- Weapons
L["Axes"]				= "Äxte"
L["Bows"]				= "Bogen"
L["Crossbows"]			= "Armbrüste"
L["Daggers"]			= "Dolche"
L["Defense"]			= "Verteidigung"
L["Guns"]				= "Schusswaffen"
L["Maces"]				= "Streitkolben"
L["Polearms"]			= "Stangenwaffen"
L["Staves"]				= "Stäbe"
L["Swords"]				= "Schwerter"
L["Thrown"]				= "Wurfwaffe"
L["Two-Handed Axes"]	= "Zweihandäxte"
L["Two-Handed Maces"]	= "Zweihandstreitkolben"
L["Two-Handed Swords"]	= "Zweihandschwerter"
L["Unarmed"]			= "Unbewaffnet"
L["Wands"]				= "Zauberstäbe"

Last edited by EnSabahNur : 01-15-2009 at 11:32 AM.
EnSabahNur is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-01-2009, 04:42 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 113
Uploads: 9
Re: Timer

Quote:
Originally posted by Lightor
I seem to have a problem. It doesnt update the timer I have on my titan bar unless I open my skill window. It will be stuck at like 19 hours 58 min, then i open my trade window and it jumps down to whatever the cooldown is at now.
Oh yeah. Hmm. I think I know where this is.
Zhinjio is offline Report comment to moderator   Edit/Delete Message 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.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.