Am I locked out?
Little addon which saves me quite some time with all my twinks.
What it does
Rembers which of your chars are saved to which instance.
- Every Instance that gives you a SavedInstanceID is trackable! (LFR/nhc/hc/mythic raids, mythic 5mans, etc.)
- Daily Heroic Dungeon, PVP, etc.
- 5man heroics (Option to show 5mans in the tooltip is OFF by default)
- Emissary Bounty Caches
Updates on login and every time you get the 'You are now saved to this instance'-message, a shift-click on the tooltip forces a manual update. So you don't have to log onto your chars to see if you can join that raid with one of your alts
Currently only a LDB icon:
- Right click: Brings up the configuration (change tooltip colors, profiles)
- Left click: Bring up the RaidFrame, Shift-click for manual playerupdate
- Hovering: Shows a tooltip of all instances. Green = free, Red = locked out (default colors, you can change them)
Config options:
- Standard Ace3 profile things
- Change colors of the tooltip
- Change abbreviations used for instancenames (Ailo tries to get a 'first char of every word'-type, but that is kinda hard if you have a locale which relies heavy on utf-8 chars)
I changed how the daily heroic stuff is done a bit, always call RequestLFDPlayerLockInfo() and then react in the LFG_UPDATE_RANDOM_INFO event.
Even up to r168, I've had to fall back to 2.1.3 to get a functional version. The errors I've reported in ticket 30 and 31 persist in some form.
I've done a search and replace in libsynctime that dridzt suggests below, and that hasn't helped remove issues.
Is my platform totally screwed and I am unique in this?
@Road_Block
Oh good idea
Oh btw, maybe you could commit a trivial fix for LibSyncTime-1.0?
Top comment outlines the issue.
From what I see you're probably the only addon that's embedding it, at least reverse-relationships can't find any (other).
http://www.wowace.com/addons/libsynctime-1-0/reverse-relationships/
The nil returns from GetLFGDungeonRewardCapInfo(id) is an initialization problem not related to how many heroics you have completed.
The info is just not available to the client at the moment the function is called.
A better solution is to comment out self:UpdateDailyHeroicForChar() in Ailo:UpdatePlayer() and instead queue a server request with RequestLFDPlayerLockInfo()
You already have code in place for when that returns data (LFG_UPDATE_RANDOM_INFO).
@oody
That function is a 1:1 copy of a blizzard ui function, damn. GetLFGDungeonRewardCapInfo seems a bit bitchy :/
r166: throws an error when a character gets to 0 randoms left
Ailo\Ailo-r166.lua:442: attempt to compare number with nil
i removed the > 0 part on line 442:
another error thrown for alts without item level 346
Ailo-r166.lua:775: attempt to perform arithmetic on local "specificLimit" (a nil value)
my lame hack adds a nil check and return 0 in the following function (near line 775)
I'm sure there are still some funny unhandled cases, but this fixed the errors I've seen so far.
Thanks a ton for working on this!
@oody
Just have to find out how to retrive how often it has already been done this week :o
4.1 patch makes "daily" heroics more into a weekly valor cap.
Would be nice to track the 980 Valor cap from Dungeon Finder instead of the "70 Valor" daily tracking.
http://www.wowace.com/addons/ailo/tickets/
Questions:
Fresh install, are you sure there was no savedvariables for ailo before?
Can you paste your ailo saved variables (Ailo.lua somwhere in your WTF folder) on http://paste.wowace.com/ and paste the link in a ticket or just pm it to me?
Possible fixes you can try:
1) Look at the options and the abbreviations settings, has Bastion of Twilight an empty box? Ailo uses empty strings for "don't show in tooltip", perhaps something went wrong and it truncated the name of the raid into an empty string.
2) Try reseting the DB
Hi, is it possible to really remove the 10/25 split ? With the last update you removed the row with the text stating the raid size, however the functionality remains the same and i am still getting a column for 10 and one for 25 player raid sizes which makes no sense since they are the same.
@Gergory: Ah yea, totally :D
Is it possible to remove 10/25 split ? It's same saves anyway.
1) track dailies (ex Tol Barad, Wildhammer, etc)
2) option to merge 10/25 raids since they're a shared lockout
1° error
Date: 2010-11-13 12:32:48
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Ailo\Ailo.lua line 608:
attempt to index field '?' (a number value)
Debug:
(tail call): ?
Ailo\Ailo.lua:608: SaveRaidForChar()
Ailo\Ailo.lua:640: UpdatePlayer()
Ailo\Ailo.lua:657: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[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:92: Fire()
Ace3\AceEvent-3.0\AceEvent-3.0.lua:120:
Ace3\AceEvent-3.0\AceEvent-3.0.lua:119
2° error
Date: 2010-11-13 12:32:59
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\Ailo\Ailo.lua line 518:
attempt to index local 'instanceData' (a number value)
Debug:
[C]: ?
Ailo\Ailo.lua:518: PurgeOldRaidIDs()
Ailo\Ailo.lua:328: PrepareTooltip()
Ailo\Ailo.lua:105: OnEnter()
...o\Libs\LibDBIcon-1.0\LibDBIcon-1.0\LibDBIcon-1.0.lua:76:
...o\Libs\LibDBIcon-1.0\LibDBIcon-1.0\LibDBIcon-1.0.lua:67
Or PM me your Ailo.lua in savedvariables
:|
Sorry for disturb;)
Date: 2010-11-11 10:41:53
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Ailo\Ailo.lua line 553:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
Ailo\Ailo.lua:553: TrimRaidTable()
Ailo\Ailo.lua:329: PrepareTooltip()
Ailo\Ailo.lua:105: OnEnter()
...o\Libs\LibDBIcon-1.0\LibDBIcon-1.0\LibDBIcon-1.0.lua:76:
...o\Libs\LibDBIcon-1.0\LibDBIcon-1.0\LibDBIcon-1.0.lua:67