Download
(7Kb)
Download
Updated: 08-05-09 11:02 PM
Pictures
File Info
Updated:08-05-09 11:02 PM
Created:unknown
Downloads:17,061
Favorites:188
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 <[email protected]>
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)


Post A Reply Comment Options
Unread 08-19-09, 02:56 PM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 64
File comments: 166
Uploads: 0
Error

Sorry to post a error or rather a taint message here as the error portal is disabled.

As seen in the taint log

8/19 01:59:51.640 An action was blocked because of taint from GemQuota - LFGQuery()
8/19 01:59:51.640 Interface\FrameXML\LFGFrame.lua:653 SendLFGQuery()
8/19 01:59:51.640 Interface\FrameXML\LFGFrame.lua:60
Report comment to moderator  
Reply With Quote
Unread 07-19-09, 02:04 PM  
garnerh42
A Deviate Faerie Dragon
 
garnerh42's Avatar

Forum posts: 11
File comments: 14
Uploads: 0
I was having problems with the Jewelcrafting only gems so I fixed up the code a bit.

Here is the original snippet of code in GemQuota.lua:

Code:
	
	-- Stats will always be the second to last row
	local text = string.lower(getglobal("GemQuotaTooltipTextLeft" .. self.tooltip:NumLines() - 1):GetText())
		
	-- Figure out stats
	local matchFound
	for color, tests in pairs(L["MATCHES"]) do
And here is what I changed:

Code:
	
	-- Stats will always be the second to last row
	local text = string.lower(getglobal("GemQuotaTooltipTextLeft" .. self.tooltip:NumLines() - 1):GetText())

	if( string.match( text, "requires jewelcrafting" ) ) then
		text = string.lower(getglobal("GemQuotaTooltipTextLeft" .. self.tooltip:NumLines() - 2):GetText())
	end
		
	-- Figure out stats
	local matchFound
	for color, tests in pairs(L["MATCHES"]) do
Stats being on the 2nd to last line is a good assumption and a good optimization. So I just test for the exception case and then grab the 3rd to last line and the rest of the code works great.

I'll leave it up to the author to make this more permanent. Thanks for the simple addon and the comments in the code that made it easy to fix
__________________
Grynn (80 Druid), Trig (80 Rogue), Krajen (80 Warrior), Jovix (80 Hunter), Sqeeve (80 Mage) on Cenarion Circle
Report comment to moderator  
Reply With Quote
Unread 03-19-09, 10:32 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
NOTE I am moving to using my portal for feature and bug requests, please direct them to http://www.wowinterface.com/portal.php?id=269 from now on general comments and such can still go in the comments, but as I do not have unlimited time anymore it's easier for me to see what needs to be fixed or implemented if I can just look at a single list instead of searching through 60 addon comments.


Even if you already posted a bug or feature, reposting it in the portal would be a big help. Thanks!
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 07:23 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
No, the problem did not reoccur after disabling Gem Quota & relogging. Thanks for the update; no problems so far with r1141.
Report comment to moderator  
Reply With Quote
Unread 03-06-09, 12:19 AM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Didn't mean to take so long on responding, do you get the taint bug without GemQuota, if you're using a non-US client it needs localization to work.
Report comment to moderator  
Reply With Quote
Unread 02-27-09, 10:36 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
GemQuota r1027, WoW 3.0.9.9551 live, USEng client server. In a raid, tried to set a "main assist" via the Blizzard raid panel and got taint (I was raid lead at the time). Was unable to set the main assist via the Blizzard raid frame, had to use the command line command:

2/26 21:12:50.390 An action was blocked because of taint from GemQuota - SetPartyAssignment()
2/26 21:12:50.390 Interface\FrameXML\UnitPopup.lua:1144
2/26 21:12:50.390 func()
2/26 21:12:50.390 Interface\FrameXML\UIDropDownMenu.lua:561 UIDropDownMenuButton_OnClick()
2/26 21:12:50.390 DropDownList1Button4:OnClick()

Am not running AuldLangSyne or any other junk chat mod that is known to taint the Social frames. First time trying to set a main assist in quite a while, though (last time was a patch or two ago).
Report comment to moderator  
Reply With Quote
Unread 02-07-09, 02:42 AM  
Carnivore
A Murloc Raider

Forum posts: 9
File comments: 1
Uploads: 0
German Client 3.08.9506

Gem Quata: Failed to match [Mächtiger Monarchentopas] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
Gem Quata: Failed to match [Strahlender Waldsmaragd] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
Gem Quata: Failed to match [Tollkühner Monarchentopas] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
Report comment to moderator  
Reply With Quote
Unread 12-13-08, 10:19 AM  
SquishyMage
A Deviate Faerie Dragon

Forum posts: 19
File comments: 43
Uploads: 0
Runed Ornate Ruby

"no stats found" - two item id's here on wowhead. Old PVP gem reward that I'm too cheap to replace.
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 11:57 AM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Should be fixed
Report comment to moderator  
Reply With Quote
Unread 11-22-08, 10:51 PM  
Docnsane
A Defias Bandit

Forum posts: 2
File comments: 15
Uploads: 0
The new JC Dragon's Eye gems are not supported.

http://www.wowhead.com/?search=dragon's+eye#recipes

They are prismatic gems that count for any color.
Report comment to moderator  
Reply With Quote
Unread 11-20-08, 04:22 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
It won't work because you're on a non-English localization, it has to be translated to that language for it to work. It doesn't use a direct map of gems -> stats because thats way to large and has to be updated every time they add new gems, instead of it matters patterns like "# Spirit", etc.
Report comment to moderator  
Reply With Quote
Unread 11-20-08, 04:02 PM  
yafube
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Same with the French client.

I think the mapping tables of the gems ID's is not working anymore :s

10:55] Gem Quata: Failed to match [Talasite durcie] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
[10:55] Gem Quata: Failed to match [Talasite durcie] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
[10:55] Gem Quata: Failed to match [Talasite durcie] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
[10:55] Gem Quata: Failed to match [Talasite durcie] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
[10:55] Gem Quata: Failed to match [Talasite durcie] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
[10:55] Gem Quata: Failed to match [Talasite durcie] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
Report comment to moderator  
Reply With Quote
Unread 11-18-08, 01:07 PM  
Vindalf
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Got those Error-Messages (german client) quite a while now... is this something I can fix by myself in some *.lua or has this to be done in an update? I'm not very fund in that stuff -.-

Anyway thanks a lot for your work, and for your answer in advance

Vindalf

[19:52:55] Gem Quata: Failed to match [Tränenförmiger lebendiger Rubin] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.

[19:52:55] Gem Quata: Failed to match [Geläuterte Schattenperle] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.

[19:52:55] Gem Quata: Failed to match [Geläuterte Schattenperle] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.

[19:52:55] Gem Quata: Failed to match [Tränenförmiger Purpurspinell] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.

[19:52:55] Gem Quata: Failed to match [Tränenförmiger lebendiger Rubin] no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed.
Report comment to moderator  
Reply With Quote
Unread 05-03-08, 05:34 AM  
Gonzo08
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
please edit code for german clients

Gem status is different in german clients like

Red = roten
Blue = blauen
Yellow = gelben

I can change the localization.deDE.lua but the meta soket shows no requirements.

can you change the scan routine for the gem tooltips?

Thanks
Report comment to moderator  
Reply With Quote
Unread 04-13-08, 03:13 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Did you try the latest version yet? There should only be around 6 new cuts, and they all share the same spell haste pattern.
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.