Go to Page... |
Updated: | 08-03-10 03:18 AM |
Created: | 04-09-10 08:35 AM |
Downloads: | 4,747 |
Favorites: | 38 |
MD5: |
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.
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. |
![]() |
Comment Options |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
|
|
No problem, if it helps, I'm on a european client, but english language, so I'm not really sure where the differences come from.
|
![]() |
![]() |
Yukashii |
View Public Profile |
Send a private message to Yukashii |
Find More Posts by Yukashii |
Add Yukashii to Your Buddy List |
![]() |
||
|
Last edited by SuranthianH3 : 04-21-10 at 07:49 AM.
|
|
![]() |
![]() |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
|
|
Feature Friday Update
Sorry I couldn't update last Friday. Been real busy lately. I started back up today and finished up the columns. I will try to get to whitespace and header elimination later. I can confirm that the 2 optional columns will be uploaded this Friday, though!
EDIT: The update will have Whitespace toggling and Expansion Header toggling. Only took like 10 minutes. XD
Last edited by SuranthianH3 : 04-26-10 at 03:27 AM.
|
![]() |
![]() |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
|
|
Error message
This error message appeared when I selected the Icon only option and moused over the icon. As seen by BugGrabber, English client.
1x ...roker_H3DungeonCooldown\Broker_H3DungeonCooldown.lua:1625: attempt to get length of field 'InstanceInfoTableVanilla' (a nil value): ...roker_H3DungeonCooldown\Broker_H3DungeonCooldown.lua:1922: in function `OnEnter': ChocolateBar-r107\Chocolate.lua:207: in function <ChocolateBar\Chocolate.lua:176> Locals: self = ChocolateBroker_H3DungeonCooldown { 0 = <userdata> text = <unnamed> {} Update = <function> @ ChocolateBar\Chocolate.lua:253: settings = <table> {} tooltip = <unnamed> {} obj = <table> {} name = "Broker_H3DungeonCooldown" icon = <unnamed> {} bar = ChocolateBar1 {} } tooltip = nil LibQTip = <table> { activeTooltips = <table> {} LabelPrototype = <table> {} tooltipHeap = <table> {} cellPrototype = <table> {} tableHeap = <table> {} providerMetatable = <table> {} providerPrototype = <table> {} layoutCleaner = <unnamed> {} tipMetatable = <table> {} frameHeap = <table> {} IterateTooltips = <function> @ AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:132: LabelProvider = <table> {} CreateCellProvider = <function> @ AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:216: tipPrototype = <table> {} IsAcquired = <function> @ AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:125: Release = <function> @ AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:115: Acquire = <function> @ AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:92: cellMetatable = <table> {} frameMetatable = <table> {} } db = <table> { dunNameCol_B = 0.65 dunLoTimeCol_R = 0 dunNameCol = <table> {} showExpansionHeaders = true dunLoTimeCol = <table> {} dunDiffCol_R = 0.65 ADDONVERSION = "r007" showBurningCrusade = true dunHiTimeCol_G = 0 resetLeftColor_R = 200 resetLeftColor_G = 200 dunDunIDCol_G = 0.65 ToonHasLocked = <table> {} ServerHasLocked = <table> {} InstanceInfoTable = <table> {} TTErrorMsg = " Detected setting changes. Reloading. " dunUnlockCol_G = 0.7843137254902 currentDisplayToon = "All Characters" colCount = 5 ToonLockedAmt = <table> {} instanceResetStr = "Unlocked!" ChatMethods = <table> {} dunMeTimeCol_R = 1 currentAllServer = "Current Server" dunHiTimeCol = <table> {} AccountCharacterList = <table> {} AccountServers = <table> {} Col5Alignment = 3 dunDiffCol_G = 1 dunUnlockCol = <table> {} showWhiteSpaces = true dunUnlockCol_R = 0.7843137254902 dunHiTimeCol_B = 0 ReportString = "" reportChatMethod = "GUILD" dunUnlockCol_B = 0.7843137254902 dunDiffCol_B = 1 showDunID = true unlockDateStr = "" dunDateCol_R = 1 dunNameCol_G = 1 isMultiToon = true showDungeonFinderInfo = true AccountCharacters = <table> {} dunNameCol_R = 0.65 dunDunIDCol = <table> {} LockExtendTarget = "" tooltipHeight = 500 dunLoTimeCol_B = 0 dunDunIDCol_B = 0.65 showWrathoftheLichKing = true dunMeTimeCol_B = 0 showUnlockTimeDate = true AccountServerList = <table> {} showVanillaWoW = true Col2Alignment = 2 dunMeTimeCol = <table> {} resetLeftColor_B = 200 dunLoTimeCol_G = 1 dunDiffCol = <table> {} showUnlocked = true IsOnLine = false iconOnly = true dunDateCol_G = 1 curTime = 1272680132 dunHiTimeCol_R = 1 dunDunIDCol_R = 0.65 finishedStartup = true Col4Alignment = 2 dunDateCol_B = 0.65 dunDateCol = <table> {} Col1Alignment = 1 Col3Alignment = 2 dunMeTimeCol_G = 1 AccountInstanceData = <table> {} } DCD_2 = Broker_H3DungeonCooldown { 0 = <userdata> } elapsed = 0.85200001485646 --- |
![]() |
![]() |
Xylan Trueheart |
View Public Profile |
Send a private message to Xylan Trueheart |
Find More Posts by Xylan Trueheart |
Add Xylan Trueheart to Your Buddy List |
![]() |
||
|
Re: Error message
I can't find any cause for this bug in the code, so the only solution I can offer is waiting a bit more after the load is complete. :\ If any addon authors might know what the cause of this bug is (some tables saved via AceAddon-3.0 to be nil for 10-30 seconds), please tell me. EDIT: I just experienced the bug even after the load was complete and it has been a few minutes. It seem clearing the table works as a fix (for now) :\.. But again, if anyone might know a possible fix, as this is my first addon, please let me know. EDIT 2: I went back and added a line that only allowed the loop to continue if the data wasn't 'nil'. which means it will still display, it just won't update on that particular rollover. As this isn't that much of a serious bug (can be fixed with a reload or table clear click), I will upload this fix Friday. EDIT 3: Added the above bugfix since I had to upload a fix the the other bug (name in chat reporting).
Last edited by SuranthianH3 : 05-03-10 at 07:18 AM.
|
|
![]() |
![]() |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
|
A Fallenroot Satyr
Forum posts: 24
File comments: 98
Uploads: 0
|
Code:
Message: ...roker_H3DungeonCooldown\Broker_H3DungeonCooldown.lua:4293: bad argument #3 to 'format' (string expected, got nil) Time: 05/02/10 22:13:34 Count: 9 Stack: [C]: in function `format' ...roker_H3DungeonCooldown\Broker_H3DungeonCooldown.lua:4293: in function `_OnEnter_func' ...er_H3DungeonCooldown\Lib\LibQTip-1.0\LibQTip-1.0.lua:1941: in function <...er_H3DungeonCooldown\Lib\LibQTip-1.0\LibQTip-1.0.lua:1931> Locals: (*temporary) = "%s%s%s%s (%s)%s%s%s%s (%s)" (*temporary) = "[H3DCD]: <" (*temporary) = nil (*temporary) = "> " (*temporary) = "Vault of Archavon" (*temporary) = "25 Player" (*temporary) = " - ID: " (*temporary) = 27298464 (*temporary) = " - Unlocks: " (*temporary) = "1 Days 13 Hr" (*temporary) = "0:00 AM 5/4/2010" (*temporary) = "string expected, got nil" |
![]() |
![]() |
ffcloud2000 |
View Public Profile |
Send a private message to ffcloud2000 |
Find More Posts by ffcloud2000 |
Add ffcloud2000 to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
|
A Fallenroot Satyr
Forum posts: 24
File comments: 98
Uploads: 0
|
well i have the most recent version but it seems the lua is all double spaced for whatever reason
redownloaded the most update to date version from here.. but in the toc it says 006 anyways still get the error Code:
Message: ...roker_H3DungeonCooldown\Broker_H3DungeonCooldown.lua:2147: bad argument #3 to 'format' (string expected, got nil) Time: 05/03/10 08:31:27 Count: 15 Stack: [C]: in function `format' ...roker_H3DungeonCooldown\Broker_H3DungeonCooldown.lua:2147: in function `_OnEnter_func' ...er_H3DungeonCooldown\Lib\LibQTip-1.0\LibQTip-1.0.lua:971: in function <...er_H3DungeonCooldown\Lib\LibQTip-1.0\LibQTip-1.0.lua:966> Locals: (*temporary) = "%s%s%s%s (%s)%s%s%s%s (%s)" (*temporary) = "[H3DCD]: <" (*temporary) = nil (*temporary) = "> " (*temporary) = "Vault of Archavon" (*temporary) = "25 Player" (*temporary) = " - ID: " (*temporary) = 27298464 (*temporary) = " - Unlocks: " (*temporary) = "1 Days 3 Hr" (*temporary) = "0:00 AM 5/4/2010" (*temporary) = "string expected, got nil"
Last edited by ffcloud2000 : 05-03-10 at 06:31 AM.
|
![]() |
![]() |
ffcloud2000 |
View Public Profile |
Send a private message to ffcloud2000 |
Find More Posts by ffcloud2000 |
Add ffcloud2000 to Your Buddy List |
![]() |
||
|
Last edited by SuranthianH3 : 05-03-10 at 07:36 AM.
|
|
![]() |
![]() |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
|
A Fallenroot Satyr
Forum posts: 24
File comments: 98
Uploads: 0
|
thanks for the quick update.. um im not sure if im just too early in trying to update but the zip file doesn't seem to be working when i download :S
|
![]() |
![]() |
ffcloud2000 |
View Public Profile |
Send a private message to ffcloud2000 |
Find More Posts by ffcloud2000 |
Add ffcloud2000 to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
||
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
|
|
![]() |
![]() |
darni |
View Public Profile |
Send a private message to darni |
Find More Posts by darni |
Add darni to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
SuranthianH3 |
View Public Profile |
Send a private message to SuranthianH3 |
Find More Posts by SuranthianH3 |
Add SuranthianH3 to Your Buddy List |
![]() |
|
|
Your revision 010 change--BUGFIX - Added garbage collection--is not a good move at all. Addons should never be arbitrarily calling garbage collection on their own (without being prompted by a specific user action in the mod), as is being done in this revision.
For expert discussion on the matter, take a look at this thread: Garbage Collection on UI Load.... Some highlights: From Jerry (author of Talented, Grid2 and others): --"There is no reason for any addon to call this function without user input." --"An addon can not and should not call collectgarbage() because it possibly created a lot of memory that needs collection. There is no addon that is by himself important enough to force the full lua heap to be traversed just to clean up its mess." --"You should understand that garbage memory will be reclaimed by the system even if no addon ever calls collectgarbage() ever. This process is done in small steps, while executing other instructions. It's called the "incremental garbage collection cycle"" --"But the mistake that is made by all the addons (that automatically call collectgarbage() as part of their loading/execution process) is that they assume they know what the user lua heap is and that they are important enough to allow themselves to hang your computer while they do their cleanup." From Xbeeps (author of LibHealComm-3.0 & 4.0, VisualHeal & others): --"Calling collectgarbage deprives the interpreter engine from sensibly collecting the garbage incrementally and slowly in a low priority thread (i.e. it never disturbs the thread that runs the addons), and only forcible running a blocking garbage collect if it really needs to (which does disturb the thread running the addons). The memory released during garbage collection is returned to the pool used by the interpreter only, so you achieve exactly nothing by doing it, except that you always keep more memory idle than you have to, and you expend more high priority cycles collecting garbage than you have to. Addons that collect garbage usually does so because they pretend to think that they know when it is opportune to do so, and they think that if they do it at this oppertune time it will not happen later at a bad time. This way of thought is flawed, because a single addon does not know when it is a good time to spend cycles doing this, and the incremental garbage collection used by Lua is never noticable (as it was in the early days of wow, where the garbage collection was invoked as a blocking call when it ran out of addon memory)." |
![]() |
![]() |
Zidomo |
View Public Profile |
Send a private message to Zidomo |
Find More Posts by Zidomo |
Add Zidomo to Your Buddy List |
![]() |
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=satterwc%40gmail%2ecom&lc=US&item_name=Broker%20H3%20DungeonCooldowns¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
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.