Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 MB)
Download
Updated: 08-17-15 10:56 AM
Pictures
File Info
Compatibility:
Fury of Hellfire (6.2)
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:08-17-15 10:56 AM
Created:unknown
Downloads:235,774
Favorites:1,961
MD5:
Categories:Bags, Bank, Inventory, Character Advancement, Mail, TradeSkill Mods
6.2

Altoholic  Popular! (More than 5000 hits)

Version: 6.2.006
by: Thaoky [More]

Hi, my name is Thaoky, and I'm an Altoholic

Altoholic is an Ace 3 addon written for people who dedicate most of their time to leveling alts, and who want to have as much information as possible in one addon. The main feature of the addon is the search functionality which allows users to search their alts' bags or loot tables in an Auction-House-like frame (see screenshots). All this with multiple-realms/accounts support.

Paypal donations accepted at : thaoky.altoholic@yahoo.com



About the addon & the author

I've been playing WoW since the European release, and I used to rely on addons like character viewer to check my alts' inventory, but since it was more or less abandoned and not always stable for me, I decided to write an addon myself and to improve the search feature as much as I could. I hope you'll enjoy it as much as I do

The addon has been in development since December 2007 and was officially released in late March 2008. It's still not final, and although it has considerably evolved since the initial release, there are still a lot of things I haven't had time to implement yet.
Please note that this is my first addon, and that English is not my native language.

Features:

- Languages supported: enUS, frFR, deDE, esES, ruRU, zhCN & zhTW.

- Account-wide data summary:

  • Characters' talents: Full talent trees & glyphs are supported for both specializations.
  • Money, /played, rest xp for each character, subtotals by realm, and grandtotals for the account.
  • Bag usage: see at a glance which characters should get bigger bags (bag size, free slots and types included)
  • Characters' skills: skill summary on one screen, namely the 2 main professions + the 3 secondary skills as well as riding. I may add more if there's demand. Profession cooldowns included.
  • Reputations: a list of all the reputations of the current realm's characters. You can see at a glance if all your alts are at least honored with Honor Hold if you want to get the new 2.4 blue PVP set. Suggestions on how to gring reputations will be available soon.

- View containers (bags, bank, keyring) of all alts, on all realms.

- Guild banks : You have 10 alts in 10 different guilds on the same server, all of them with access to a guild bank ? Not a problem, you can see them all here.

