Quantcast
WoWInterface - View Single Post - GetAuctionItemInfo removing items from auction house page
View Single Post
08-22-19, 06:06 PM   #6
MooreaTv
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 31
I use a mix of the events and timer to wake up in
https://github.com/mooreatv/MoLib/bl...er/MoLibAH.lua

but after the first event (you do want to wait for the first AUCTION_ITEM_LIST_UPDATE because otherwise GetNumAuctionItems is 0) you can probably just indeed brute force it until you get all the items
(be nice to not hang the UI though)

I found I had to 'pre fetch' or pre ask for more items for them to get filled up, I'm not sure what's the best size but it is > 50 (for instance 500 is much faster overall than 50 which is the NUM_AUCTION_ITEMS_PER_PAGE default)

@elcius- from your (nice!) snippet, it seems you are actually trying to fetch all of them at once, does that work fine on a 60k+ result ?

Last edited by MooreaTv : 08-22-19 at 06:09 PM.
  Reply With Quote