Comparer les révisions

...

9 Révisions
1.0 ... master

Auteur SHA1 Message Date
Albirew 85db06d991 added specific TOC for vanilla and wrath
followed recomendations from KVLtv
2024-01-07 22:44:53 +01:00
Albirew a487c4ced4 bumped version 2024-01-07 22:42:41 +01:00
Albirew f42d9a11f3 added compatibility for WotLK (by KVLtv) 2024-01-07 22:42:21 +01:00
Albirew 7feded8980 fixed LUA error when alt clicking from containers (by KVLtv) 2024-01-07 22:41:40 +01:00
Albirew 2252be76d3 Merge branch 'master' into 'master'
Master

See merge request Albirew/AuctionLite-classic!1
2023-11-30 21:55:52 +00:00
Marotheit 1de46b0a06 Master 2023-11-30 21:55:52 +00:00
Albirew 19e7e002cb Bump ToC to 1.13.3 2019-12-14 00:43:42 +01:00
Albirew 368f0567f3 fixed auction length time (#2) 2019-10-19 22:17:58 +02:00
Albirew 15f137bd6a updated screenshot 2019-10-10 22:27:30 +02:00
21 fichiers modifiés avec 150 ajouts et 35 suppressions

Voir le fichier

@ -1,8 +1,8 @@
## Interface: 11302
## Interface: 11500
## Title: AuctionLite-classic
## Notes: A lightweight addon that tracks auction house data and improves the auction house interface.
## Author: merial.kilrogg@gmail.com
## Version: 1.0
## Version: 1.3
## OptionalDeps: Ace3
## SavedVariables: AuctionLiteDB
## X-Category: Interface Enhancements

Voir le fichier

@ -0,0 +1,46 @@
## Interface: 11500
## Title: AuctionLite-classic
## Notes: A lightweight addon that tracks auction house data and improves the auction house interface.
## Author: merial.kilrogg@gmail.com
## Version: 1.3
## OptionalDeps: Ace3
## SavedVariables: AuctionLiteDB
## X-Category: Interface Enhancements
embeds.xml
Locale\enUS.lua
Locale\frFR.lua
Locale\deDE.lua
Locale\esES.lua
Locale\itIT.lua
Locale\koKR.lua
Locale\ptBR.lua
Locale\ruRU.lua
Locale\zhCN.lua
Locale\zhTW.lua
AuctionLite.lua
AuctionFrame.lua
Config.lua
ListBox.lua
Templates.xml
BuyFrame.lua
BuyFrame.xml
SellFrame.lua
SellFrame.xml
CancelAuctions.lua
CreateAuctions.lua
QueryAuctions.lua
Disenchant.lua
External.lua
History.lua
Tooltip.lua
Util.lua

46
AuctionLite-classic_Wrath.toc Fichier normal
Voir le fichier

@ -0,0 +1,46 @@
## Interface: 30403
## Title: AuctionLite-classic
## Notes: A lightweight addon that tracks auction house data and improves the auction house interface.
## Author: merial.kilrogg@gmail.com
## Version: 1.3
## OptionalDeps: Ace3
## SavedVariables: AuctionLiteDB
## X-Category: Interface Enhancements
embeds.xml
Locale\enUS.lua
Locale\frFR.lua
Locale\deDE.lua
Locale\esES.lua
Locale\itIT.lua
Locale\koKR.lua
Locale\ptBR.lua
Locale\ruRU.lua
Locale\zhCN.lua
Locale\zhTW.lua
AuctionLite.lua
AuctionFrame.lua
Config.lua
ListBox.lua
Templates.xml
BuyFrame.lua
BuyFrame.xml
SellFrame.lua
SellFrame.xml
CancelAuctions.lua
CreateAuctions.lua
QueryAuctions.lua
Disenchant.lua
External.lua
History.lua
Tooltip.lua
Util.lua

Voir le fichier

@ -2019,7 +2019,8 @@ end
-- Handle bag item clicks by searching for the item.
function AuctionLite:BagClickBuy(container, slot)
local link = GetContainerItemLink(container, slot);
local location = ItemLocation:CreateFromBagAndSlot(container, slot)
local link = C_Item.GetItemLink(location);
if link ~= nil then
local name = self:SplitLink(link);
self:NameClickBuy(name);

Voir le fichier

@ -27,11 +27,12 @@ function AuctionLite:CountItems(targetLink)
if targetLink ~= nil then
local i, j;
for i = 0, 4 do
local numItems = GetContainerNumSlots(i);
local numItems = C_Container.GetContainerNumSlots(i);
for j = 1, numItems do
local link = self:RemoveUniqueId(GetContainerItemLink(i, j));
local link = self:RemoveUniqueId(C_Container.GetContainerItemLink(i, j));
if link == targetLink then
local _, count = GetContainerItemInfo(i, j);
local slotInfo = C_Container.GetContainerItemInfo(i, j);
local count = slotInfo.stackCount;
total = total + count;
end
end
@ -48,9 +49,10 @@ function AuctionLite:FindItem(targetLink)
if targetLink ~= nil then
local i, j;
for i = 0, 4 do
local numItems = GetContainerNumSlots(i);
local numItems = C_Container.GetContainerNumSlots(i);
for j = 1, numItems do
local link = self:RemoveUniqueId(GetContainerItemLink(i, j));
local location = ItemLocation:CreateFromBagAndSlot(i, j);
local link = self:RemoveUniqueId(C_Item.GetItemLink(location));
if link == targetLink then
return i, j;
end

BIN
Images/SellFrame-Blank.blp Fichier normal

Fichier binaire non affiché.

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000Stapelgröße zu groß.|r"
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000Benutze %.3gx Händlerpreis.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030Sofortkaufpreis unter Händler-Verkaufswert.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030Stapel %d wird %d |4Gegenstand:Gegenstände; haben.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[Hinweis]|r Schnelle Auktionsscans können nur einmal alle 15 Minuten verwendet werden. Ich verwende vorerst einen langsamen Scan."
L["|cffffd000Using historical data.|r"] = "|cffffd000Verwende historische Daten.|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00Scanne: %d%%|r"
L["Accept"] = "Akzeptieren"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Invalid stack size/count.|r"] = true
L["|cffff0000No bid price set.|r"] = true
L["|cffff0000Not enough cash for deposit.|r"] = true
L["|cffff0000Not enough items available.|r"] = true
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = true
L["|cffff0000Stack size too large.|r"] = true
L["|cffff0000Using %.3gx vendor price.|r"] = true
L["|cffff7030Buyout less than vendor price.|r"] = true

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000Tamaño de montón demasiado
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000Usando %.3gx precio de vendedor.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030Precio de compra menos que precio de vendedor.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030Montón %d tendrá %d |4objeto:objetos;.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[Nota]|r Los escaneos rápidos de subasta solo se pueden utilizar una vez cada 15 minutos. Usando un escaneo lento por ahora."
L["|cffffd000Using historical data.|r"] = "|cffffd000Usando datos históricos.|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00Escaneando: %d%%|r"
L["Accept"] = "Aceptar"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000Taille de la pile trop grand
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000Utilisation de %.3gx le prix marchand.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030Achat immédiat inférieur au prix du marchand.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030La %dème pile aura %d |4objet:objets;.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[Remarque]|r Les analyses d'enchères rapides ne peuvent être utilisées qu'une fois toutes les 15 minutes. Utilisation d'une analyse lente pour l'instant."
L["|cffffd000Using historical data.|r"] = "|cffffd000Utilisation des données historiques.|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00Analyse : %d%%|r"
L["Accept"] = "Accepter"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000Dimensione Pila troppo grand
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000Uso %.3gx prezzo mercante.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030Prezzo acquisto inferiore al prezzo di vendita di un mercante.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030La Pila %d avrà %d |4oggetto:oggetti;.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[Nota]|r Le scansioni dell'asta rapida possono essere utilizzate solo una volta ogni 15 minuti. Utilizzo una scansione lenta per ora."
L["|cffffd000Using historical data.|r"] = "|cffffd000Uso dati storici.|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00Scansione: %d%%|r"
L["Accept"] = "Accetta"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000묶음 크기가 너무 큽
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000상점가의 %.3g배 가격으로 책정합니다.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030상점가보다 낮은 즉시 구매가로 등록된 물품.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030%d 묶음씩 %d개 품목이 됩니다.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[참고]|r 빠른 경매 스캔은 15분에 한 번만 사용할 수 있습니다. 지금은 느린 스캔을 사용하고 있습니다."
L["|cffffd000Using historical data.|r"] = "|cffffd000저장된 가격으로 책정합니다.|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00조사중: %d%%|r"
L["Accept"] = "수락"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000Tamanho da pilha muito grand
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000Usando %.3gx o preço do vendedor.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030Preço de compra menor que o preço do vendedor.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030Pilhas %d irão ter %d |4item:items;.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[Nota]|r Varreduras rápidas de leilão só podem ser usadas uma vez a cada 15 minutos. Usando uma varredura lenta por enquanto."
L["|cffffd000Using historical data.|r"] = "|cffffd000Usando dados historicos.|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00Sondando: %d%%|r"
L["Accept"] = "Aceitar"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = " |cffff0000Размер связки
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000Используя цену продавца, умноженную на %.3g.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030Цена выкупа меньше цены продажи торговцу.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030Связка %d содержит %d |4предмет:предмета:предметов;.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[Примечание]|r Быстрое сканирование аукциона можно использовать только один раз каждые 15 минут. Пока используем медленное сканирование."
L["|cffffd000Using historical data.|r"] = "|cffffd000Используются исторические данные.|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00Сканирование: %d%%|r"
L["Accept"] = "Принять"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000堆叠数量太大.|r"
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000使用 %.3gx 商店价格.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030一口价低于商人价格。|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030堆叠 %d 将有 %d |4物品:物品;.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[注意]|r 快速拍卖扫描每15分钟只能使用一次。 现在使用慢速扫描。"
L["|cffffd000Using historical data.|r"] = "|cffffd000使用历史数据。|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00搜索中%d%%|r"
L["Accept"] = "接受"

Voir le fichier

@ -20,6 +20,7 @@ L["|cffff0000Stack size too large.|r"] = "|cffff0000堆疊數量太大。|r"
L["|cffff0000Using %.3gx vendor price.|r"] = "|cffff0000使用 %.3gx 商店價格.|r"
L["|cffff7030Buyout less than vendor price.|r"] = "|cffff7030直購價比商店價錢還低.|r"
L["|cffff7030Stack %d will have %d |4item:items;.|r"] = "|cffff7030堆疊 %d 將有 %d |4物品:物品;.|r"
L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."] = "[注意]|r 快速拍賣掃描每15分鐘只能使用一次。 現在使用慢速掃描。"
L["|cffffd000Using historical data.|r"] = "|cffffd000使用歷史資料。|r"
L["|cffffff00Scanning: %d%%|r"] = "|cffffff00正在掃描: %d%%|r"
L["Accept"] = "允許"

Voir le fichier

@ -93,9 +93,7 @@ function AuctionLite:QueryUpdate()
getAll = true;
else
Query.getAll = false;
self:Print(L["|cffffd000[Note]|r " ..
"Fast auction scans can only be used once every " ..
"15 minutes. Using a slow scan for now."]);
self:Print(L["|cffffd000[Note]|r Fast auction scans can only be used once every 15 minutes. Using a slow scan for now."]);
end
end

Voir le fichier

@ -168,7 +168,7 @@ function AuctionLite:SetItemBidBuyout(bid, buyout)
end
end
-- Set the number of stacksto the maximum value based on the current stack size
-- Set the number of stacks to the maximum value based on the current stack size
function AuctionLite:SellStacksMaxButton_OnClick()
local _, _, _, _, _, _, link = self:GetAuctionSellItemInfoAndLink();
@ -444,7 +444,7 @@ function AuctionLite:ClearSellFrame()
ChangedSize = 0;
SellItemButton:SetNormalTexture(nil);
SellItemButton:SetNormalTexture("Interface\\AddOns\\AuctionLite-classic\\Images\\SellFrame-Blank");
SellItemButtonName:SetText("");
SellItemButtonCount:Hide();
@ -948,11 +948,12 @@ end
-- Handle bag item clicks by dropping the item into the sell tab.
function AuctionLite:BagClickSell(container, slot)
if GetContainerItemLink(container, slot) ~= nil then
local location = ItemLocation:CreateFromBagAndSlot(container, slot);
if C_Item.GetItemLink(location) ~= nil then
ClearCursor();
ClickAuctionSellItemButton();
ClearCursor();
PickupContainerItem(container, slot);
C_Container.PickupContainerItem(container, slot);
ClickAuctionSellItemButton();
end
end
@ -972,9 +973,16 @@ function AuctionLite:CreateSellFrame()
SellPerItemButtonText:SetText(L["per item"]);
SellPerStackButtonText:SetText(L["per stack"]);
SellShortAuctionButtonText:SetText(L["%dh"]:format(12));
SellMediumAuctionButtonText:SetText(L["%dh"]:format(24));
SellLongAuctionButtonText:SetText(L["%dh"]:format(48));
local version, major, minor = strmatch(GetBuildInfo(), '([%d]*)%.([%d]*)%.([%d]*)')
if version >= "3" then
SellShortAuctionButtonText:SetText(L["%dh"]:format(12));
SellMediumAuctionButtonText:SetText(L["%dh"]:format(24));
SellLongAuctionButtonText:SetText(L["%dh"]:format(48));
else
SellShortAuctionButtonText:SetText(L["%dh"]:format(2));
SellMediumAuctionButtonText:SetText(L["%dh"]:format(8));
SellLongAuctionButtonText:SetText(L["%dh"]:format(24));
end
-- Set button text and adjust arrows.
SellItemNameButton:SetText(L["Competing Auctions"]);

Voir le fichier

@ -225,8 +225,9 @@ end
-- Add data to bag item tooltips.
function AuctionLite:BagTooltip(tooltip, bag, slot)
if tooltip:NumLines() > 0 then
local link = GetContainerItemLink(bag, slot);
local _, count = GetContainerItemInfo(bag, slot);
local location = ItemLocation:CreateFromBagAndSlot(bag, slot);
local link = C_Item.GetItemLink(location);
local count = C_Item.GetStackCount(location);
self:AddTooltipData(tooltip, link, count);
end
end

Voir le fichier

@ -174,22 +174,25 @@ function AuctionLite:GetAuctionSellItemInfoAndLink()
-- Look through the bags to find a matching item.
for i = 0, 4 do
local numItems = GetContainerNumSlots(i);
local numItems = C_Container.GetContainerNumSlots(i);
for j = 1, numItems do
local _, curCount, locked = GetContainerItemInfo(i, j);
if count == curCount and locked then
-- We've found a partial match. Now check the name...
local curLink = GetContainerItemLink(i, j);
local curName = self:SplitLink(curLink);
if name == curName then
if link == nil then
-- It's our first match--make a note of it.
link = self:RemoveUniqueId(curLink);
container = i;
slot = j;
else
-- Ambiguous result. Bail!
return;
if C_Container.GetContainerItemInfo(i, j) ~= nil then
local slotInfo = C_Container.GetContainerItemInfo(i, j);
local curCount, locked = slotInfo.stackCount, slotInfo.isLocked;
if count == curCount and locked then
-- We've found a partial match. Now check the name...
local curLink = C_Container.GetContainerItemLink(i, j);
local curName = self:SplitLink(curLink);
if name == curName then
if link == nil then
-- It's our first match--make a note of it.
link = self:RemoveUniqueId(curLink);
container = i;
slot = j;
else
-- Ambiguous result. Bail!
return;
end
end
end
end

Fichier binaire non affiché.

Avant

Largeur:  |  Hauteur:  |  Taille: 165 KiB

Après

Largeur:  |  Hauteur:  |  Taille: 201 KiB