Download
(164Kb)
Download
Updated: 03-05-13 10:02 PM
Pictures
File Info
Updated:03-05-13 10:02 PM
Created:11-06-08 05:24 AM
Downloads:9,817
Favorites:157
MD5:

Broker TradeCooldowns  Popular! (More than 5000 hits)

Version: 5.2.0-2.2.0
by: Zhinjio, Torhal

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!

2.1.7 Release
- Updated ToC version for WoW 4.2
2.1.6 Release
- Fixed CLEU (need to open tradeskill 2x to pick up cooldown)
2.1.5 Release
- Force clear of cooldowns to clear possible corruption.
- I think I finally got a fix in for ticket 45. ]
- Fix for ticket 47 (typo)
2.1.1 Release
- fix stupid typo (ticket 46)
2.1.0 Release
- Bump TOC
- Added LibDBIcon (Ticket 42)
- Fixed finding Guild professions (Bug 44)
- Added Forged Documents (Bug 43)
- Added showing counter on display bar (ticket 16)
- using color code basedf on Ticket 20
- add showing any toon's CDs on display bar (ticket 24)
2.0.1 Release
- added Fire Prism, fixed a few dreamcloth entries, new gems
- added truegold and pyrium bar, volatile element transmutes
1.2.0 Release
- TOC bump
- "hide" cooldown working
- character data purge working
- general cleanup. ready for release
- removed weapon skills
- updated scanning method for new API (thanks Torhal)
- got rid of unused options, structures, etc
- fix dumb mistake in options table
- removed tainted call
- updated messages
- added help
- another attempt at proper cooldown cast detection
- Added Glacial Bag and several Cata cloth CDs
- Removing stuff noone cares about (armor,language,class)
- lots of code cleanup
- Added Epic Gem Transmutes
- Properly detect new cooldown
- Properly update LDB text
- Removed cooldowns that were removed from game up to 3.3.3
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
Post A Reply Comment Options
Unread 04-30-09, 09:56 PM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 8
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.
Report comment to moderator  
Reply With Quote
Unread 04-22-09, 11:07 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
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!
Report comment to moderator  
Reply With Quote
Unread 03-17-09, 01:40 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 8
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.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 08:55 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
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.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 07:32 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 23
Ah sweet. I was just about to write one of these.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 03:05 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 8
Re: Feature request: Time text

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.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 03:03 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 8
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.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 03:03 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 8
Re: Icy Prism

Originally posted by Greymonkey
Seems to be missing the CD for Icy Prism
Fixed in latest push.
Report comment to moderator  
Reply With Quote
Unread 03-12-09, 04:47 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
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.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Report comment to moderator  
Reply With Quote
Unread 03-12-09, 04:36 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
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.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Last edited by Mike-N-Go : 03-15-09 at 06:15 PM.
Report comment to moderator  
Reply With Quote
Unread 01-30-09, 02:07 PM  
Greymonkey
A Kobold Labourer

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

Seems to be missing the CD for Icy Prism
Report comment to moderator  
Reply With Quote
Unread 01-16-09, 05:53 PM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

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

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"
Report comment to moderator  
Reply With Quote
Unread 01-15-09, 10:14 AM  
EnSabahNur
A Defias Bandit
 
EnSabahNur's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 55
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-09 at 10:32 AM.
Report comment to moderator  
Reply With Quote
Unread 01-01-09, 03:42 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 8
Re: Timer

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.
Report comment to moderator  
Reply With Quote
Unread 12-31-08, 04:34 PM  
Lightor
A Murloc Raider

Forum posts: 4
File comments: 15
Uploads: 0
Timer

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.
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.