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.
* 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
* 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.
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
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'.
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
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.
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