Download
(4Kb)
Download
Updated: 07-25-18 10:44 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:07-25-18 10:44 AM
Created:04-12-09 12:25 AM
Downloads:4,449
Favorites:11
MD5:

Vendor Buy

Version: 1.0023
by: cca220v [More]

When you open a vendor window you get a bunch of red items.
Some of them you will be able to use later on ... some you never will.

This fades the items you will not be able to use (or so it thinks).
Being a warrior you get the option of wearing any type of armor ... not that you would want to go against [insert favorite boss name here] while wearing the winter set... :P
So them items lower than your desired type are faded as well.

The items are still there to be bought - just faded out. If want to buy it ... you can buy it.


CLI commands:

/venbuy off => disable VendorBuy
/venbuy on => enable VendorBuy
/venbuy recipes => enable/disable highlighting of allready known recipes
/venbuy undesired => enable/disable highlighting of usable but undesired gear
/venbuy heirlooms => enable/disable filtering of heirlooms
/venbuy wanted => enable highlighting by desired stat [beta feature]
/venbuy stats => same as *wanted*
/venbuy looms => same as *heirlooms*

v.1.0010 ToC update and No more hiding Heirlooms
v.1.0009
Fixed Hunter lvl1-39 Leather items issue
No more errors when not having 2 primary profs
v.1.0008
Updated for 4.0.3
v.1.0005
Fixed "Already known" recipes (ty "Cosmic Cleric" ).
Cleaned up code a little. Allready known appear different now... you can't miss'em :eek:

v.1.0004
Added shading "Already known" recipes.

v.1.0003
No more bank search
Rewrote code to match recipes for your profesions too. If you cannot use the item the recipe is still hidden

v.1.0002
- Added "BankSearch": very basic and weird ...
usage:
/banksearch text <will search the bank for any itemName containing text and will apply the same "merchant effect" - seems to have problems with dashes "-" - you can use this with shift-click but may come across problems
/banksearch <with no parameter will clear the search

v.1.0001
- Accounts for usable reputation items
- Will hide "usable but undesirable" armor items (Cloth vs Leather vs Mail vs Plate)
Optional Files (0)


Post A Reply Comment Options
Unread 04-30-11, 12:52 AM  
cca220v
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
Originally posted by azguz
It says that the dependency Informant is missing.
It wants Informant now, not demands it.
But wont be able to loot based on monetary value.
Report comment to moderator  
Reply With Quote
Unread 12-24-10, 04:37 PM  
azguz
A Murloc Raider

Forum posts: 8
File comments: 66
Uploads: 0
It says that the dependency Informant is missing.
Report comment to moderator  
Reply With Quote
Unread 12-18-10, 09:13 AM  
cca220v
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
Re: Bug Report!

Version: 1.0008 should be bugfree and working as intended. please send more feedback
Report comment to moderator  
Reply With Quote
Unread 11-16-10, 02:23 AM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 7
Exclamation Bug Report!

The download screen says latest is 1.0005, but the actual .toc file in the zip file says 1.0006. In either case, I'm reporting a bug with this version.

Using WoW 4.0.1 (13205)(Release). I did a '/console reloadui', and got this error when it finished...

Code:
Message: Interface\AddOns\VendorBuy\VendorBuy.lua:9: attempt to index global 'this' (a nil value)
Time: 11/16/10 00:17:42
Count: 1
Stack: Interface\AddOns\VendorBuy\VendorBuy.lua:9: in function `VendorBuy_OnLoad'
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>

Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = "Priest"
(*temporary) = "PRIEST"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'this' (a nil value)"
Interesting thing, I do not get any errors when starting the game or loading in/out from a dugeon. It only happens when a "/console reloadui" is done.
Report comment to moderator  
Reply With Quote
Unread 04-06-10, 12:31 AM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 7
Exclamation Bug with "Already known" not found

EDIT: I uploaded my fixed version to this web site. See the 'Optional Files' section, or just go HERE.

---
Using the Dalaran Jewelcrafter vendor Timothy Jones, Vendor Buy does not work, and recipes that I already known are not dimmed.

If I modify the following code, starting at line 174...

Code:
				if(itemType=="Recipe")then
					VendorBuyTooltip:ClearLines();
					VendorBuyTooltip:SetHyperlink(GetMerchantItemLink(index));
					local a,b,c = _G["VendorBuyTooltipTextLeft3"]:GetTextColor();
					local text = _G["VendorBuyTooltipTextLeft3"]:GetText();
					if ((text=="Already known")and((a>b)and(b==c))) then
						item:SetAlpha(0.5);
					end
				end
to this...

Code:
				if(itemType=="Recipe")then
					VendorBuyTooltip:ClearLines();
					VendorBuyTooltip:SetHyperlink(GetMerchantItemLink(index));
					-- Below code is a fix for 'Already known' appearing on different lines, depending on which vendor
					for i = 1, VendorBuyTooltip:NumLines() do
					   local text = _G["VendorBuyTooltipTextLeft"..i]:GetText();
					   if(text)then
                           local a,b,c = _G["VendorBuyTooltipTextLeft"..i]:GetTextColor();
    					   if ((text=="Already known")and((a>b)and(b==c))) then
    					       item:SetAlpha(0.5);
    					   end
                       end					   
					end
					-- Above code is a fix for 'Already known' appearing on different lines, depending on which vendor
				end
it works fine.

The code assumes that the 5th left tooltip text is always the "Already known" text (or not).

Great add-on, thank you for creating it!
Last edited by Cosmic Cleric : 04-18-10 at 10:00 PM.
Report comment to moderator  
Reply With Quote
Unread 06-06-09, 08:11 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
Originally posted by Vranx
I installed it for my warrior. I guess since a warrior can equip any armor nothing is faded out. Would be nice if it faded out armor that is below what the toon can use.
You might try Improved Merchant. I *think* it can do what you want, but I'm not 100% about that.
Report comment to moderator  
Reply With Quote
Unread 06-04-09, 07:38 AM  
Alisu
A Kobold Labourer
 
Alisu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 3
That would be Auctioneer.

Originally posted by Jeania
Hello ^_^

Was wondering what your addon in the tooltip is that is that is putting this:

Market Price: Not Available
Simple Auction: (blah blah lol)

And more importantly:

Suggestion: Vendor This Item

Thank you
Report comment to moderator  
Reply With Quote
Unread 04-17-09, 12:52 AM  
Jeania
An Aku'mai Servant
 
Jeania's Avatar

Forum posts: 39
File comments: 170
Uploads: 0
Hello ^_^

Was wondering what your addon in the tooltip is that is that is putting this:

Market Price: Not Available
Simple Auction: (blah blah lol)

And more importantly:

Suggestion: Vendor This Item

Thank you
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Words to Remember:

"You never really learn much from hearing yourself talk." ~ George Clooney

*۝*Jeania/Anjelie ~ Dalaran*۝*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Unread 04-12-09, 09:06 AM  
Vranx
A Flamescale Wyrmkin
 
Vranx's Avatar

Forum posts: 101
File comments: 176
Uploads: 0
I installed it for my warrior. I guess since a warrior can equip any armor nothing is faded out. Would be nice if it faded out armor that is below what the toon can use.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: