Download
(18Kb)
Download
Updated: 09-10-19 03:43 AM
Pictures
File Info
Compatibility:
Classic (1.13.2)
Updated:09-10-19 03:43 AM
Created:09-10-19 03:43 AM
Downloads:924
Favorites:13
MD5:

GnomishVendorShrinker (Classic)

Version: 1.0
by: giomoblin [More]

GnomishVendorShrinker (for Classic) creates a simple, compact vendor frame.

Credits to:
- tekkub: https://github.com/TekNoLogic/GnomishVendorShrinker
- Tonyleila + Vlad: https://www.wowinterface.com/downloads/info21484-GnomishVendorShrinkerFanUpdateforBFAGVS.html

## Features

* Simple one-line-per-item interface.
* Scrolling list, none of that "paging" crap that makes navigation slow.
* Clicking an item simply buys it, instead of picking up the item.
* Alt-click buys a full stack (or as close to a full stack as is possible for limited-stock items).
* Ctrl- and shift-click behave as default (dress-up and paste link, respectively).
* Recipes you do not yet know are highlighted in blue.
* Items you cannot use are highlighted in red.
* Search box to help you find that item you're after on a vendor with hundreds of items.

Code development: https://sergio.am/code/GnomishVendorShrinker

Optional Files (2)
File Name
Version
Size
Author
Date
Type
1.0.6-wrath
35kB
11-27-23 01:07 AM
Patch
1.0.1-bcc
20kB
06-07-21 05:39 AM
Patch


Post A Reply Comment Options
Unread 05-20-21, 10:19 AM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
BCC fix here:
https://www.wowinterface.com/downloads/info25466-GnomishVendorShrinker-BCC.html
Last edited by ObscureScience : 06-12-21 at 04:05 PM.
Report comment to moderator  
Reply With Quote
Unread 12-13-19, 08:48 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
Assuming it's approved there will be a patch under Other Files that properly fixes this for cosmetic pet and mount vendors.
Report comment to moderator  
Reply With Quote
Unread 10-06-19, 09:36 PM  
Taryble
A Molten Giant
 
Taryble's Avatar

Forum posts: 811
File comments: 40
Uploads: 0
See my post directly below yours, it shows how to fix this error.


Originally Posted by Aisenfaire
Hello, got the following error today, I believe when I was buying a white kitten from Lil Timmy in Stormwind.

Code:
33x ...cegnomishvendorshrinker\frames\RowShader.lua:16: attempt to index global 'C_ToyBox' (a nil value)
...cegnomishvendorshrinker\frames\RowShader.lua:16: in function <...cegnomishvendorshrinker\frames\RowShader.lua:11>
...cegnomishvendorshrinker\frames\RowShader.lua:55: in function `GetRowGradient'
gnomishvendorshrinker\frames\MerchantItem.lua:117: in function `SetValue'
...cegnomishvendorshrinker\frames\MainFrame.lua:42: in function <...cegnomishvendorshrinker\frames\MainFrame.lua:33>

Locals:
link = "|cff0070dd|Hitem:8563::::::::40:::14::::|h[Red Mechanostrider]|h|r"
id = 8563
_ = "Red Mechanostrider"
_ = "|cff0070dd|Hitem:8563::::::::40:::14::::|h[Red Mechanostrider]|h|r"
_ = 3
_ = 40
_ = 40
class = "Miscellaneous"
_ = "Junk"
_ = 1
_ = ""
texture = 132247
(*temporary) = <function> defined =[C]:-1
(*temporary) = 2
(*temporary) = nil
(*temporary) = 15
(*temporary) = "attempt to index global 'C_ToyBox' (a nil value)"
ns = <table> {
 knowns = <table> {
 }
 UnregisterAllEvents = <function> defined @gnomishvendorshrinker\externals\events.lua:19
 GSC = <function> defined @gnomishvendorshrinker\externals\gsc.lua:20
 GetRowVertexColor = <function> defined @gnomishvendorshrinker\frames\RowShader.lua:90
 scantip = <unnamed> {
 }
 unmet_requirements = <table> {
 }
 GetRowTextColor = <function> defined @gnomishvendorshrinker\frames\RowShader.lua:78
 ids = <table> {
 }
 RegisterEvent = <function> defined @gnomishvendorshrinker\externals\events.lua:8
 GetRowGradient = <function> defined @gnomishvendorshrinker\frames\RowShader.lua:44
 Purchase = <function> defined @gnomishvendorshrinker\frames\MerchantItem.lua:85
 GS = <function> defined @gnomishvendorshrinker\externals\gsc.lua:47
 G = <function> defined @gnomishvendorshrinker\externals\gsc.lua:60
 SizeToFit = <function> defined @gnomishvendorshrinker\externals\size_to_fit.lua:21
 UnregisterEvent = <function> defined @gnomishvendorshrinker\externals\events.lua:14
}
MISC = "Miscellaneous"
RECIPE = "Recipe"
GARRISON_ICONS = <table> {
 1001490 = true
 1001489 = true
 1001491 = true
}
__________________
-- Taryble
Report comment to moderator  
Reply With Quote
Unread 10-02-19, 01:10 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Hello, got the following error today, I believe when I was buying a white kitten from Lil Timmy in Stormwind.

Code:
33x ...cegnomishvendorshrinker\frames\RowShader.lua:16: attempt to index global 'C_ToyBox' (a nil value)
...cegnomishvendorshrinker\frames\RowShader.lua:16: in function <...cegnomishvendorshrinker\frames\RowShader.lua:11>
...cegnomishvendorshrinker\frames\RowShader.lua:55: in function `GetRowGradient'
gnomishvendorshrinker\frames\MerchantItem.lua:117: in function `SetValue'
...cegnomishvendorshrinker\frames\MainFrame.lua:42: in function <...cegnomishvendorshrinker\frames\MainFrame.lua:33>

Locals:
link = "|cff0070dd|Hitem:8563::::::::40:::14::::|h[Red Mechanostrider]|h|r"
id = 8563
_ = "Red Mechanostrider"
_ = "|cff0070dd|Hitem:8563::::::::40:::14::::|h[Red Mechanostrider]|h|r"
_ = 3
_ = 40
_ = 40
class = "Miscellaneous"
_ = "Junk"
_ = 1
_ = ""
texture = 132247
(*temporary) = <function> defined =[C]:-1
(*temporary) = 2
(*temporary) = nil
(*temporary) = 15
(*temporary) = "attempt to index global 'C_ToyBox' (a nil value)"
ns = <table> {
 knowns = <table> {
 }
 UnregisterAllEvents = <function> defined @gnomishvendorshrinker\externals\events.lua:19
 GSC = <function> defined @gnomishvendorshrinker\externals\gsc.lua:20
 GetRowVertexColor = <function> defined @gnomishvendorshrinker\frames\RowShader.lua:90
 scantip = <unnamed> {
 }
 unmet_requirements = <table> {
 }
 GetRowTextColor = <function> defined @gnomishvendorshrinker\frames\RowShader.lua:78
 ids = <table> {
 }
 RegisterEvent = <function> defined @gnomishvendorshrinker\externals\events.lua:8
 GetRowGradient = <function> defined @gnomishvendorshrinker\frames\RowShader.lua:44
 Purchase = <function> defined @gnomishvendorshrinker\frames\MerchantItem.lua:85
 GS = <function> defined @gnomishvendorshrinker\externals\gsc.lua:47
 G = <function> defined @gnomishvendorshrinker\externals\gsc.lua:60
 SizeToFit = <function> defined @gnomishvendorshrinker\externals\size_to_fit.lua:21
 UnregisterEvent = <function> defined @gnomishvendorshrinker\externals\events.lua:14
}
MISC = "Miscellaneous"
RECIPE = "Recipe"
GARRISON_ICONS = <table> {
 1001490 = true
 1001489 = true
 1001491 = true
}
Report comment to moderator  
Reply With Quote
Unread 09-26-19, 09:26 PM  
Taryble
A Molten Giant
 
Taryble's Avatar

Forum posts: 811
File comments: 40
Uploads: 0
This addon throws errors on MOUNT vendors, because it's trying to look for them in the TOYBOX, which didn't exist in Vanilla, and doesn't exist in Classic.

If you comment out the line by adding -- in front of it, it no longer errors out.
This is in the frames\RowShader.lua file, by the way.
lua Code:
  1. local function Knowable(link)
  2. local id = ns.ids[link]
  3. if not id then return false end
  4.  
  5.  
  6. local _, _, _, _, _, class, _, _, _, texture = GetItemInfo(link)
  7. --Next line is where the error happens
  8. -- if class == MISC and select(2, C_ToyBox.GetToyInfo(id)) then return true end
  9. if class == RECIPE or GARRISON_ICONS[texture] then return true end
  10. end
__________________
-- Taryble
Last edited by Taryble : 09-26-19 at 10:50 PM.
Report comment to moderator  
Reply With Quote
Unread 09-23-19, 01:06 PM  
pär
A Murloc Raider
 
pär's Avatar

Forum posts: 6
File comments: 87
Uploads: 0
mind posting this on Curseforge as well?
Report comment to moderator  
Reply With Quote
Unread 09-14-19, 05:00 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
Mount vendors

Worked without a hitch on every vendor I've found sofar, with the exception of mount vendors.

Relevant error
Code:
3x ...ce\GnomishVendorShrinker\frames\RowShader.lua:16: attempt to index global 'C_ToyBox' (a nil value)
...ce\GnomishVendorShrinker\frames\RowShader.lua:16: in function <...ce\GnomishVendorShrinker\frames\RowShader.lua:11>
...ce\GnomishVendorShrinker\frames\RowShader.lua:55: in function 'GetRowGradient'
...GnomishVendorShrinker\frames\MerchantItem.lua:117: in function 'SetValue'
...ce\GnomishVendorShrinker\frames\MainFrame.lua:42: in function <...ce\GnomishVendorShrinker\frames\MainFrame.lua:33>
Report comment to moderator  
Reply With Quote
Unread 09-11-19, 12:34 AM  
giomoblin
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 2
Originally Posted by blottica
HOLY SHIT THANK YOU FOR UPDATING THIS!
You made my week. Thanky.
yw ^^

Thanks to tekkub, Tonyleila and Vlad, they are the true MVP, I did an small portion of the work to port this addon to the Classic client.
Report comment to moderator  
Reply With Quote
Unread 09-10-19, 06:55 PM  
blottica
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
HOLY SHIT THANK YOU FOR UPDATING THIS!
You made my week. Thanky.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: