Addon Info.
Change Log
Optional Files (0)
Archived (19)
Comments (65)
  Category: Miscellaneous
Addon Information
Works with Patch 2.4
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Shadowd's Portal Bug Reports Feature Requests
Author:
Version:
r663
Date:
04-12-2008 07:52 PM
Size:
6.91 Kb
Downloads:
4,588
Views:
22,846
Favorites:
144
MD5:
Pictures
Click to enlarge
Gem Quota   Popular!
Rate: 4 out of 5 with 5 votes  
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.
  Change Log - Gem Quota
------------------------------------------------------------------------
r663 | shadowed.wow | 2008-04-12 17:51:41 -0700 (Sat, 12 Apr 2008) | 1 line

* Added Spell Haste info for the new cuts in 2.4
------------------------------------------------------------------------
r452 | shadowed.wow | 2007-12-17 14:56:55 -0800 (Mon, 17 Dec 2007) | 1 line

* 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.
------------------------------------------------------------------------
r412 | shadowed.wow | 2007-12-01 17:15:45 -0800 (Sat, 01 Dec 2007) | 1 line

* Fixed a bug where meta gems with more then 1 requirement only had the last requirement being scanned
------------------------------------------------------------------------
r386 | shadowed.wow | 2007-11-21 14:35:46 -0800 (Wed, 21 Nov 2007) | 1 line

* Added support for meta gems with exact gem requirements, like Chaotic Skyfire Diamond
------------------------------------------------------------------------
r368 | shadowed.wow | 2007-11-13 20:44:15 -0800 (Tue, 13 Nov 2007) | 1 line

* Fixed a bug with hybrid gems, and single colored gems with +healing on them not being correctly scanned
------------------------------------------------------------------------
r358 | shadowed.wow | 2007-11-11 17:57:00 -0800 (Sun, 11 Nov 2007) | 1 line

* Fixed localization not being updated to include the switch from TYPES -> COLORS
------------------------------------------------------------------------
r357 | shadowed.wow | 2007-11-11 14:13:16 -0800 (Sun, 11 Nov 2007) | 1 line

* Fixed tooltip error in ScanEquip
------------------------------------------------------------------------
r356 | shadowed.wow | 2007-11-11 13:35:13 -0800 (Sun, 11 Nov 2007) | 1 line

* Fixed a rare bug that would cause tooltip scanning to fail so it wouldn't pick up any meta gems, or regular gems
------------------------------------------------------------------------
r354 | shadowed.wow | 2007-11-10 14:11:49 -0800 (Sat, 10 Nov 2007) | 1 line

* 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
------------------------------------------------------------------------
r351 | shadowed.wow | 2007-11-10 12:26:25 -0800 (Sat, 10 Nov 2007) | 1 line

* Fixed an error for people using meta gems with a requirement of at least X gems.
------------------------------------------------------------------------
r349 | shadowed.wow | 2007-11-09 22:17:12 -0800 (Fri, 09 Nov 2007) | 8 lines

* 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
------------------------------------------------------------------------
r289 | shadowed.wow | 2007-10-25 09:34:04 -0700 (Thu, 25 Oct 2007) | 1 line

* Fixed #276 error
------------------------------------------------------------------------
r278 | shadowed.wow | 2007-10-22 21:29:28 -0700 (Mon, 22 Oct 2007) | 1 line

* Doing code at 12:30 AM is bad, removed debug code
------------------------------------------------------------------------
r275 | shadowed.wow | 2007-10-21 23:36:05 -0700 (Sun, 21 Oct 2007) | 1 line

* TOC Update
------------------------------------------------------------------------
r274 | shadowed.wow | 2007-10-21 23:35:05 -0700 (Sun, 21 Oct 2007) | 3 lines

* 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"
------------------------------------------------------------------------
r91 | shadowed.wow | 2007-07-02 20:02:13 -0700 (Mon, 02 Jul 2007) | 2 lines

Updated OptionHouse versions for release in Honest/LM/SSPVP.
Fixed GemCount so it works fully without Dongle
------------------------------------------------------------------------
r89 | shadowed.wow | 2007-07-02 16:14:26 -0700 (Mon, 02 Jul 2007) | 1 line

Removed Dongle, broke everything probably, just another day of developing.
------------------------------------------------------------------------
r61 | shadowed.wow | 2007-06-18 17:19:41 -0700 (Mon, 18 Jun 2007) | 1 line

Fixed error when a gem not matching because Blizzard is annoying and likes to use 5 different format for gem tooltips.
------------------------------------------------------------------------
r31 | shadowed.wow | 2007-05-31 15:54:05 -0700 (Thu, 31 May 2007) | 1 line


------------------------------------------------------------------------
r10 | shadowed.wow | 2007-05-24 13:44:44 -0700 (Thu, 24 May 2007) | 1 line

Bug that was causing errors due to hybrid gems with the name and color not aligning (Glinting Noble Topaz for one) should be fixed.
------------------------------------------------------------------------
r2 | shadowed.wow | 2007-05-23 12:00:35 -0700 (Wed, 23 May 2007) | 1 line

First Commit
------------------------------------------------------------------------
  Optional Files - Gem Quota
Sorry, there are currently no optional files available.
  Archived Versions - Gem Quota
File Name
Version
Size
Author
Date
r452
6.83 Kb
Shadowd
12-17-2007 05:00 PM
r412
6.69 Kb
Shadowd
12-01-2007 07:17 PM
r386
6.64 Kb
Shadowd
11-21-2007 04:39 PM
r368
6.49 Kb
Shadowd
11-13-2007 10:45 PM
r358
6.43 Kb
Shadowd
11-11-2007 07:58 PM
r357
6.32 Kb
Shadowd
11-11-2007 04:14 PM
r356
6.30 Kb
Shadowd
11-11-2007 03:36 PM
r349
6.12 Kb
Shadowd
11-10-2007 12:24 AM
r289
5.94 Kb
Shadowd
10-25-2007 11:35 AM
r278
5.91 Kb
Shadowd
10-23-2007 02:33 AM
r275
5.88 Kb
Shadowd
10-22-2007 01:37 AM
1.0
30.89 Kb
Shadowd
05-28-2007 03:28 AM
1.0.0
14.07 Kb
Shadowd
05-22-2007 04:26 PM
0.3.0
14.09 Kb
Shadowd
05-22-2007 12:22 AM
0.2.4
13.91 Kb
Shadowd
04-17-2007 03:39 AM
0.2.2
13.24 Kb
Shadowd
04-17-2007 01:30 AM
0.2.1
11.92 Kb
Shadowd
04-16-2007 11:48 PM
0.2.0
11.81 Kb
Shadowd
04-16-2007 07:45 PM
0.1.1
11.41 Kb
Shadowd
04-16-2007 03:34 PM
  Comments - Gem Quota
Post A Reply
Author Comments Comment Options
Old 05-03-2008, 06: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
Gonzo08 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-13-2008, 04:13 PM  
Shadowd
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 569
Uploads: 51
Did you try the latest version yet? There should only be around 6 new cuts, and they all share the same spell haste pattern.
Shadowd is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-13-2008, 04:04 PM  
Kelem
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
I'll start working on the list then, it's a lot of them
Kelem is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-12-2008, 07:37 PM  
Shadowd
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 569
Uploads: 51
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.
Shadowd is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-12-2008, 03:58 PM  
Kelem
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
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?
Kelem is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-18-2008, 01:12 PM  
BlackZam
A Murloc Raider
 
BlackZam's Avatar

Forum posts: 6
File comments: 50
Uploads: 0
Getting blocked addon popup with gem quota when trying to setting main tank with the built in raidtools.
BlackZam is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-21-2007, 07:54 AM  
Xanatandor
A Defias Bandit

Forum posts: 2
File comments: 28
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
Xanatandor is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-17-2007, 04:33 PM  
Shadowd
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 569
Uploads: 51
This is fixed in next release
Shadowd is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-17-2007, 11:43 AM  
picachu
A Kobold Labourer

Forum posts: 0
File comments: 17
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'.
picachu is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-07-2007, 07:42 PM  
Shadowd
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 569
Uploads: 51
Quote:
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

Quote:
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.
Shadowd is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-07-2007, 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
Ghostar is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-02-2007, 09:41 PM  
Shadowd
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 569
Uploads: 51
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.
Shadowd is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-02-2007, 08:44 PM  
Khona
A Kobold Labourer

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

This dosent work with TankPoints.
Khona is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-21-2007, 04:05 PM  
Shadowd
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 569
Uploads: 51
Thats a new filter to check for and such, I'll add support for the exactly X Y types of meta gems.
Shadowd is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-21-2007, 03:24 PM  
Jerricka
A Deviate Faerie Dragon
 
Jerricka's Avatar

Forum posts: 14
File comments: 77
Uploads: 0
Do the metas include the latest, Chaotic Skyfire Diamond?
Jerricka is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


WoWInterface.com Copyright ©2004
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.