Download
(57 Kb)
Download
Updated: 12/28/23 06:24 PM
Addon for:
Leo's Altholic.
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
Updated:12/28/23 06:24 PM
Created:03/17/23 05:09 PM
Monthly downloads:152
Total downloads:3,547
Favorites:9
MD5:
Leo's Altholic (Fix)
Version: 1.9.4
by: sshogrin [More]
This is a fixed, updated API version of https://www.esoui.com/downloads/info...sAltholic.html

There were a few fixes and clean up to the lua (thanks ckd), and fixes were implemented to show correct max level for some skill lines.

As of the latest update, lots of UI errors, so the xml was fixed there and tested.

I have read thru other comments on the original, not sure if I can implement any of those, as I have wish lists myself that I would like to add. If anybody would like to help with some of that, I would be more than interested in the help.

I have tried contacting the original author thru here, as well as thru email, and have not heard back in over a month. I thought I could at least share this updated version with everybody.
1.9.4 --Fixed Leo window to show all 20 characters without having to scroll. Inventory tab will still need to scroll to see all characters.

1.9.3 --Updated API. Fixed website link to this and added myself to the Author/fix line. Fixed research timers (thanks Shantarna for the code!)

1.9.2 --Fixed UI error for resizeToFitDescendent, API version, addon version update.

1.9.1 --Update fix (thanks ckd), fix to report some skill lines max level correctly.
Archived Files (3)
File Name
Version
Size
Uploader
Date
1.9.3
57kB
sshogrin
10/30/23 12:59 PM
1.9.3
57kB
sshogrin
10/29/23 07:07 PM
1.9.2
56kB
sshogrin
03/17/23 05:09 PM


Post A Reply Comment Options
Unread 09/25/23, 03:34 PM  
DohNotAgain

Forum posts: 1
File comments: 111
Uploads: 0
Originally Posted by sshogrin
I've had quite a few friends ask about companion info.
The only PvP info is for Emp in the Skills 2 tab.
The type of PVP info I was talking about is:

Assault and Support skill level. (Currently on Skills tab 2. They'd be nice on a multi item PVP info tab.)
Home campaign.
End of campaign reward tier.
AVA rank number and name.
Possibly AP needed for next AVA rank.

I love how this addon displays the information clearly, cleanly, and easy to read.
The views are not cluttered to look at or read.
Report comment to moderator  
Reply With Quote
Unread 10/16/23, 10:51 AM  
Shantarna

Forum posts: 0
File comments: 2
Uploads: 0
Fixing Research Timers

I was finding that my research timers were on the summary window and on the toolbar were reporting the wrong times. So I looked into it and did some sleuthing into other mods and how they do it. I am not entirely sure why it works, but it seems to fix my problems. I verified it fixed the timers on the summary window and on the toolbar. It's a bit more complicated of a change but feel free to poach it if you like.

Fixing the Summary Window:

File: research.lua, Function: LeoAltholicResearchList:SetupEntry

2 x changes:

1) After Line 28, add two new lines to define some variables you need later:

local isCurrentPlayer = (data.name == LeoAltholic.CharName)
local now = GetTimeStamp()

2) Once above is in, add the following after Line 45 (in the for _, research in pairs... loop):

if isCurrentPlayer then
local _, remaining = GetSmithingResearchLineTraitTimes(craft, research.line, research.trait)
research.doneAt = remaining + now
else
local remaining = GetDiffBetweenTimeStamps(research.doneAt, now)
research.doneAt = remaining + now
end


Fixing the Toolbar:

File: LeoAltoholic_API.lua, Function: LeoAltholic.GetResearchCounters

After Line 205 add:

if charName == LeoAltholic.CharName then
local _, remaining = GetSmithingResearchLineTraitTimes(craft, research.line, research.trait)
if remaining ~= nil then
research.doneAt = remaining + GetTimeStamp()
end
else
local now = GetTimeStamp()
local remaining = GetDiffBetweenTimeStamps(research.doneAt, now)
research.doneAt = remaining + now
end


NOTE: Edited to fix an error in the LeoAltoholic_API.lua code (added null check).
Last edited by Shantarna : 10/16/23 at 05:32 PM.
Report comment to moderator  
Reply With Quote
Unread 10/29/23, 07:00 PM  
sshogrin
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 66
Uploads: 5
Re: Fixing Research Timers

Originally Posted by Shantarna
I was finding that my research timers were on the summary window and on the toolbar were reporting the wrong times. So I looked into it and did some sleuthing into other mods and how they do it. I am not entirely sure why it works, but it seems to fix my problems. I verified it fixed the timers on the summary window and on the toolbar. It's a bit more complicated of a change but feel free to poach it if you like.

Fixing the Summary Window:

File: research.lua, Function: LeoAltholicResearchList:SetupEntry

2 x changes:

1) After Line 28, add two new lines to define some variables you need later:

local isCurrentPlayer = (data.name == LeoAltholic.CharName)
local now = GetTimeStamp()

2) Once above is in, add the following after Line 45 (in the for _, research in pairs... loop):

if isCurrentPlayer then
local _, remaining = GetSmithingResearchLineTraitTimes(craft, research.line, research.trait)
research.doneAt = remaining + now
else
local remaining = GetDiffBetweenTimeStamps(research.doneAt, now)
research.doneAt = remaining + now
end


Fixing the Toolbar:

File: LeoAltoholic_API.lua, Function: LeoAltholic.GetResearchCounters

After Line 205 add:

if charName == LeoAltholic.CharName then
local _, remaining = GetSmithingResearchLineTraitTimes(craft, research.line, research.trait)
if remaining ~= nil then
research.doneAt = remaining + GetTimeStamp()
end
else
local now = GetTimeStamp()
local remaining = GetDiffBetweenTimeStamps(research.doneAt, now)
research.doneAt = remaining + now
end


NOTE: Edited to fix an error in the LeoAltoholic_API.lua code (added null check).
Thanks for this. Edited my version and testing out currently. Will release update with API in a day or 2.
Report comment to moderator  
Reply With Quote
Unread 12/08/23, 07:00 PM  
SimpsForBreda
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 2
I can't tell from provided screenshots/changelog, does this expand the GUI to show the new maximum of 20 toons?
(currently I have to scroll to show toons #19 and #20 in full)


if not, down to incorporate that change?
I'm down to help to implement if I'm able, but keeping it maintained in one version would be ideal






EDIT:
I figured this out on the old 1.9.0 version...

in LeoAltholic.xml:
- replace
Code:
y="600"
with
Code:
y="650"
- replace
Code:
y="648"
with
Code:
y="700"
Last edited by SimpsForBreda : 12/09/23 at 01:02 PM.
Report comment to moderator  
Reply With Quote
Unread 12/28/23, 04:53 PM  
sshogrin
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 66
Uploads: 5
Originally Posted by SimpsForBreda
I can't tell from provided screenshots/changelog, does this expand the GUI to show the new maximum of 20 toons?
(currently I have to scroll to show toons #19 and #20 in full)


if not, down to incorporate that change?
I'm down to help to implement if I'm able, but keeping it maintained in one version would be ideal






EDIT:
I figured this out on the old 1.9.0 version...

in LeoAltholic.xml:
- replace
Code:
y="600"
with
Code:
y="650"
- replace
Code:
y="648"
with
Code:
y="700"
Yes, you currently have to scroll down to see all characters, but I can implement those changes very easily.
Thanks for your input.
Last edited by sshogrin : 12/28/23 at 06:21 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: