Download
(45 Kb)
Download
Updated: 06-14-07 12:33 PM
Pictures
File Info
Updated:06-14-07 12:33 PM
Created:unknown
Downloads:3,017
Favorites:47
MD5:
GemWatch
Version: 0.19
by: ybe [More]
Version 0.19
- Added options to position gem-icons
Type '/gw pos 1-4' to change position

Version 0.18
- Added option to show/hide gem-interface in character window
Type "/gw toggle" to show/hide gem interface

Description
Did you know that meta-gems does not count the color-slots you have? Anyway - they don't. They count slots a gem can be used for. Meaning that if you equip a gem that goes in red and blue slots in a red slot, it counts as one red and one blue gem. That can make keeping track of all the colors somewhat difficult at times, and choosing the right combination of gems with a meta-gem can be troublesome.

For my own part I messed it up a lot, so I got tired of it and made this addon. This addon will show you a count of the colors you have equipped the way a meta-gem will count. It takes into account all the gems that are multicolored and give you a result back.

Unknown gems
If your item(s) should contain a gem that is not reckognized, there is an interface for adding unknown gems to the database. Select the unknown gem-slot from the list, select what color slots it will support, and press "Set". That is all.
Unknown slots/gems will be identified by the item they are on, and the slot-number counting from the top of the list on the item. So "Footwear of the beetle, slot 2" means that the second gem from the top on your item "Footwear of the beetle" is not known to the addon. If the gem-information out there is correct, there should only be 13 of about 140 of these.

Usage
Just type "/gw" or "/gemwatch" to open the window and see the color-count you have.

The problem with socketing
However, there is a slight problem with this. Blizzard does not socket gems. It may look like it, but they don't. Gems works internally just like enchants, meaning that once it's used it's gone. All WoW items (weapons, armor, gems, food, etc) are represented internally with an item-ID. It's the same with enchants (or used gems, if you like). They are represented by an enchant-ID. So when you socket a gem, it is converted from an item to an enchant in a slot. Because of this it is impossible to directly read what gem is in a socket since the information contained in an item is the resulting enchant rather than the gem itself. You would in fact need a conversion-list containing what gem (item-ID) is converted to what enchant (enchant-ID). The available conversion-lists are sadly incomplete, and somewhat wrong at times. I have however tried my best to implement this in the most correct manner.

As of now there are (I think) around 140 gems. My list with enchant-conversion lacks 13 of these.
Post A Reply Comment Options
Unread 01-22-09, 04:51 AM  
Grektar
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Date: 2009-01-22 11:28:42
ID: 3
Error occured in: Global
Count: 1
Message: ..\FrameXML\UIDropDownMenu.lua line 828:
attempt to call method 'GetName' (a nil value)
Debug:
[C]: GetName()
..\FrameXML\UIDropDownMenu.lua:828: UIDropDownMenu_SetText()
GemWatch\GemWatch.lua:294: initFunction()
..\FrameXML\UIDropDownMenu.lua:69: UIDropDownMenu_Initialize()
GemWatch\GemWatch.lua:376: GemWatch_ScanInventory()
GemWatch\GemWatch.lua:233: GemWatch_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Grektar is offline Report comment to moderator  
Reply With Quote
Unread 10-11-08, 01:18 AM  
perunaion
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
gem slot totals

After getting a new set of gear, I commonly have to remember how many gems I need of each color... So I have to mentally add up all the red, blue, or yellow sockets that I have in my gear.

It'd be nice to have a total of all the sockets I have by color and how many of each are unsockted. I dunon, maybe its me, but it'd be helpful to get a report of sorts.

Code:
/gw list
Meta-gem requires "..."
Red:     5 (3)
Blue:    3
Yellow: 2 (1)
perunaion is offline Report comment to moderator  
Reply With Quote
Unread 07-21-07, 06:53 AM  
ybe
An Aku'mai Servant
 
ybe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 117
Uploads: 7
Okay. And you are probably right about even more gems as WoW progresses. But I strongly feel that one of the absolute biggest points about this addon's functionality is the ability to function without localization, so I am going to keep it that way. There are other addons out there that does just what your modification is doing now, with other methods of displaying in the character window.
So far I have yet to see one that does not need localization.

You have without a doubt put quite a bit of work into your modification and, as you describe it, it sounds like the only thing left is the character window layout ... more or less.
Thank you very much for your offer for sharing your code. I really appreciate that. But my advice would be to distribute it under a new name.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
Last edited by ybe : 07-21-07 at 06:55 AM.
ybe is offline Report comment to moderator  
Reply With Quote
Unread 07-20-07, 05:53 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 6
There are a few missing that are in game now, and I believe there will be more new Jewels added in patch 2.2

Bold Crimson Spinel - Red - 3115
Bright Crimson Spinel - Red - 3119
Stormy Empyrean Sapphire - Blue - 3125
Smooth Lionseye - Yellow - 3127
Unstable Peridot - Yellow/Blue - 3157
Unstable Citrine - Red/Yellow - 3159
Unstable Topaz - Red/Yellow - 3160
Unstable Talasite - Red/Yellow - 3161
Potent Unstable Diamond - Meta - 3162
Imbued Unstable Diamond - Meta - 3163

Would you mind if I post a version (under patches... nevermind, patches are disabled... or I can email it to you) that I have modified to use the GetItemGem function with localizations for frFR, deDE, and enUS? Everything relating to the window for adding unknown gems is removed to save memory and the tooltip for the gem buttons now show a list of gems that contributed to the color's count. You would be totally free, of course, to incorporate any of the changes that I made into your official version.
Last edited by Siz : 07-21-07 at 01:32 AM.
Siz is offline Report comment to moderator  
Reply With Quote
Unread 07-18-07, 07:05 AM  
ybe
An Aku'mai Servant
 
ybe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 117
Uploads: 7
As far as I know there are no unknown gems for the last version, so this will not be an issue yet.

And for the part of the GetItemGem function - I don't think that will be implemented, since it does not yield the colour-slots the gem supports. Even if you do get the link and can pull it from the text. Which in turn requires a localized addon. As it is now it works in any language, since there is no need to know the names of the colours.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
ybe is offline Report comment to moderator  
Reply With Quote
Unread 07-17-07, 09:02 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 6
Will this be updated to support the GetItemGem function so that there will no longer be any unknown gems?
Siz is offline Report comment to moderator  
Reply With Quote
Unread 05-06-07, 01:44 AM  
ybe
An Aku'mai Servant
 
ybe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 117
Uploads: 7
Originally posted by XoD
Since I had to create an almost complete EnchantID list (of Jewels) for XIVC (not released yet) and you are missing some I uploaded a snippet from my file + all EnchantIDs from current PTR.
Great! Thank you. The list of gems and enchantID's available were sadly incomplete and prone to errors as some gems were listed in a rather ... untrusting manner

I will go through the files you sent and correct the errors in my own list. Again - thank you.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
ybe is offline Report comment to moderator  
Reply With Quote
Unread 05-05-07, 07:52 PM  
elhook
A Kobold Labourer

Forum posts: 1
File comments: 23
Uploads: 0
Some epic gems (from epic instances) dont work well.

Example: Potent Fire Opal its Red-Yellow but addon count as Yellow-Blue

Can u fix it please.
elhook is offline Report comment to moderator  
Reply With Quote
Unread 05-05-07, 07:42 PM  
XoD
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
Since I had to create an almost complete EnchantID list (of Jewels) for XIVC (not released yet) and you are missing some I uploaded a snippet from my file + all EnchantIDs from current PTR.
http://www.mediafire.com/?cydzw24njzj
XoD is offline Report comment to moderator  
Reply With Quote
Unread 05-05-07, 06:34 AM  
ybe
An Aku'mai Servant
 
ybe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 117
Uploads: 7
Yes, well... Sorry for forgetting that in the tooltip. The questionmark icon is unknown gems.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
ybe is offline Report comment to moderator  
Reply With Quote
Unread 05-04-07, 09:42 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 321
Uploads: 85
Very nice. Might I suggest this icon for meta gems?
Tekkub is offline Report comment to moderator  
Reply With Quote
Unread 05-01-07, 05:19 PM  
ybe
An Aku'mai Servant
 
ybe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 117
Uploads: 7
Good idea about the integration.

When it comes to the meta-gem - well... Seemed easier that way. Maybe too much and redundant info and so on, but anyway. It's in there, and will make support of any new items easier.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
ybe is offline Report comment to moderator  
Reply With Quote
Unread 05-01-07, 05:11 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 321
Uploads: 85
Nice idea. You know what I'd love to see? Integrate your display directly into the equipment frame, so when you open it up you'll have a count of each color on little icons, kinda like how resistances are shown.

And what's the point of "1 meta gem"? AFAIK metas only go on head equipment, you'll never have more than one meta.
Last edited by Tekkub : 05-01-07 at 05:12 PM.
Tekkub is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: