Inventory Viewer (by The Gooch)
Description:
Have you ever wanted to know what items you had in various storage locations across multiple accounts and characters without having to visit your house or switch characters?
Have you ever wanted to know the total count of an item you had with a breakdown of which characters have it and where they stored it all in the item's tooltip?
Have you ever wanted to compare those items with what you're currently wearing?
Have you ever wanted to send other people a link to any of those items?
Well, now you can.
Installation:
UnZip the InventoryViewer.zip file to your Runes of Magic AddOns folder and re-login to the game.
When you UnZip it you should end up with a folder similar to this:
C:\Program Files\Runes of Magic\Interface\AddOns\InventoryViewer
| Commands: |
| /iv | Open Inventory Viewer user interface (/inventoryviewer also works) |
| /iv tooltips | Toggles (enable/disable) Inventory Viewer's enhanced tooltips (Default: enabled) |
| /iv minimap | Toggles (enable/disable) Inventory Viewer's minimap frame icon (Default: enabled) |
| /iv iconborders | Toggles (enable/disable) Inventory Viewer's colored icon borders (Default: enabled) |
| /iv [itemLink] | Get Inventory Viewer info on a specific item (how many you have and where they are stored) |
Notes:
- You must log in as each character to populate the AddOn with initial data for eaach character. Don't forget to open the House Chest/Clothes Rack/Weapon Rack for each character as this is the only way for the AddOn to record the items in there.
- Hover the mouse over items to see Inventory Viewer's enhanced tooltips (How many of this item you have, and where it is stored).
- To change the order of your characters in Inventory Viewer, hold down the SHIFT key and drag & drop the tab with the characters name to the position you want to insert it.
- To delete a character from Inventory Viewer, simply right-click on the tab with that characters name and choose "Delete". If you accidently delete the wrong character from Inventory Viewer, just log back into that character (and visit his house chest/clothes rack/weapon rack) again.
- To see all your house chests (if you have multiple chests per character), click the left or right arrow in the Inventory Viewer UI to flip through them.
Enjoy!
The Gooch
Changes:
v1.5:
- Added Multi-Account support (Thanks for the help and the push from Adie/Fortunis).
- Added colored borders around icons to show item quality color (so you don't need to mouse-over every icon to see its quality color in the tooltip).
- Added Options panel, which currently supports toggling the Minimap icon, Colored item borders, and Enhanced Tooltips (Adie/Fortunis wrote most of this feature).
- Added detection of a 2 House Chests (Topaz Carved Treasure Box and Black Sail Treasure Box) - not sure if French is correct, but I think German is.
- Added French localization (Thanks to snoopycurse for doing the work and adding it to a message).
- Fixed bug where Inventory Viewer didn't notice items being moved around in the House Chest (Frogster now correctly sends the HOUSES_STORAGE_CHANGED event for these changes and stopped incorrectly sending the HOUSES_STORAGE_SHOW event for these changes but IV was still expecting the old incorrect event).
- Added event monitor for the BANK_OPEN and BANK_CLOSE events. This will help (a little) with the issue where IV doesn't notice items being moved around in your bank. The real fix is Frogster needs to support a BANK_CHANGED event (like they finally fixed for House Chests).
- Added public function "IV_GetListOfItemsByName(Name)" for pbInfo or other AddOns that want IV data. "IV_GetListOfItems(itemLink)" is still available. This was a request from a ticket posted on curse.
- Changed GetLocation() to GetLanguage() as per Zilvermoons forum message. He made a custom build for someone with this fix and I haven't heard any complaints.
- Fixed script error when you mouse-over the List of upgrades in your house (Elegant Two-Storied House, for example).
v1.4:
- Changed some of the House Chest detection code, should help with German clients.
- More German translations.
- Fixed bug where IV icon moved around in the AddOn Manager's mini icon tray.
v1.3:
- Added support for all rental Bank pages.
- Added support for all rental Backpack pages.
- Added new registration method for the new AddOnManager.
- Fixed bug where /iv minimap didn't save its setting.
- Fixed bug where Lionhead Treasure Chest wasn't found on German client (untested, hopefully it works).
- Fixed bug where Magnificent Footstool Chest wasn't found on German client (untested, hopefully it works).
- Fixed bug where changing character tabs from someone who has a house chest to someone who doesn't still showed the name of the previous characters house chest.
- Fixed script error "Attempt to index field ? (a number value)". This was caused by an old upgrade from v0.5 that didn't delete the old "Internal" sub-table.
v1.2:
- Added support for plugging into Alleris's AddOn Manager.
- Added Minimap frame icon (use "/iv minimap" to toggle it on/off). It is on by default.
- Added support for multiple chests (8 different types being sold in the item shop). Use the left/right arrows in the IV user interface to flip through all your chests.
- Fixed issue where some people's free house Chest wasnt DBID 0 and Inventory Viewer couldn't see it.
- Added support for recording Item Shop Backpack items. Unfortunately there's no room in the UI to show them yet. However, the enhanced tooltips will count Item Shop backpack items, so it's still useful.
- Added command to toggle enhanced tooltips (use "/iv tooltips" to toggle on/off). It is on by default.
Warning: You will need to re-visit all of your house chests after upgrading to this version, sorry for the inconvenience. All other bags/racks don't need to be revisited, just house chests.
v1.1:
- Added support for passing an [itemLink] on the /iv command line. This will log the results to the chat frame (how many of these you have, on which characters, where they are stored). Usage: /iv [itemLink]
- Fixed bug where separator line in tooltip was too high (was not taking UIScale into consideration)
- Switched from GameTooltipHyperLink to GameTooltip for showing tooltips in the Inventory Viewer user interface. The GameTooltipHyperLink shows an x in the top-right corner which is the wrong tooltip to use.
- Now showing IV info in the following Tooltips as well as the IV user interface:
- Bank
- House Chest
- Backpack
- Item Shop Backpack
- Arcane Transmutor
- Auction House Browse items
- Booty (Loot)
- Chat Window item links
- Trash Bin
- Clothes Rack
- Weapon Rack
- I can't Add info to these tooltips as there's no way to get itemLinks for them:
- Mail
- Quest Log
- ActionBar items
- Merchant
- Crafting
- GuildBank
v1.0:
- Added support for counting the items Inventory Viewer knows about and showing the breakdown all in the item's tooltip from the Inventory Viewer UI.
Note: Tooltips from anywhere else will not show this information, you must be viewing (mouse over) the item from the Inventory Viewer user interface to see the additional info in the tooltip.
v0.9:
- Added support for German clients to see the Clothes/Weapon Rack items.
Note: I don't have a German client, so I couldn't test this but it should work.
v0.8:
- Added support for a Weapon Rack
- Optimization: Removed old Hanger tables introduced in v0.7.
- Fixed Clothes Rack detection bug for v0.7
- Fixed a bug where v0.7 data files could be set as v0.6 data files
- Note: The Weapons Rack and Clothes Rack will only work on the English client for now. Sorry.
v0.7:
- Added support for one Clothes Rack. I tested with one Mens Clothes Rack, not sure what will happen if user has two clothes racks or a Womans Clothes Rack.
- Fixed a possible issue when attempting to display another characters House Chest when that other character never initialized an empty house chest in a previous version of Inventory Viewer.
v0.6:
- Optimization: Inventory Viewer v0.6 data is almost 3 times smaller in size than it was with v0.5.
- Inventory viewer v0.4 and v0.5 data will automatically be imported and converted to v0.6 format.
- Fixed AddOn so it works with RoM 2.0.1.1812.
v0.5:
- Added support for moving the Inventory Viewer tabs (characters) around to any order the user wants. Just hold SHIFT and drag the tabs to change their order.
- Optimization: Moved some duplicate code into functions.
- Optimization: Removed some variables that weren't needed.
- Fixed bug (since v0.3) where new users of the AddOn would see a warning in red about deleting old incompatible Inventory Viewer data.
- Fixed bug where calling ReloadUI() while the Inventory Viewer window was open resulted in not being able to open it again (unless you logged out/in).
- Fixed bug where Inventory Viewer would show the previously selected characters House Chest if the selected character didn't have one.
Note: House chest is still broken in the game (build 1811) but this AddOn is doing the best it can to handle it. Write-up is here: http://forum.runesofmagic.com/showthread.php?t=39567
Warning: All Inventory Viewer data from v0.3 or less will be wiped out. You will need to log in as each character (and open your House Chest if you have one) to re-populate the Inventory Viewer database. Sorry. (If you had v0.4, you're ok!)
v0.4:
- Added support for closing the window using the Escape key.
- Added version info to the data file so future versions can do special handling when upgrading older versions instead of requiring the user to do it.
- Optimization: No longer storing item name as the itemLink has it embedded
- Optimization: Calling RoM API only once to get the Account name and Player Name instead of each time we need it.
- Fixed bug where Inventory Viewer might not run (until ReloadUI() is called) due to GetCurrentRealm() being called too early with v0.3.
Warning: All Inventory Viewer data from previous versions will be wiped out. You will need to log in as each character (and open your House Chest if you have one) to re-populate the Inventory Viewer database. Sorry.
v0.3:
- Switched back to the logic of each character having their own house chest, no longer shared per account. You will need to open your house chest on each character after updating this AddOn for the Inventory Viewer to record the items in there.
- Optimization: Calling RoM API only once to get the Realm Name instead of each time we need it.
Warning: The Realm name will be stripped of colors which will make this incompatible with previous versions. To save memory, please exit the game and delete your InventoryViewer(Account).ini file before using this version. After upgrading you will need to log in to each character again (and open your House Chest if you have one) to populate the Inventory viewer with initial data (sorry).
v0.2:
- Added support for removing characters from the Inventory Viewer database. Just right-click on the tab you want to remove and choose "Delete".
- Added ability to keep characters from different accounts separated. Now each account has its own data file.
- Fixed a bug where the items didn't always match up with the selected tab.
- Fixed bug to handle /script ReloadUI()
- Fixed bug to handle users that don't have a house chest (some like to drop it on the floor and lose it)
v0.1:
- Original Release
Changes:
v1.5:
- Added Multi-Account support (Thanks for the help and the push from Adie/Fortunis).
- Added colored borders around icons to show item quality color (so you don't need to mouse-over every icon to see its quality color in the tooltip).
- Added Options panel, which currently supports toggling the Minimap icon, Colored item borders, and Enhanced Tooltips (Adie/Fortunis wrote most of this feature).
- Added detection of a 2 House Chests (Topaz Carved Treasure Box and Black Sail Treasure Box) - not sure if French is correct, but I think German is.
- Added French localization (Thanks to snoopycurse for doing the work and adding it to a message).
- Fixed bug where Inventory Viewer didn't notice items being moved around in the House Chest (Frogster now correctly sends the HOUSES_STORAGE_CHANGED event for these changes and stopped incorrectly sending the HOUSES_STORAGE_SHOW event for these changes but IV was still expecting the old incorrect event).
- Added event monitor for the BANK_OPEN and BANK_CLOSE events. This will help (a little) with the issue where IV doesn't notice items being moved around in your bank. The real fix is Frogster needs to support a BANK_CHANGED event (like they finally fixed for House Chests).
- Added public function "IV_GetListOfItemsByName(Name)" for pbInfo or other AddOns that want IV data. "IV_GetListOfItems(itemLink)" is still available. This was a request from a ticket posted on curse
- Changed GetLocation() to GetLanguage() as per Zilvermoons forum message. He made a custom build for someone with this fix and I haven't heard any complaints.
- Fixed script error when you mouse-over the List of upgrades in your house (Elegant Two-Storied House, for example).
v1.4:
- Changed some of the House Chest detection code, should help with German clients.
- More German translations.
- Fixed bug where IV icon moved around in the AddOn Manager's mini icon tray.
v1.3:
- Added support for all rental Bank pages.
- Added support for all rental Backpack pages.
- Added new registration method for the new AddOnManager.
- Fixed bug where /iv minimap didn't save its setting.
- Fixed bug where Lionhead Treasure Chest wasn't found on German client (untested, hopefully it works).
- Fixed bug where Magnificent Footstool Chest wasn't found on German client (untested, hopefully it works).
- Fixed bug where changing character tabs from someone who has a house chest to someone who doesn't still showed the name of the previous characters house chest.
- Fixed script error "Attempt to index field ? (a number value)". This was caused by an old upgrade from v0.5 that didn't delete the old "Internal" sub-table.
v1.2:
- Added support for plugging into Alleris's AddOn Manager.
- Added Minimap frame icon (use "/iv minimap" to toggle it on/off). It is on by default.
- Added support for multiple chests (8 different types being sold in the item shop). Use the left/right arrows in the IV user interface to flip through all your chests.
- Fixed issue where some people's free house Chest wasnt DBID 0 and Inventory Viewer couldn't see it.
- Added support for recording Item Shop Backpack items. Unfortunately there's no room in the UI to show them yet. However, the enhanced tooltips will count Item Shop backpack items, so it's still useful.
- Added command to toggle enhanced tooltips (use "/iv tooltips" to toggle on/off). It is on by default.
Warning: You will need to re-visit all of your house chests after upgrading to this version, sorry for the inconvenience. All other bags/racks don't need to be revisited, just house chests.
v1.1:
- Added support for passing an [itemLink] on the /iv command line. This will log the results to the chat frame (how many of these you have, on which characters, where they are stored). Usage: /iv [itemLink]
- Fixed bug where separator line in tooltip was too high (was not taking UIScale into consideration)
- Switched from GameTooltipHyperLink to GameTooltip for showing tooltips in the Inventory Viewer user interface. The GameTooltipHyperLink shows an x in the top-right corner which is the wrong tooltip to use.
- Now showing IV info in the following Tooltips as well as the IV user interface:
- Bank
- House Chest
- Backpack
- Item Shop Backpack
- Arcane Transmutor
- Auction House Browse items
- Booty (Loot)
- Chat Window item links
- Trash Bin
- Clothes Rack
- Weapon Rack
- I can't Add info to these tooltips as there's no way to get itemLinks for them:
- Mail
- Quest Log
- ActionBar items
- Merchant
- Crafting
- GuildBank
v1.0:
- Added support for counting the items Inventory Viewer knows about and showing the breakdown all in the item's tooltip from the Inventory Viewer UI.
Note: Tooltips from anywhere else will not show this information, you must be viewing (mouse over) the item from the Inventory Viewer user interface to see the additional info in the tooltip.
v0.9:
- Added support for German clients to see the Clothes/Weapon Rack items.
Note: I don't have a German client, so I couldn't test this but it should work.
v0.8:
- Added support for a Weapon Rack
- Optimization: Removed old Hanger tables introduced in v0.7.
- Fixed Clothes Rack detection bug for v0.7
- Fixed a bug where v0.7 data files could be set as v0.6 data files
- Note: The Weapons Rack and Clothes Rack will only work on the English client for now. Sorry.
v0.7:
- Added support for one Clothes Rack. I tested with one Mens Clothes Rack, not sure what will happen if user has two clothes racks or a Womans Clothes Rack.
- Fixed a possible issue when attempting to display another characters House Chest when that other character never initialized an empty house chest in a previous version of Inventory Viewer.
v0.6:
- Optimization: Inventory Viewer v0.6 data is almost 3 times smaller in size than it was with v0.5.
- Inventory viewer v0.4 and v0.5 data will automatically be imported and converted to v0.6 format.
- Fixed AddOn so it works with RoM 2.0.1.1812.
v0.5:
- Added support for moving the Inventory Viewer tabs (characters) around to any order the user wants. Just hold SHIFT and drag the tabs to change their order.
- Optimization: Moved some duplicate code into functions.
- Optimization: Removed some variables that weren't needed.
- Fixed bug (since v0.3) where new users of the AddOn would see a warning in red about deleting old incompatible Inventory Viewer data.
- Fixed bug where calling ReloadUI() while the Inventory Viewer window was open resulted in not being able to open it again (unless you logged out/in).
- Fixed bug where Inventory Viewer would show the previously selected characters House Chest if the selected character didn't have one.
Note: House chest is still broken in the game (build 1811) but this AddOn is doing the best it can to handle it. Write-up is here: http://forum.runesofmagic.com/showthread.php?t=39567
Warning: All Inventory Viewer data from v0.3 or less will be wiped out. You will need to log in as each character (and open your House Chest if you have one) to re-populate the Inventory Viewer database. Sorry. (If you had v0.4, you're ok!)
v0.4:
- Added support for closing the window using the Escape key.
- Added version info to the data file so future versions can do special handling when upgrading older versions instead of requiring the user to do it.
- Optimization: No longer storing item name as the itemLink has it embedded
- Optimization: Calling RoM API only once to get the Account name and Player Name instead of each time we need it.
- Fixed bug where Inventory Viewer might not run (until ReloadUI() is called) due to GetCurrentRealm() being called too early with v0.3.
Warning: All Inventory Viewer data from previous versions will be wiped out. You will need to log in as each character (and open your House Chest if you have one) to re-populate the Inventory Viewer database. Sorry.
v0.3:
- Switched back to the logic of each character having their own house chest, no longer shared per account. You will need to open your house chest on each character after updating this AddOn for the Inventory Viewer to record the items in there.
- Optimization: Calling RoM API only once to get the Realm Name instead of each time we need it.
Warning: The Realm name will be stripped of colors which will make this incompatible with previous versions. To save memory, please exit the game and delete your InventoryViewer(Account).ini file before using this version. After upgrading you will need to log in to each character again (and open your House Chest if you have one) to populate the Inventory viewer with initial data (sorry).
v0.2:
- Added support for removing characters from the Inventory Viewer database. Just right-click on the tab you want to remove and choose "Delete".
- Added ability to keep characters from different accounts separated. Now each account has its own data file.
- Fixed a bug where the items didn't always match up with the selected tab.
- Fixed bug to handle /script ReloadUI()
- Fixed bug to handle users that don't have a house chest (some like to drop it on the floor and lose it)
v0.1:
- Original Release