+ Reply to Thread
Results 1 to 6 of 6

Thread: Auction related API entries

  1. #1
    Plane Touched
    Join Date
    Jan 2011
    Posts
    209

    Default Auction related API entries

    Can someone point me in the right direction?

    I'm looking to create a simple Addon that pulls these values from the Auction House for a hard-coded list of specific materials:
    - current minimum offer value
    - last recorded average sale price
    - last recorded minimum sale price

    The addon would simple output these in a list to the console so I can pull it out from the logfile.

    What are the relevant lookup-methods? How do I find the item IDs for the materials I want to check on?

  2. #2
    Plane Touched
    Join Date
    Jan 2011
    Posts
    209

    Default Just need help with itemtype specifics

    So, it looks like Command.Auction.Analyze and Event.Auction.Statistics are the relevant calls. The key missing information is how to get the itemtype values for the materials I'm interested in.

    Tips?

  3. #3
    Shield of Telara Adelea's Avatar
    Join Date
    Mar 2011
    Posts
    734

    Default

    With your cursor over an item:

    /script local a,b = Inspect.Tooltip() local d = Inspect.Item.Detail(b) print(d.type)
    http://forums.riftgame.com/image.php?type=sigpic&userid=125779&dateline=13553  38065

  4. #4
    Plane Touched
    Join Date
    Jan 2011
    Posts
    209

    Default Thank you!

    Thanks for the tip!

  5. #5
    Plane Touched
    Join Date
    Jan 2011
    Posts
    209

    Default Add in the item name to the output?

    How can I add the name of the item to the console output? I tried:
    Code:
    /script local a,b = Inspect.Tooltip() local d = Inspect.Item.Detail(b) print(d.description)
    but all I got was "nil"

  6. #6
    Shield of Telara Adelea's Avatar
    Join Date
    Mar 2011
    Posts
    734

    Default

    Quote Originally Posted by xeroid View Post
    How can I add the name of the item to the console output? I tried:
    Code:
    /script local a,b = Inspect.Tooltip() local d = Inspect.Item.Detail(b) print(d.description)
    but all I got was "nil"

    Code:
    /script local a,b = Inspect.Tooltip() local d = Inspect.Item.Detail(b) print(d.type .. " : " .. d.name)
    http://forums.riftgame.com/image.php?type=sigpic&userid=125779&dateline=13553  38065

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts