EggTimer fills a gap I felt was missing. There are dozens of addons that deal with cooldowns and the like, but I couldn't find one that dealt at all with item durations (feel free to correct me).
So here it is: EggTimer. This Ace3 addon will detect when you receive an item that has a limited lifetime, and keep track of it for you. You'll be able to see how it's going from any of your characters too. Support for both FuBar and LibDataBroker is included.
It's very much in it's infancy as I write this, but it will create a Calendar event for you when you buy your Mysterious Egg (from the Oracles Quartermaster). I'll be adding tooltip information and a timer bar display as I progress.
v0.2-beta2 is out (fixing silly bugs in v0.2-beta). I have tooltips working with the LDB and DBIcon buttons now, but no luck with FuBar yet. At least, not with the FuBar minimap icon. Needs more testing basically. The content part of the tooltip is almost how I want it too, so FuBar support is the only thing holding me back on making a release. I should have it cracked in the next few days...
Eh, just tell your users to install Broker2FuBar if they want to live in the stone age, and don't waste your time and bloat up your addon with more libraries for no good reason.
Well, I released v0.2 today with full tooltip support for both FuBar and LDB/DBIcon. The tooltip was the last tricky challenge for me in terms of FuBar support. It'll be very easy to chop it out later when it's more appropriate.
The rest of the upcoming features are FuBar/LDB-agnostic. I've learned some valuable lessons along the way and will hopefully be bringing some LDB love to my other addon.
At this point the guts of the addon is finalised, and you guys can look forward to more items in the DB and more ways to have perishable information delivered to you. :) I don't plan to add holiday items (unless they are unique), but feel free to make item requests. For example, I think I'll be putting in that perishable quest item from Feralas soonish.
What Phanx tries to say is that for many many likely cases broker covers everything you need. People who want to have it show in fubar just need to install Broker2FuBar.
The whole point is that LDB itself is an agnostic standard that plugs into fubar if people so choose.
ROFL, good point! I'll try to push through an update over the next day or so.
Thanks heaps, Phanx. If anyone can think of anything else, please let me know. I'll probably not be adding non-unique and/or holiday items to the DB, but I might if you can convince me. :)
EDIT: The Disgusting Jar is now detected in v0.2.1, with the option of a Calendar Event just like the Mysterious Egg. LibBars display hopefully coming soon.
Poping following error when trying to click the minimap button/LDB plugin to access settings:
[20:28:18] Interface\AddOns\EggTimer\EggTimer.lua:136: attempt to call method 'ShowConfig' (a nil value)
[C]: in function `ShowConfig'
Interface\AddOns\EggTimer\EggTimer.lua:136: in function `OnClick'
...\AddOns\AutoBar\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171: in function <...\AddOns\AutoBar\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171>
Kerecha, which version of EggTimer are you using? I'm using r25 (2nd alpha since v0.2.1) and I'm not having any problems with clicking either the FuBar, LDB or DBIcon to bring up the config.
I think I know what the problem might be: using "self:ShowConfig()" instead of "EggTimer:ShowConfig()". If r25 still gives you no joy, try doing this replacement (used exactly twice) and please let me know how it goes. I'm going to want to squash this before making the next release.
[18:22:04] Interface\AddOns\EggTimer\EggTimer.lua:136: attempt to call method 'ShowConfig' (a nil value)
[C]: in function `ShowConfig'
Interface\AddOns\EggTimer\EggTimer.lua:136: in function `OnClick'
...\AddOns\AutoBar\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171: in function <...\AddOns\AutoBar\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171>
Having this issue with R27 as well:
Date: 2009-01-17 16:52:24
ID: 58
Error occured in: Global
Count: 1
Message: ..\AddOns\EggTimer\EggTimer.lua line 136:
attempt to call method 'ShowConfig' (a nil value)
Debug:
[C]: ShowConfig()
EggTimer\EggTimer.lua:136: OnClick()
...dOns\Bartender4\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171:
...dOns\Bartender4\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171
Okay, I have no idea what has totally upset EggTimer. :(
Was v0.2 working fine? What is the latest version that doesn't complain?
0.2 Had much of the same issues. I hadn't tried anything before that. Hope these problems get resolved, this really does look like a useful addon. :confused:
Have you tried installing some the embedded libraries separately, like Ace3 or anything?
I have no idea why this is working perfectly on my system. I'm using Button Bin as my display addon. Are you guys using a LDB displayer addon (Fortress, ButtonBin, DockingStation)? Or FuBar?
Same here, using FuBar and Broker2FuBar. Errors with r27:
Date: 2009-01-18 13:36:45 ID: 14 Error occured in: Global Count: 1 Message: ..\AddOns\EggTimer\EggTimer.lua line 136:
attempt to call method 'ShowConfig' (a nil value)
Debug:
[C]: ShowConfig()
EggTimer\EggTimer.lua:136: OnClick()
Broker2FuBar\pluginPrototype.lua:51: OnFuBarClick()
...FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1342:
...FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1338
FuBar\FuBar.lua:1201:
FuBar\FuBar.lua:1199
AddOns:
Date: 2009-01-18 13:33:43 ID: 8 Error occured in: Global Count: 1 Message: ..\AddOns\EggTimer\EggTimer.lua line 492:
attempt to index global 'AceGUIWidgetLSMlists' (a nil value)
Debug:
[C]: ?
EggTimer\EggTimer.lua:492: in main chunk
AddOns:
Okay, so it turns out I wasn't fetching LibSharedMedia-3.0 properly, wasn't loading AceGUI-3.0-SharedMediaWidgets properly, and had them loading in the wrong order. /sigh
Anyhow, check out r28 please, and let me know how it all goes. The reason I didn't have any problems here was that Omen3 and a bunch of other addons I have installed always did the above properly.
Fingers crossed this solves all reported issues.
EDIT: Thank you all very much for your bug reports and your patience. /hug
Bar/tooltip has no settings at all, just blank pages.
Checked calendar events, but nothing happends. (supposed to make a event in calendar, right?)
Is the LDB display supposed to show a timer? it only says EggTimer:
Ditto, except that I use Fubar and it just says "EggTimer". Doesn't look like its working :(
(By the way, why does the mouseover to 'Enable Announcement' say "Print a message to the screen when you accumulate too much threat?")
So here it is: EggTimer. This Ace3 addon will detect when you receive an item that has a limited lifetime, and keep track of it for you. You'll be able to see how it's going from any of your characters too. Support for both FuBar and LibDataBroker is included.
It's very much in it's infancy as I write this, but it will create a Calendar event for you when you buy your Mysterious Egg (from the Oracles Quartermaster). I'll be adding tooltip information and a timer bar display as I progress.
The rest of the upcoming features are FuBar/LDB-agnostic. I've learned some valuable lessons along the way and will hopefully be bringing some LDB love to my other addon.
At this point the guts of the addon is finalised, and you guys can look forward to more items in the DB and more ways to have perishable information delivered to you. :) I don't plan to add holiday items (unless they are unique), but feel free to make item requests. For example, I think I'll be putting in that perishable quest item from Feralas soonish.
The whole point is that LDB itself is an agnostic standard that plugs into fubar if people so choose.
Thanks heaps, Phanx. If anyone can think of anything else, please let me know. I'll probably not be adding non-unique and/or holiday items to the DB, but I might if you can convince me. :)
EDIT: The Disgusting Jar is now detected in v0.2.1, with the option of a Calendar Event just like the Mysterious Egg. LibBars display hopefully coming soon.
I think I know what the problem might be: using "self:ShowConfig()" instead of "EggTimer:ShowConfig()". If r25 still gives you no joy, try doing this replacement (used exactly twice) and please let me know how it goes. I'm going to want to squash this before making the next release.
Thanks, Kerecha!
Date: 2009-01-17 16:52:24
ID: 58
Error occured in: Global
Count: 1
Message: ..\AddOns\EggTimer\EggTimer.lua line 136:
attempt to call method 'ShowConfig' (a nil value)
Debug:
[C]: ShowConfig()
EggTimer\EggTimer.lua:136: OnClick()
...dOns\Bartender4\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171:
...dOns\Bartender4\libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:171
and
Date: 2009-01-17 16:44:39
ID: 59
Error occured in: Global
Count: 1
Message: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua line 1719:
EggTimer isn't registed with AceConfigRegistry, unable to open config
Debug:
(tail call): ?
[C]: ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1652: Open()
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1719:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1717
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
Ace3\AceGUI-3.0\AceGUI-3.0.lua:264: Fire()
...AceGUI-3.0\widgets\AceGUIWidget-BlizOptionsGroup.lua:67:
...AceGUI-3.0\widgets\AceGUIWidget-BlizOptionsGroup.lua:66
[C]: Show()
..\FrameXML\UIOptionsFrame.lua:28: InterfaceOptionsList_DisplayPanel()
..\FrameXML\UIOptionsFrame.lua:46: InterfaceOptionsListButton_OnClick()
[string "*:OnClick"]:2:
[string "*:OnClick"]:1
and
Date: 2009-01-17 17:03:22
ID: 57
Error occured in: Global
Count: 1
Message: ..\AddOns\EggTimer\EggTimer.lua line 173:
attempt to index field 'optionsFrames' (a nil value)
Debug:
(tail call): ?
EggTimer\EggTimer.lua:173: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146:
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
Ace3\AceEvent-3.0\AceEvent-3.0.lua:70:
Ace3\AceEvent-3.0\AceEvent-3.0.lua:69
Was v0.2 working fine? What is the latest version that doesn't complain?
0.2 Had much of the same issues. I hadn't tried anything before that. Hope these problems get resolved, this really does look like a useful addon. :confused:
Have you tried installing some the embedded libraries separately, like Ace3 or anything?
I have no idea why this is working perfectly on my system. I'm using Button Bin as my display addon. Are you guys using a LDB displayer addon (Fortress, ButtonBin, DockingStation)? Or FuBar?
Date: 2009-01-18 13:36:45 ID: 14 Error occured in: Global Count: 1 Message: ..\AddOns\EggTimer\EggTimer.lua line 136:
attempt to call method 'ShowConfig' (a nil value)
Debug:
[C]: ShowConfig()
EggTimer\EggTimer.lua:136: OnClick()
Broker2FuBar\pluginPrototype.lua:51: OnFuBarClick()
...FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1342:
...FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1338
FuBar\FuBar.lua:1201:
FuBar\FuBar.lua:1199
AddOns:
Date: 2009-01-18 13:33:43 ID: 8 Error occured in: Global Count: 1 Message: ..\AddOns\EggTimer\EggTimer.lua line 492:
attempt to index global 'AceGUIWidgetLSMlists' (a nil value)
Debug:
[C]: ?
EggTimer\EggTimer.lua:492: in main chunk
AddOns:
Date: 2009-01-18 13:33:43 ID: 9 Error occured in: Global Count: 1 Message: ..\AddOns\EggTimer\EggTimer.lua line 107:
attempt to call method 'SetupOptions' (a nil value)
Debug:
(tail call): ?
EggTimer\EggTimer.lua:107:
EggTimer\EggTimer.lua:101
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
Ace3\AceAddon-3.0\AceAddon-3.0.lua:341: InitializeAddon()
Ace3\AceAddon-3.0\AceAddon-3.0.lua:429:
Ace3\AceAddon-3.0\AceAddon-3.0.lua:422
AddOns:
Date: 2009-01-18 13:35:06 ID: 13 Error occured in: Global Count: 1 Message: ..\AddOns\EggTimer\EggTimer.lua line 173:
attempt to index field 'optionsFrames' (a nil value)
Debug:
(tail call): ?
EggTimer\EggTimer.lua:173: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146:
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
Ace3\AceEvent-3.0\AceEvent-3.0.lua:73:
Ace3\AceEvent-3.0\AceEvent-3.0.lua:72
AddOns:
Anyhow, check out r28 please, and let me know how it all goes. The reason I didn't have any problems here was that Omen3 and a bunch of other addons I have installed always did the above properly.
Fingers crossed this solves all reported issues.
EDIT: Thank you all very much for your bug reports and your patience. /hug
But it don't seem to do anything at all.
I set alerts (can't tell if they work yet)
Bar/tooltip has no settings at all, just blank pages.
Checked calendar events, but nothing happends. (supposed to make a event in calendar, right?)
Is the LDB display supposed to show a timer? it only says EggTimer:
Ditto, except that I use Fubar and it just says "EggTimer". Doesn't look like its working :(
(By the way, why does the mouseover to 'Enable Announcement' say "Print a message to the screen when you accumulate too much threat?")