- E-mail: allows you to see which alts have mail without having to reconnect them. The addon will tell you when mail is about to expire on a character. Threshold configurable (up to 15 days). Multiple realm support as well. Mails sent to a known alt (one you've logged on at least once) will be visible in the addon without having to reconnect it.

- Equipment: See the equipment of the current realm's alts in one screen. Very useful when purchasing stuff for your alts at the AH. Multiple realms supported. Right-clicking any equipment piece will allow you to find an upgrade, this feature is similar to the official wow armory feature, and is quite performant, even though it doesn't match the accuracy of the official one.

- Search: the most important feature of the addon, it uses an AH-like frame to display search results. You can either search bags on the current realm, on all realms, or a loot table.
The loot table is a table based on AtlasLoot, but which contains only item id's, and therefore keeps memory usage minimal.

The Search menu allows you to find items based on their name (even partial), level, type or rarity, almost like at the AH. It is also possible to search known recipes.

- Quest Log: See the quest logs of all your alts, as well as an indication of which alts are on a specific quest. Clicking on a quest link in the chat log will tell you which alts are on that quest.

- Suggestions: Currently, only profession leveling suggestions are available when mousing over your current level in a specific profession. Suggestions are based on the leveling guides posted on the official US forums (credit goes to their respective authors). The addon also suggests you where to quest/grind xp depending on your character level.

Suggestions were also added for the most recent factions. More to come later.

- Auction house: You can see which auctions/bids you've placed with an alt without being logged in or being at the AH.

- Professions: You can browse all known recipes in a thotbot like frame (see screenshot).

- Mounts & Pets of all your alts.

- Achievements are tracked for all you alts (see screenshot).

- Guild Members: a list of your connected guildmates, along with their alts (if they're using Altoholic too), and their average item level. Clicking their AiL will also allow you to "remotely" inspect their equipment.

- Guild Skills: a list of altoholic users in your guild, along with their alts and direct profession links. All professions are available in one click.

- Guild Bank tabs: a list of altoholic users and the time at which they last visited the guild bank. If you haven't visited the guild bank for a few days, you can remotely update your local data without going to a capital city.

FAQ

The FAQ has been moved here : http://www.wowinterface.com/portal.php?id=372&a=faq


Credits

- I'd like to thank my guild, Odysseüs on EU-Marécages de Zangar, for assisting me since the earliest phases, thanks guys for everything you've done
- Thanks to the wowace community, you've been very helpful and this addon would not be there without the technical answers you gave me (especially Xinhuan, author of BankItems)
- Thanks to all the guys who are behind AtlasLoot, keeping the loot table up-to-date is a tremendous work, and the search functionality of Altoholic would not be what it is without your hard work.
- Thanks to Ayindi (wowace) & sLiz3r (curse) for the German translation.
- Thanks to NightOwl (wowace) for the zhTW translation.
- Thanks to Wang (wowace) for the zhCN translation.
- Thanks to Hellbot for the ruRU translation.
- Thanks to Laumac for the frFR translation.
- Thanks to IrregularByte for the esES translation.
- Brykrys for the LinkWrangler support.

Join the #altoholic IRC channel on Freenode : irc://irc.freenode.net:6667/

IMPORTANT NOTE: As with every new expansion, many things have changed in the API, and it is REQUIRED to clear your Saved Variables for the addon.
This means cleaning the following files in \WTF\Account\<your_account>\SavedVariables : Altoholic.lua & All DataStore*.lua

There WILL be bugs if you use your old files without cleaning them first.
Some fixes to work around API changes are too time consuming, so cleaning is required. A meager price to pay once per expansion.

6.2.006 (17/08/2015)

Imported all changes made in the unofficial releases made during my absence.
Many thanks to those who took it upon themselves to provide fixes for all those issues.
To prevent confusing users, I will resume the version number based on Zwixx numbering, so if you used a version up to 6.2.005, you have to upgrade to this version.
Some fixes made by me before the release I was supposed to make after 6.2 are also included, so make sure to upgrade.

- DataStore_Reputations: added 6.2 factions. (Thanks Zwixx)
- DataStore_Inventory: added LFR loots. (Thanks Zwixx)
- DataStore_Garrisons: Fixed a Lua error when scanning followers. (Thanks Zwixx)
- Fixed tooltip related issues. (Thanks Zwixx)

- DataStore_Achievements: Fixed an issue where an earned achievement was not immediately saved to the DB, and was only read at next login.
- Fixed a silly bug that prevented you from searching professions.
- Account Summary -> Clicking on the level of any character toggles the display of decimals. This option is remembered across sessions.
- Account Summary -> Clicking on the AiL of any character toggles the display of decimals. This option is remembered across sessions.
- Created some extra templates to simplify the code (more on the way.. this happens bit by bit)

6.1.006 (08/05/2015)

- Updated list of archaeology projects with WoD projects. I apparently messed up and lost the file that contained the update in 6.1.001, it's now ok.
- Moved several UI templates to their own folder.
- Completely rewrote the Blizzard's DropDownMenu widget to use my own version.
I was tired of some of the constraints of their implementation, and of the loss of time it caused me every time I wanted to use one.
So I invested some time in making it my way.
- Account Summary -> The amount of uncollected garrison resources now appears in yellow when resources exceed 300, and in red when they exceed 450.
- Account Summary -> Added icons with drop-down menus to filter your list of alts by faction, level, profession and class.
- Account Summary -> Fixed the expand/collapse button that did not work anymore after the complete rewrite of the pane.
- Achievements lists updated ! (Thanks Bluemage29 for your help !!)
- Fixed a Lua error when viewing the Guild tab with an character not in a guild.


6.1.005 (20/04/2015)

- The garrison mission tooltip now shows a red exclamation mark '!' when no missions are active.
- In the account summary, the last column used to sort the view is now remembered, and is restored when you log in again.
- Character's tab: fixed a lua error when mousing over the professions' icon of a character that does not have 2 professions.
- Account Summary: modified the garrison followers pane to show followers at iLvl 675 and a column for their weapon/armor iLvl.


6.1.004 (11/04/2015)

- Fixed sorting the account summary by "Last Online" where the order was sometimes incorrect.
- Added an option to show the tooltip counters without details (no 'equipped', 'bank', ..). Disabled by default.
- No longer wiping the list of followers before scanning them.
- Added a tooltip to the garrison resources in the account summary, it now shows when resources were last collected, and when you will reach the maximum of uncollected resources.
- Fixed incorrect tooltip after multiple searches in the search tab.
- DataStore_Garrisons: Some clean-up to properly report active missions.
- The garrison mission tooltip that shows a '*' when missions are complete now shows it in red if all active missions are complete.

6.1.003 (07/04/2015)

REMINDER: If you are looking for a free Heroes of the Storm Beta key for the European Region, you should check the comments section on Curse & WoW Inteface.. I still have a few keys to give away.

- Fixed a few lua errors in the account summary tab.
- Added Draenor LFR dungeons to the Grids->Dungeon Finder pane.

6.1.002 (06/04/2015)

- Updated scanning of currencies (honor points), total no longer needs to be divided by 100 since 6.1.
- Updated the garrison followers pane in the account summary to show followers with an iLvl greater than 660.
- DataStore Characters: updated GetRestXPRate() to account for Pandaren extra rest xp.
- Fixed Auction House scanning, and cleaning of expired auctions.
- The summary tab has been fully rewritten so that all 6 panes use the same frames.
This will make the addition of future content much easier.
Some new features here and there while I was at it (quality of life improvements mostly), I'll let you discover them :)
This is an update I wanted to do for a long time, and there are more things planned (more filters).. the other tabs will get an update too.


6.1.001 (25/02/2015)

- Added support for Garrison missions ! Warnings are not in yet, but available and active missions are now visible in the characters' tab.
Note: Active missions can only be correctly tracked if the mission is started with this version of Altoholic, so currently active missions will be visible, but their expiration will not. Sorry, this info is not provided by the game, I have to "manually" keep track of it.
- Fixed the spam of mail expiry warnings, this time for good (hopefully ! feedback appreciated on this one!).
- Now refreshing the follower's pane immediately when the followers' list is updated.
- Updated list of followers not recruited at the inn.
- Updated list of archaeology projects with WoD projects.
- Cleaned up the .pkgmeta of DataStore modules, my sources tell me this should prevent some problems with the Curse Client :) (Thanks Myrroddin !)
- Removed "already known/could be learned by" information from tooltips for companions, as they have been account-wide for a while.
- More code cleanup.

Note: I made several attempts at fixing the double guild bank counters in the tooltip, thanks to all of you who sent me their SV files, the issue is now clear.
Nevertheless, a complete perfect fix is not yet possible, as Blizzard does not provide the real/full realm name to which the guild actually belongs.
The best I can get in my case is "MarécagedeZangar" when I actually expect "Marécage de Zangar", and that value is nowhere to be found in the API.
Long story short, I have to come up with a way to work around this that does not force you guys to respect weird conditions to make it work..


6.0.004 (09/01/2015)

A massive code cleanup was performed, it should be mostly transparent for all of you, but code maintenance will be greatly improved for me.
I also simplified a lot of XML frames with new conventions that Blizzard had activated certainly a while ago, but that I never had time to change.
It's not finished, but it's a step in the right direction :)

