Mercurial > wow > inventory
view Plugins/AuctionAddons/ZeroAuctions.lua @ 110:67bd5057ecb7
Implemented vendor restocking with the mover. Comitting so I can always review this working version, but I?ll be disabling all part of it as it is not going to work properly without seriously compromising the code structure.
Debug messages are now appended with ?Inventorium? (my MailOpener addon was making stuff difficult).
Now properly removing the refill window from the displayed static popup windows list so new popups won?t be aligned at odd locations.
Changed ?CreateMoverFrame? to not contain any scenario-specific info. All settings can be set with SetFrameSettings.
Items that belong to speciality bags are now put there. Other items now ignore spaciality bags.
Implemented test code for mailbox refill support. It has been disabled due to some issues but may be introduced later.
The guild withdrawal limit is now taken into consideration.
Queue is now reset before scanning again.
author | Zerotorescue |
---|---|
date | Fri, 14 Jan 2011 23:25:05 +0100 |
parents | 3bec0ea44607 |
children |
line wrap: on
line source
do local ZA; local function GetValue(link) return (ZA and ZA:GetModule("Scan"):GetLowestAuction(ZA:GetSafeLink(link))) or -1; end local function IsEnabled() local isEnabled = (select(6, GetAddOnInfo("ZeroAuctions")) == nil); if isEnabled then ZA = LibStub("AceAddon-3.0"):GetAddon("ZeroAuctions"); end return isEnabled and ZA; end local function OnSelect() local addonName = "|r|cfffed000ZeroAuctions|r|cffff6600"; print("|cffff6600Using " .. addonName .. " as pricing addon is not recommended. Items at the auction house above the \"ignore stacks over\" will always be ignored (and thus not affect the displayed price) and if you are the only one posting, " .. addonName .. " will act as if there are no auctions up.|r"); end IMRegisterPricingAddon("ZeroAuctions", GetValue, IsEnabled, OnSelect); end