Originally Posted by
Azmordis
You're the best! Thank you in advance!
Sorry that it took me so long but I wasn't able to use my own pc
Anyway here it is:
Open up WoW Folder > Interface > Addons > AuctionLite
Find SellFrame.lua
Replace code that starts at line 480
Code:
if result ~= nil and result.price > 0 then
itemValue = result.price;
if result.priceIsMine then
allowUndercut = false;
end
if self.db.profile.printPriceData then
self:ShowPriceData(link, itemValue, SellSize:GetNumber());
end
self:SetStatus(L["|cff00ff00Scanned %d listings.|r"]:
format(result.listings));
else
local hist = self:GetHistoricalPrice(link);
if hist ~= nil and hist.price > 0 then
itemValue = hist.price;
self:SetStatus(L["|cffffd000Using historical data.|r"]);
else
local _, _, count, _, _, vendor = GetAuctionSellItemInfo();
local mult = self.db.profile.vendorMultiplier;
itemValue = mult * vendor / count;
self:SetStatus(L["|cffff0000Using %.3gx vendor price.|r"]:
format(mult));
end
allowUndercut = false;
end
with
Code:
local useOnlyVendor = true;
if useOnlyVendor then
self:Print(L["Warning! Using only X times vendor prices."]);
end
if not useOnlyVendor and result ~= nil and result.price > 0 then
itemValue = result.price;
if result.priceIsMine then
allowUndercut = false;
end
if self.db.profile.printPriceData then
self:ShowPriceData(link, itemValue, SellSize:GetNumber());
end
self:SetStatus(L["|cff00ff00Scanned %d listings.|r"]:
format(result.listings));
else
local hist = self:GetHistoricalPrice(link);
if not useOnlyVendor and hist ~= nil and hist.price > 0 then
itemValue = hist.price;
self:SetStatus(L["|cffffd000Using historical data.|r"]);
else
local _, _, count, _, _, vendor = GetAuctionSellItemInfo();
local mult = self.db.profile.vendorMultiplier;
itemValue = mult * vendor / count;
self:SetStatus(L["|cffff0000Using %.3gx vendor price.|r"]:
format(mult));
end
allowUndercut = false;
end
I have added local variable there called useOnlyVendor where you can toggle true/false, if you need to use auctionlite normally. I hope it suits your needs