Download
(46 Kb)
Download
Updated: 11-30-11 03:27 PM
Pictures
File Info
Updated:11-30-11 03:27 PM
Created:unknown
Downloads:9,531
Favorites:127
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)


Archived Files (12)
File Name
Version
Size
Author
Date
4.1.6
46kB
sna
07-02-11 09:35 AM
4.1.5
46kB
sna
06-28-11 01:57 PM
4.1.4
46kB
sna
04-27-11 08:29 AM
4.1.2
46kB
sna
02-17-11 12:50 PM
3.2.2.2
46kB
sna
10-17-09 04:30 PM
3.2.2.1
46kB
sna
10-17-09 05:43 AM
3.2.2.0
46kB
sna
10-13-09 12:48 PM
3.1.3.7
44kB
sna
06-15-09 03:45 PM
3.1.3.6
44kB
sna
06-13-09 07:55 AM
3.1.3.5
44kB
sna
06-13-09 05:22 AM
3.1.3.4
44kB
sna
06-10-09 04:30 PM
3.1.3.3
44kB
sna
06-09-09 12:58 PM


Post A Reply Comment Options
Old 01-23-12, 08:29 AM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 61
File comments: 160
Uploads: 0
Some taint issues

Looking into my taint log I noticed these results

1/22 23:04:39.296 An action was blocked in combat because of taint from GemViewer - CompactRaidFrame2:ClearAllPoints()
1/22 23:04:39.296 Interface\FrameXML\FlowContainer.lua:147 FlowContainer_DoLayout()
1/22 23:04:39.296 Interface\FrameXML\FlowContainer.lua:17 FlowContainer_ResumeUpdates()
1/22 23:04:39.296 Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua:186 CompactRaidFrameContainer_LayoutFrames()
1/22 23:04:39.296 Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua:131 CompactRaidFrameContainer_TryUpdate()
1/22 23:04:39.296 Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua:58 CompactRaidFrameContainer_OnEvent()

and

1/22 23:04:39.296 An action was blocked in combat because of taint from GemViewer - CompactRaidFrameManagerContainerResizeFrame:Hide()
1/22 23:04:39.296 Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:560 CompactRaidFrameManager_LockContainer()
1/22 23:04:39.296 Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:553 CompactRaidFrameManager_UpdateContainerLockVisibility()
1/22 23:04:39.296 Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:47

and

1/22 23:08:15.453 An action was blocked in combat because of taint from GemViewer - CompactRaidFrame1:Show()
1/22 23:08:15.453 Interface\FrameXML\CompactUnitFrame.lua:264 CompactUnitFrame_UpateVisible()
1/22 23:08:15.453 Interface\FrameXML\CompactUnitFrame.lua:224 CompactUnitFrame_UpdateAll()
1/22 23:08:15.453 Interface\FrameXML\CompactUnitFrame.lua:105
Last edited by Xylan Trueheart : 01-23-12 at 08:31 AM.
Xylan Trueheart is offline Report comment to moderator  
Reply With Quote
Old 08-02-11, 12:46 PM  
bsmorgan
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 51
Uploads: 2
Re: Odd error

Originally posted by Xylan Trueheart

1x GemViewer\GemViewer-4.1.6.lua:1050: Usage: GV_TT:SetHyperlink(link)
<in C code>
GemViewer\GemViewer-4.1.6.lua:1050: in function "GV_Process"
GemViewer\GemViewer-4.1.6.lua:703: in function "GV_OnEvent"
<string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1
This error appears to be due to an undocumented API change by Blizzard. I'll do some research and see if I can find a solution.
bsmorgan is offline Report comment to moderator  
Reply With Quote
Old 07-13-11, 08:49 PM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 61
File comments: 160
Uploads: 0
Odd error

Using latest version 4.1.6 with a clean install. I got this error message as seen by BugGrabber, English American client when doing a general fresh scan for gems by my level 85 worgen druid, feral cat spec. I get this error on occasion by my other toons but since it hasn't "gone away" I figure I post it here.

1x GemViewer\GemViewer-4.1.6.lua:1050: Usage: GV_TT:SetHyperlink(link)
<in C code>
GemViewer\GemViewer-4.1.6.lua:1050: in function "GV_Process"
GemViewer\GemViewer-4.1.6.lua:703: in function "GV_OnEvent"
<string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1

Locals:
rows = 50
iPrisma = 0
iLevel = 12
i = nil
(for index) = 13
(for limit) = 50
(for step) = 1
i = 13
link = nil
SOCKET_REVERSE = <table> {
8 = "meta"
2 = "Blue"
4 = "Yellow"
1 = "Red"
}
GV_SOCKETS = <table> {
meta = 8
Yellow = 4
Blue = 2
Red = 1
}
GV_META_COLOR = "^"Only fits in a ([^%s]+) gem slot."$"
GV_ANY_COLOR = "^"Matches a Red, Yellow or Blue Socket."
GV_BI_COLOR = "^"Matches a ([^%s]+) or ([^%s]+) Socket."$"
GV_ONE_COLOR = "^"Matches a ([^%s]+) Socket."$"
GV_ITEM_LEVEL = "^Requires Item Level: ([%d]+)$"

than got this one after

1x GemViewer\GemViewer-4.1.6.lua:1501: attempt to index local "obj" (a nil value)
GemViewer\GemViewer-4.1.6.lua:1501: in function "GV_InsertLink"
<string>:"*:OnClick":2: in function <string>:"*:OnClick":1

Locals:
self = GV_GemButton2 {
0 = <userdata>
hlink = "|cff0070dd|Hitem:52212:0:0:0:0:0:0:1897251456:85:0|h[Delicate Inferno Ruby]|h|r"
link = "item:52212:0:0:0:0:0:0:1897251456:85:0"
}
button = "LeftButton"
down = false
Last edited by Xylan Trueheart : 07-13-11 at 08:52 PM.
Xylan Trueheart is offline Report comment to moderator  
Reply With Quote
Old 07-03-11, 10:37 AM  
bsmorgan
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 51
Uploads: 2
Mastery has been added in 4.1.6 at the end of the list.
bsmorgan is offline Report comment to moderator  
Reply With Quote
Old 05-15-11, 03:38 PM  
SmuvMoney
A Defias Bandit

Forum posts: 3
File comments: 85
Uploads: 0
No listing for Mastery as a stat to search on?

I noticed that mastery was missing as a stat to search for gems. Assuming the list is alphabetical, it would have been below/near the mana listings. However, I did not see it. Could mastery be added as search criteria? Thanks in advance.
__________________
Peace & God Bless,

$muvMoney
John 14:27 & Numbers 6:24
SmuvMoney is offline Report comment to moderator  
Reply With Quote
Old 02-18-11, 12:43 PM  
bsmorgan
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 51
Uploads: 2
Originally posted by Dridzt
Code:
-- TODO: these could ALL be local'ed?
Yes they could
Thanks! This will be included in the next version.

Brad
bsmorgan is offline Report comment to moderator  
Reply With Quote
Old 02-18-11, 03:59 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1190
File comments: 783
Uploads: 82
Code:
-- TODO: these could ALL be local'ed?
Yes they could

4.12 codebase minus 40-odd unneeded globals: pastey
Verified that they're not used in any other file and tested in-game.

Hope it's of some use.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-03-11, 06:56 PM  
bsmorgan
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 51
Uploads: 2
Originally posted by deabith
Hi there

i am using a German client and i found that in the german local section there is no translated texts. they should be in the sienasGemViewer.lua, correct?

Can yo help?

Thnx
I can make you a deal... You provide me with the translations necessary (see the code) and I'll put them in and release a new version. The translations necessary are case sensitive and must match the exact text used by the German client. I don't have access to any client other than EnUS.
bsmorgan is offline Report comment to moderator  
Reply With Quote
Old 01-03-10, 07:38 AM  
deabith
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Hi there

i am using a German client and i found that in the german local section there is no translated texts. they should be in the sienasGemViewer.lua, correct?

Can yo help?

Thnx

Message: Interface\AddOns\sienasGemViewer\sienasGemViewer.lua:799: bad argument #2 to 'find' (string expected, got nil)
Interface\AddOns\AuldLangSyne_Fu\Fu.lua:730: in function <Interface\AddOns\AuldLangSyne_Fu\Fu.lua:729>
(tail call): ?
(tail call): ?
[C]: ?
[C]: in function `find'
Interface\AddOns\sienasGemViewer\sienasGemViewer.lua:799: in function `SGV_Process'
Interface\AddOns\sienasGemViewer\sienasGemViewer.lua:539: in function `SGV_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Time: 01/03/10 15:36:46
Count: 2
Stack: (tail call): ?
(tail call): ?
[C]: ?
[C]: in function `find'
Interface\AddOns\sienasGemViewer\sienasGemViewer.lua:799: in function `SGV_Process'
Interface\AddOns\sienasGemViewer\sienasGemViewer.lua:539: in function `SGV_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: (*temporary) = "AUCTION_ITEM_LIST_UPDATE"
(*temporary) = "AUCTION_ITEM_LIST_UPDATE"
(*temporary) = nil
(*temporary) = nil
(*temporary) = <function> defined =[C]:-1
deabith is offline Report comment to moderator  
Reply With Quote
Old 10-19-09, 12:10 PM  
Mambaru
A Defias Bandit
 
Mambaru's Avatar

Forum posts: 2
File comments: 38
Uploads: 0
Originally posted by sna
should be fixed in 3.2.2.2 if I did everything correctly
Magic that did the trick!
Mambaru is offline Report comment to moderator  
Reply With Quote
Old 10-17-09, 04:41 PM  
sna
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
Originally posted by Petrah
Very nice addon... any idea when we will have a working version that includes the bottom tab and the scroll ability?
should be fixed in 3.2.2.2 if I did everything correctly
sna is offline Report comment to moderator  
Reply With Quote
Old 10-17-09, 01:58 PM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2865
File comments: 333
Uploads: 10
Very nice addon... any idea when we will have a working version that includes the bottom tab and the scroll ability?
__________________
♪~ ( ) I My Sonos!
Petrah is offline Report comment to moderator  
Reply With Quote
Old 10-17-09, 09:18 AM  
sna
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
Originally posted by Mambaru
The latest patch appears to be broken for me. I've lost the tab on the AH. It was there with the previous version, and I've not changed any other addons.

Deleted it and then redowloaded but still the same result.
First of all sorry for inconvinience this caused. Since I no longer provide patches and new version and I relay on Coren's work, we need to wait for an update.

Meanwhile, please download 3.2.2.0 version from ARchived versions
sna is offline Report comment to moderator  
Reply With Quote
Old 10-17-09, 08:07 AM  
Mambaru
A Defias Bandit
 
Mambaru's Avatar

Forum posts: 2
File comments: 38
Uploads: 0
The latest patch appears to be broken for me. I've lost the tab on the AH. It was there with the previous version, and I've not changed any other addons.

Deleted it and then redowloaded but still the same result.
Last edited by Mambaru : 10-17-09 at 08:37 AM.
Mambaru is offline Report comment to moderator  
Reply With Quote
Old 10-14-09, 07:54 AM  
Coren
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 55
Uploads: 7
Re: Missing

Thanks for sna for releasing the update. :-)

Originally posted by Xylan Trueheart
The latest update appears to be broken. I am missing the scroll bar to scroll through 32 pages of searched gems. The first pages list the first 8 gems in the window but unable to see the additonal gems.
All errors in 3.2.2.0 are to be blamed on me. ;-(
You can workaround the bug by filtering *after* scanning (or by unsetting and setting the filter again).
Patch for this bug sent to sna.
Coren is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: