Download
(5Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 03-14-24 11:43 PM
Pictures
File Info
Compatibility:
Classic (1.15.1)
WOTLK Patch (3.4.3)
Updated:03-14-24 11:43 PM
Created:05-19-19 03:22 PM
Downloads:686,015
Favorites:377
MD5:
Categories:Classic - General, The Burning Crusade Classic, Auction House & Vendors

Vendor Price  Popular! (More than 5000 hits)

Version: 1.7.2
by: Ketho, Icesythe7

Displays the price of an item when not at a vendor

Press Shift to show the price per unit (but it needs a small delay before it updates)

Vendor Price
1.7.2 (2024-03-15)
Full Changelog Previous Releases
  • Update for patch 1.15.1 (closes #13)
  • Fixed equipped bags returning the wrong price in 1.15.0 (closes #12)
  • Check if not accidentally loaded on retail
Archived Files (16)
File Name
Version
Size
Author
Date
1.7.0
5kB
Ketho
12-05-23 04:38 PM
1.6.8
5kB
Ketho
09-28-23 04:51 PM
1.6.7
5kB
Ketho
07-24-23 07:21 AM
1.6.6
5kB
Ketho
07-23-23 09:18 AM
1.6.5
5kB
Ketho
01-23-23 04:45 PM
1.6.4
5kB
Ketho
01-21-23 02:26 AM
1.6.3
5kB
Ketho
01-17-23 09:21 PM
1.6.2
4kB
Ketho
11-26-22 05:11 PM
1.6.1
5kB
Ketho
09-30-22 10:57 PM
1.6.0
5kB
Ketho
09-22-22 03:06 AM
1.5.0
4kB
Ketho
09-02-22 08:57 AM
1.4.5
4kB
Ketho
03-28-22 04:22 AM
1.4.3
4kB
Ketho
02-14-22 03:35 AM
1.4.2
4kB
Ketho
11-16-21 08:35 AM
1.4.1
4kB
Ketho
09-08-21 04:19 AM
1.4.0
4kB
Ketho
05-05-21 11:05 AM


Post A Reply Comment Options
Unread 09-19-20, 10:01 AM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Re: AtlasLoot support

Originally Posted by Skyler001
If you add this in Compat.lua you will get support in AtlasLoot.

Thanks, I was not sure if showing a vendor price would be useful in AtlasLoot but I added it
Last edited by Ketho : 09-19-20 at 10:02 AM.
Report comment to moderator  
Reply With Quote
Unread 09-18-20, 07:02 AM  
Skyler001
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
AtlasLoot support

If you add this in Compat.lua you will get support in AtlasLoot.

elseif _G.AtlasLoot and IsShown(_G["AtlasLoot_GUI-Frame"]) then
SetPrice(tt)
Report comment to moderator  
Reply With Quote
Unread 09-18-19, 11:32 AM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Originally Posted by Hirotoro
I replaced lines 38-41 with simply:

Code:
if count >= 1 then
	SetTooltipMoney(tt, sellPrice * count, nil)
Doing so made the addon even more minimalist than it already is, and simply gives you the retail-like functionality; you can see the vendor price on its own, no bells or whistles, at all times. No shift-modifiers, no stack size x5, x6, etc, no 'sells for' or 'vendors for' text or whatever. just the sell price on the tooltip. Like how it looks on the default UI when visiting a merchant, but 24/7.

Yeah, I also like the minimalistic tooltip. But I should get to adding options so users can modify it to what they want... maybe in a week or longer
Last edited by Ketho : 09-18-19 at 06:58 PM.
Report comment to moderator  
Reply With Quote
Unread 09-16-19, 09:54 PM  
Hirotoro
A Kobold Labourer

Forum posts: 1
File comments: 18
Uploads: 0
I replaced lines 38-41 with simply:

Code:
if count >= 1 then
	SetTooltipMoney(tt, sellPrice * count, nil)
Doing so made the addon even more minimalist than it already is, and simply gives you the retail-like functionality; you can see the vendor price on its own, no bells or whistles, at all times. No shift-modifiers, no stack size x5, x6, etc, no 'sells for' or 'vendors for' text or whatever. just the sell price on the tooltip. Like how it looks on the default UI when visiting a merchant, but 24/7.
Last edited by Hirotoro : 09-16-19 at 09:56 PM.
Report comment to moderator  
Reply With Quote
Unread 09-08-19, 05:52 PM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Originally Posted by bsmorgan
Why did you remove "cheapest item"?

I think that can be done better by other addons and that it's bloat. It should just tell you the price on mouseover
Report comment to moderator  
Reply With Quote
Unread 09-08-19, 08:58 AM  
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 219
File comments: 158
Uploads: 3
Why did you remove "cheapest item"?
Report comment to moderator  
Reply With Quote
Unread 09-06-19, 03:43 PM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Vendor Price can now show price per unit by pressing Shift
Report comment to moderator  
Reply With Quote
Unread 08-31-19, 11:34 PM  
jukx
A Murloc Raider
 
jukx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 4
Uploads: 3
I'm getting an error, sometimes there's no "Count" attribute on items:

Code:
1x VendorPrice\VendorPrice-1.1.2.lua:88: attempt to index field 'Count' (a nil value)
VendorPrice\VendorPrice-1.1.2.lua:88: in function <VendorPrice\VendorPrice.lua:75>
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: in function `SetHyperlink'
BindPad\BindPad-c0.1.lua:485: in function `BindPadSlot_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>

Locals:
tt = GameTooltip {
 0 = <userdata>
 SetSpellBookItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 GetBackdropColor = <function> defined @TinyTooltip\Core.lua:785
 SetHyperlink = <function> defined =[C]:-1
 BottomOverlay = <unnamed> {
 }
 SetSpellByID = <function> defined =[C]:-1
 SetUnitBuff = <function> defined =[C]:-1
 updateTooltip = 0.071000
 style = <unnamed> {
 }
 model = <unnamed> {
 }
 comparing = false
 GetBackdrop = <function> defined @TinyTooltip\Core.lua:784
 SetUnitAura = <function> defined =[C]:-1
 TopOverlay = <unnamed> {
 }
 GetBackdropBorderColor = <function> defined @TinyTooltip\Core.lua:786
 SetBagItem = <function> defined =[C]:-1
 needsReset = true
 SetAction = <function> defined =[C]:-1
 SetUnitDebuff = <function> defined =[C]:-1
 BigFactionIcon = <unnamed> {
 }
 SetItemByID = <function> defined =[C]:-1
}
itemLink = "|cffffffff|Hitem:2456::::::::14:::::::|h[Minor Rejuvenation Potion]|h|r"
itemSellPrice = 15
container = BindPadSlot38 {
 0 = <userdata>
 addbutton = BindPadSlot38AddButton {
 }
 name = BindPadSlot38Name {
 }
 border = BindPadSlot38Border {
 }
 hotkey = BindPadSlot38HotKey {
 }
 icon = BindPadSlot38Icon {
 }
}
name = "BindPadSlot38"
object = "CheckButton"
count = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "Consumable"
(*temporary) = 5
(*temporary) = ""
(*temporary) = "attempt to index field 'Count' (a nil value)"
SELL_PRICE_TEXT = "Sell Price:"
If I change line 88 to
Code:
count = container.count 
if (not count) and container.Count then
    count = tonumber(container.Count:GetText())
end
it works.
Report comment to moderator  
Reply With Quote
Unread 08-26-19, 03:57 PM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Re: Conflict with Authionator

Originally Posted by Passed
I installed the new auctionator. I get this error when i enter the price, i also posted this to the auctionator addon comments.

I'll check for compatibility with auctionator
Edit: It was already fixed, I must have overread that 😳
Last edited by Ketho : 08-26-19 at 11:37 PM.
Report comment to moderator  
Reply With Quote
Unread 07-27-19, 07:55 PM  
MooreaTv
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 20
Uploads: 8
With stack/maxstack/individual price

I made a new addon that has what I wanted (up to 3 prices: individual, per current stack, per max stack)

https://www.wowinterface.com/downloa...ndorPrice.html

I hope others also find it helpful!
Report comment to moderator  
Reply With Quote
Unread 07-14-19, 04:25 AM  
MooreaTv
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 20
Uploads: 8
Additional features

Hi there, great stuff,
Is it possible to add the following:

Per item price and per stack price (possibly when shift or other modifier is held)

Reason is if item X and Y are currently dropping and you have 3 of one and 5 of the other, it may be better to keep the one which has higher stack value - is the stack# also still available in the (classic) api?

Or if you don’t mind I can just add it, is the source on github somewhere?

Thx
Last edited by MooreaTv : 07-14-19 at 04:45 AM.
Report comment to moderator  
Reply With Quote
Unread 05-28-19, 03:04 PM  
Icesythe7
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 1
Re: Conflict with Authionator

Originally Posted by Passed
I installed the new auctionator. I get this error when i enter the price, i also posted this to the auctionator addon comments.

Message: Interface\AddOns\VendorPrice\VendorPrice.lua:9: Usage: GetItemInfo(itemID|"name"|"itemlink")
Time: Tue May 28 07:08:35 2019
Count: 1
Stack: Interface\AddOns\VendorPrice\VendorPrice.lua:9: Usage: GetItemInfo(itemID|"name"|"itemlink")
[C]: in function `GetItemInfo'
Interface\AddOns\VendorPrice\VendorPrice.lua:9: in function <Interface\AddOns\VendorPrice\VendorPrice.lua:7>
[C]: ?
[C]: ?
[C]: ?
[C]: in function `SetAuctionSellItem'
Interface\AddOns\Auctionator\Auctionator.lua:1218: in function `Atr_GetSellItemInfo'
Interface\AddOns\Auctionator\Auctionator.lua:3113: in function `Atr_SetDepositText'
Interface\AddOns\Auctionator\Auctionator.lua:3073: in function `Atr_UpdateUI_SellPane'
Interface\AddOns\Auctionator\Auctionator.lua:3010: in function `Atr_UpdateUI'
Interface\AddOns\Auctionator\Auctionator.lua:2848: in function `Atr_Idle'
Interface\AddOns\Auctionator\Auctionator.lua:2797: in function `Atr_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: (*temporary) = nil
'

Without having the beta I can't really test this specific issue yet unfortunately I will try to replicate it on live and may be able to fix it there, thanks for the report.

Ok I downloaded the classic version and loaded it in retail and there is no errors, so the issue is either a faulty port of auctionator to classic or you need to update your version of Vendor Price as the error on line 9 doesn't exist in the latest version so I'm assuming you have an old version of the addon, regardless I did add an additional sanity check but this is more of an auctionator addon issue I believe as like I said if you load both vendor price (latest version) and this classic auctionator addon from this forum in bfa live there is no errors. That being said if the error still persists on classic let me know and I will add a check to disable Vendor Price if the auctionator addon exists since it seems to have a vendor value aswell until I get classic beta/it releases, regards

Just had friend test latest Vendor Price on classic beta and got no errors so I think you just simply need to download latest version of addon
Last edited by Icesythe7 : 05-28-19 at 07:24 PM.
Report comment to moderator  
Reply With Quote
Unread 05-28-19, 05:25 AM  
Passed
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Conflict with Authionator

I installed the new auctionator. I get this error when i enter the price, i also posted this to the auctionator addon comments.

Message: Interface\AddOns\VendorPrice\VendorPrice.lua:9: Usage: GetItemInfo(itemID|"name"|"itemlink")
Time: Tue May 28 07:08:35 2019
Count: 1
Stack: Interface\AddOns\VendorPrice\VendorPrice.lua:9: Usage: GetItemInfo(itemID|"name"|"itemlink")
[C]: in function `GetItemInfo'
Interface\AddOns\VendorPrice\VendorPrice.lua:9: in function <Interface\AddOns\VendorPrice\VendorPrice.lua:7>
[C]: ?
[C]: ?
[C]: ?
[C]: in function `SetAuctionSellItem'
Interface\AddOns\Auctionator\Auctionator.lua:1218: in function `Atr_GetSellItemInfo'
Interface\AddOns\Auctionator\Auctionator.lua:3113: in function `Atr_SetDepositText'
Interface\AddOns\Auctionator\Auctionator.lua:3073: in function `Atr_UpdateUI_SellPane'
Interface\AddOns\Auctionator\Auctionator.lua:3010: in function `Atr_UpdateUI'
Interface\AddOns\Auctionator\Auctionator.lua:2848: in function `Atr_Idle'
Interface\AddOns\Auctionator\Auctionator.lua:2797: in function `Atr_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: (*temporary) = nil
Report comment to moderator  
Reply With Quote
Unread 05-22-19, 11:17 PM  
Icesythe7
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 1
Mailbox Issue

Ketho fixed the mailbox issue while I was at work so credits to him, update pushed...plan on trying to add a simple ui with a few option like sell all greys etc if people want it but may take a bit as I work alot plus I'm not familiar with the wow api yet.
Report comment to moderator  
Reply With Quote
Unread 05-22-19, 05:02 PM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Should be fixed in the next release, just gotta wait for Icesythe
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: