Not signed in (Sign In)
    • CommentAuthorkrick
    • CommentTimeAug 23rd 2007
     
    I want to write a mod that can tell me which vendor sold items have highest profit percentage when resold on the auction house. I already buy and sell a lot of vendor recipes and a tool like this would really help me focus my efforts. Is there an auctioneer API so that I can get at the auction items and price data in my auctioneer database?
    • CommentAuthorChardonnay
    • CommentTimeAug 23rd 2007
     
    Yes, most of the bigger lua files in the Auctioneer package have a table at the bottom containing the "public" API functions.

    Auctioneer can tell you prices from the AH; if you want actual sale prices (for items you've successfully sold yourself) query BeanCounter instead.
    • CommentAuthorlilsparky
    • CommentTimeOct 6th 2007
     
    speaking of api access, is the enchantrix " getItemDisenchantTotals" function going to be fixed (like ripped off from the tooltip method) or will it be completely replaced by a different function -- or even, has it already been replaced by something different? i use(d) that function in a couple of my own mods and now it just reports 0.
    • CommentAuthorccox
    • CommentTimeOct 7th 2007
     
    getItemDisenchantTotals is staying for the forseeable future, and it's working just fine (and has been since it was written).

    I don't know how you're getting a zero value from it, unless you're calling it on non-disenchantable items.
    • CommentAuthorlilsparky
    • CommentTimeOct 7th 2007 edited
     
    weird. i must be doing something funky... oh wait. i'm just interested in the HSP value and the tooltips aren't even displaying that value (it just displays aucadv and baseline valuations). maybe i don't have enough data yet? is that possible? or should i use a different value as the generic de value?

    edit: okay, so if i use the totalfive value instead, i get data. i'm not totally clear what that value is, but it seems reasonable so far (small database still).
    • CommentAuthorccox
    • CommentTimeOct 7th 2007
     
    I just fixed enx (in svn) to return HSP if auc4 is loaded, even if auc5 is also loaded, and fixed problems when using fixed reagent values in enx
    • CommentAuthorlilsparky
    • CommentTimeOct 7th 2007
     
    excuse the complete ignorance here. auc4 = auctioneer version 4 and auc5 = auctioneer advanced? is HSP specific to auc4? if totalfive is the new model, should i just use that (on the assumption that people will switch to aucadv)?
    •  
      CommentAuthorNorganna
    • CommentTimeOct 7th 2007
     
    No,

    Auctioneer 4 is the current release version of Auctioneer.

    Auctioneer 5 is the new version of Auctioneer that we are working on at the moment. It has both AuctioneerClassic (updated version of the Auctioneer that is in version 4) and AuctioneerAdvanced (the alternative/new branch of Auctioneer that we are working on) in it.
    • CommentAuthorlilsparky
    • CommentTimeOct 7th 2007
     
    gotcha. so does HSP not exist in auc5? is the "totalfive" value the best guess at a reasonable market price?
    • CommentAuthorccox
    • CommentTimeOct 7th 2007
     
    Yes, HSP is specific to auc4.

    I assume that not everyone will move to AucAdv, or will run them side by side -- so I'm trying to keep the code flexible.
    getItemDisenchantTotals is kind of weird, because it needs to return many different valuations, and it's not easy to keep that flexible.
    (I could put it all in a table, but then that would make a bigger mess with other addons)
    • CommentAuthorlilsparky
    • CommentTimeOct 7th 2007
     
    okay, i'm getting it. just so i'm clear, "totalfive" is the best guess at a good price using the auctioneer 5 valuation system, yes? and even tho people might not use aucadv, they'd presumably all switch to auctioneer 5 at some point.

    and what is the equivalent function for auctioneer? i've used "Auctioneer.Statistic.GetSuggestedResale" previously. is that the best function to use to get a market price for an item (i use the buyout price from that function)?

    thanks!
    • CommentAuthorlilsparky
    • CommentTimeOct 9th 2007
     
    help me out here. i've got things working kind of but i'm a little vague as to where things will be going as aucadvanced (and auc5) hit the streets.

    i can pretty much get the data i want when running actioneer (version 4 something). but when i enable auction advanced, things don't work because the api is different.

    first question. is auctioneer advanced the next phase of auctioneer or will there still be two different api's to get at the auction data?

    next question. where do i get a serverkey for the AucAdvanced.lib.GetMarketValue() function? i'm assuming it's retrieved in a manner similar to the auctionKey from auctioneer, but i'm having a hard time finding code to use as an example.

    third question. what's the best way to determine which version of auctioneer is selected and to force an actual load (does aucadvanced have a load always feature?)

    thanks
  1.  
    0) You should be using Auctioneer.Statistic.GetHSP() instead of Auctioneer.Statistic.GetSuggestedResale()
    1) There will be two APIs for a while, but eventually people will shift over to AucAdvanced
    2) AucAdvanced.API.GetMarketValue(itemLink, AucAdvanced.GetFaction())
    3) AucAdvanced is always loaded (at least the stats modules are) and we intend to keep it that way. As for detecting what version of Auctioneer is loaded, you might want to check into how Enchantrix handles that issue.
    • CommentAuthorlilsparky
    • CommentTimeOct 10th 2007
     
    thanks for those pointers.

    in doing my price checks, i would throw out cases where the number of times an item was seen didn't meet a certain threshhold. i used the tooltip code as my model for this. but with aucadvanced i don't see that being reported in the tooltips anymore, so i'm kind of lost as to how to find that out.

    right now, i'm just checking if Auctioneer is not nil and if AucAdvanced is not nil. kind of lame of me, but as long as Auctioneer is actually loaded it seems okay.

    oh, and if this conversation is best had someplace else, please direct me there.
  2.  
    local marketValue, seenCount = AucAdvanced.API.GetMarketValue(itemLink, AucAdvanced.GetFaction())

    Actually that is currently sufficient, as older versions of auctioneer no longer work with WoW, so ancient versions with different APIs won't be an issue.

    Nah, this is ok.
    • CommentAuthorlilsparky
    • CommentTimeOct 10th 2007 edited
     
    thanks.

    my marketvalues seem high compared to the tooltip values... any idea why that would be?
  3.  
    The tooltip values are provided directly by the individual stats modules, whereas the AucAdvanced.API.GetMarketValue() function averages out all the returns from the stats modules. Of course, there could be a bug with that function, so if you can provide a screenshot of the tooltip and the return value of the AucAdvanced.API.GetMarketValue() we can see if its doing its job properly or not.
    • CommentAuthorlilsparky
    • CommentTimeOct 10th 2007
     
    okay, so it could be some outlier. my aucadvanced database is miniscule at the moment. the one instance that struck me was mystic spellthread being valued at 167g whereas the tooltip put it somewhere around 110g. from my experience, on my server they tend to be listed for 125g. however, like i said, i've done maybe 3 full scans so a funky number might be throwing off one of the stat modules.
    other users have indicated the values don't match, but said they're close (167 v 110 ain't close) so good databases would probably help.

    for now, i'll assume it's my database.
    • CommentAuthorKinesia
    • CommentTimeOct 11th 2007
     
    Your mod looks awesome sparky, can't wait to get home and try it out!

    While ReagentCost by Fizzwidget was a great idea it lacked that extra little bit of usability which yours has in spades.
    • CommentAuthorlilsparky
    • CommentTimeOct 11th 2007 edited
     
    thanks, kinesia. other people are reporting price differences. i'll have to check out what fizzwidget is doing which is what people seem to compare it to.

    edit: interesting, i'm doing the same call he does. only he's multiplying vendor sell price by 3 when there's no auction data. that might be the issue. i'm only using purchase price to avoid instances of common goods being listed in the auction data and making people think silk thread costs 5g.
    • CommentAuthorlilsparky
    • CommentTimeOct 11th 2007
     
    haha. my bad. my mod was calculating stack size returned form tradeskills by doing this:

    stack = min+max/2;


    duh. so my values were all off by 50%.

    still some difference between frc and me, but that might be an issue of having too little data and what the strategy is to work with that (particularly in the case of vendor items).



    say, somebody pointed out that many people use bank toons for scanning and other toons for crafting. is there a way to get at auction data from another toon on the same realm/faction? or even, all toons? or is there a way to set up scanning to be faction/realm-wide instead of character specific? (or am i wrong about the character-specific aspect?)
    • CommentAuthorKinesia
    • CommentTimeOct 11th 2007
     
    Heehee, that's a cute error.
    I think purchase price is a good plan, yes, I see thread in the AH every now and then and it's very silly.

    The scans aren't character specific as far as I know. They are Account specific, but all the characters on the same account can see the data.
  4.  
    Hi all,

    Does anyone know the status of lilsparyky's mod?
    I wanted to develop something similar but cant contact him/her.

    Thanks
World of Warcraft™ and Blizzard Entertainment™ are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.