Download
(46Kb)
Download
Updated: 11-30-11 04:27 PM
Pictures
File Info
Updated:11-30-11 04:27 PM
Created:unknown
Downloads:11,626
Favorites:121
MD5:

Gem Viewer  Popular! (More than 5000 hits)

Version: 4.1.8
by: sna, bsmorgan

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 so versions 3.2.2.0+ are created by Coren(wowinterface.com).
Versions 4.0.0+ are maintained 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.

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 using copy & paste design pattern;)

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
*CLEANUP: 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. If you have no problems with bonus dropdown, you won't notice any change.

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
Optional Files (0)


Post A Reply Comment Options
Unread 09-05-07, 09:28 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
bug + fix for non-english clients (deDE)

Hi !

I've found a bug for non-english clients. In 'sienasGemViewer.lua', the variable 'info.text' is set to 'ALL'.
This is not a string but a localized variable from globalstrings.lua.

Then in the code there are a lot of references to "All". While this is the same as ALL in an english client, this is not true for other languages.

So to fix this do the following:
- Open 'sienasGemViewer.lua'
- Search for "All" (including the quotes !!!!) and replace with ALL (no quotes here, must be uppercase !!!)

There are three lines where you have to do this: line 245:
Code:
old: selectedBonus = "All"  
new: selectedBonus = ALL
line 263:
Code:
old: if v.iQuality == qualityIndex and ( found ~= nil and selectedBonus ~=nil or selectedBonus == "All") then
new: if v.iQuality == qualityIndex and ( found ~= nil and selectedBonus ~=nil or selectedBonus == ALL) then
line 272:
Code:
old: if ( found ~= nil and selectedBonus ~=nil or selectedBonus == "All") then
new: if ( found ~= nil and selectedBonus ~=nil or selectedBonus == ALL) then
Please include this fix in the next version.

cu
tayedaen
Report comment to moderator  
Reply With Quote
Unread 09-18-07, 06:30 AM  
sna
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
thanks again tayedaen sorry for delay but i'm not tracking this addon, because I believe noone uses it

I've uploaded new versions Cheers!
Report comment to moderator  
Reply With Quote
Unread 09-18-07, 04:54 PM  
Filadan
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Originally posted by sna
thanks again tayedaen sorry for delay but i'm not tracking this addon, because I believe noone uses it

I've uploaded new versions Cheers!
I normally don't post comments, just not my thing really, but I love this addon. Half of my time spent at the AH is looking for gems and this addon makes it so much easier. I practically had a heart attack when it got broken way back when they added the new gem categories to the AH. Don't assume that no one uses it just because no one talks heh.
Report comment to moderator  
Reply With Quote
Unread 09-25-07, 12:21 PM  
Wapsitax
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
How it SHOULD have been.

Hey! Not only do I use this addon, but I love it! This interface is how Blizzard SHOULD have made the gem searching.

Keep up the good work!
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 07:44 PM  
Filadan
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Please oh please tell me you're planning on updating this. We're on day into the patch and I already miss this. I'll go crazy if this isn't fixed by the time Season 3 is out lol
Report comment to moderator  
Reply With Quote
Unread 11-15-07, 09:41 AM  
sna
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
I've updated SGV to new, working version.
Report comment to moderator  
Reply With Quote
Unread 01-22-08, 02:15 PM  
Tazmanyak
An Aku'mai Servant

Forum posts: 34
File comments: 28
Uploads: 0
frFR locale

Hello sna

Playing wow with a frFR client i tried your addon, decided to help with localization.
But ...
From scratch, ie fresh installed addon, nothing display in the SGV frame after a scan ...

Open AH
Go to SGV tab
Hit scan
-> got the message "AH scan complete" but the tab remains empty (there are gems for sale at AH)

Only SGV loaded (no other addon)

So,
I tried to first check these strings:
Code:
ONE_COLOR = "^\"Correspond a une châsse ([^%s]+).\"$";
MULTI_COLOR = "^\"Correspond a une châsse ([^%s]+) ou ([^%s]+).\"$"; 
META_COLOR = "^\"Ne peut etre serti que dans une châsse de ([^%s]+).\"$";
SOCKETS = {["rouge"] = 1,["bleue"] = 2,["jaune"] = 4,["méta-gemme"] = 8};
RED_LBL="Châsse rouge";
BLUE_LBL="Châsse bleue";
YLW_LBL="Châsse jaune";
META_LBL="Châsse méta-gemme";
And didnt notice any other errors than rogue => rouge (red = rouge in french)

I first thought those strings were used to find the gems in the AH, but now i'm not sure at all

So, please, forgive my lack of coding skill, but could you help me to help you localize your addon for french language?
I will try to do my best
Last edited by Tazmanyak : 01-22-08 at 02:21 PM.
Report comment to moderator  
Reply With Quote
Unread 01-27-08, 06:26 AM  
sna
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
Re: frFR locale

Hi Tazmanyak,

first of all, I did fr translation using allakhazam, so, first of all I would kindly ask you for gems' exact "match texts" in french. There is possibility that regular expressions are not ok.

Second, you are right those strings are made for pattern matching.

Third, are you sure that you are using newest version of SGV?
Report comment to moderator  
Reply With Quote
Unread 02-01-08, 11:51 AM  
Tazmanyak
An Aku'mai Servant

Forum posts: 34
File comments: 28
Uploads: 0
Re: Re: frFR locale

Thank you for the reply,
Yes i use the last version form WowI, do you have a more up-to-date version somewhere?
I will try to localize all the gems paterns to french, i will just need some time to do it, then i'll post or PM my work, with tests results.
Report comment to moderator  
Reply With Quote
Unread 02-03-08, 12:32 PM  
Tazmanyak
An Aku'mai Servant

Forum posts: 34
File comments: 28
Uploads: 0
Re: Re: Re: frFR locale

I worked a bit on fr localization, and i found some tiny errors (accents).
Now i can scan the AH and display results, even filter by colors, quality ...
Some of the other filters (the list) still dont work, and i cant figure why ...
Some others (the one still in english) will be translated soon.

Here is the "actual work":

Code:
elseif (locale == "frFR") then
	ONE_COLOR = "^\"Correspond à une châsse ([^%s]+).\"$";
	MULTI_COLOR = "^\"Correspond à une châsse ([^%s]+) ou ([^%s]+).\"$"; 
	META_COLOR = "^\"Ne peut être serti que dans une châsse de ([^%s]+).\"$";
	SOCKETS = {["rouge"] = 1,["bleue"] = 2,["jaune"] = 4,["méta-gemme"] = 8};
	RED_LBL="Châsse rouge";
	BLUE_LBL="Châsse bleue";
	YLW_LBL="Châsse jaune";
	META_LBL="Châsse méta-gemme";
	SGV_SEARCH_TEXT="Recherche de gemmes ...";
	
	-- PUT SGV_TRANS_ATT DEFINITION HERE
	SGV_TRANS_ATT["Critical Rating"] = "Critical Rating";   --?
	SGV_TRANS_ATT["Dodge Rating"] = "score d'esquive";      --?
	SGV_TRANS_ATT["Healing"] = "soins";
	SGV_TRANS_ATT["Stamina"] = "Endurance";
        SGV_TRANS_ATT["Strength"] = "Force";
	SGV_TRANS_ATT["Attack Power"] = "puissance d'attaque";
	SGV_TRANS_ATT["Defense"] = "défense";
	SGV_TRANS_ATT["Parry Rating"] = "score de parade";      --?
	SGV_TRANS_ATT["Agility"] = "Agilité";
	SGV_TRANS_ATT["Resilience Rating"] = "score de résilience";
	SGV_TRANS_ATT["Hit Rating"] = "score de toucher";
	SGV_TRANS_ATT["Spell Damage"] = "dégâts des sorts";
	SGV_TRANS_ATT["Intellect"] = "Intelligence";
	SGV_TRANS_ATT["Critical Strike Rating"] = "score de coup critique";
	SGV_TRANS_ATT["Spell Critical Rating"] = "score de critique des sorts";
	SGV_TRANS_ATT["Healing Spells"] = "Healing Spells";     --?
	SGV_TRANS_ATT["Mana every 5 sec"] = "mana toutes les 5 sec";
	SGV_TRANS_ATT["Mana per 5 Seconds"] = "mana toutes les 5 secondes" ;    --? no need
	SGV_TRANS_ATT["mana per 5 sec."] = "mana per 5 sec." ;  --?
	SGV_TRANS_ATT["Reduced Threat"] = "réduction de la menace";
	SGV_TRANS_ATT["Chance to Stun Target"] = "Chance to Stun Target";       --?
	SGV_TRANS_ATT["Melee Damage"] = "dégâts en mélée";      --?
	SGV_TRANS_ATT["Spell Reflect"] = "renvoi de sort";
	SGV_TRANS_ATT["Snare and Root Resist"] = "Ralentir et Immobiliser";
	SGV_TRANS_ATT["Chance to restore mana on spellcast"] = "chance de restaurer des points de mana au lancement d'un sort";
	SGV_TRANS_ATT["Minor Run Speed Increase"] = "vitesse de course";
	SGV_TRANS_ATT["Chance to Restore Health on hit"] = "chance de restaurer des points de vie au toucher";
	SGV_TRANS_ATT["Spirit"] = "Esprit";
	SGV_TRANS_ATT["Spell Penetration"] = "pénétration des sorts";
	SGV_TRANS_ATT["Spell Hit Rating"] = "score de toucher des sorts";
	SGV_TRANS_ATT["next spell cast in half time"] = "durée de l'incantation du prochain sort réduite de moitié";
Last edited by Tazmanyak : 02-03-08 at 12:33 PM.
Report comment to moderator  
Reply With Quote
Unread 02-06-08, 05:25 PM  
sna
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
Re: Re: Re: Re: frFR locale

Originally posted by Tazmanyak
I worked a bit on fr localization,
wow nice D I'm waitng for PM with your work and I will add new version with proper french ;D thank you
Report comment to moderator  
Reply With Quote
Unread 02-10-08, 07:23 PM  
Tazmanyak
An Aku'mai Servant

Forum posts: 34
File comments: 28
Uploads: 0
frFR locale

You can check your PM's ^^
Report comment to moderator  
Reply With Quote
Unread 02-18-08, 12:17 PM  
sna
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
Re: frFR locale

Originally posted by Tazmanyak
You can check your PM's ^^
nice and sorry for delay
Report comment to moderator  
Reply With Quote
Unread 02-18-08, 05:27 PM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 354
Uploads: 0
D/l, tons of errors.deleted old folder before installing this one...these are right on login.

2008/02/18 17:14:31-769-x2]: sienasGemViewer\sienasGemViewer.lua:199: '<eof>' expected near 'elseif'

---
[2008/02/18 17:14:31-769-x1]: <string>:"SGV_BrowseDropDown:OnLoad":1: attempt to call global 'SGV_BrowseDropDown_OnLoad' (a nil value)

---

[2008/02/18 17:14:31-769-x1]: <string>:"SGV_Filter:OnLoad":1: attempt to call global 'SGV_Filter_OnLoad' (a nil value)

---

[2008/02/18 17:14:31-769-x1]: <string>:"SGV_Frame:OnLoad":1: attempt to call global 'SGVFrame_OnLoad' (a nil value)

--

[2008/02/18 17:14:31-769-x1]: <string>:"SGV_SearchFrameTab:OnLoad":1: attempt to call global 'SGVTT_Init' (a nil value)

---
Report comment to moderator  
Reply With Quote
Unread 02-19-08, 05:41 AM  
Tazmanyak
An Aku'mai Servant

Forum posts: 34
File comments: 28
Uploads: 0
I confirm ...
There is an unneeded end line 196 (end of frfr locales elseif)
Just delete it and it should fix the problem before sna release a patch i think ...

Sorry this is my fault, it comes from my files when i sent translation to sna ^^
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: