Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
ybe's Portal Bug Reports Feature Requests
Author:
Version:
0.06
Date:
08-01-2009 07:33 AM
Size:
5.42 Kb
Downloads:
1,280
Favorites:
49
MD5:
Pictures
Click to enlarge
ItemAge
ItemAge
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)
  Archived Versions - ItemAge
File Name
Version
Size
Author
Date
0.04
5kB
ybe
01-07-2009 12:53 PM
0.03
5kB
ybe
08-25-2008 02:06 PM
  Comments - ItemAge
Post A Reply Comment Options
Old 09-02-2009, 03:21 PM  
BJRubino
A Defias Bandit

Forum posts: 2
File comments: 27
Uploads: 0
Mailbox Issues....

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.

Any ideas what is causing this?

Thanks,
BJR
BJRubino is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-02-2009, 05:11 PM  
ybe
A Deviate Faerie Dragon
 
ybe's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 84
Uploads: 6
Quote:
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.
ybe is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-02-2009, 03:37 PM  
Zidomo
An Aku'mai Servant
 
Zidomo's Avatar

Forum posts: 37
File comments: 599
Uploads: 0
Quote:
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.
Zidomo is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-02-2009, 03:44 AM  
ybe
A Deviate Faerie Dragon
 
ybe's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 84
Uploads: 6
Quote:
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.

Last edited by ybe : 08-02-2009 at 03:45 AM.
ybe is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-01-2009, 03:48 PM  
Zidomo
An Aku'mai Servant
 
Zidomo's Avatar

Forum posts: 37
File comments: 599
Uploads: 0
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.
Zidomo is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-09-2009, 08:24 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 493
Uploads: 1
This causes my mailbox tooltips to repeat the first item as if the mail was full of that item. I use Postal and Auctioneer as well.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-27-2009, 08:56 PM  
Whatever4ever
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
Well, do have quite a few items that don’t show the ItemAge on tooltip, why? – And no, it’s not items that I bought, but things I’ve looted. :-)
Whatever4ever is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-24-2009, 10:49 AM  
ybe
A Deviate Faerie Dragon
 
ybe's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 84
Uploads: 6
Quote:
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.
ybe is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-21-2009, 12:39 PM  
Whatever4ever
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
Can’t it show the age on items with Bagnon, got the tooltip to show, though?
How come it can’t show age on items that has been bought?
Whatever4ever is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-07-2009, 01:03 PM  
ybe
A Deviate Faerie Dragon
 
ybe's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 84
Uploads: 6
Quote:
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.
ybe is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-04-2009, 05:59 PM  
Zidomo
An Aku'mai Servant
 
Zidomo's Avatar

Forum posts: 37
File comments: 599
Uploads: 0
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.
Zidomo is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 02:23 PM  
Jerricka
A Fallenroot Satyr
 
Jerricka's Avatar

Forum posts: 25
File comments: 172
Uploads: 0
Quote:
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.
Jerricka is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 11:47 AM  
ybe
A Deviate Faerie Dragon
 
ybe's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 84
Uploads: 6
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.
ybe is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-28-2008, 02:36 PM  
Jerricka
A Fallenroot Satyr
 
Jerricka's Avatar

Forum posts: 25
File comments: 172
Uploads: 0
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!
Jerricka is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-27-2008, 04:27 PM  
ybe
A Deviate Faerie Dragon
 
ybe's Avatar
Interface Author - Click to view interfaces

Forum posts: 16
File comments: 84
Uploads: 6
Re: tooltips not showing

Quote:
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.
ybe is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.