Help

GemWatch

Miscellaneous Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 7,227 Downloads
  • Supports: 4.3
  • 1 Average Daily Downloads
  • Comments
  • Created 8/18/2009 2:21:25 PM
  • Updated 1/14/2012 5:47:28 AM
  • 83 Favorites
  • Project Site
  • License: All Rights Reserved
  • Release Type: Release
  • Newest File: r53
or
Support development! **
Donate

About GemWatch

GemWatch is now updated to work with the 4.01 patch, thanks for your patience!

Integration with the character sheet's new stat panels is planned for a future release.

About GemWatch:

GemWatch was originally and addon that I first discovered in BC. It would put a little frame next to your resistances showing you the total count of what color gems you have equipped. It was nice for figuring out what you needed to activate a meta gem. Unfortunately it was never updated for WotLK.

Until today! *fanfare*

The addon has been almost completely rewritten to take advantage of the new functionality that came with the 3.2 patch. GemWatch can now correctly identify all gems in the game, and no longer relies on a list of enchantment IDs to determine color as the previous version did. It also will indicate if you have a meta gem equipped, and if that gem is activated or not. It will put empty socket icons next to the color count if you have empty sockets of that color, mouse over the icon and it will tell you what piece has the empty socket(s). GemWatch can now determine automatically if you are a Jewelcrafter, and will attempt this the first time you use GemWatch on a given character, and enable counting of your Dragon's eye gems, so you can tell at a glance if you have your maximum of three. You can still manually turn this off/on using /gw jeweler.

You can adjust where on the character sheet the icons appear with /gw pos 1-6

GemWatch supports localization, but needs your help! To contribute translation information for your locale, please visit here.

If GemWatch is not detecting the colors of your gems correctly, it is most likely an issue with the localization for your specific locale (Or I don't have one for your locale). If this happens, you can use the option /gw override, then reload your UI or re-log. This will cause GemWatch to pull the gem color information directly from the game client, and should get the color detection working properly.

------------------------------------------------------------------------
r53 | eridius | 2012-01-14 11:47:23 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Update v0.94 comment
------------------------------------------------------------------------
r52 | eridius | 2012-01-14 11:47:17 +0000 (Sat, 14 Jan 2012) | 5 lines
Changed paths:
   M /trunk/GemWatch.lua

Delay first scan until the character frame appears

Instead of scanning when the addon is loaded, wait and scan when the
character frame is shown. We'll also scan earlier if some other event
causes us to (e.g. inventory changes).
------------------------------------------------------------------------
r51 | eridius | 2012-01-14 11:47:11 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Add a bunch of synonyms for the /gw pos and /gw dir values
------------------------------------------------------------------------
r50 | eridius | 2012-01-14 11:47:05 +0000 (Sat, 14 Jan 2012) | 7 lines
Changed paths:
   M /trunk/GemWatch.lua
   M /trunk/Localization.enUS.lua

Brand new positioning code

Bring back /gw pos, but this time give it values of upper-right,
upper-left, lower-right, and lower-left.
Add /gw dir, with values of horizontal and vertical.
This allows for positioning the gems in all 4 corners, going either
vertically or horizontally.
------------------------------------------------------------------------
r49 | eridius | 2012-01-14 11:46:59 +0000 (Sat, 14 Jan 2012) | 5 lines
Changed paths:
   M /trunk/GemWatch.lua

Rewrite slash-command message parsing

Tokenize the incoming commands. This allows it to be more lenient with
extra spaces, and it also allows for more flexibility in writing new
commands.
------------------------------------------------------------------------
r48 | eridius | 2012-01-14 11:46:54 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Rename variable GearWatch_GearEmptyChimeraEye
------------------------------------------------------------------------
r47 | eridius | 2012-01-14 11:46:48 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Show per-gem counts in the tooltip
------------------------------------------------------------------------
r46 | eridius | 2012-01-14 11:46:42 +0000 (Sat, 14 Jan 2012) | 4 lines
Changed paths:
   M /trunk/GemWatch.lua

Tweak addon initialization

Initialize the addon at ADDON_LOADED only if we're already logged in.
Otherwise, do so at PLAYER_LOGIN.
------------------------------------------------------------------------
r45 | eridius | 2012-01-14 11:46:37 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua
   M /trunk/Localization.enUS.lua

Add /gw rescan
------------------------------------------------------------------------
r44 | eridius | 2012-01-14 11:46:31 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua
   M /trunk/GemWatch.toc

Bump TOC to 40300 and version to 0.94
------------------------------------------------------------------------
r43 | eridius | 2012-01-14 11:46:26 +0000 (Sat, 14 Jan 2012) | 8 lines
Changed paths:
   M /trunk/GemWatch.lua
   M /trunk/GemWatch.xml

Finish off Cogwheel support

Teach GemWatch the rest of what it needs to track Cogwheel gems.

Massive cleanup to the frame display code. Frame visibility decisions
are now made in a single place, so GemWatch should no longer be able to
show frames as visible when they shouldn't (e.g. after a /gw toggle).
The visibility code and frame position code is also cleaner.
------------------------------------------------------------------------
r42 | eridius | 2012-01-14 11:46:20 +0000 (Sat, 14 Jan 2012) | 5 lines
Changed paths:
   M /trunk/GemWatch.lua

Don't skip gems in gear with first slot empty

With the recent cleanup to gem scanning, I inadvertently introduced an
issue where leaving the first gem slot empty could cause the rest of the
gems to be skipped. Use pairs() instead of ipairs() to fix that.
------------------------------------------------------------------------
r41 | eridius | 2012-01-14 11:46:15 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Delete unused function GemWatch_ToggleMainFrame()
------------------------------------------------------------------------
r40 | eridius | 2012-01-14 11:46:09 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Fix incorrect name of variable
------------------------------------------------------------------------
r39 | eridius | 2012-01-14 11:46:04 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Delete unused GemWatch_CheckEmptySocket()
------------------------------------------------------------------------
r38 | eridius | 2012-01-14 11:45:58 +0000 (Sat, 14 Jan 2012) | 4 lines
Changed paths:
   M /trunk/GemWatch.lua

Avoid errors if GetInventoryItemGems() returns tables instead of numbers

For some reason at ADDON_LOADED time this function may return tables
instead of the expected numbers. Detect this and break early.
------------------------------------------------------------------------
r37 | eridius | 2012-01-14 11:45:52 +0000 (Sat, 14 Jan 2012) | 5 lines
Changed paths:
   M /trunk/GemWatch.lua

Delete swathes of duplicated code

When testing gems, we don't need to duplicate code for every possible
gem slot. We can use far less code to test all gem slots, and as a bonus
we're no longer hard-coding the knowledge that there can only be 3 gems.
------------------------------------------------------------------------
r36 | eridius | 2012-01-14 11:45:47 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua
   M /trunk/GemWatch.xml
   M /trunk/Localization.deDE.lua
   M /trunk/Localization.enUS.lua
   M /trunk/Localization.frFR.lua
   M /trunk/Localization.koKR.lua
   M /trunk/Localization.ruRU.lua

Update fully for Chimera's Eyes
------------------------------------------------------------------------
r35 | eridius | 2012-01-14 11:45:41 +0000 (Sat, 14 Jan 2012) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Update test for prismatic sockets
------------------------------------------------------------------------
r34 | eridius | 2012-01-14 11:45:36 +0000 (Sat, 14 Jan 2012) | 5 lines
Changed paths:
   M /trunk/GemWatch.lua

Fiddle around with frames

Try to make the frame setting a bit more sane.

Re-set the frames when we scan the inventory.
------------------------------------------------------------------------
r33 | eridius | 2012-01-14 11:45:30 +0000 (Sat, 14 Jan 2012) | 4 lines
Changed paths:
   M /trunk/GemWatch.lua
   M /trunk/Localization.deDE.lua
   M /trunk/Localization.enUS.lua
   M /trunk/Localization.frFR.lua
   M /trunk/Localization.koKR.lua
   M /trunk/Localization.ruRU.lua

Delete alternate positions

The alternate positions (2-6) had issues and were ugly anyway. Just get
rid of them.
------------------------------------------------------------------------
r32 | brandorf | 2011-03-04 13:32:24 +0000 (Fri, 04 Mar 2011) | 1 line
Changed paths:
   M /trunk/GemWatch.lua

Fixed null reference error.
------------------------------------------------------------------------

Comments

First Previous Page 1 of 4 Next Last
  • #52
    I'm assuming this addon has been abandoned by brandorf. Are there any other similar addons still being maintained?
  • #53
    My searching found nothing being maintained, so I've updated my copy of GemWatch to support both JC only gems and completed the Engineering cogwheel support. I'll pursue some distribution options next.
  • #59

     

    Hmm, the reply function seems odd indeed.  But yes send it along and I'll merge it into the official version.

  • #58

    Go ahead and send it to me, and I'll take the time to merge your changes and make it official.  Thanks for doing that.

  • #57

    I ended up spending yesterday updating my own copy for proper Chimera's Eye support (sans non-English locales), as well as cleaning up some of the weird code (duplicated code for checking gem sockets? Giant if-elseif block for positioning?). No Cogwheel support (since my engineer isn't high enough yet and I don't know how Cogwheels work), though, and I also took out support for alternate positions (since they had some bugs). I also tried to fix Prismatic Socket support, but I won't know if it works until I get an empty prismatic socket on a toon. Anyway, I can send this copy to you if you like, though since I took out alternate position support you may not want it.

    Edit: This is supposed to be a reply to brandorf, but I can't get Curse to actually reply to him.

    Last edited by eridius on 12/29/2011 8:09:45 PM
  • #55

    Send it to me, brandorf@brandorf.com and I'll put it up here.

    I let my WoW subscription lapse.  Sorry about the hiatus. ;p

  • #54

    Did you ever distribute it? I would love an updated copy.

  • #51
    The following error occurs when I log onto a character

    Date: 2011-07-09 07:44:11
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\GemWatch\GemWatch.lua line 921:
    wrong number of arguments to 'insert'
    Debug:
    (tail call): ?
    [C]: ?
    [C]: insert()
    GemWatch\GemWatch.lua:921: GemWatch_CheckEmptySocketBySlot()
    GemWatch\GemWatch.lua:730: GemWatch_ScanInventory()
    GemWatch\GemWatch.lua:502: GemWatch_OnEvent()
    [string "*:OnEvent"]:1:
    [string "*:OnEvent"]:1
    AddOns:
    Swatter, v3.2.4 ()
    NPCScan, v4.2.0.1
    NPCScanOverlay, v4.2.0.1
    NPCScanOverlayBroker, v1.1.2
    AckisRecipeList, v2.2.6b
    ACP, v3.3.16
    AlicesAntiDuel, v1.0.3
    Altoholic, v4.2.001
    Archy, v1.8.3
    Atlas, v1.20.0
    AtlasBattlegrounds, v1.20.0
    AtlasDungeonLocs, v1.20.0
    AtlasOutdoorRaids, v1.20.0
    AtlasTransportation, v1.20.0
    AtlasLootLoader, vv6.04.03
    AucAdvanced, v5.11.5146 (DangerousDingo)
    AucFilterBasic, v5.11.5146 (DangerousDingo)
    AucFilterOutlier, v5.11.5146.4828(5.11/embedded)
    AucMatchUndercut, v5.11.5146.4828(5.11/embedded)
    AucStatHistogram, v5.11.5146 (DangerousDingo)
    AucStatiLevel, v5.11.5146 (DangerousDingo)
    AucStatPurchased, v5.11.5146 (DangerousDingo)
    AucStatSales, v5.11.5146.4838(5.11/embedded)
    AucStatSimple, v5.11.5146 (DangerousDingo)
    AucStatStdDev, v5.11.5146 (DangerousDingo)
    AucStatWOWEcon, v5.11.5146.4828(5.11/embedded)
    AucUtilAHWindowControl, v5.11.5146.5141(5.11/embedded)
    AucUtilAppraiser, v5.11.5146.5015(5.11/embedded)
    AucUtilAskPrice, v5.11.5146.5113(5.11/embedded)
    AucUtilAutoMagic, v5.11.5146.5034(5.11/embedded)
    AucUtilCompactUI, v5.11.5146.5016(5.11/embedded)
    AucUtilEasyBuyout, v5.11.5146.4897(5.11/embedded)
    AucUtilFixAH, v5.11.5146 (DangerousDingo)
    AucUtilGlypher, v5.11.5146.5061(5.11/embedded)
    AucUtilGlypherPost, v5.11.5146.5069(5.11/embedded)
    AucUtilItemSuggest, v5.11.5146.5145(5.11/embedded)
    AucUtilPriceLevel, v5.11.5146.4861(5.11/embedded)
    AucUtilScanButton, v5.11.5146.4854(5.11/embedded)
    AucUtilScanFinish, v5.11.5146.4828(5.11/embedded)
    AucUtilScanProgress, v5.11.5146.4979(5.11/embedded)
    AucUtilScanStart, v5.11.5146.4828(5.11/embedded)
    AucUtilSearchUI, v5.11.5146.5085(5.11/embedded)
    AucUtilSimpleAuction, v5.11.5146.4993(5.11/embedded)
    AucUtilVendMarkup, v5.11.5146.4828(5.11/embedded)
    Auctionator, v2.9.7
    AutoRepair, v
    Babylonian, v5.1.DEV.130(/embedded)
    Bartender4, v4.4.19
    BeanCounter, v5.11.5146 (DangerousDingo)
    ButtonForge, v0.9.13
    Carbonite, v4.2
    CarboniteTransfer, v1.01
    Configator, v5.1.DEV.299(/embedded)
    DataStore, v4.2.001
    DataStoreAchievements, v4.2.001
    DataStoreAgenda, v4.2.001
    DataStoreAuctions, v4.2.001
    DataStoreCharacters, v4.2.001
    DataStoreContainers, v4.2.001
    DataStoreCrafts, v4.2.001
    DataStoreCurrencies, v4.2.001
    DataStoreInventory, v4.2.001
    DataStoreMails, v4.2.001
    DataStorePets, v4.2.001
    DataStoreQuests, v4.2.001
    DataStoreReputations, v4.2.001
    DataStoreSpells, v4.2.001
    DataStoreStats, v4.2.001
    DataStoreTalents, v4.2.001
    DBMCore, v
    DBMLDB, v
    DebugLib, v5.1.DEV.275(/embedded)
    Decursive, v2.7.0.3
    DoomCooldownPulse, v
    DropTheCheapestThing, vv3.6
    EasyMail, v
    Elephant, v3.1.0
    FishingBuddy, v1.0.4a
    FollowMe, v
    Gatherer, v3.2.4
    GatherMate2, v1.15.2
    GearScore, v4.8.03.03
    GemWatch, v0.82
    GTFO, v4.8.2
    HearKitty, v1.2
    Informant, v5.11.5146 (DangerousDingo)
    OneBag3, vv3.4.1
    Prat30, v3.4.24
    Prat30Libraries, v
    RaidRoll, v
    ReagentRestocker, v2.4.6
    RecipeKnown, v0.26
    Recount, v
    SellOMatic2, va042
    SellOMatic2Class, va042
    SellOMatic2Destroy, va042
    SellOMatic2Item, va042
    SellOMatic2List, va042
    Skillet, v
    SpamMeNot, v4.0
    SpellFlash, v5.98
    SpellFlashCore, v1.40
    Stubby, v5.11.5146 (DangerousDingo)
    Titan, v5.0.6.40200 - Revision 519
    TitanBag, v5.0.6.40200
    TitanClock, v5.0.6.40200
    TitanGold, v5.0.6.40200
    TitanLocation, v5.0.6.40200
    TitanLootType, v5.0.6.40200
    TitanPerformance, v5.0.6.40200
    TitanRepair, v5.0.6.40200
    TitanSpec, v1.7.3.1.40000
    TitanVolume, v5.0.6.40200
    TitanXP, v5.0.6.40200
    VendorValue, v4
    VuhDo, v2.113
    VuhDoOptions, v2.113
    BlizRuntimeLib_enUS v4.2.0.40200
    (ck=e71)
  • #50
    While mousing over Chimera's Eye I get this error:

    2x :"CharacterModelFrameGemsDragonEye:OnEnter":1: attempt to call global 'GemWatch_DragonEyeButton_OnEnter' (a nil value)

    --

    find me on twitter @scotepi

  • #46
    Doesn't list empty Prismatic Sockets. When it says a socket is empty, along with the item can it give the slot name too like "Slot - Item Name"

    --

    find me on twitter @scotepi

  • #47
    This is how empty sockets work, when you mouse over it, it's supposed to show you which items have empty slots of that color.

    Prismatic socket detection should work fine. Which item slot are you having issues with, or is it with blacksmith added sockets?
  • #49
    This is what I mean for having the slow shown next to the item: http://scotepi.net/file/May-11/WoWScrnShot_060111_001537.jpg

    And this is missing the prismatic slot: http://scotepi.net/file/May-11/WoWScrnShot_060111_001540.jpg

    ----

    A crappy green without slots: |cff1eff00|Hitem:55738:0:0:0:0:0:-129:883556663:85:0|h[Bluefen Handwraps of the Wildfire]|h|r

    with a BS slot: |cff1eff00|Hitem:55738:0:0:0:0:0:-129:-2132737737:85:0|h[Bluefen Handwraps of the Wildfire]|h|r

    with a BS slot and Bold Carnelian: |cff1eff00|Hitem:55738:0:3889:0:0:0:-129:-2132737737:85:0|h[Bluefen Handwraps of the Wildfire]|h|r

    --

    find me on twitter @scotepi

  • #48
    I can see the item now however not where it its equipted, some items are hard to tell from just there name.

    As far as Prismatic goes, i don't remember what one it was.

    Also the Chimera's Eye detection doesn't work at all. I have 3 in 1 set and 0 in another and no note saying my 2nd set doesn't have any.

    --

    find me on twitter @scotepi

  • #41
    A quick patch to allow it to recognize and count Chimera's Eyes as the new JC-only gem.

    Change Dragon's Eye to Chimera's Eye in Localization.enUS.lua:
    Line 21: ['GEMWATCH_DRAGONEYE_GEM'] = "Chimera's Eye",
    Line 38: ['GEMWATCH_DRAGONEYE_SOCKET'] = "You have Chimera's Eyes socketed in:",

    It still uses the Dragon's Eye icon, but at least the number is correct.

    Thanks, Brandorf, for this useful addon.
  • #44
    Thanks for contributing this for those who use these. I don't personally have a JC, so it makes that a bit of a challenge.

    Proper support for Chimera gems and cogwheels is coming eventually. Perhaps this weekend if I have time.
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!