Records how long you have had an item and displays it in your bags/bank and/or tooltip. Stacks of equal items will have separate ages. New in this release is notes on items.
New in v0.06:
[added] Notes on items
[fix] Bugfix in database clean-up
The addon
I made this addon because my bankers are always loaded with items and I loose track of how long I have had the different things in my bags. Basically, this addon adds a new number to every item-icon in your bags and/or bank (selectable) denoting how long you have had the item. That's basically all there is to it.
The beauty of it is that the data persists even if you put the item up for auction. When you get the unsold item back, the age will still be correct. This even works on equal items. Say you have two stacks of some leather - this addon may put different ages on those. So if you have 20 equal items in your bags/bank, they may all still have different ages, and this addon will track it.
This feature also works if you send an item to an alt and then send it back. The age will still be correct. (If you leave the item at your alt for weeks, the data may be erased)
Notes
New in version 0.06 is notes. First you must set up a shortcut-key in "Key Bindings". Then, when you mouse-over an item, press the designated key and a dialog will open where you can enter a note. This note will display in tooltips.
Supported items
Most items in WoW is trackable. However, items you have bought from a vendor will basically never be trackable. This is due to how WoW generates the items. A vendor-bought item will be generic and undistinguishable from another vendor-bought item.
Options
There are not many options available, since it basically works directly out of the box. The age-displays can be switched on or off in your bags or bank by typing "/age bags" or "/age bank". This will only toggle the display itself. If all is switched off, it will still register when new items are added to your inventory. ItemAge can also be assigned a key so you can press a key to show/hide the display whenever you want to check the ages. This is very handy for non-banker toons, and can be assigned from WoW's standard key-binding interface.
Guild bank
Guild bank is a problem in WoW. ItemAge works by using an internal facility in WoW, and guild-banks does not support this facility very well. For some items (VERY few), the guild-bank will retain this information. For all other items, it will not show an age in the guild bank. This is unfortunate, and can not be helped with the current version of WoW. However, the guild-bank does not discard the information, and by moving the item to your bags, the information will reappear.
Stacks of items
Many items are stackable, like leather and cloth. If you already have a stack that is not full and you receive one more item, WoW will merge the new item into your old stack. The "new" stack will be registered with the age of the old stack.
This is particularly important to notice when retrieving unsold items from ther AH and you already have a half-full stack in your bags of the same item.
Commands
Type "/age" for a brief list. The commands are:
/age bags -> Bag-display on/off
/age bank -> Bank-display on/off
/age gbank -> Guild-bank on/off (note that guild-bank does usually not show anyway because of WoW's handling of these items)
Hi,
I am having the same issue as a few other people with the mailbox.
When I open mail that has multiple attachments, ItemAge seems to block the propler tooltip from all the attachements, except for the first one.
For example, I open a piece of mail that has 3 attachemnts, the first item is a piece of light leather, the next item is a sword, and the third item is a pair of leg armor. Before I take the item, if I mouseover the leather, it will show the proper tooltip for the leather. But when I mouseover the sword and/or the leg armor, the tooltip still will show the light leather info.
I have found that as soon as I disable ItemAge, the proper tooltips display correctly, but when it is enabled, the displayed tooltip is always for that first item in that piece of mail.
Originally posted by Zidomo Which raises the question...might the bugfix be worse than the bug? .
Fixes that affect in a negative way the main point of a mod (here: losing the recorded times for old items) severely reduces the usability of the mod.
What is a typical scenario where v0.06's "Bugfix in database clean-up" would be of more benefit than losing old data? Been using v0.04 for months and have not seen much or anything related to a database cleanup bug.
Ah yes. I see your point. The bug was that old items was never deleted. That means that every single item your character have ever seen pass through its bags (that would then include everything ever looted and so on) will never get deleted. Meaning the database will grow rapidly quite big when you consider that stacks of items are regarded as separate items.
The fix was to reinstate the intended functionality where when an item is more than a certain age without being seen again, it will get deleted. This is only an issue when upgrading to the last version, and only happens to items in your bags (not bank/gbank). Since this bug now has been fixed (and hopefully nothing new turns up), items can be as old as they want.
You will also see this on items that are more than 100 days that is in your bank or guild-bank. These will not be deleted and re-recorded. Easily checkable by checking if you have items older than that there.
When I fixed the code, one of my characters deleted 745 items from its database. Sadly, some items in my bags got their time reset, but that is a one-time event. This will not happen every time some items gets too old. Only when the bug in the database is corrected, and the bugged items proves to be removable because of the "old" bug.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
Originally posted by ybe Sorry about that. Actually, items older than 100 days (recorded with v0.04) will be reset. This is due to the bug that has been fixed. These items were reset and then re-recorded because of the error in the database.
This should only apply to items in your bags and not in your bank or guildbank.
Which raises the question...might the bugfix be worse than the bug? .
Fixes that affect in a negative way the main point of a mod (here: losing the recorded times for old items) severely reduces the usability of the mod.
What is a typical scenario where v0.06's "Bugfix in database clean-up" would be of more benefit than losing old data? Been using v0.04 for months and have not seen much or anything related to a database cleanup bug.
Originally posted by Zidomo Upgraded to 0.06. Similar to some earlier problems, its not interpreting the previous version's (0.04) saved variables properly.
About half the items in backpacks show incorrect times ("22 s" and so on for items that had been there for days, as though the data for that item had been reset) while the other half show correct times.
Sorry about that. Actually, items older than 100 days (recorded with v0.04) will be reset. This is due to the bug that has been fixed. These items were reset and then re-recorded because of the error in the database.
This should only apply to items in your bags and not in your bank or guildbank.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
Upgraded to 0.06. Similar to some earlier problems, its not interpreting the previous version's (0.04) saved variables properly.
About half the items in backpacks show incorrect times ("22 s" and so on for items that had been there for days, as though the data for that item had been reset) while the other half show correct times.
Originally posted by Whatever4ever Can’t it show the age on items with Bagnon, got the tooltip to show, though?
True. That is because it internally hooks on to the original bagwindows. To support another addon/window/layout it must be written for that specifically.
Quote:
Originally posted by Whatever4ever How come it can’t show age on items that has been bought?
Because the addon works on WoW's internal unique item-identifier. This identifier is for some reason not supplied on items you buy. That means that two identical stacks of looted leather will be different and can have different ages and will be tracked correctly, but if you buy two fishingpoles they will be identical and impossible to track.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
Originally posted by Zidomo An error consistently happening with ItemAge 0.03 in WoW 3.0.3 live. It occurs consistently right at every logon of the single character it is enabled on here:
Ah yes... I'm sorry about that. I actually forgot to upload the new version
This error is rather rare, as it seems to only happen in some very weird cases. What seem to happen is that when the addon is told by WoW that the database is loaded and ready, it really isn't yet. So a test for that has been added in v0.4. Try that version and see if that fixes it. It has definitely worked on another installation with the same problem.
Quote:
Originally posted by Zidomo Don't wish to start over with a clean saved variables either as then I'll lose the stored age on all my items.
There should be no need for that with this version.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
An error consistently happening with ItemAge 0.03 in WoW 3.0.3 live. It occurs consistently right at every logon of the single character it is enabled on here:
Code:
ItemAge\\ItemAge.lua:80: attempt to index global 'itemAge_Items' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
As well, a few specific items (BOE armor, BOP armor, etc.) in the character's packs that previously had age numbers on their icons no longer have them at any time (through repeated logons). Its not a "corrupt saved variables" issue; no other mod or library out of the hundreds I regularly run is throwing up errors at the present time. Have turned ItemAge tooltip info on and off (and relogged each try) with no change in this behavior.
Don't wish to start over with a clean saved variables either as then I'll lose the stored age on all my items. So hope you are still around Ybe and can look into the issue.
Originally posted by ybe Not sure I got that correctly. You have a box (like lockboxes, trunks from fishing, etc) without putting the stuff in it in your bags, and when you open it, the age is not there on the tooltip for those items except the first one?
If so, I can say that only bags, bank and guild-bank are scanned. These extra containers are not scanned.
If your meant something else, please clearify.
I would also like to remind you that not all items are trackable. Ref to the ItemAge description (Supported Items) about that.
I meant in the mailbox. Usually when I click on the box (not open it) it shows another frame with what's in the multiple item box. The tooltip shows for all items in the box is the information from the first item, regardless of how many other items are in it. For example, if there is a box with a stack of gold bars in the first slot, silver in the second, and bronze in the next 6 the only tooltip that shows when hovering over each item is the gold bars.
Not sure I got that correctly. You have a box (like lockboxes, trunks from fishing, etc) without putting the stuff in it in your bags, and when you open it, the age is not there on the tooltip for those items except the first one?
If so, I can say that only bags, bank and guild-bank are scanned. These extra containers are not scanned.
If your meant something else, please clearify.
I would also like to remind you that not all items are trackable. Ref to the ItemAge description (Supported Items) about that.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
When Itemage is enabled and I open a box of multiple items the tooltip only shows the information for the first item in the box for all the other items inside. This addon is awesome, but it will have to be deleted until this issue is resolved. Best of luck in fixing this!
Originally posted by joshwill80 i have turned off all other options except the tooltips because the other options don't play nicely with my bag addon, Combuctor.
(...)
i looked at my savedvariables and the only thing it shows other than item prices is:
"ItemAge_Info = {
["Init"] = true,"
shouldn't it display my options i set somewhere in the SV? maybe they are not getting saved?
Actually, if everything is off except tooltip, that is all the SV will show. This have some history, but bank, bags and guild-bank will show as "true" when it is on, and tooltip have a variable called "NoTooltip" which will show "true" when off.
Quote:
Originally posted by joshwill80 the only way for me to get the tooltips to work again is by toggling the bag option on and off.
I will have to look into this a bit more. Not today, as it is getting very very late here now
Quote:
Originally posted by joshwill80 tooltips did display at first, but they stopped displaying after a relog in.
This is probably related to the previous thing. Will check that also. It might also be related to a load-on-demand addon that you have. If so, I would very much like to know which one.
When it comes to the tooltip, I must say that it can be a bit tricky because it depends highly on what other addons (tooltip modifiers) are active. Some of these modifies too much, and breaks the way WoW sets tooltips. However, ACE and most standard things should be covered, I hope.
Anyway, I will look into it.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.