Find a bug? Do not post it in the comments section! See the "Reporting Problems" section below for information on how to correctly report bugs. I will no longer be responding to bugs posted in the comments section.
Description
AnkhUp is a Reincarnation cooldown monitor and ankh helper for shamans.
If you are updating from an older version, make sure you delete all "AnkhCooldownTimer" folders from your AddOns folder before installing the new version!
Features
Always-visible Reincarnation cooldown timer
Alerts you when Reincarnation becomes ready
Remembers when you last used Reincarnation
Reminds you when you need to buy more ankhs
Automatically buys ankhs when interacting with a reagent vendor
Integrated DataBroker plugin is compatible with many popular display addons, including TitanPanel and FuBar*
* Note that in order to use AnkhUp or any other DataBroker plugin with FuBar, you will need to download and install Broker2FuBar separately.
Usage
Options are available in the standard Interface Options window. You can type "/ankhup" to jump directly to the AnkhUp panel.
Left-click and drag the monitor window to move it around.
Right-click the monitor window or DataBroker plugin to open the options panel.
Localization
AnkhUp is currently compatible with all locales.
AnkhUp is currently translated into English (enUS) and French (frFR). If you are willing to help with translations for another language, please contact me!
Requesting Features
If you've got an idea for something you'd like to see added or changed in AnkhUp, feel free to submit a feature request. Before submitting a feature request, check to make sure that the feature you want isn't already available in the options, and that a request for that feature hasn't already been submitted by someone else.
Also, keep in mind that AnkhUp is intentionally limited in scope to locally monitoring your own Reincarnation ability. Requests for features outside this scope, such as announcing your Reincarnation cooldown, will be declined.
whether your character has learned the Reincarnation ability,
what locale (language) you play WoW in.
Most importantly, remember to check on your ticket after a few days, as I may need more information to solve the problem!
Credits
AnkhUp was inspired by the Ankh Cooldown Timer addon, which was originally written by Starforce of Shattered Hand (EU).
License
Please do not include AnkhUp in compilations without asking me first. See my portal or the README included in the addon's folder for the full license terms under which AnkhUp is released. Thanks!
Change Log - AnkhUp
3.2.0.24-beta
Added library references back to TOC (oops)
3.2.0.23-beta
Added support for Glyph of Renewed Life to hide ankh information
Added support for localizing the date format used by the "Last Reincarnation" display
Fixed leaked global variable "db"
You should delete your old AnkhUp folder before installing this update. Some files were removed or renamed.
3.1.1.17-beta
Fixed packaging issues
3.1.1.14-beta
Fixed Reincarnation detection for shamans with Glyph of Renewed Life
Fixed various minor bugs
Removed "/aup" slash command
3.1.0.0-beta
This is a full rewrite of Ankh Cooldown Timer. It is more efficient, more flexible, more featureful, and more user-friendly.
Configuration is no longer available via the command line, but instead is available in the standard Interface Options panel.
A DataBroker plugin is now integrated into the addon. It's compatible with Titan Panel, FuBar (with Broker2FuBar), and all DataBroker displays.
An alert when Reincarnation becomes ready has been added.
Added support for Glyph of Renewed Life to hide ankh information
Added support for localizing the date format used by the "Last Reincarnation" display
Fixed leaked global variable "db"
You should delete your old AnkhUp folder before installing this update. Some files were removed or renamed.
I'm still looking for translators for German, Spanish, Latin American Spanish, Korean, Russian, Simplified Chinese, and Traditional Chinese. If you play in one of these clients and are willing to spend a few minutes providing translations, please send me a PM!
For the record, I found Mapster (and possibly WIM by looking at the code, but it doesn't seem to cause a conflict) to be the addon leaking a global db. I've reported it.
__________________
Grab your sword and fight the Horde!
Originally posted by Phanx I actually had something similar happen the other night, so I took the opportunity to do the overhaul I've been meaning to do for a while. I'll have a release posted in the next few days. In addition to (hopefully) not being able to bug out like that, it's also much simpler internally, meaning it will be smaller and faster.
In the meantime, you should be able to force the current version to update by completely logging out, then logging in, and then reloading your UI.
Awesome! Can't wait for the update and thanks for the temporary workaround!
I actually had something similar happen the other night, so I took the opportunity to do the overhaul I've been meaning to do for a while. I'll have a release posted in the next few days. In addition to (hopefully) not being able to bug out like that, it's also much simpler internally, meaning it will be smaller and faster.
In the meantime, you should be able to force the current version to update by completely logging out, then logging in, and then reloading your UI.
I've been using AnkhUp for a couple of weeks now and have noticed some strange behavior. I thought maybe you could shed some light on it. I'm using version 3.1.1.17.
1. AnkhUp never seems to show accurate information when my ankh ability is available. For example, after having not logged in for a day or so, AnkhUp will show a countdown timer as if my ankh ability is not available even though I haven't used it. Checking the restoration tab in my spellbook accurately shows that my ability is ready.
2. Occasionally after zoning, AnkhUp will report a countdown timer as if I have just reincarnated, even though I have not. Checking the restoration tab in my spellbook accurately shows that my ability is ready.
3. Upon using my reincarnate ability, AnkhUp will show that my ability is now ready, even though it is not. The countdown timer never starts. Checking my restoration tab in my spellbook will accurately show how much time is left.
4. Upon using my reincarnate ability, AnkhUp will never show the date of last reincarnation. This field is always blank.
More detailed BugSack/BugGrabber version of an attempt to compare number with nil error received here on a level 26 Shaman rarely played. v3.1.1.17-beta, updated standalone libs, USEng client/server, don't use/have installed Wardrobe-AL. Repeats a couple times during the session (Reincarnation isn't learned until level 30):
["message"] = "Interface\\FrameXML\\UIParent.lua:2253: attempt to compare number with nil:\nAnkhUp-3.1.1.17-beta\\Broker.lua:76: in function `OnTooltipShow'\nStatBlockCore-2.6\\StatBlockCore.lua:610: in function <Interface\\AddOns\\StatBlockCore\\StatBlockCore.lua:602>\n\n ---",
["type"] = "error",
["time"] = "2009/06/18 08:41:17",
["session"] = 464,
["counter"] = 3,
Yeah, that's why I asked you to do the tests without AnkhUp enabled; we already know it's leaking a global "db" upvalue. It only causes an error when more than one addon is doing the same thing; in your case, Wardrobe's global "db" was overwriting AnkhUp's, so when AnkhUp tried to look up a setting, it was looking at Wardrobe's settings and not finding what it wanted.
I've been busy and haven't had time to finish the other stuff I'm working on in AnkhUp... I do have days off coming up this week though, so it won't be too much longer.
Found Wardrobe-AL to be the leak.
I removed it from my addons because it doesn't work properly anyway.
Then removed AnkUp directory's, removed WTF .lua and reďnstalled it.
Result: I have the same error: (the first error is line 248, then 295.)
-> the error occures at startup
run you're script: nothing shows in chat.
repute "local db" on line 43 - /rl - no more error and AnkhUp works.
(i'm using Dreamweaver to edit core.lua)
rerun you're script: nothing shows in chat.
imho: either it has to be there, because you use "db" in the addon or it's being initialised in one of the libs but that lib isn't loaded in AnhkUp.
------
secondairy problem: when scaling AnkhUp and try to move it, placing it on a certain spot x,y puts it to the right and up of that spot.
======
I'm only using enchantrix. it doesn't need Auctioneer to work, only needs Stubby. i removed beancounter
Well, it's not any of these: Atlas*, AtlasLoot*, BankItems, BigWigs*, GatherMate*, GemHelper, HandyNotes*, Omen, RatingBuster, or Recount. I have all of those, and no leaked global "db". (Asterisks mean "this addon and all of its plugins/modules.")
It's also not something that doesn't use Ace3, which rules out AlphaMap, BeanCounter, CT_*, Chronos, CurseProfiler, DBM-*, Earth, eCastingBar, Enchantrix*, FeatureFrame, Fire, FireTree, FluidFrames, GroupCalendar, Gymnast, Khaos, MobInfo2, Monkey*, QuestHelper, Satellite, Sea, and Stubby. (BTW, BeanCounter, Enchantrix*, and Stubby are parts of the Auctioneer suite, which you don't appear to have anymore, so you should just be able to delete them.)
As for the rest, rather than enable them all one by one, you can do a "binary search" to speed things up -- log in with half (say, everything that starts with A-G) enabled. If there's no global "db", log out, disable those, enable the other half. Once you've found the half with the problem, disable half of those, and continue until you're down to a single addon. I'd recommend going somewhere quiet (i.e. not Dalaran) to do this; it shouldn't take more than 5 minutes.
Well, it's some Ace3 addon... if you really want to find out which one (and report the problem to its author so they can fix it too) you'd have to disable all of your addons, and enable them one at a time, and run the script after each one. As soon as you don't get "Doesn't exist!" then the last addon you enabled is also leaking its "db" upvalue as a global variable.
If you know which addons you have that use Ace3, you can narrow it down by skipping over those that don't. If you're not sure, and have a lot of addons, post a list and I'll help you figure out which ones it might be (I can also tell you definitively which ones it's not if they're ones I use).
Well, db being a global is a problem, but it shouldn't cause the problem you're having unless some other addon is also doing the same thing. Can you log in without AnkhUp enabled and type:
PHP Code:
/run if not db then print("Doesn't exist!") elseif not type(db) == "table" then print("Not a table! " .. tostring(db)) else for k, v in pairs(db) do print(tostring(k) .. " = " .. tostring(v)) end end
This should provide some clue as to which other addon is also leaking its db as a global, and I'll upload a fix for AnkhUp later tonight. I've got a few other things I'm tweaking that I'm not quite satisfied with yet.