If you just updated through curse or twitch, then please restart your WoW Client first. As quite a bit has changed.
A lightweight addon for WoW auction sniping
Requires AnS
Must have at least one of the below for retail:
- Undermine Journal
- TSM
- AnsAuctionData with data from the (AnS App)[https://github.com/Metric/AnS/releases] (only supports US and EU at the moment)
Settings are no longer under Esc -> Interface -> Addons -> AnS
Instead use the new Minimap button to access all stuff AnS related.
or use /ans in the chat window to toggle the main AnS window.
Define a custom source named minprice with value:
max(dbmarket, vendorsell)
or
max(ansmarket, vendorsell)
In the global Max Price / Boolean Filter or in a Sniper Operation Max Price / Boolean Filter:
max(ifgte(ItemQuality, 1, minprice * ifgte(minprice, 250g, 80, ifgte(minprice, 100g, (minprice - 100g) * (80 - 70) / (250g - 100g) + 70, ifgte(minprice, 50g, (minprice - 50g) * (70 - 60) / (100g - 50g) + 60, ifgte(minprice, 10g, (minprice - 10g) * (60 - 40) / (50g - 10g) + 50, ifgte(minprice, 5g, (minprice - 5g) * (40 - 30) / (10g - 5g) + 30, ifgte(minprice, 1g, (minprice - 1g) * (30 - 10) / (5g - 1g) + 10, 0)))))) / 100, 0), VendorSell - 1c)
Check Ignore Group Max Percent and use isgroup in your formula to ignore browse group data
Example:
ifeq(isgroup,true,ppu,<your actual item formula here>)
-
Double click to buy an item
-
Action / Mouse wheel macro creation under Ans Minimap Button -> Settings -> Macro
- Buy will only buy the currently selected item
- Buy First will always buy the first item in the list
-
Blacklist an Item until AH is Closed: Shift + Left Click
-
Permanently Blacklist an Item: Shift + Ctrl + Left Click
- Note you can manually add or remove from permanent blacklist under Ans Minimap Button -> Settings -> Blacklist
- Adding an item can be done via an item id or item string. E.g. 12345, i:12345::2:32, p:32 etc.
- Note you can manually add or remove from permanent blacklist under Ans Minimap Button -> Settings -> Blacklist
Toggle Main Window
/ans
Reset Window Positions
/ans resetwindows
Toggle Destroy Window
/ans destroy
Toggle Minimap Button
/ansminimap
Reposition Minimap Button (number is in degrees 0-359)
/ansminimap 45
The sniper price source must return a numerical value and can use Custom Sources as well in it.
The sniper price source is used for the default percentage calculations.
The max price or boolean filter here is the global version. Sniper operations ignore this value and use their own instead.
You can either return a numerical value here and it will work as a max price cut off, or return a boolean value such as: ppu lte 20g
Lua operators can be used
>=, ~=, ==, <=, <, >, not, and, or, -, +, *, \
Predefined functions for use in strings:
first, check, iflte, iflt, ifgte, ifgt, ifeq, ifneq, avg, min, max, mod, abs, ceil, floor, round, random, log, log10, exp, sqrt, eq, neq, bonus, startswith, contains,
Predefined Item Variables:
vendorsell, vendorbuy, percent, ppu, stacksize, buyout, ilevel, quality, tsmId, id, isgroup
Predefined TUJ Variables:
tujmarket, tujrecent, tujglobalmedian, tujglobalmean, tujage, tujdays, tujstddev, tujglobalstddev
Predefined TSM Variables:
dbmarket, dbminbuyout, dbhistorical, dbregionmarketavg, dbregionminbuyoutavg, dbregionhistorical, dbregionsaleavg, dbregionsalerate, dbregionsoldperday
Most variants on TSM variables are also available such as DBRegionMarketAvg, ItemLevel, etc. in 2.1
Predefined AnsAuctionData Variables:
ansmin, ansrecent, ansmarket, ans3day, ansregionmarket, ansregionmin
ansregionmarket and ansregionmin are only available for retail via the AnS App. They do nothing on classic.
The bonus function will check to see if an item has a specified bonus id
You can pass it the following as an example:
bonus(100,110g,0)
If the above has the bonus 100 then it will return the first value of 110g, otherwise it will return the secondary value of 0. If only a bonus id is provided and no values are passed, then it will return just true or false.
The function parameters:
bonus(id,value1,value2)
bonus does not work on browse groups. Check isgroup first before trying to use it.
Example:
ifeq(isgroup,true,ppu,bonus(100,110g,0))
Custom sources can be anything you want them to be and are case sensitive.
They can be referenced in any other area of AnS from operations to global settings.
You can do the following just like TSM:
10% dbmarketvalue
20% dbminbuyout
etc..
25g5s10c
25g10c
25g
5s10c
5s
10c
avg of tujmarket and tujrecent
avg(tujmarket,tujrecent)
min of tujmarket and tujrecent
min(tujmarket,tujrecent)
min of dbmarket, tujmarket, tujrecent, dbregionmarketavg
min(dbmarket,tujmarket,tujrecent,dbregionmarketavg)
You can use any of the standard lua operators for math such as: * (multiply), \ (divide), + (add), - (subtract)
0.25 * min(tujmarket,tujrecent);
percent lt 50
ppu lte 5g
ilevel gt 350
stacksize gte 20
quality gte 4
quality gte 1 and ppu lte 10g
ilevel gt 350 and percent lt 50
ppu lt 1000g or ppu gt 5000g
(stacksize eq 200) or (ppu gt 200g and ppu lt 250g)
It is a core library used for various things. But mainly for AnS [Auction Snipe].
It also handles the configuration of all AnS related addons.