QueryAuctionItems not working
Hello, I'm new to addon development and can't get QueryAuctionItems to work. (it's for WoW Classic).
AUCTION_ITEM_LIST_UPDATE fires when searching manually, but not when programmatically queried. However, "AH is queryable" is printed. On a super rare occasion it has worked, and I have no idea why. The code is below, surely I'm doing something wrong. Code:
Sandbox = { } |
EDIT problem found
I think I found it, upon looking again. I noticed it only works once, so e.g. upon every login - a detail I somehow missed and failed to check. Two things obscured it. The query has a small loading time. Furthermore, the search results displayed are wiped after changing tabs (bids, or own auctions). So, switching tabs before the results were displayed made it seem like nothing had happened, although the messages were printed. And subsequent queries via the slash command didn't actually alter the already existing results, so 'update' didn't fire.
The following are some directions regarding my question from another forum. They're a bit fragmented, but might be helpful nonetheless: Quote:
|
All times are GMT -6. The time now is 09:16 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI