Download
(151Kb)
Download
Updated: 08-03-10 03:18 AM
Pictures
File Info
Updated:08-03-10 03:18 AM
Created:04-09-10 08:35 AM
Downloads:4,728
Favorites:38
MD5:

Broker H3DungeonCooldowns

Version: r017
by: SuranthianH3 [More]

All users with revision 10 or under, delete it before you install a newer version

***IMPORTANT***
This requires a databroker addon such as
Chocolate Bar or TitanPanel.

Broker_H3DungeonCooldown is only available in English and was designed for enUS. If you aren't enUS, the only thing that should break is expansion sorting. Just disable expansion headers.

Broker H3 DungeonCooldowns started out as a quick "Hello World" test to start out coding Lua in WoW and eventually turned into this. It is a somewhat simple DataBroker Display that shows what dungeons you are saved to and how long until they unlock.

Please provide feedback in comments. Also provide suggestions for more features. I will update with a list of features I plan on adding when there are enough.

It is important that if you find a bug that you please a comment here, otherwise the bug will not be fixed.

Features
Self explanatory section title is self explanatory.

  • Showing data on any/every character on your account (current server). (Note: Requires you to log in atleast once so the addon can register the toon's data into the database.)
  • *NEW* Time for dungeon deserter and random dungeon queue cooldown.
  • Customizing the look of your tooltip with options such as:
    • 2 optional columns for the save's ID and the unlock's date and time (rounded to the nearest 15 minutes, based off of local time)
    • Enabling and disabling the display of expansion content
    • Enabling and disabling the icon's text.
    • *NEW* Adding whitespaces or expansion names between expansion content.
    • Toggling showing unlocked dungeons.
    • Changing the maximum height of the tooltip before it uses a scrollbar.
    • Font options:
      • Change tooltip's text font using shared media (Default Friz Quadrata TT)
      • Change tooltip text sizes (Header, name, hints, text)
    • Change colors of:
      • Dungeon Names
      • Dungeon Difficulties
      • Unlock time remaining (Gradually changes colors as the time expires. So, assuming you are on the default settings and it's a heroic, it will be red at 24 hours, orange at 18, yellow at 12, lime at 6, and green when it's a few minutes.)
      • Class colors (for name display)
      • The separators (Horizontal lines in the tooltip)

  • *NEW* Dungeon Finder Information Including:
    • The average time and average time for every role
    • The role(s) you are queued as in the dungeon finder.
    • *NEW* The time left to accept the invite and what role you are assigned in the group.
    • The roles for the group that have been found (also shows beside the icon, regardless of icon only)
    • Who has accepted the invitation (when the group has been made), even before you accept it!
    • *NEW* Hiding the minimap icon (if wanted)
  • Clicking Line Scripts:
    • Clicking a line to report its info to chat (Doesn't matter what type of click, as long as it isn't a shift click on a current toon's line)
    • Shift-Clicking a line to toggle lock extensions


Known Issues
Issues that are.. Known...
The chat report feature inserts the text without enabling text input, so pressing enter opens the edit box (sets it to full opacity), and clears what was in it.
I am aware of this issue but I do not have a solution at the moment. I am not very experienced in handling widgets. Before, I was using ChatFrameEditBox:Show() and ChatFrameEditBox:Insert(string), but with the new chatbox, the now "ChatFrame1EditBox" is already shown, but doesn't input text unless you hit enter. So I will have to find another way.

Just click the edit box after clicking the line then hit enter, or hit enter, click the line, then hit enter again.

Revision 016 - Bugfix (3.3.5)
- Uploaded a fix by spAnser for the random dungeon cooldown and dungeon deserter.

Revision 016 - Bugfix (3.3.5)
- Forgot for a second that some functions return nil instead of 0 sometimes. Quick fix. Only need this update if you got revision 15.

Revision 015 - FEATURES (Minor) (3.3.5)
- Added Dungeon Deserter and Random Queue Cooldown
- Fixed a minor typo. Removed brackets from dungeon invite roles, but not on the queue. They are now removed from both.
Sorry for the wait, been busy

Revision 014 - FEATURES (3.3.5)
- Removed brackets from LFD roles to preserve space
- Added whitespaces between expansions (none, whitespace, or expansion name)
- Made seperators customizable (color and height)
- Added showing time left and your role on the icon when an invite is avaliable.
- Added a teleport in and out button at the top of the tooltip (EXPERIMENTAL: Only shows if you have a role assigned)
- Added the ability to hide the minimap icon for the LFD system, since this does everything it does

Revision 013 - FEATURES (3.3.3)
- Added dungeon sorting (Expansion, then name, then difficulty)
- Made current character display at the top of the character list instead of where it is alphabetically.
- Added dungeon finder information! Shows average time for every role, average time in general, what you are queued as, what your currently forming group has so far, who accepted the invitation (even before you accept it!)

Revision 012 - BUGFIX (3.3.3)
- Readded AceLocale-3.0


Revision 011 - MAJOR VERSION (3.3.3)
- Rerelease. Remade the entire addon because I know more about Lua now. The nil table bug is now 100% gone without using garbage collection. Delete your old version before installing this new one. It's a "new" addon (different folder name).


Revision 010 fix (3.3.3)
- Nothing important or new, just makes it appear in the addons list next to all of my other mods instead of alone.


Revision 010 - BUGFIX (3.3.3)
- Added garbage collection. No more random nil tables! :D


Revision 009 - BUGFIX (3.3.3)
- Sometimes, if you crash or disconnect, a characters data will go nil (usually the one you're on when you DC). Now, it will notify you upon login/reload that it happened and clear the toon's data, turning it into an empty table with 3 more empty tables (Vanilla, BC, WotLK) instead of getting an error that breaks the addon's tooltip display altogether by leaving it nil. TL;DR - No more table errors.


Revision 008 - BUGFIX (3.3.3)
- Formatting on the chat report had a bug with the name with some settings configured in certain ways (it was either considered nil or it was the wrong character, depended on your character selection setting).


Revision 007 - BUGFIX (3.3.3)
- The report did not have the correct character name and server. It instead reported the last saved character's name.


Revision 006 - FRIDAY-FEATURES (3.3.3)
- Added 2 new columns (optional) for ID and unlock date/time and save ID. Allows toggling expansion headers and whitespaces, setting column alignment, toggling instance extensions for your current toon, and even sending a lines data to chat! I also updated the libraries and showed how long until the addon will load on the icon (when you change options or logon), and made it update the data on rollover instead of every 20 seconds.


Revision 005 - BUGFIX (3.3.3)
- Fixed a bug for people who don't have any other addons that use LibQTip (minor spelling error in the .toc file caused it to not be included). This patch is only needed if you are experiencing a certain error regarding LibQTip in the comments.


Revision 004 - BUGFIX (3.3.3)
- Instances that are unlocked not being registered as an unlocked dungeon if you aren't on that character.


Revision 003 - FRIDAY-FEATURES (3.3.3)
- Allows the showing of date on every single character on your account that you have logged onto with the addon installed.


Revision 002 - BUGFIX (3.3.3)
- Addon's variable tables being invalid on characters that have never done a savable dungeon.


Revision 001 - Initial release (3.3.3)
- Had a bug for toons that have never been in an instance that is savable, so a new version was released less than 30 minutes later.
Post A Reply Comment Options
Unread 06-07-10, 07:47 AM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 64
File comments: 166
Uploads: 0
Minimap Icon

Heh sorry no idea what the minimap icon is called but I was using this addon http://www.wowinterface.com/download...ueue.html#info for the LFD queue. It has the option of hiding the minimap icon. Was using it till your addon included the LFD feature.
Report comment to moderator  
Reply With Quote
Unread 06-06-10, 07:38 PM  
SuranthianH3
A Murloc Raider
 
SuranthianH3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 41
Uploads: 4
Originally posted by Yukashii
Sorry, I went by the changelog, and it said there that expansion sorting was added so I was kinda stumped why I didn't see it. I'll be patient and wait till you're done then.
The LFD thing, it was pretty shortly after joining so that's probably it, since the broker text did update properly. Being a tank I doubt I'll ever spend enough time in the queue for the tooltip to update.
Anyway, keep up the good work.
Mmmk. Thanks for the feedback. As for the expansion sorting. I meant actual sorting of the dungeons by expansion. I will add headers as an option in the next version, though. Also, it seems all the BC instances have something before them "Coilfang: The Steamvault" for example.. So I have to go back and do all the heroics to see which is which. :P

What I could add of expansion sorting is there though, Vanilla instances, WotLK instances, but BC (or most of it), I'm working on.

Edit: Going to make it utilize string.find so I don't have to worry about "Coilfang: <name>", "Temptest Keep: <name>", etc.
Last edited by SuranthianH3 : 06-07-10 at 02:20 AM.
Report comment to moderator  
Reply With Quote
Unread 06-06-10, 05:50 AM  
Yukashii
A Kobold Labourer
 
Yukashii's Avatar

Forum posts: 1
File comments: 14
Uploads: 0
Sorry, I went by the changelog, and it said there that expansion sorting was added so I was kinda stumped why I didn't see it. I'll be patient and wait till you're done then.
The LFD thing, it was pretty shortly after joining so that's probably it, since the broker text did update properly. Being a tank I doubt I'll ever spend enough time in the queue for the tooltip to update.
Anyway, keep up the good work.
Report comment to moderator  
Reply With Quote
Unread 06-05-10, 08:14 PM  
SuranthianH3
A Murloc Raider
 
SuranthianH3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 41
Uploads: 4
Re: tooltip not working as advertized?

Originally posted by Yukashii
Not sure why, but the expansion sorting and LFD info to the tooltip you've added in r013 both fail to show up, nor do I see options in the config to turn these things on or off. The text next to the icon (on the bar, bazooka in my case) does update with LFD info though, so that part is woking normally.
The file I donwloaded from here is called rezipped, did something go wrong somewhere in the packaging maybe?
No reason for the LFD info to not be showing up. Unless you are viewing the tooltip RIGHT AFTER you queue (takes a few seconds to update). As for the expansion headers, I didn't code those in yet. I'll add them next update. It updates on an event. I can't force the information to show. So you have to wait 10-30 seconds after you queue. You DID say that you are using a European client, so maybe the function isn't working properly or is spelled differently there?

EDIT: The zipping was just fine. There was nothing wrong with the file, the pending process was taking WAAAAY longer than usual.
Last edited by SuranthianH3 : 06-05-10 at 08:35 PM.
Report comment to moderator  
Reply With Quote
Unread 06-05-10, 05:51 PM  
Yukashii
A Kobold Labourer
 
Yukashii's Avatar

Forum posts: 1
File comments: 14
Uploads: 0
tooltip not working as advertized?

Not sure why, but the expansion sorting and LFD info to the tooltip you've added in r013 both fail to show up, nor do I see options in the config to turn these things on or off. The text next to the icon (on the bar, bazooka in my case) does update with LFD info though, so that part is woking normally.
The file I donwloaded from here is called rezipped, did something go wrong somewhere in the packaging maybe?
Last edited by Yukashii : 06-05-10 at 05:53 PM.
Report comment to moderator  
Reply With Quote
Unread 06-05-10, 04:49 AM  
SuranthianH3
A Murloc Raider
 
SuranthianH3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 41
Uploads: 4
Originally posted by Xylan Trueheart
This addon is turning out with a high polish. I do like the LFD feature with DB support. However a suggestion. Whenever I use the LFD the minimap button still shows up. Not sure if you ave a option to disable that or not but I figure its a redundant thing.
Some people might have a habit of using the minimap icon still. If you know what the icon is called I can make an option to hide it, though. Same for the default accept window, I'm making a decline invitation, accept invitation, invitation information (bosses killed, etc.).
Last edited by SuranthianH3 : 06-05-10 at 05:30 AM.
Report comment to moderator  
Reply With Quote
Unread 06-04-10, 07:41 PM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 64
File comments: 166
Uploads: 0
This addon is turning out with a high polish. I do like the LFD feature with DB support. However a suggestion. Whenever I use the LFD the minimap button still shows up. Not sure if you ave a option to disable that or not but I figure its a redundant thing.
Report comment to moderator  
Reply With Quote
Unread 06-03-10, 05:21 PM  
SuranthianH3
A Murloc Raider
 
SuranthianH3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 41
Uploads: 4
Originally posted by ffcloud2000
Yea i decided chocolatebar works so i'll just stick to this.. seems to be working fine now not sure why it would do something like that considering its a brokerdisplay but oh well.

After using H3DC for abit you think it would be possible to add a filter of some sort for the all characters display.. i have a few bank alts and it would be nice if it didn't display them or add an option to hide any characters that don't have any data.. also another is allowing the addon to push the current logged in character to the top of the list

Anyways loving the addon
Yeah, I'm working on the update right now. I'll make it so it only shows toons with locked data. :P

EDIT: Completed. Releasing the update this Friday at around noon.
EDIT 2: Reread your message and saw the request for pushing current toon to the top. Completed. :P

EDIT 3: Squashed all the bugs I could find and did a few heroics for display screenshots. Released the update!
Last edited by SuranthianH3 : 06-04-10 at 06:54 AM.
Report comment to moderator  
Reply With Quote
Unread 06-03-10, 11:57 AM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 24
File comments: 98
Uploads: 0
Yea i decided chocolatebar works so i'll just stick to this.. seems to be working fine now not sure why it would do something like that considering its a brokerdisplay but oh well.

After using H3DC for abit you think it would be possible to add a filter of some sort for the all characters display.. i have a few bank alts and it would be nice if it didn't display them or add an option to hide any characters that don't have any data.. also another is allowing the addon to push the current logged in character to the top of the list

Anyways loving the addon
__________________
Last edited by ffcloud2000 : 06-03-10 at 12:02 PM.
Report comment to moderator  
Reply With Quote
Unread 06-02-10, 05:09 PM  
SuranthianH3
A Murloc Raider
 
SuranthianH3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 41
Uploads: 4
Originally posted by ffcloud2000
I use NinjaPanel but since it wasn't working i decided to test another display addon which was dockingstation and it was working
Hmm.. Not sure why it wouldn't work in NinjaPanel :\.. It uses almost the exact same method of display as the old one, all I did was change it to AceEvent from AceTimer to make data updates a little easier. The only solution I can offer without looking into NinjaPanel's code and researching LDB's interaction with broker display addons is switching to Chocolate Bar, because that's what I code all of my Broker mods on.
Last edited by SuranthianH3 : 06-02-10 at 05:12 PM.
Report comment to moderator  
Reply With Quote
Unread 06-02-10, 03:43 PM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 24
File comments: 98
Uploads: 0
Originally posted by SuranthianH3
That's odd.. Have you tried Chocolate Bar? For me it seems a lot of stuff doesn't work with docking station very well. :\
I use NinjaPanel but since it wasn't working i decided to test another display addon which was dockingstation and it was working
__________________
Report comment to moderator  
Reply With Quote
Unread 06-02-10, 03:36 PM  
SuranthianH3
A Murloc Raider
 
SuranthianH3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 41
Uploads: 4
Originally posted by ffcloud2000
I'm currently using NinjaPanel and for some reason this addon doesn't show up properly using it.. the old pre remake version was working fine.. tested it out with DockingStation

That's odd.. Have you tried Chocolate Bar? For me it seems a lot of stuff doesn't work with docking station very well. :\
Report comment to moderator  
Reply With Quote
Unread 06-02-10, 10:21 AM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 24
File comments: 98
Uploads: 0
Originally posted by SuranthianH3
No problem!
I'm currently using NinjaPanel and for some reason this addon doesn't show up properly using it.. the old pre remake version was working fine.. tested it out with DockingStation

__________________
Last edited by ffcloud2000 : 06-02-10 at 10:24 AM.
Report comment to moderator  
Reply With Quote
Unread 06-01-10, 08:50 PM  
SuranthianH3
A Murloc Raider
 
SuranthianH3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 41
Uploads: 4
Originally posted by Gsusnme
Thanks for the quick fix!
No problem!
Report comment to moderator  
Reply With Quote
Unread 06-01-10, 07:05 PM  
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 199
Uploads: 1
Thanks for the quick fix!
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.