WoWInterface - View Single Post - How to hook C_AuctionHouse.PostItem?
View Single Post
10-25-20, 06:34 AM   #4
A Flamescale Wyrmkin
Xruptor's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 126
Original Post: https://us.forums.blizzard.com/en/wo...pdating/424237

Small update it appears this issue has been fixed. I've been updating my code and have been noticing the servers returns are now properly being updated.

It appears both C_AuctionHouse.GetNumOwnedAuctions() and C_AuctionHouse.GetOwnedAuctionInfo() now are updated properly when a user posts an item on the Sell panel of the Auction House.

The bug used to not update C_AuctionHouse.GetNumOwnedAuctions() and C_AuctionHouse.GetOwnedAuctionInfo() accordingly when a user placed an item up for sale. This doesn't seem to be the case anymore. Which was useless as the user had just recently put an item up for sale. Which meant the data you got back from C_AuctionHouse.GetOwnedAuctionInfo() was outdated and incorrect.

In addition use the following to check for any updates.

C_AuctionHouse.IsThrottledMessageSystemReady() to make sure the server is ready

Use AUCTION_HOUSE_AUCTION_CREATED to check when a user posts an item.
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }

Last edited by Xruptor : 10-25-20 at 08:19 AM.
  Reply With Quote