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?
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.
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).
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)?
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.
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)
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)?
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?)
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.
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.
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.
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.
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.
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.
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?)