• 0

    posted a message on Getting players owned auctions

    Well of course after posting this I figured it out.

     

    I had to wait for the event "AUCTION_HOUSE_THROTTLED_SYSTEM_READY" before querying.

    Now I seem to be getting back proper info.

    Posted in: Lua Code Discussion
  • 0

    posted a message on Getting players owned auctions

    Hi,

     

    Just started fooling around with addons and was wondering how to get a list of the players current auctions they have listed.

     

    I was trying this out:

    C_AuctionHouse.QueryOwnedAuctions({sortOrder=Enum.AuctionHouseSortOrder.Price, reverseSort=false})

     

    But don't seem to get any results or events back with the data... Not really sure where to start.

     

    So I tried out this:

    C_AuctionHouse.GetNumOwnedAuctions() 

    And it returns 0, which is not right because I have about 28 auctions listed for that player right now.

     

    Any tips/ideas appreciated! 

     

    Thanks!

    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.