BankItems

46 - Sold auctions still counted for "AH bag"

'bidderFullName' and 'ownerFullName' return values were added to GetAuctionItemInfo() in patch 5.4.0 (*), breaking the counter in BankItems_SaveAuctions(). Please apply:

--- BankItems-v6.0.2.2/BankItems/BankItems.lua	Wed Oct 22 12:13:20 2014
+++ BankItems-v6.0.2.2-fixed/BankItems/BankItems.lua	Thu Oct 30 23:09:03 2014
@@ -3129,7 +3129,7 @@
 end;
 
 function BankItems_SaveAuctions()
-	local name, texture, count, quality, canUse, level, levelColHeader, minBid, minIncrement, buyoutPrice, bidAmount, highBidder, owner, saleStatus, itemId, hasAllInfo
+	local name, texture, count, quality, canUse, level, levelColHeader, minBid, minIncrement, buyoutPrice, bidAmount, highBidder, bidderFullName, owner, ownerFullName, saleStatus, itemId, hasAllInfo
 	local itemPointer
 	local numBatchAuctions, totalAuctions = GetNumAuctionItems("owner")
 	local j = 0
@@ -3140,7 +3140,7 @@
 	selfPlayer.Bag103.time = time()
 
 	for i = 1, totalAuctions do
-		name, texture, count, quality, canUse, level, levelColHeader, minBid, minIncrement, buyoutPrice, bidAmount, highBidder, owner, saleStatus, itemId, hasAllInfo = GetAuctionItemInfo("owner", i)
+		name, texture, count, quality, canUse, level, levelColHeader, minBid, minIncrement, buyoutPrice, bidAmount, highBidder, bidderFullName, owner, ownerFullName, saleStatus, itemId, hasAllInfo = GetAuctionItemInfo("owner", i)
 		if name and saleStatus ~= 1 then
 			j = j + 1
 			selfPlayer.Bag103[j] = selfPlayer.Bag103[j] or newTable()
User When Change
Mithdoronir Oct 30, 2014 at 22:26 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Reported
Oct 30, 2014
Status
New - Issue has not had initial review yet.
Type
Patch - Source code patch for review
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees