Compare commits
No commits in common. "master" and "3.3.002b-coa.27" have entirely different histories.
master
...
3.3.002b-c
21 changed files with 30 additions and 64 deletions
|
|
@ -338,7 +338,7 @@ function addon:OnEnable()
|
|||
-- CoA: use a Lua constant, not GetAddOnMetadata — TOC metadata is cached at game launch
|
||||
-- and does NOT refresh on /reload, so the .toc version looked stale ("still .18"). A Lua
|
||||
-- constant re-evaluates on every /reload, giving a truthful loaded-code version. Bump with the .toc.
|
||||
AltoholicFrameName:SetText("Altoholic |cFFFFFFFF3.3.002b-coa.30|r")
|
||||
AltoholicFrameName:SetText("Altoholic |cFFFFFFFF3.3.002b-coa.27|r")
|
||||
|
||||
local realm = GetRealmName()
|
||||
local player = UnitName("player")
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
## Author: Thaoky, Telkar-RG
|
||||
## X-Edited-By: Exiles (Sub-Net) — florian.berthold@sub-net.at
|
||||
## Version: 3.3.002b-coa.30
|
||||
## Version: 3.3.002b-coa.27
|
||||
## X-Category: Inventory, Tradeskill, Mail
|
||||
## X-Localizations: enUS, frFR, zhCN, zhTW, deDE, koKR, esES, esMX, ruRU
|
||||
## X-Website: http://wow.curse.com/downloads/wow-addons/details/altoholic.aspx
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ end
|
|||
|
||||
|
||||
function ns:Update()
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameSummary"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ local ns = addon.Activity -- ns = namespace
|
|||
local Characters = addon.Characters
|
||||
|
||||
function ns:Update()
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameActivity"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ local ns = addon.BagUsage -- ns = namespace
|
|||
local Characters = addon.Characters
|
||||
|
||||
function ns:Update()
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameBagUsage"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ function ns:Update()
|
|||
BuildView()
|
||||
end
|
||||
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameGuildBankTabs"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ function ns:Update()
|
|||
BuildView()
|
||||
end
|
||||
|
||||
local VisibleLines = 17
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameGuildMembers"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ function ns:Update()
|
|||
BuildView()
|
||||
end
|
||||
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameGuildProfessions"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ function ns:Update()
|
|||
local character = addon.Tabs.Characters:GetCurrent()
|
||||
|
||||
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameQuests"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ end
|
|||
function ns:Update()
|
||||
local currentProfession = addon.TradeSkills.CurrentProfession
|
||||
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameRecipes"
|
||||
local entry = frame.."Entry"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ local inset = 2
|
|||
|
||||
|
||||
function ns:Update()
|
||||
local VisibleLines = 18
|
||||
local VisibleLines = 20
|
||||
local frame = "AltoholicFrameSkills"
|
||||
local entry = frame.."Entry"
|
||||
local DS = DataStore
|
||||
|
|
|
|||
|
|
@ -243,44 +243,19 @@
|
|||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<!-- CoA: a character can learn every profession. Lay the profession quick-icons out
|
||||
as a wrapped 4-per-row grid in the open middle-left area (the taller window has room
|
||||
below the Character dropdown). UpdateViewIcons fills/hides Prof1..12 dynamically. -->
|
||||
<Button name="$parent_Prof1" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="TOPLEFT" relativeTo="AltoholicTabCharacters" relativePoint="TOPLEFT"><Offset x="30" y="-205" /></Anchor></Anchors>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT" relativeTo="$parent_FirstAid" relativePoint="BOTTOMRIGHT" >
|
||||
<Offset x="5" y="0" />
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof2" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof1" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof3" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof2" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof4" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof3" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof5" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="TOPLEFT" relativeTo="$parent_Prof1" relativePoint="BOTTOMLEFT"><Offset x="0" y="-5" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof6" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof5" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof7" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof6" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof8" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof7" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof9" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="TOPLEFT" relativeTo="$parent_Prof5" relativePoint="BOTTOMLEFT"><Offset x="0" y="-5" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof10" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof9" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof11" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof10" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
</Button>
|
||||
<Button name="$parent_Prof12" inherits="AltoViewIconTemplate">
|
||||
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof11" relativePoint="BOTTOMRIGHT"><Offset x="5" y="0" /></Anchor></Anchors>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT" relativeTo="$parent_Prof1" relativePoint="BOTTOMRIGHT" >
|
||||
<Offset x="5" y="0" />
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
|
||||
<Button name="$parent_Sort1" inherits="AltoSortButtonTemplate" id="1">
|
||||
|
|
|
|||
|
|
@ -235,8 +235,7 @@ end
|
|||
-- *** EVENT HANDLERS ***
|
||||
function addon:PLAYER_ALIVE()
|
||||
-- print("DataStore_Achievements.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanAllAchievements()
|
||||
ScanProgress()
|
||||
|
|
|
|||
|
|
@ -546,8 +546,7 @@ end
|
|||
-- *** Event Handlers ***
|
||||
local function OnPlayerAlive()
|
||||
-- print("DataStore_Crafts.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanProfessionLinks()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -46,8 +46,7 @@ end
|
|||
-- *** Event Handlers ***
|
||||
local function OnPlayerAlive()
|
||||
-- print("DataStore_Pets.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanCompanions("CRITTER")
|
||||
ScanCompanions("MOUNT")
|
||||
|
|
|
|||
|
|
@ -177,8 +177,7 @@ end
|
|||
-- *** Event Handlers ***
|
||||
local function OnPlayerAlive()
|
||||
-- print("DataStore_Quests.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanQuests()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -177,8 +177,7 @@ end
|
|||
-- *** EVENT HANDLERS ***
|
||||
function addon:PLAYER_ALIVE()
|
||||
-- print("DataStore_Reputations.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanReputations()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -239,8 +239,7 @@ end
|
|||
-- *** EVENT HANDLERS ***
|
||||
function addon:PLAYER_ALIVE()
|
||||
-- print("DataStore_Skills.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanSkills()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -105,8 +105,7 @@ end
|
|||
-- *** EVENT HANDLERS ***
|
||||
function addon:PLAYER_ALIVE()
|
||||
-- print("DataStore_Spells.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanSpells()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -156,8 +156,7 @@ end
|
|||
-- *** EVENT HANDLERS ***
|
||||
function addon:PLAYER_ALIVE()
|
||||
-- print("DataStore_Stats.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanStats()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -419,8 +419,7 @@ end
|
|||
-- *** EVENT HANDLERS ***
|
||||
function addon:PLAYER_ALIVE()
|
||||
-- print("DataStore_Talents.lua") -- DEBUG 2025 07 21
|
||||
if addon.coaScannedThisSession then return end -- CoA: scan once at login (was ghost-gated, so data never saved on a normal login - the cause of "data not saved")
|
||||
addon.coaScannedThisSession = true
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanTalents()
|
||||
ScanTalentReference()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue