View Single Post
01-26-20, 10:39 AM   #3
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 137
Originally Posted by SDPhantom View Post
I don't know the difference yet, but some items use C_AuctionHouse.PostItem() and others use C_AuctionHouse.PostCommodity(). The frame template changes when you select an item to post.
Another issue is that C_AuctionHouse.GetNumOwnedAuctions() and C_AuctionHouse.GetOwnedAuctionInfo() does not get updated when the user is on the sell screen. That means you have to forcefully request the update from the server. Otherwise, if you do a scan of the auctions using C_AuctionHouse.GetOwnedAuctionInfo() after a user sells an item, it will be inaccurate and not represent the newly updated number. The only way to update this is the user switches to the Auction tab or you force a query update using C_AuctionHouse.QueryOwnedAuctions(). This is rubbish and the C_AuctionHouse.GetNumOwnedAuctions() should be updated when a user sells something. Huge oversight by Blizzard here.

Oh I would like to point out that requesting a query update using C_AuctionHouse.QueryOwnedAuctions() while a user is on the Sell screen causes a bug. This bug prevents the user from properly selling Stacked items. It's one big mess with this new Auction House.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
  Reply With Quote