Help

Gem viewer

Auction & Economy Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 4,901 Downloads
  • Supports: 4.3
  • 4 Average Daily Downloads
  • Comments
  • Created 6/6/2009 7:20:28 PM
  • Updated 11/30/2011 4:25:40 PM
  • 45 Favorites
  • Project Site
  • License: GNU General Public License version 2 (GPLv2)
  • Release Type: Release
  • Newest File: Gem Viewer 4.1.8
or

About Gem viewer

Siena's Gem Viewer is simple (not for creator ;P) addon for World of Warcraft. SGV filled little glitch in AH which Blizzard 'patched' in 2.1.0. Frankly saying, I was not going to update or develop this mod any further, since I don't play WoW, but people @ wowinterface.com demanded a new, working version, so I created 3.1.3- a compatibility release. Since I quit wow long time ago I rarely check wowinterface and I don't track this mod anymore. Version 3.2.2.0 was created by Coren (wowinterface.com) who is also not active anymore. Versions 4.0.0 and beyond are created by bsmorgan.

Bonus filter allow you to search gems not only by socket color or its rarity, but also by bonuses they grant. Simple, do you want rare, blue socket that adds Strength? Triple click in SGV (rarity: rare, socket color: blue, bonus: Strength) you are ready to go!

To begin with SGV, simply open Auction House window, and click the new tab that has been added. Using it, you can order SGV to list all gems meeting your requirements, for instance rare & matching yellow socket. After you have clicked SEARCH button, the SGV, SGV will perform AH scan and list all gems matching your search criteria. Info includes gem name, rarity color, gem icon, it will show you CURRENT minimal bid for gem type and CURRENT minimal Buyout Value. You can change filter settings during scan. After scan has ended all all gathered data is available for offline browsing- which means, that you can play with filter settings without having to scan AH again (you can, of course, if you want to). When you left click on gem of your choice the SGV will send search request for item that you've selected and switch to browse page of AH Addon, where you will be able to buy it.

Dataset is rather small, so it will not hurt your addon cache, SGV will purge all data on AH Window close or WoW's exit. My intention was to write addon to have as low cpu and memory usage as possible, but you need to know, that this is my first addon for WoW and lua is not my primary programming language.

SGV lets you: - easily find gems on AH - create search filters (rarity, socket color, bonus filters) - know actual minimal bid and buyout values for gems - run search for specific gem - see number of specific gems (count(gem) group by Gem's name)

SGV cannot: - buy item directly from its frame

Things to know: - if you create filter f.e. gems that fit blue socket, SGV will show you also multisocket gems (blue and yellow, blue and red, etc) - when you click on item while scanning there is short pause between your action and SGV reaction- SGV puts your action on stack and waits for AH query permission; this pause is intentional - Currently bonus filters are available for US, GB. Other Clients won't show Bonuses dropdown menu, because of lacking bonuses' translations. Send me SGV_TRANS_ATT table and next verison will have bonuses for other language. Trans tables start: deDE, line 130 frFR, line 188

Locales: I'm aware that lots of people play WoW using different than enUS or enGB clients. I play using enGB, so I tried to localization addon as much as I can but I was not able to test it properly. - localized parts of SGV: - core algorithms [it includes mainly search patterns] - some UI elements

- deDE by Daddelkopp & tayeaden - frFR by Tazmanyak - zhTW by Evenrain - koKR by Sayclub - esES by me hahaha

Upcomming features: - full localization - with your help -... ..more to come? send me your suggestions

All critiques, bugtraqs, errors, patches, localisations, suggestions are welcome.

Thanks goes to: - Coren for v3.2.2.0 - ShaggY aka ShaggY for testing and suggestions ;* - Tazmanyak for frFR locale - tayeaden for help with German locale and pointing me out misstype in one german socket name and problem with ALL string - evenrain for zhTW translation - Sayclub for Korean translation - Daddelkopp for bonus filters for german client - Blizzard for their Interface AddOn Kit - Igor- creator of Igor's Mass Auction (check this addon out it's awsome:)) for clue how to hook my tab on Blizz's AH Frame. - The BugGrabber Team for buggraber - Scheid for myDebug

Have fun siena

Versions

4.1.8 - November 30, 2011

  • Updated TOC to 40300
  • Fixed new parameter on GetAuctionItemInfo

4.1.7 - Sept 29, 2011

  • Protect against a bad link.

4.1.6 - July 2, 2011

  • Added Mastery Rating

4.1.5 - June 28, 2011

  • Update TOC to 40200

4.1.4 - April 26, 2011

  • Update TOC to 40100

4.1.3 - February 18, 2011

  • Localized many variables. Thanks, Dridzt.

4.1.2 - February 17, 2011

  • Fixed the AH Item Class index for Gems (mirror Blizzard change).
  • Changed the Search Text to include the class we are searching (to catch a Blizzard change sooner).

4.1.1 - February 4, 2011

  • Cleaned up some global variable polution.
  • Cleaned up the localization tables (TODO: Use Curseforge Localization)

4.1.0 - February 1, 2011

  • Addon name changed to Gem Viewer. Siena is credited for his work, but it was confusing that the title and the filenames were different.
  • Added Required Item Level as a sort criteria (works but not elegantly).

4.0.0 - January 31, 2011

  • Update TOC
  • Changes necessary to run on interface 40000

3.2.2.2 - October 18, 2009

  • FIX: tab bug introduced by me:)

3.2.2.1 - October 17, 2009 (author Coren)

  • FIX: scroll bug introduced in 3.2.2.0

3.2.2.0 - October 13, 2009 (author Coren from wowinterface.com)

  • FIX: the tooltip scanning issue
  • NEW: allow translations to be partial
  • NEW: add a partial french translation
  • NEW: filters colored by socket color of the stat (meta as white, prismatic as greenish, untranslated as grey)
  • NEW: allow multi-select for filter (by holding shift) to filter by 2 values (e.g. int + spi)
  • NEW: pickup prismatic gems in scanning (if ANY_COLOR is properly set for the language)
  • NEW show filtered # / total # of gems found - remove a number of variables from global scope, clear up some trailing tabs, correct some indentation, etc.

3.1.3.7 - June 15, 2009

  • FIX: scan through all pages, not just 1st one. Because of this, not all gems were scanned.

3.1.3.6 - June 13, 2009

  • FIX: fix for dropdownlist

3.1.3.5 - June 13, 2009

  • FIX: possible fix for weird dropdown behaviour reported by few users

3.1.3.4 - June 10, 2009

  • FIX: charset encoding

3.1.3.3 - June 9, 2009

  • FIX: dropdown with quality works again
  • FIX: dropdown with bonuses looks better :)

3.1.3.2 - June 6, 2009

  • UPDATED: bonus filters match bonuses from the game, based on www.wow-gem.com
  • Known Bugs: Dropdown looks awfull, French and German locale need a facelift

3.1.3 - June 6, 2009

  • Works with World of Warcraft 3.1.3
  • Known Bugs: Quality ALL not working- result is empty

2.1.1 - February 18, 2008

  • NEW: working French locale, thanks go to Tazmanyak!

2.1.0 -

  • Works with World of Warcraft 2.3.0
  • NEW: Fast scan button - once every 15 minutes you can do fast scan of gems, shorter waiting time!!
  • UPDATE: slight XML objects modifications
  • FIX: page scanning info

2.0.2 - Septmeber 27, 2007

  • UPDATE: toc for version 2.2.0

2.0.1 - September 18, 2007

  • FIX problem with ALL string, thank you tayedaen

2.0 - May 30, 2007

  • Working with World of Warcraft 2.1.0
  • NEW: bonus filters
  • NEW: bonus filters for german client by Daddelkopp
  • NEW Korean translation by Sayclub
  • UPDATE Updated XML Objects
  • UPDATE toc for version 2.1.0

1.2 - April 18, 2007

  • NEW added zhTW locale, thank you Evenrain!
  • UPDATE slight XML objects modifications

1.1 - March 09, 2009

  • NEW counting gems by type
  • UPDATE changed logic in event processing. It results in less CPU usage during INITIAL scan (first scan after loging into game).
  • UPDATE slight XML objects modifications

- Bugfixes:

  • implemented bugfix in german locale (thank you tayeaden)

1.0 - February 24, 2007

  • First version released

Comments

First Previous Page 1 of 2 Next Last
  • #26

    Thanks for the v4.1.8 update that stops the errors and allows it to work again.

    Encountered another serious problem with the mod in WoW 4.3, though, that makes it much less useful than it used to be. The mod cannot see and doesn't report the new 4.3 epic gems (item level 300+) after scanning.

    For example, have it scan for all colors (checkmarked), the "Mastery" stat and the type "Epic". After the scan, it doesn't report anything as being on the auction house. Despite the fact there were five Fractured Lightstones on the AH at the time.

    Next test, have the mod scan for all colors again as well as the "Epic" type, but change the stat to "All Stats". After scanning, all the pre-Cataclysm epic gems people had up appeared on the Gem Viewer page, but not a single one of the new 4.3 ones. Doing manual searches on the default Blizzard AH page afterwards, there were many of them up there.

    So this needs to be fixed to be able to see the new epic gems.

  • #25

    This unfortunately bugs out and dies in WoW 4.3 live.

    Gem Viewer v4.1.6, USEnglish client/server, WoW 4.3 live, no other mods active for the test. Select a rarity (test: Rare), color (test: Red) & bonus (test: Agility). Click Search button. Sees about 26 pages of gems to search through and seemingly starts out scanning OK. A few gems found start appearing on the panel.

    But then at about 4 pages of the 26 through the scan, an error is thrown up and the scan stops/locks up permanently (you can still close the AH frame):

    ["message"] = "GemViewer\\GemViewer-4.1.6.lua:1311: attempt to compare number with string",
    ["locals"] = "link = \"|cff0070dd|Hitem:52206:0:0:0:0:0:0:44925860:11:0|h[Bold Inferno Ruby]|h|r\"\niColor = \"Red\"\niminBid = \"ITEM_LEVEL_ABBR\"\niminBo = 0\nquality = 3\ntexture = \"Icons\\inv_misc_cutgemsuperior6\"\nitmName = \"Bold Inferno Ruby\"\niColor2 = nil\nbonus = \"+40 Strength\"\nLevel = \"285\"\nbAnyColor = false\nitemString = \"item:52206:0:0:0:0:0:0:44925860:11:0\"\nlColor = 1\nlColor2 = nil\nfound = 1\n_ = 31\nitemId = \"52206\"\n_ = \"0\"\n_ = \"0\"\n_ = \"0\"\n_ = \"0\"\n_ = \"0\"\n_ = \"0\"\n_ = \"44925860\"\nSOCKET_REVERSE = {\n 8 = \"meta\"\n 2 = \"Blue\"\n 4 = \"Yellow\"\n 1 = \"Red\"\n}\nGV_SOCKETS = {\n meta = 8\n Yellow = 4\n Blue = 2\n Red = 1\n}\nGEM = {\n iText = \"+40 Strength\"\n color = \"Red\"\n minBo = 0\n iName = \"Bold Inferno Ruby\"\n iQuality = 3\n ihLink = \"|cff0070dd|Hitem:52206:0:0:0:0:0:0:44925860:11:0|h[Bold Inferno Ruby]|h|r\"\n iLink = \"item:52206:0:0:0:0:0:0:44925860:11:0\"\n iLevel = \"285\"\n minBid = \"ITEM_LEVEL_ABBR\"\n iTexture = \"Icons\\inv_misc_cutgemsuperior6\"\n iCount = 89\n}\nGEMS = {\n 1 = {}\n 2 = {}\n 4 = {}\n 8 = {}\n}\nGV_FILTERS = {\n 1 = \"agility\"\n}\nGV_RIL_Low = 0\nGV_RIL_High = 0\nGV_ITMS_MATCHED = 8\nGV_DISPLAY_BUFFER = {\n 40112 = {}\n 52204 = {}\n 68778 = {}\n 40150 = {}\n 40147 = {}\n}\nGV_DISPLAY_ASSOC = {\n 1 = \"40147\"\n 2 = \"52204\"\n 3 = \"40112\"\n 4 = \"40150\"\n 5 = \"68778\"\n}\nGV_ITMS_COUNT = 257\nGV_GEMS_FILLED = true\n", ["stack"] = "GemViewer\\GemViewer-4.1.6.lua:1311: in function \"GV_ItemMinMax\"\nGemViewer\\GemViewer-4.1.6.lua:1185: in function \"GV_InsertGEM\"\nGemViewer\\GemViewer-4.1.6.lua:1100: in function \"GV_Process\"\nGemViewer\\GemViewer-4.1.6.lua:703: in function \"GV_OnEvent\"\n:\"*:OnEvent\":1: in function :\"*:OnEvent\":1",

    ["session"] = 4956,

    ["counter"] = 1,
    The error & lockup consistently occurs no matter what gem type you try to search for.
    Last edited by Zidomo on 11/30/2011 11:01:25 AM
  • #24

    Here is a russian client translation:

    elseif ( locale == "ruRU") then
    GV_ITEM_LEVEL = "^Требуемый уровень предметов: ([%d]+)$";
    GV_ONE_COLOR = "^\"Для ([^%s]+) гнезда.\"$";
    GV_BI_COLOR = "^\"Для ([^%s]+) или ([^%s]+) гнезда.\"$";
    GV_ANY_COLOR = "^\"Для красного, желтого или синего гнезда."; -- NOT to terminate with \"$ due to potentially following "only one" text
    GV_META_COLOR = "^\"Подходит только в гнездо для ([^%s]+) самоцвета.\"$";
    GV_SOCKETS = {["красного"] = 1,["синего"] = 2,["желтого"] = 4,["особого"] = 8};
    GV_SEARCH_TEXT="Искать ";
    GV_RED_LBL="Красные";
    GV_BLUE_LBL="Синие";
    GV_YELLOW_LBL="Желтые";
    GV_META_LBL="Особые";

     

    How do I enable filtering by attributes (agility, int, ect.) ? I can't seems to find that dropdown anywhere.

  • #21
    I have 4.1.5 installed. Am I not looking in the right place? Or does this addon not have the ability to look for mastery gems?
  • #22
    The ability to filter by Mastery Rating has been added to 4.1.6 (enUS only, translators for other locales welcomed).
  • #23
    Thanks
  • #19
    2x GemViewer\GemViewer-4.1.4.lua:1075: bad argument #2 to "find" (string expected, got nil)

    GemViewer\GemViewer-4.1.4.lua:1075: in function "GV_Process"
    GemViewer\GemViewer-4.1.4.lua:696: in function "GV_OnEvent"
    :"*:OnEvent":1: in function :"*:OnEvent":1

    Locals:
    rows = 50
    iPrisma = 0
    iLevel = 0
    i = nil
    (for index) = 1
    (for limit) = 50
    (for step) = 1
    i = 1
    link = "|cffa335ee|Hitem:49110:0:0:0:0:0:0:1068808000:85:0|h[Alptraumträne]|h|r"
    ileLinii = 4
    gemColor1 = nil
    gemColor2 = nil
    iMatch = nil
    gemLevel = nil
    x = nil
    y = nil
    j = nil
    (for index) = 2
    (for limit) = 4
    (for step) = 1
    j = 2
    tekstw = "Einzigartig anlegbar"
    SOCKET_REVERSE = {
    1 = "roten"
    2 = "blauen"
    4 = "gelben"
    8 = "Meta"
    }
    GV_SOCKETS = {
    Meta = 8
    blauen = 2
    roten = 1
    gelben = 4
    }
    GV_META_COLOR = "^"Passt nur in einen Sockel der Kategorie ([^%s]+)."$"
    GV_ANY_COLOR = nil
    GV_BI_COLOR = "^"Am besten für einen ([^%s]+) oder ([^%s]+) Sockel geeignet."$"
    GV_ONE_COLOR = "^"Am besten für einen ([^%s]+) Sockel geeignet."$"
    GV_ITEM_LEVEL = nil
  • #20
    This error is due to incomplete localization. Unfortunately, I can't do the localization(s) myself, as I only have access to the enUS client. I can, however, include volunteer localization efforts in the distribution.

    GemViewer.lua lines 75-203 contain the enUS localization and lines 205-260 contain the needed deDE localization. Lines 206 and 209 are the most important and must match the tooltip text.

    Regards,

    Brad

  • #18
    Thanks so much for the update, been waiting for ages for this xD
  • #16
    Nice idea of an update to this. Unfortunately, v4.1.1 doesn't work at all in WoW 4.0.6 live.

    USEnglish client/server, using no other mods on the test character (besides an error catcher). The "Gem Viewer" tab appears in the AH. Switch to it. Select "Intellect" from the "Bonus" dropdown & "All" from the Rarity dropdown. Checkmark "Yellow Socket". Click the "Search" button ("Fast Scan" is greyed out). "Searching for GEMs" appears at the bottom center of the frame.

    When it completes, that text changes to "Scanning done. Browsing offline (0 types/0)". No gems at all appear in the frame, despite there being Intellect orange gems like Adept Ember Topaz actually listed in the regular AH Browse tab searching from it.

    Next try, checkmark all of the colors (Blue, Red, Yellow & Meta). From the Bonus & Rarity dropdowns, select "All". Then click "Search". After it goes through 12 pages, get "Scanning done. Browsing offline (0 types/0)" again with no gems at all showing in its frame...heh.

    Nice that you are updating this, but would be nicer if it actually worked ;).
  • #17
    Blizzard changed the AH Item Classes without a corresponding patch note in last weeks patch. Version 4.1.2 will fix your problem.

    I've added the class being searched to the status text so it will be a bit more obvious if Blizzard changes it again.

    Because GetAuctionItemClasses returns a localized list of classes (categories), I haven't figured out how to find "Gem" programatically.

    Brad
  • #15
    Distribution issues figured out!
  • #14
    I have managed to create a working version on 4.0.3a. No Cataclysm specific changes, just what was needed to make it work. I'm trying to figure out the distribution issues.

    Brad
  • #13
    Would really love this addon to be updated for cata. Missing it already :(
  • #12
    o well i guess
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!