Mercurial > wow > itemauditor
changeset 78:88a42e00b866 release 2010-08-01
Fixed a problem with how prices were being pulled from Auctioneer.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sun, 01 Aug 2010 22:02:12 -0700 |
parents | a8fc802b42ba |
children | d1ce6df53d94 |
files | CHANGELOG.txt Modules/QuickAuctions.lua |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG.txt Sun Aug 01 08:42:29 2010 -0700 +++ b/CHANGELOG.txt Sun Aug 01 22:02:12 2010 -0700 @@ -3,6 +3,7 @@ - Fixed the tooltip so that it is green if the auction price exactly matches your threshold. - Changed the QuickAuctions decider to consider the number already owned and only calculate based on what needs to be crated. - Fixed the QuickAuctions decider to return the number of items to be created instead of the number of times to create. This makes a difference with things like Runescroll of Fortitude where 5 are created at once. +- Fixed a problem with how prices were being pulled from Auctioneer. 2010-07-29 Asa Ayers <Asa.Ayers@Gmail.com>
--- a/Modules/QuickAuctions.lua Sun Aug 01 08:42:29 2010 -0700 +++ b/Modules/QuickAuctions.lua Sun Aug 01 22:02:12 2010 -0700 @@ -164,10 +164,12 @@ end function ItemAuditor:GetAuctionPrice(itemLink) + local link = select(2, GetItemInfo(itemLink)) + assert(link, 'Invalid item link: '..itemLink) if GetAuctionBuyout ~= nil then - return GetAuctionBuyout(itemLink) + return GetAuctionBuyout(link) elseif AucAdvanced and AucAdvanced.Version then - local _, _, _, _, _, lowBuy= AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems(itemLink) + local _, _, _, _, _, lowBuy= AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems(link) return lowBuy end return nil