Category: Miscellaneous
Addon Information
Works with 3.2
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)
Author:
Version:
3.2.2.2
Date:
10-17-2009 06:30 PM
Size:
45.98 Kb
Downloads:
6,533
Favorites:
125
MD5:
Pictures
Click to enlarge
SGV is showing gems with Strength bonus
siena's Gem Viewer   Popular! (More than 5000 hits)
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)

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:
- my girlfriend Ania for being so sweet and marvelous person
- 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
  Change Log - siena's Gem Viewer
Versions
========
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 - siena's Gem Viewer
Sorry, there are currently no optional files available.
  Archived Versions - siena's Gem Viewer
File Name
Version
Size
Author
Date
3.2.2.1
46kB
sna
10-17-2009 07:43 AM
3.2.2.0
46kB
sna
10-13-2009 02:48 PM
3.1.3.7
44kB
sna
06-15-2009 05:45 PM
3.1.3.6
44kB
sna
06-13-2009 09:55 AM
3.1.3.5
44kB
sna
06-13-2009 07:22 AM
3.1.3.4
44kB
sna
06-10-2009 06:30 PM
3.1.3.3
44kB
sna
06-09-2009 02:58 PM
  Comments - siena's Gem Viewer
Post A Reply Comment Options
Old 10-19-2009, 02:10 PM  
Mambaru
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Quote:
Originally posted by sna
should be fixed in 3.2.2.2 if I did everything correctly
Magic that did the trick!
Mambaru is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-17-2009, 06:41 PM  
sna
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 36
Uploads: 1
Quote:
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   Edit/Delete Message Reply With Quote
Old 10-17-2009, 03:58 PM  
Petrah
nUI User & Supporter
 
Petrah's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 1967
File comments: 132
Uploads: 5
Very nice addon... any idea when we will have a working version that includes the bottom tab and the scroll ability?
__________________


My nUI Dashboard Skins

~ nUI: Spiel ~ nUI: DeathKnight ~ nUI: Paladin ~ nUI: Warlock ~
Petrah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-17-2009, 11:18 AM  
sna
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 36
Uploads: 1
Quote:
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   Edit/Delete Message Reply With Quote
Old 10-17-2009, 10:07 AM  
Mambaru
A Kobold Labourer

Forum posts: 0
File comments: 17
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-2009 at 10:37 AM.
Mambaru is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-14-2009, 09:54 AM  
Coren
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 49
Uploads: 5
Re: Missing

Thanks for sna for releasing the update. :-)

Quote:
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   Edit/Delete Message Reply With Quote
Old 10-13-2009, 09:39 PM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 18
File comments: 91
Uploads: 0
Missing

The latest update appears rto 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.
Xylan Trueheart is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 02:35 AM  
Coren
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 49
Uploads: 5
The issue is that the tooltip scanning is thrown off with the addition of the sell value of items together with the optional item level.

Quick'n'Dirty patch for sienasGemViewer.lua...

Find this code block from 617 to 643:
Code:
		if ileLinii >2 and ileLinii <SGV_MAX_LINES_TT then
			tekstw = getglobal("SGVTTTextLeft"..ileLinii):GetText();
			if ileLinii == 4 then
				tekstc = getglobal("SGVTTTextLeft"..ileLinii-2):GetText();
			else
				tekstc = getglobal("SGVTTTextLeft"..ileLinii-1):GetText();
			end

			--DEFAULT_CHAT_FRAME:AddMessage(tekstc);
			local gemColor1, gemColor2;
			_,_,gemColor1,_ = string.find(tekstw,META_COLOR)
			if gemColor1 == nil then
			_,_,gemColor1,gemColor2 = string.find(tekstw,MULTI_COLOR)
			end	

			if gemColor2 == nil and gemColor1 == nil then
				_,_,gemColor1,_ = string.find(tekstw,ONE_COLOR)
			end			
		end
Replace it with this code block:
Code:
		if ileLinii > 2 then
			-- tekstw: socket information, tekstc: item stat(s)
			-- sell value and optional Item ID addition makes this not so definite as place => need to walk over it
			local gemColor1, gemColor2, iMatch, x, y;

			local	j;
			for j = 2, ileLinii do

				local	tekstw = getglobal("SGVTTTextLeft" .. j):GetText();
				if (strsub(tekstw, 1, 1) == "\"") then

					x, y, gemColor1 = string.find(tekstw, META_COLOR)

					if gemColor1 == nil then
					--	if (string.find(tekstw, ANY_COLOR)) then
					--		iPrisma = iPrisma + 1;
					--		gemColor1 = 0;
					--	else

							x, y, gemColor1, gemColor2 = string.find(tekstw, MULTI_COLOR)

							if gemColor2 == nil and gemColor1 == nil then

								x, y, gemColor1 = string.find(tekstw, ONE_COLOR)

							end
					--	end

						if (gemColor1) then
							iMatch = j - 1;
							break;
						end
					else

						iMatch = j - 2;
						break;
					end
				end
			end

			if (iMatch) then
				if (iMatch <= 1) then
					-- DEFAULT_CHAT_FRAME:AddMessage("Oops: iMatch == " .. iMatch);
				else

					-- item stat(s) are still one/two line(s) ahead of socket information
					local	tekstc = getglobal("SGVTTTextLeft" .. iMatch):GetText();

					if gemColor2 ~= nil then

						local	iBid,iBo,iTexture, iQuality,iName = SGV_ItemInfo(i);

						SGV_InsertGEM(link, gemColor1, iBid, iBo, iQuality, iTexture, iName, gemColor2, tekstc);

					elseif gemColor1 ~= nil then	

						local	iBid,iBo,iTexture, iQuality ,iName = SGV_ItemInfo(i);

						SGV_InsertGEM(link, gemColor1, iBid, iBo, iQuality, iTexture, iName, nil, tekstc);

					end
				end
			end
		end
(Will try to send a patch to sna.)

Last edited by Coren : 10-11-2009 at 02:41 AM.
Coren is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-11-2009, 11:00 AM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 18
File comments: 91
Uploads: 0
Hoping

that Siena can update this very useful add on especially now with the many more new gems. This is a essential add on for us.
Xylan Trueheart is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-20-2009, 12:21 PM  
Caramirdan
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Author out? Someone taking this on?

I hope this is getting fixed--I became rather dependent on it ;-)
Thanks for the addon, Siena.
Caramirdan is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-06-2009, 02:38 PM  
Xylan Trueheart
Premium Member
Premium Member

Forum posts: 18
File comments: 91
Uploads: 0
Just to inform you patch 3.2 broke this mod. With only SGV enabled my toons were only able to see 5 different gems (all epic) and at the time of the scan the remaining 35 pages were blank. A rescan doesn't help eiother and repeated the process on several toons with al other addons disabled. Hope this can be fixed.
Xylan Trueheart is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-11-2009, 08:13 AM  
Khelkhet
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Woot!

...is has made my life *so* much easier. Thank you so much ;D I'ev had no troubles with it yet. (Knock on wood ;D)

Any chance of the exact same sort of deal, except for Enchant scrolls? ;D
Khelkhet is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-17-2009, 02:57 PM  
sna
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 36
Uploads: 1
Quote:
Originally posted by Spookyy
sienasGemViewer.toc version says 3.1.3.3 in the sienasGemViewer3.1.3.7.zip file...

Maybe you packed it wrong?
reply, nope I forgot to change version number in TOC but you should have file readme.txt and there should be version 3.1.3.7.
I will try to make another version especially for you but it will take time because I have busy days right now.
sna is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-17-2009, 10:46 AM  
Spookyy
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
sienasGemViewer.toc version says 3.1.3.3 in the sienasGemViewer3.1.3.7.zip file...

Maybe you packed it wrong?
Spookyy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-16-2009, 03:15 PM  
sna
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 36
Uploads: 1
Quote:
Originally posted by Spookyy
Still the same: Bonus menu has to be set on "All" to get a list of search results.
sorry but this time I must say that I believe you've downloaded wrong version.
Does SGV show pages count on the bottom of AH frame?
If yes, than maybe there is no such gem currently @ ah.
sna is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




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


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.