# HG changeset patch # User Asa Ayers # Date 1280725332 25200 # Node ID 88a42e00b866b06abf3fdca27f62e9d39c8b92e6 # Parent a8fc802b42ba967fff12800bed831e18b147fe09 Fixed a problem with how prices were being pulled from Auctioneer. diff -r a8fc802b42ba -r 88a42e00b866 CHANGELOG.txt --- 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 diff -r a8fc802b42ba -r 88a42e00b866 Modules/QuickAuctions.lua --- 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