- Many options were not saved correctly, this has been fixed, as a result, these options have been reset (tooltip options, etc..)
This options bug had, among others, impact on the account sharing feature that couldn't be launched anymore, Thanks Elfana for helping me on this !
- DataStore_Garrisons: Fixed scanning collection of garrison cache resources. It could occasionally be wrongly reset when getting resources from other sources.
- DataStore_Garrisons: Followers are now stored based on their id's, instead of their names. You will have to check your missions' table again with your alts to update follower information.
- DataStore_Garrisons: added a slider to configure when the reporting for uncollected resources should happen (350 -> 475)
- Grids -> Garrison Followers: added a drop down list to filter followers on whether they are collected, not collected, and if they were recruited at the inn or not.
- Garrison blueprints now appear in red if already known, I applied the same rule as for BOP recipes from Garrison trainers, thus any BOP item with "Already known" will appear red in a merchant frame.
- DataStore_Agenda: fixed another Lua error at logon introduced with previous fix. (Thanks again SpareSimian!)
- DataStore_Mails: added an option to report mails about to expire to the chat frame, in addition to the already existing dialog box. This will allow you to see on which alt the mail can be found. Please keep me informed if you detect real bugs thanks to this.


6.0.003 (27/12/2014)

- DataStore_Garrisons: fixed a bug where saved buildings are deleted from the DB.
- Added tracking of uncollected garrison resources. They can be seen in the currency pane of the account summary.
- Added a warning when uncollected garrison resources are >400 on a given alt. There is an option to disable this warning if you want to.
- Added Garrison-related achievements, now listed in a proper way in the achievements' tab.
- Checked recipes that kept appearing in green at garrison trainers.. there was no bug actually, recipes stayed green because they could be learned by other alts.
What I did instead is to check if a recipe is BOP. If it is BOP, and already known, it will appear in red.
- Removed mounts from the addon, as they have been account-wide for a while now. The icon is still there as a placeholder in the grids tab though.
- DataStore_Pets: removed all mount-related functions and data tables.
- DataStore_Mails: fixed a bug where the addon kept complaining about old mails about to expire. This one is long overdue, thanks to Wispor and Elfana for helping me on this one !
- Fixed "Player not found" message. (Bug 779 / Thanks Phinar !)
- DataStore_Achievements: fixed an error caused by achievements with invalid id (as returned by the game's API). (Bug 792 / Thanks SpareSimian)
- DataStore_Agenda: fixed a Lua error at logon. (Bug 792 also / Thanks SpareSimian)

6.0.002 (24/12/2014)

Seven Year Anniversary Edition.

Today is the seventh birthday of Altoholic, and I wanted to take a moment to thank the community for its patience and support.
2013 was a difficult year on a personal level, and 2014 was extremely busy at work.
As you have all seen, the amount and the pace of releases was not the best in these last 2 years, nevertheless, I remain committed to keep the addon alive, even if it will sometimes be on a "best effort" basis.

I had originally planned to make a release a bit earlier, but life came in the way, and truth be told, it's not a bad thing that the release happens today, as the last time I actually made a release close to the addon's birthday was for the 2-year anniversary.

To celebrate this wonderful day, I am releasing the first garrison-related features, it's not much, but it's a step in the right direction. I hope you'll enjoy it.

I will be peacefully resting at home for the next 2-3 weeks with some spare time on my hands though, and I intend to work on garrison missions + resources, and also on several fixes that are long overdue.

Enough said.. let me finish by wishing you all the best for 2015, for you and your families, and of course for all your alts :)

.. on to the changelog !

- New DataStore module : DataStore_Garrisons !
Note: You have to visit the missions table to scan followers, it doesn't work otherwise.
- Grids tab: added a pane for Garrison followers.
- Grids tab: added a pane for Garrison buildings.
- DataStore_Containers: now scanning the reagent bank at logon.
- Account Summary : updated the "currency" pane to remove valor and justice tokens, and replace them with garrison resources, apexis crystals, and seals of tempered fate.
- Account Summary : added a pane for Garrison followers.
- Fixed a Lua error when talking to an enchanting follower in the garrison.
- Fixed professions not being scanned entirely since 6.0 (Thanks Myrrodin & CKaotic), I did revert the part about followers though, to use IsNPCCrafting() instead.
- A lot of minor fixes.

Notes:
- Garrison missions/resource tracking are coming, no need to ask, it's high on the priority list :)
- I have a few weeks off, so I'll have time to work on the add-on, there will be releases in the coming 2-3 weeks, with several bug fixes (hell, the list has grown quite long..)


6.0.001 (17/10/2014)

- Added a pane in the Grids tab to track LFR lockouts across alts.
- Added support for the new void storage tab + reagent bank.
- Updated achievement lists.
- Updated tradeskills data (Grids tab)
- Fixed WoD related issues.
- DataStore_Reputations: fixed WoD compatibility.
- DataStore_Reputations: LibBabble-Factions is back.
Note : seriously Blizzard why on earth is GetFactionInfoByID no longer returning data for the opposite faction's reputations?
- DataStore_Talents: talents & glyph scanning is temporarily fully disabled. UI is still missing too, sorry about that.
- DataStore_Quests: fixed WoD compatibility.
- DataStore_Containers: Added support for the new void storage tab.
- DataStore_Containers: Added support for the new reagent bank.
- LibCraftInfo: updated for WoD.
- LibCraftLevels: updated for WoD.
- LibCraftReagent: updated for WoD.
- Currencies pane: removed unrequired tooltip.


Older patch notes : see changelog.txt
Archived Files (51)
File Name
Version
Size
Author
Date
6.1.006
2MB
Thaoky
05-08-15 10:51 AM
6.1.005
2MB
Thaoky
04-20-15 02:45 AM
6.1.004
2MB
Thaoky
04-11-15 11:42 AM
6.1.003
2MB
Thaoky
04-07-15 11:23 AM
6.1.002
2MB
Thaoky
04-06-15 10:02 AM
6.1.001
2MB
Thaoky
02-25-15 01:35 PM
6.0.004
2MB
Thaoky
01-09-15 11:42 AM
6.0.003
2MB
Thaoky
12-27-14 07:55 AM
6.0.002
2MB
Thaoky
12-24-14 09:16 AM
6.0.001
1MB
Thaoky
10-17-14 11:25 AM
5.4.009
1MB
Thaoky
08-08-14 09:23 AM
5.4.008
1MB
Thaoky
07-27-14 07:36 AM
5.4.007
1MB
Thaoky
07-24-14 10:32 AM
5.4.006
1MB
Thaoky
07-22-14 07:40 AM
5.4.004
1MB
Thaoky
10-07-13 10:09 AM
5.4.003
1MB
Thaoky
10-06-13 01:37 AM
5.4.002
1MB
Thaoky
09-17-13 10:26 AM
5.4.001
1MB
Thaoky
09-11-13 09:46 AM
5.3.003
2MB
Thaoky
08-01-13 07:10 AM
5.3.002
1MB
Thaoky
05-29-13 12:28 PM
5.3.001
1MB
Thaoky
05-28-13 11:29 AM
5.2.001
1MB
Thaoky
03-12-13 04:02 AM
5.1.002
1MB
Thaoky
02-24-13 06:19 AM
5.1.001
1MB
Thaoky
11-29-12 11:00 AM
5.0.003
1MB
Thaoky
11-28-12 12:14 PM
5.0.002
1MB
Thaoky
10-06-12 04:56 AM
5.0.001d
1MB
Thaoky
09-13-12 12:08 PM
5.0.001c
1MB
Thaoky
09-03-12 10:59 AM
5.0.001b
1MB
Thaoky
09-02-12 11:38 AM
5.0.001
1MB
Thaoky
09-02-12 05:27 AM
4.3.003b
1MB
Thaoky
05-05-12 03:43 AM
4.3.003
1MB
Thaoky
05-04-12 08:51 AM
4.3.002
1MB
Thaoky
01-29-12 05:05 AM
4.3.001
1MB
Thaoky
12-10-11 03:24 PM
4.2.002
1MB
Thaoky
10-30-11 04:59 AM
4.2.001
1MB
Thaoky
06-29-11 12:20 PM
4.1.001b
1MB
Thaoky
05-01-11 09:31 AM
4.1.001
1MB
Thaoky
04-30-11 01:06 PM
4.0.006b
1MB
Thaoky
04-02-11 11:55 PM
4.0.006
1MB
Thaoky
03-02-11 08:03 AM
4.0.005d
1MB
Thaoky
02-16-11 10:11 AM
4.0.005c
1MB
Thaoky
02-15-11 07:28 AM
4.0.005b
1MB
Thaoky
02-11-11 09:23 AM
4.0.005
1MB
Thaoky
12-03-10 09:24 AM
4.0.004c
1MB
Thaoky
11-24-10 12:25 PM
4.0.004b
1MB
Thaoky
11-21-10 08:00 AM
4.0.004
1MB
Thaoky
11-20-10 07:28 AM
4.0.003
1MB
Thaoky
10-26-10 04:49 AM
4.0.002
1MB
Thaoky
10-17-10 06:39 AM
4.0.001
1MB
Thaoky
10-15-10 09:02 AM
4.0.001
1MB
Thaoky
10-15-10 08:04 AM


Post A Reply Comment Options
Unread 06-13-09, 05:32 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 2474
Uploads: 6
Originally posted by cypsyan
hi thaoky, im getting this error with calendar as well on clicking or simply by passing the cursor over some event, and im playing US version
Over which events? Screenshot please.
And copy of error dump.
Last edited by AnrDaemon : 06-13-09 at 05:32 PM.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 05:31 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 2474
Uploads: 6
Well, the AddLine API reference on wowprogramming is (was) wrong.
It has only five parameters - GameTooltip:AddLine(text, r, g, b, wrap)
That's why my initial editings didn't worked >.>
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 05:26 PM  
cypsyan
A Kobold Labourer

Forum posts: 0
File comments: 45
Uploads: 0
hi thaoky, im getting this error with calendar as well on clicking or simply by passing the cursor over some event, and im playing US version
cypsyan is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 01:57 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 2474
Uploads: 6
Originally posted by Thaoky
Nice !

I'd assume that gets rid of the double display of data when informant is present, I'll get this into the addon soon.
That was original intention, barring the temptation of having some finer control over info placement and such.
But the coding transparency is a nice addition, too.

Originally posted by Thaoky
edit: made a few tests, it's partially convincing so far, my problem lies with the hook on GameTooltip:Show which I used to display information on gathering nodes. I need more time to dig this issue, but if I can't it would be a dealbreaker at this point.
I think it could be resolved. Library intended to be able to hook to any tooltip in game. Including custom tooltips.
Didn't digged deeper into the issue.

Originally posted by Thaoky
In addition to this, lines like
Code:
tooltip:AddLine(self.RecipeCache, 1, 1, 1, 1, 1);
Must stay as they are, because the last parameter is used to wrap the line when its too long, and this is not supported by LibExtraTip.
That's strange news, it is really that bad?
I didn't got time to come to the longer lines which would be need to be wrapped (mounts/pets list f.e.), gonna see how it works, now.
And try to get in touch with library author(s).
Hacking this ability into library shouldn't be hard, but this is something that should be there as library API function.

Mmm... and i just came across the proposal to alter API in a usual way...
/me going to write some lines of code
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 05:57 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 621
Uploads: 2
Originally posted by AnrDaemon
Well, nevermind.

That's all!
You can further simplify it's look by linking to nTipHelper instead of LibExtratip, but I think it's not worth the overhead.
Nice !

I'd assume that gets rid of the double display of data when informant is present, I'll get this into the addon soon.

edit: made a few tests, it's partially convincing so far, my problem lies with the hook on GameTooltip:Show which I used to display information on gathering nodes. I need more time to dig this issue, but if I can't it would be a dealbreaker at this point.

In addition to this, lines like
Code:
tooltip:AddLine(self.RecipeCache, 1, 1, 1, 1, 1);
Must stay as they are, because the last parameter is used to wrap the line when its too long, and this is not supported by LibExtraTip.
Last edited by Thaoky : 06-13-09 at 09:37 AM.
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 05:55 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 621
Uploads: 2
Re: Bug

Originally posted by tripler
When selecting the option to add Altoholic to Fubar V3.6 I receive the following error:
I just fixed these issues too btw.
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 05:54 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 621
Uploads: 2
Originally posted by Wall
getting

[2009/06/12 21:07:27-643-x2]: Altoholic-v3.1.003\Frames\Calendar.lua:359: bad argument #2 to 'format' (string expected, got nil)
Altoholic-v3.1.003\Frames\Calendar.lua:359: in function `OnEnter'
<string>:"*:OnEnter":1: in function <[string "*:OnEnter"]:1>

and

[2009/06/12 21:07:28-643-x2]: Altoholic-v3.1.003\Frames\Calendar.lua:487: attempt to index local 's' (a nil value)
Altoholic-v3.1.003\Frames\Calendar.lua:343: in function `OnClick'
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>

when mouse over an event on the calendar
I'd need to know in which language you're playing and get a screenshot of the calendar pane + error message if possible, it would greatly help

Thanks in advance.
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 12:25 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 2474
Uploads: 6
Well, nevermind.
Code:
-- Experiment begin here
local libTT = LibStub("LibExtraTip-1")

function Altoholic.Tooltip.LextGameTooltip(tooltip, item, quantity, ...)

	local self = Altoholic.Tooltip
	local name, link = ...
	if link then
		self:ProcessEx(tooltip, name, item, ...)
	end

end

function Altoholic.Tooltip:ProcessEx(tooltip, name, link, ...)
	--	*** Note about tooltips ***
	--	If an error occurs with a specific item, like a gathering node, make sure its item id is valid in core.lua
	--	28/12/2008: I fixed an issue with black lotus, which did not display its counters at all, this was due to an invalid item id

	local itemID = Altoholic:GetIDFromLink(link)

	-- if there's no cached item id OR if it's different from the previous one ..
	if (not self.CachedItemID) or
		(self.CachedItemID and (itemID ~= self.CachedItemID)) then

		self.RecipeCache = nil

		-- these are the cpu intensive parts of the update .. so do them only if necessary
		self.CachedSource = nil
		if Altoholic.Options:Get("TooltipSource") == 1 then
			local Instance, Boss = Altoholic.Loots:GetSource(itemID)

			self.CachedItemID = itemID			-- we have searched this ID ..

			if Instance then
				self.CachedSource = GOLD .. L["Source"]..  ": |cff00ff9a" .. Instance .. ", " .. Boss
			end
		end

		-- .. then check player bags to see how many times he owns this item, and where
		if Altoholic.Options:Get("TooltipCount") == 1 or Altoholic.Options:Get("TooltipTotal") == 1 then
			self.CachedCount = Altoholic:GetItemCount(itemID) -- if one of the 2 options is active, do the count
			if self.CachedCount > 0 then
				self.CachedTotal = GOLD .. L["Total owned"] .. ": |cff00ff9a" .. self.CachedCount
			else
				self.CachedTotal = nil
			end
		end
	end

	-- add item cooldown text
	local owner = tooltip:GetOwner()
	if owner and owner.startTime then
		libTT:AddLine(tooltip, format(ITEM_COOLDOWN_TIME,
				SecondsToTime(owner.duration - (GetTime() - owner.startTime))), nil, nil, nil, true);
	end

	if (Altoholic.Options:Get("TooltipCount") == 1) then			-- add count per character
		libTT:AddLine(tooltip, " ", nil, nil, nil, true);
		for CharacterName, c in pairs (V.ItemCount) do
			libTT:AddDoubleLine(tooltip, CharacterName,  TEAL .. c, nil, nil, nil, nil, nil, nil, true);
		end
	end

	if (Altoholic.Options:Get("TooltipTotal") == 1) and (self.CachedTotal) then		-- add total count
		libTT:AddLine(tooltip, self.CachedTotal, nil, nil, nil, true);
	end

	if self.CachedSource then		-- add item source
		libTT:AddLine(tooltip, " ", nil, nil, nil, true);
		libTT:AddLine(tooltip, self.CachedSource, nil, nil, nil, true);
	end

	-- Altoholic:CheckMaterialUtility(itemID)

	if Altoholic.Options:Get("TooltipItemID") == 1 then
		local iLevel = select(4, GetItemInfo(itemID))

		if iLevel then
			libTT:AddLine(tooltip, " ", nil, nil, nil, true);
			libTT:AddDoubleLine(tooltip, "Item ID: " .. GREEN .. itemID,  "iLvl: " .. GREEN .. iLevel, nil, nil, nil, nil, nil, nil, true);
--			tooltip:AddLine(TEAL .. select(10, GetItemInfo(itemID)));		-- texture path
		end
	end

	local companionID = Altoholic:GetCompanionSpellID(itemID)
	if companionID then
		libTT:AddLine(tooltip, "<pets-todo>", nil, nil, nil, true);
		-- self:WhoKnowsPet(companionID, "CRITTER", tooltip)
		return	-- it's certainly not a recipe if we passed here
	end

	local mountID = Altoholic:GetMountSpellID(itemID)
	if mountID then
		libTT:AddLine(tooltip, "<mounts-todo>", nil, nil, nil, true);
		-- self:WhoKnowsPet(mountID, "MOUNT", tooltip)
		return	-- it's certainly not a recipe if we passed here
	end


	if Altoholic.Options:Get("TooltipRecipeInfo") == 0 then return end -- exit if recipe information is not wanted

	local _, _, _, _, _, itemType, itemSubType = ... -- Reuse already called GetItemInfo(itemID)
	if itemType ~= BI["Recipe"] then return end		-- exit if not a recipe
	if itemSubType == BI["Book"] then return end		-- exit if it's a book

	if not self.RecipeCache then
		local tooltipName = tooltip:GetName()
		local reqLevel
		for i = 2, tooltip:NumLines() do			-- parse all tooltip lines, one by one
			local tooltipText = _G[tooltipName .. "TextLeft" .. i]:GetText()
			if tooltipText then
				if string.find(tooltipText, "%d+") then	-- try to find a numeric value ..
					reqLevel = tonumber(string.sub(tooltipText, string.find(tooltipText, "%d+")))
					break
				end
			end
		end
		self.RecipeCache = self:WhoKnowsRecipe(itemSubType, link, reqLevel)
	end

	if self.RecipeCache then
		libTT:AddLine(tooltip, " ", nil, nil, nil, true);
		libTT:AddLine(tooltip, self.RecipeCache, nil, nil, nil, true);
	end
end

if libTT then
  libTT:RegisterTooltip(GameTooltip)
  libTT:RegisterTooltip(ItemRefTooltip)
  libTT:AddCallback(Altoholic.Tooltip.LextGameTooltip, 350)
end

-- Experiment end here
That's all!
You can further simplify it's look by linking to nTipHelper instead of LibExtratip, but I think it's not worth the overhead.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 09:52 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 2474
Uploads: 6
*sigh*
What
Code:
function Altoholic.Tooltip:Process(tooltip, name, link)
means? I mean, the colon... is it allowed there?
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 01:22 PM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 123
Uploads: 3
getting

[2009/06/12 21:07:27-643-x2]: Altoholic-v3.1.003\Frames\Calendar.lua:359: bad argument #2 to 'format' (string expected, got nil)
Altoholic-v3.1.003\Frames\Calendar.lua:359: in function `OnEnter'
<string>:"*:OnEnter":1: in function <[string "*:OnEnter"]:1>

and

[2009/06/12 21:07:28-643-x2]: Altoholic-v3.1.003\Frames\Calendar.lua:487: attempt to index local 's' (a nil value)
Altoholic-v3.1.003\Frames\Calendar.lua:343: in function `OnClick'
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>

when mouse over an event on the calendar
Tntdruid is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 12:42 PM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 621
Uploads: 2
I suggest going to LDB + Broker2Fubar, since Fubar will be removed in the near future.
I'll give a look at it tomorrow though.
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 12:26 PM  
tripler
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
Exclamation Bug

When selecting the option to add Altoholic to Fubar V3.6 I receive the following error:

Date: 2009-06-12 14:23:59
ID: 3
Error occured in: Global
Count: 1
Message: [string "AltoholicTabOptionsFrame1_ShowFubarText:OnClick"] line 3:
attempt to call method 'ShowFuBarText' (a nil value)
Debug:
[C]: ShowFuBarText()
[string "*:OnClick"]:3:
[string "*:OnClick"]:1
AddOns:
Swatter, v5.5.4293 (WombatII)
ACP, v3.1.0.17
AdvancedTradeSkillWindow, v
agExtras, vr705
agUnitFrames, vr705
Altoholic, v3.1.003
AutoProfit, v5.3
Babylonian, v5.1.DEV.130
Bagnon, v1.7.3
BagnonForever, v1.1.1
BankStack, vv13
Bartender4, v4.3.3
Carbonite, v3.13
CarboniteTransfer, v1.01
CharacterInfoStorage, v1.0.$Revision: 63452 $
Configator, v5.1.DEV.190
CurseProfiler, v
DebugLib, v5.1.DEV.130
FishingBuddy, v0.9.7f
FlightMap, v
FriendsWithBenefits, v3.0.9.3
FuBar, v
FuBarDurabilityFu, v2.11
FuBarExitFu, v1.1
FuBarExperienceFu, v1.1 $Revision: 65606 $
FuBarFactionsFu, v2.2.1-79
FuBarFishingFu, v0.1.0
FuBarFriendsFu, v2.4.3-102
FuBarGuildFu, v2.4.3-116
FuBarLocationFu, v3.0
FuBarMailFu, v2.0
FuBarMoneyFu, vv1.2.1
FuBarPortalFu, v1.12
FuBarProfessionsFu, v3.0.4
FuBarSkillsPlusFu, v3.1.0
FuBarTrainerFu, v0.2
FuBarVolumeFu, v2.0.$Revision: 55081 $
Informant, v5.5.4293 (WombatII)
ItemDataCache, v1.303
LibRock10, v
LightHeaded, v281
MobInfo3, v0.801
NoDuel, v2.2
Postal, v3.1.2
Prat30, v3.2
Prat30Libraries, v
RecipeBook, v
RecipeRadar, v1.31
Stubby, v5.5.4293 (WombatII)
(ck=49a)
tripler is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 11:32 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 621
Uploads: 2
There's been an important cleanup in the code between .002 and .003, with changes that should hopefully deal with that problem, let me know if it still happens with .003, and if so, I'll come up with a piece of code for that.
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 07:32 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 2474
Uploads: 6
I'm start to get that mystical disappearance of content often, so... what to look at, i.e. which variables to inspect if I get it next time?
May be you can suggest a code to dump content of frame table in readable text?
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 06-09-09, 01:07 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 621
Uploads: 2
There's an alpha of 3.1.003 on curse svn.

http://wow.curseforge.com/projects/altoholic/files/

It's stable, but only enUS and frFR are supported at this point, we're finalizing the localization to work with the CurseForge localization tool. No DB cleanup is required. Other languages should follow soon.
Thaoky is offline 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.