Download
(7Kb)
Download
Updated: 08-05-09 11:02 PM
Pictures
File Info
Updated:08-05-09 11:02 PM
Created:unknown
Downloads:17,055
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 04-13-08, 03:04 PM  
Kelem
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 118
Uploads: 2
I'll start working on the list then, it's a lot of them
Report comment to moderator  
Reply With Quote
Unread 04-12-08, 06:37 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Yea I've been meaning to get this fixed sorry.

I could use the specific list of gems, if they aren't just the new haste cuts I'll go get those added right now.
Report comment to moderator  
Reply With Quote
Unread 04-12-08, 02:58 PM  
Kelem
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 118
Uploads: 2
Keep getting errors after socketing several BT gems stating it can't find the data for them.

Looking at the list, a lot of the epic gems are not available. Do you want a listing of them to add or is it already in the works for a new release?
Report comment to moderator  
Reply With Quote
Unread 03-18-08, 12:12 PM  
BlackZam
A Murloc Raider

Forum posts: 7
File comments: 51
Uploads: 0
Getting blocked addon popup with gem quota when trying to setting main tank with the built in raidtools.
Report comment to moderator  
Reply With Quote
Unread 12-21-07, 07:54 AM  
Xanatandor
A Defias Bandit

Forum posts: 2
File comments: 52
Uploads: 0
I tried to do a german translation, looks half good so far. I'm unfamiliar with your way to setup locales, so I did it the "old" way. Looks quiet goof, I see the "Gem Info" choice in the dropdown, and th egerman translated gem types, however all counters are zero. The corresponding tooltips however count correct, i.e. hovering over the "Blau" (blue) gives a tooltip saying "26 Ausdauer" (26 stamina).

I don't know, why there is no gem count, may be you could advise if you see the translation. Feel free to include it in the next release. Thanks for all your work and merry christmas.

--

Code:
if( GetLocale() == "deDE" ) then

GemQuotaLocals = {
	["Healing"] = "Heilung",
	["Total stats"] = "Gesamtwerte",
	["No stats found"] = "Keine Werte gefunden",
	["Gem Info"] = "Gem Info",
	
	["Failed to match %s no stats found. Please report the gem name to the comments at WoWInterface.com so this can be fixed."] = 
"Keine Werte für %s gefunden. Bitte den Namen des Juwels auf WoWInterface.com angeben.",
	
	["Dodge Rating"] = "Ausweichwertung",
	["Spell Crit"] = "kritische Zaubertrefferwertung",
	["Melee Crit"] = "kritische Trefferwertung",
	["Spell Hit"] = "Zaubertrefferwertung",
	["Melee Hit"] = "Trefferwertung",
	["Defense Rating"] = "Verteidigungswertung",
	["Parry Rating"] = "Parierwertung",
	["Resilience Rating"] = "Abhärtungswertung",
	
	["MATCHES"] = {
		-- You'll need to localize both keys in this table
		-- as it's formated as "[<gem text>] = <modifier>"
		-- The gem text should be in lower case (as it's case-insensitive)
		-- It doesn't have to be the full text, but enough for a unique match
		["Rot"] = {
			["([0-9]+) stärke"] = "Stärke",
			["([0-9]+) angriffskraft"] = "Angriffskraft",
			["([0-9]+) beweglichkeit"] = "Beweglichkeit",
			["([0-9]+) heilung"] = "Heilung",
			["([0-9]+) zauberschaden"] = "Zauberschaden",
			["zauberschaden %+([0-9]+)"] = "Zauberschaden",
			["([0-9]+) parierwertung"] = "Parierwertung",
			["([0-9]+) ausweichwertung"] = "Ausweichwertung",
		},
		["Blau"] = {
			["([0-9]+) ausdauer"] = "Ausdauer",
			["ausdauer ([0-9]+)"] = "Ausdauer",
			["([0-9]+) mana"] = "Mana per 5",
			["([0-9]+) willenskraft"] = "Willenskraft",
			["([0-9]+) zauberdurchschlagskraft"] = "Zauberdurchschlagskraft",
		},
		["Gelb"] = {
			["([0-9]+) kritische zaubertrefferwertung"] = "kritische Zaubertrefferwertung",
			["([0-9]+) intelligenz"] = "Intelligenz",
			["([0-9]+) verteidigungswertung"] = "Verteidigungswertung",
			["([0-9]+) zaubertrefferwertung"] = "Zaubertrefferwertung",
			["([0-9]+) abhärtung"] = "Abhärtungswertung",
			["([0-9]+) trefferwertung"] = "Trefferwertung",
			["([0-9]+) kritische trefferwertung"] = "Kritische Trefferwertung",
		},
		["Prismatisch"] = {
			["([0-9]+) alle widerstandarten"] = "Alle Widerstandarten",
		},
	},
			
	-- Meta gem
	["inactive"] = "Nicht aktiv",
	["active"] = "Aktiv",
	["none"] = "kein",
	["None"] = "Kein",
	["Meta"] = "Meta",
	
	["Equipped Meta Gem"] = "Genutzer Meta Gem",
	["Currently active"] = "Aktuell aktiv",
	["Requirements"] = "Voraussetzungen",
	
	["At least %d %s, have %d."] = "Mindestens %d %s, ist %d.",
	["More %s than %s, have %d %s and %d %s."] = "Mehr %s als %s, ist %d %s und %d %s.",
	["Exactly %d %s, have %d."] = "Genau %d %s, ist %d.",
	["Exactly %d %s, only have %d."] = "Genau %d %s, ist nur %d.",
	
	["At least %d %s, only have %d."] = "Mindestens %d %s, ist nur %d.",
	["More %s than %s, only have %d %s and %d %s."] = "Mehr %s als %s, ist nur %d %s und %d %s.",
	
	["Requires more (.+) gems than (.+) gems"] = "Benötigt mehr Edelsteine der Kategorie (.+) als Edelsteine der Kategorie (.+)",
	["Requires at least ([0-9]+) (.+) gems"] = "Benötigt mindestens ([0-9]+) Edelsteine der Kategorie (.+)",
	["Requires exactly ([0-9]+) (.+) gems"] = "Benötigt genau ([0-9]+) Edelsteine der Kategorie (.+)",
	
	-- Gem types
	["COLORS"] = {"Rot", "Blau", "Gelb"},
	
	-- Both fields need to be localized
	["Violett"] = {"Rot", "Blau"},
	["Grün"] = {"Blau", "Gelb"},
	["Orange"] = {"Rot", "Gelb"},
	["Prismatisch"] = {"Rot", "Blau", "Gelb"},
}		
	
	--return
end
Report comment to moderator  
Reply With Quote
Unread 12-17-07, 04:33 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
This is fixed in next release
Report comment to moderator  
Reply With Quote
Unread 12-17-07, 11:43 AM  
picachu
A Kobold Labourer
 
picachu's Avatar

Forum posts: 0
File comments: 35
Uploads: 0
Selecting 'gem info' and then going back to either 'melee' or 'ranged' makes the line with 'crit change' to not be shown. It appears again when i go to 'base stats' and then back to 'melee'.
Report comment to moderator  
Reply With Quote
Unread 12-07-07, 07:42 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Originally posted by Ghostar
I try to localize but I failed too.
I translated "localization_US.lua" correctly. When I enter the game , no Lua error, but the system show " failed to match". It doesn't work.
Is that your problem ,or my problem?

and, can you explain this:
GemQuotaLocals = setmetatable({
}, {__index = GemQuotaLocals })

I cannot understand the meaning in "localization_FR.lua".

PS. My English is very poor. I hope you can catch my meaning :P


WOW version: China.PRC (zhCN) 2.3.0.7561
Basically what you'd do is create a new file called localization.zhCN.lua with the following inside

if( GetLocale() ~= "zhCN" ) then
return
end

GemQuotaLocals = setmetatable({
<-- LOCALIZATION HERE -->
}, {__index = GemQuotaLocals })
Then inside GemQuota.toc below localization.frFR.lua you'd add localization.zhCN.lua, then you stick your translation in the "<-- LOCALIZATION HERE -->" part.

The point of the whole setmetatable part is so if GemQuota is updated later on, it'll pull from the English localization where it can't find your zhCN localization.

Would you mind emailing me the localization to outlaw at subzerofx dot com? I can take a look at it and see what happened.
Report comment to moderator  
Reply With Quote
Unread 12-07-07, 07:27 PM  
Ghostar
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I try to localize but I failed too.
I translated "localization_US.lua" correctly. When I enter the game , no Lua error, but the system show " failed to match". It doesn't work.
Is that your problem ,or my problem?

and, can you explain this:
GemQuotaLocals = setmetatable({
}, {__index = GemQuotaLocals })

I cannot understand the meaning in "localization_FR.lua".

PS. My English is very poor. I hope you can catch my meaning :P


WOW version: China.PRC (zhCN) 2.3.0.7561
Report comment to moderator  
Reply With Quote
Unread 12-02-07, 09:41 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
That doesn't help much, how doesn't it work? Does it error, nothing happens, meta gem counts correctly but regular gems don't, ect.
Report comment to moderator  
Reply With Quote
Unread 12-02-07, 08:44 PM  
Khona
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Just FYI

This dosent work with TankPoints.
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 04:05 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Thats a new filter to check for and such, I'll add support for the exactly X Y types of meta gems.
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 03:24 PM  
Jerricka
An Aku'mai Servant
 
Jerricka's Avatar

Forum posts: 30
File comments: 178
Uploads: 0
Do the metas include the latest, Chaotic Skyfire Diamond?
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 10:43 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Originally posted by ageofhzh
thank you for your advices.
But it sitll some error
1.the count mod of stamina can work well,but the spell power&healing cant.
2.still faild to count the number of 3 kind of gems
3.meta gem cant identify correctly,only none and active even it is Inactive
First two are fixed in latest version, do you have a specific meta gem thats not working?
For meta gems, the two strings

["Requires more (.+) gems than (.+) gems"] = "Requires more (.+) gems than (.+) gems",
["Requires at least ([0-9]+) (.+) gems"] = "Requires at least ([0-9]+) (.+) gems",
Have to be localized for it to be able to figure out the gem status.
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 10:05 PM  
ageofhzh
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Shadowd
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.
thank you for your advices.
But it sitll some error
1.the count mod of stamina can work well,but the spell power&healing cant.
2.still faild to count the number of 3 kind of gems
3.meta gem cant identify correctly,only none and active even it is Inactive
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.