-
Posted by moiraineid on Fri, 28 Jan 2011 01:11:24
How would I send multiple queries? There's an event for
AUCTION_ITEM_LIST_UPDATE
, but evidently that doesn't actually signify the AH being ready to query again, and I'm at a loss for how to detect when the AH is ready, after reading through the events clumped in the AUCTION section. -
Posted by jnwhiteh on Fri, 28 Jan 2011 09:07:07
Its possible that the particular event you're looking for hasn't been fully documented.. the AH is one system I have not played with much. With events, the following is ALWAYS the best procedure to follow:
- Open /eventtrace
- Open the auction house
- Run an AH query
- Check for the events that fire
See if there's an event that seems to indicate that the AH is able to queried again. This will always be accurate, gives you all the arguments, etc. and always works =)
-
Posted by moiraineid on Fri, 28 Jan 2011 11:01:18
Unfortunately there is no event for that =(
Is there some way to even stall for a split second? It actually ran once and I think it might've been because things were still loading and it was bogging down my computer
-
Posted by jnwhiteh on Fri, 28 Jan 2011 14:53:44
Unfortunately there is no event for that =(
Is there some way to even stall for a split second? It actually ran once and I think it might've been because things were still loading and it was bogging down my computer
I'm just a bit confused at what you're trying to do. Yes, you can use an OnUpdate to create a very simple 'timer', so you could delay the execution of something.. but I'm really not quite sure why you need to. What special thing are you doing that doesn't fit into the way the default user interface already functions?
-
Posted by moiraineid on Fri, 28 Jan 2011 17:11:42
I'm trying to query the 4 darkmoon cards and store their min buyout values then add them up - so of waves, of embers, of the winds, and of stones... that's how i personally query them anyway, i figured i'd try to get the addon to do the same thing
-
Posted by jnwhiteh on Fri, 28 Jan 2011 21:56:16
Space it out using time.. or look at the method that AuctionLite uses to scan the 'favorites' lists.. that's what I use and it's able to scan for a set of herbs, or volatiles, etc. The documentation on the API page says that the queries are time-limited.
Hope that points you in the right direction.