Download
(7 Kb)
Download
Updated: 08-05-09 11:02 PM
Pictures
File Info
Updated:08-05-09 11:02 PM
Created:unknown
Downloads:16,002
Favorites:195
MD5:
Gem Quota  Popular! (More than 5000 hits)
Version: r20090805
by: Shadowed [More]
Gem Quota gives you total number of gems you have in the character screen by color, along with total stats gained from each gem color even does rating -> percentage calculations! Also shows meta gem status and requirements including how many gems you require (and currently have) to meet the activation requirement.

Thanks Beladona for helping with the tooltip scanning and general ideas.

For bug reports or feature suggestions
From now on I will be using the portal WoWI provides for bug reports, as it is much easier for me to manage with a lot of addons and limited time. You can find a link below the download button, or at http://www.wowinterface.com/portal.php?id=269

Author: Shadowed <shadowed.wow@gmail.com>
Date: Wed Aug 5 22:02:02 2009 -0700
- Removed deDE and frFR files as they aren't used
- While I'm at it, moved from getglobal to _G
- Updated to fix pattern changes in 3.2 as well as text positioning changes due to sell value tooltips
- TOC Bump + AddonLoader support
- Localization update

Date: Fri Mar 6 06:21:38 2009 +0000
* Moved our check for our custom dropdown selection thingy to a secure hook
* Added "to all stats" (Enchanted Tears) and "spell damage" (Old PVP gems) to filters

Date: Sun Nov 23 17:55:01 2008 +0000
* Removed the rating conversions for now
* Disabled gem scanning while in combat, you can't swap gear anyway
* Fixed up the selection pages and such to work with the new variables
* Fixed Prismatic gem handling, Dragon's Eyes will show up correctly
* Added a Prismatic count

Date: Mon Oct 13 07:08:45 2008 +0000
* Updated to use the new unified rating system and some of the new spell formats, haven't implemented the rating conversions back in yet, will get to it
* Merged wotlk branch/ and trunk/ now a 3.0 only version
* TOC bump to 30000

Date: Sun Apr 13 00:51:41 2008 +0000
* Added Spell Haste info for the new cuts in 2.4

Date: Mon Dec 17 22:56:55 2007 +0000
* Fixed a bug with switching from Gem Quota to Melee stats hiding the crit row, maybe this is a Blizzard bug since they don't try to show it either, but oh well.

Date: Sun Dec 2 01:15:45 2007 +0000
* Fixed a bug where meta gems with more then 1 requirement only had the last requirement being scanned

Date: Wed Nov 21 22:35:46 2007 +0000
* Added support for meta gems with exact gem requirements, like Chaotic Skyfire Diamond

Date: Wed Nov 14 04:44:15 2007 +0000
* Fixed a bug with hybrid gems, and single colored gems with +healing on them not being correctly scanned

Date: Mon Nov 12 01:57:00 2007 +0000
* Fixed localization not being updated to include the switch from TYPES -> COLORS

Date: Sun Nov 11 22:13:16 2007 +0000
* Fixed tooltip error in ScanEquip
* Fixed a rare bug that would cause tooltip scanning to fail so it wouldn't pick up any meta gems, or regular gems

Date: Sat Nov 10 22:11:49 2007 +0000
* Updated all TOC information to 20300, added revision info to the version field, also the author field is now consistent instead of using 5 different character names
* Fixed an error for people using meta gems with a requirement of at least X gems.
* Recode pretty much everything, far more efficient now
* Improved gem stat scanning, not 100% fool-proof but it should break a lot less from new gems being added and be more resilient in general
* Improved gem color scanning, no longer requires hard coded filters
* Added rating percentages to the total stats, so Parry Rating would look like "Parry Rating: 10 (0.30%)" now, works for characters level 60 and up
* Meta gem requirements are always shown regardless of the gem being inactive or active
* Renamed Gem Count tab on character screen to Gem Info
* Lot of performance improves
* Removed fancy coloring, it looked ugly in general and we didn't need to show what stat it was for

Date: Thu Oct 25 16:34:04 2007 +0000
* Fixed #276 error

Date: Tue Oct 23 04:29:28 2007 +0000
* Doing code at 12:30 AM is bad, removed debug code

Date: Mon Oct 22 06:36:05 2007 +0000
* TOC Update
* Updated to support Blizzards newest hat-draw separator of "&"
* Updated to string.lower stats since they randomly change casing
* Updated to check for "mana per 5 seconds"

Date: Tue Jul 3 03:02:13 2007 +0000
Updated OptionHouse versions for release in Honest/LM/SSPVP.
Fixed GemCount so it works fully without Dongle

Date: Mon Jul 2 23:14:26 2007 +0000
Removed Dongle, broke everything probably, just another day of developing.

Date: Tue Jun 19 00:19:41 2007 +0000
Fixed error when a gem not matching because Blizzard is annoying and likes to use 5 different format for gem tooltips.

Date: Thu May 31 22:54:05 2007 +0000

Date: Thu May 24 20:44:44 2007 +0000
Bug that was causing errors due to hybrid gems with the name and color not aligning (Glinting Noble Topaz for one) should be fixed.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
r1141
8kB
Shadowed
03-06-09 12:22 AM
r1027
8kB
Shadowed
11-23-08 11:55 AM


Post A Reply Comment Options
Unread 11-13-07, 10:26 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
Originally posted by Shadowd
GemWatchFu also uses 10 libraries for 100 lines of code.

The reason we don't use GetItemInfo is since I haven't looked to see what Blizzard is doing with 2.3 yet and the new item type changes, and it's easier to use a quick hackish method for a few days.

I just tested this between a few chars with a couple of different gems and it works without issue, I need specific gem names to actually be able to replicate it.
Gave the updated GemQuota r358 a try yesterday (pre-patch) and sure enough, the changes between it and the older r349 have enabled it to work now. Detects gems & shows gem bonuses properly. Nice.

I brought up GemWatchFu simply as a debugging point. So that you would know that whatever methods r349 was using to detect gems was not working here, instead of a likelihood of something other mod interfering with it, etc.. As the other gem mod was able to detect gems without issues (both running at the same time & separately).

P.S. those "10" libraries I have shared among many other mods, so it isn't a big deal .
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 11-12-07, 06:44 PM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 363
Uploads: 0
kk, thanks..
fred is offline Report comment to moderator  
Reply With Quote
Unread 11-12-07, 03:24 PM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2506
Uploads: 99
Download r358, it's already fixed in that.
Shadowed is offline Report comment to moderator  
Reply With Quote
Unread 11-12-07, 02:54 PM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 363
Uploads: 0
On login

[2007/11/12 15:40:40-308-x1]: GemQuota\GemQuota.lua:38: bad argument #1 to 'pairs' (table expected, got nil)
GemQuota\GemQuota.lua:38: in function `Enable'
GemQuota\GemQuota.lua:314: in function <Interface\AddOns\GemQuota\GemQuota.lua:312>

---
fred is offline Report comment to moderator  
Reply With Quote
Unread 11-12-07, 01:30 PM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2506
Uploads: 99
Originally posted by ageofhzh
I try to localize it but failed,it said "cant match gems"
Tips can show but the count mod cant work
In localization.enUS.lua U said"-- You'll need to localize both keys in this table
-- as it's formated as "[<gem text>] = <modifier>"
Can u give me an example?
Gem text is the actual stat localized, so for a Solid Star of Elune in English it's "([0-9]+) Stamina", the ([0-9]+) goes in place of the amount of that stat it gives you.

Modifier is the stat it gives, so in the case of a Solid Star of Elune it would be "Stamina", sometimes Blizzard requires you to use multiple patterns to match so even if you need to add "([0-9]+) stamina" and "stamina ([0-9]+)" the modifier will remain as "Stamina" for both.
Shadowed is offline Report comment to moderator  
Reply With Quote
Unread 11-12-07, 08:36 AM  
ageofhzh
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I try to localize it but failed,it said "cant match gems"
Tips can show but the count mod cant work
In localization.enUS.lua U said"-- You'll need to localize both keys in this table
-- as it's formated as "[<gem text>] = <modifier>"
Can u give me an example?
ageofhzh is offline Report comment to moderator  
Reply With Quote
Unread 11-11-07, 10:39 AM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2506
Uploads: 99
GemWatchFu also uses 10 libraries for 100 lines of code.

The reason we don't use GetItemInfo is since I haven't looked to see what Blizzard is doing with 2.3 yet and the new item type changes, and it's easier to use a quick hackish method for a few days.

I just tested this between a few chars with a couple of different gems and it works without issue, I need specific gem names to actually be able to replicate it.
Last edited by Shadowed : 11-11-07 at 10:45 AM.
Shadowed is offline Report comment to moderator  
Reply With Quote
Unread 11-11-07, 06:11 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
GemQuota r349 installed fresh. Tested on a 70 priest with a meta gem (Rare) & four others (one Epic, three Rares). Most/all have been in WoW since BC was released. The mod doesn't work.

The "Gem Info" pulldown menu option in the character screeen shows up. Select it and it shows incorrect information for the four gem types...as in it doesn't detect anything at all. Meta, red, yellow & blue (I have one blue-classified gem; more than one of the others) all display "Inactive" (the Meta is active in my setup, though) or "0".

No errors are thrown up (I use BugSack/BugGrabber to record mod bugs), it just doesn't detect any gems on the character.

FuBar_GemWatchFu (download) works fine in detecting the proper gem numbers on that character (and has worked without issues since it was released in June).
Last edited by Zidomo : 11-11-07 at 06:11 AM.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 11-10-07, 12:24 AM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2506
Uploads: 99
New version out called Gem Quota, see the change log for more information. But hopefully this will solve all of the issues with Blizzard changing gem formats.
Shadowed is offline Report comment to moderator  
Reply With Quote
Unread 10-26-07, 06:05 PM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2506
Uploads: 99
Do you have any knew/specific gems you added lostcup that'd cause that?

I'll likely be rewriting this once I have time to make it more resilience to the crazy things that Blizzard does when it comes to the tooltip.
Shadowed is offline Report comment to moderator  
Reply With Quote
Unread 10-26-07, 12:12 PM  
lostcup
A Kobold Labourer

Forum posts: 1
File comments: 6
Uploads: 0
Interface\AddOns\GemCount\GemCount.lua:168: bad argument #1 to 'trim' (string expected, got nil)
lostcup is offline Report comment to moderator  
Reply With Quote
Unread 10-25-07, 10:34 AM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2506
Uploads: 99
Should be fixed, r289
Last edited by Shadowed : 10-25-07 at 10:35 AM.
Shadowed is offline Report comment to moderator  
Reply With Quote
Unread 10-25-07, 10:09 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
Originally posted by Shadowd
Should be fixed in r278, if it doesn't give me all the gems you have in your gear and I'll see if I can replicate it.
Same error as previous poster in r278 (first use of it) in USEng WoW 2.2.3 live when clicking the "GemCount" pulldown menu option in the character frame. Here it is in BugSack/BugGrabber form:

"GemCount\\GemCount.lua:157: table index is nil\nGemCount\\GemCount.lua:276: in function `ScanGem'\nGemCount\\GemCount.lua:314: in function `ScanItems'\nGemCount\\GemCount.lua:41: in function <Interface\\AddOns\\GemCount\\GemCount.lua:40>\n<in C code>: ?\n<in C code>: in function `Show'\nInterface\\FrameXML\\UIParent.lua:1143: in function `SetUIPanel':\nInterface\\FrameXML\\UIParent.lua:1001: in function `ShowUIPanel':\nInterface\\FrameXML\\CharacterFrame.lua:20: in function `ToggleCharacter':\n<string>:\"TOGGLECHARACTER0\":1: in function <[string \"TOGGLECHARACTER0\"]:1>"

Gems on the character tested are a mixture of greens (Uncommon), blues (Rares) & bind on pickup purples (Epic).
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 10-23-07, 01:25 PM  
Shadowed
...
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 387
File comments: 2506
Uploads: 99
Should be fixed in r278, if it doesn't give me all the gems you have in your gear and I'll see if I can replicate it.
Shadowed is offline Report comment to moderator  
Reply With Quote
Unread 10-22-07, 04:30 PM  
Murazorz
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 3
Uploads: 1
With the latest version i get this:

[2007/10/23 00:24:12-1577-x2]: GemCount\GemCount.lua:157: table index is nil
GemCount\GemCount.lua:276: in function `ScanGem'
GemCount\GemCount.lua:314: in function `ScanItems'
GemCount\GemCount.lua:41: in function <Interface\AddOns\GemCount\GemCount.lua:40>
<in C code>: ?
<in C code>: ?
<in C code>: in function `Show'
Interface\FrameXML\UIParent.lua:1143: in function `SetUIPanel':
Interface\FrameXML\UIParent.lua:942: in function `ShowUIPanel':
Interface\FrameXML\CharacterFrame.lua:20: in function `ToggleCharacter':
<string>:"TOGGLECHARACTER0":1: in function <[string "TOGGLECHARACTER0"]:1>
Murazorz is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.