Quantcast
Download
(324 Kb)
Download
Updated: 07/22/21 11:38 PM
Pictures
File Info
Compatibility:
Blackwood (7.0.5)
Updated:07/22/21 11:38 PM
Created:05/16/21 12:36 PM
Monthly downloads:4,151
Total downloads:16,385
Favorites:23
MD5:
7.0.5
The Elder Bar Reloaded  Updated this week!  Popular! (More than 5000 hits)
Version: 11.4.2
by: SimonIllyan [More]
This is my fork of the very useful, but apparently abandoned addon
The Elder Bar by Eldrni.

I took the liberty of rewriting much of its code (fixing some bugs, adding a bit of new functionality and shortening it by 40% by replacing repeated code with function calls…). Since the last version of The Elder Bar (TEB) was 10.3.0, I started numbering versions of The Elder Bar Reloaded from 11.0.0. It is now compatible with API version 100035 (Update 29 "Blackwood").

LibSavedVars is now a mandatory dependency, in addition to LibAddonMenu-2.0 and LibFoodDrinkBuff.
LibClockTST is optional dependency, needed only for showing Tamriel time/date.

Please report bugs in the comments section or directly to me.
Changes in version 11.4.2 (2021-07-23)
- fixed missing check in CheckThreshold

Changes in version 11.4.1 (2021-07-21)
- added text to Lock/Unlock gadget
- modified Endeavor Progress gadget (added selection of remaining time display format)
- fixed colour for research timers

Changes in version 11.4.0 (2021-07-16)
- added a gadget for endeavor progress (number of completed endeavors and remaining time)
- added an option for all non-global currencies to have different display formats for the gadget
and for the global currencies tooltip
- added an option to hide companion rapport if maxed out
- fixed AP gadget (I hope…)
- changed format of SavedVariables so that Trackers are a separate subtree
to make it easier to copy settings between accounts
- another internal change - gadget icons are now of CT_TEXTURE rather than CT_BUTTON type;
it means they can be painted any colour, so "Icons inherit color" option finally works
as intended (except for the Lock/Unlock gadget - can't be helped)
- other fixes

Changes in version 11.3.4 (2021-07-01)
- modified tooltips for all non-global currency gadgets to show the amount of currency
on each character and in bank (gadgets for global currencies, i.e. crowns, crown gems,
undaunted keys and transmute crystals work as before, except the non-global currencies are presented
in tooltips in the format selected for their respective gadgets, )
- research sloths should be more diligent now
- fixed misaligned tooltip for Bounty and Heat gadget
- fixed Transmute Crystals gadget being always white
- possibly fixed some other bugsChanges in version 11.3.3 (2021-06-26)
- circumvented the ZoS bug with companion reporting 0 XP while swimming

Changes in version 11.3.2 (2021-06-25)
- added options to show appriopriate gadgets only when research/horse training is possible
- fixed a bug causing companion gadget's disappearance
- added more options to companion gadget (taken from CompanionInfo addon)
- fixed lock gadget icon not changing on unlocking
- fixed enlightenment gadget

Changes in version 11.3.1 (2021-06-14)
- added option for icons inheriting (or not) status color (warning etc.) from their labels
- added Companion gadget
- fixed kill counter

Changes in version 11.3.0 (2021-06-12)
- added gadget for locking/unlocking bar & gadgets
- made another attempt at fixing "Avoiding anchor cycle from [X] to [Y]" warning
- corrected checking thresholds (changed strong inequality to weak )
- changed SavedVars structure again (now it is v10)
- a lot of internal changes to make it less of a CPU hog

Changes in version 11.2.2 (2021-06-03)
- fixed disappearing pulsing items
- added gadgets for crowns and crown gems (also added these to the currencies tooltip)

Changes in version 11.2.1 (2021-06-02)
- fixed event tickets & food buff gadgets not showing up
- fixed another problem with upgrading from earlier version (thanks to shadowcep)

Changes in version 11.2.0 (2021-06-01)
- fixed research timers showing only shortest timer regardless of the settings
- fixed problem (one of…) with upgrading from the original TEB version
- fixed champion points mismatch
- changed SavedVars structure again (now it is v9)

Changes in version 11.1.4 (2021-05-31)
- fixed problem with slotted poison (I think…)
- fixed problem with research timers not showing
- fixed problem with Thief's Tools (when set to "total stolen")

Changes in version 11.1.3 (2021-05-30)
- removed another overlooked debugging message

Changes in version 11.1.2 (2021-05-30)
- fixed coloring of Thieves Tools and Soulgems
- fixed mail gadget pulsing
- Undaunted keys and Endeavor Seals now have proper icons (but no monochrome version!)
- added "Junk" gadget
- Tamriel time and date now rely on LibClockTST (optional dependency,
but without it Tamriel time is not available)
- changed colors in the Settings menu a bit
- removed unnecessary debugging

Changes in version 11.1.1 (2021-05-28)
- fixed coloring of some items (like non-gold currencies) on the bar
- fixed uneven transparency of the bar's background
- added option for bar autohide speed
- added widget for endeavor seals (currently works on PTS only)
- added sorting of characters in Mundus tooltip
- fixed levels of Enlightement
- restored multiple items/times in research widgets
- scaling the bar is now in steps of 5

Changes in version 11.1.0 (2021-05-25)
- Undaunted keys gadget
- Transmute Crystals gadget has warning/danger levels
- Mundus stone buff is tracked like mounts and gold, unset Mundus colored as Danger
- option to auto-hide bar while digging for antiquities
- full customization of 14 colors via color pickers
- restored on popular demand: bar can be moved so high/low that part of its edge is off screen
- changed internal data structures for storing gadget order in PvE/PvP
- changed the format of SavedVariables again (please backup your SavedVariables if you think
you may want to go back to previous version)

Changes in version 11.0.3 (2021-05-20)
- fixed some of the bugs related to settings initialization
- moved background settings to "General Settings" section
- added some new settings ("Spacing between gadgets","Draw a border around the bar")
- some preparations for full color customization

Changes in version 11.0.2 (2021-05-18):
- added color picker for the default color of text and icons

Changes in version 11.0.1 (2021-05-17):
- improved import of old SavedVariables
Archived Files (21)
File Name
Version
Size
Uploader
Date
11.4.1
324kB
SimonIllyan
07/22/21 02:27 PM
11.4.0
324kB
SimonIllyan
07/16/21 03:45 PM
11.3.4
317kB
SimonIllyan
07/01/21 12:23 PM
11.3.3
317kB
SimonIllyan
06/26/21 11:45 AM
11.3.3
317kB
SimonIllyan
06/26/21 11:28 AM
11.3.2
317kB
SimonIllyan
06/25/21 03:33 PM
11.3.1
316kB
SimonIllyan
06/14/21 03:49 PM
11.3.0
315kB
SimonIllyan
06/12/21 10:44 AM
11.3.0
4kB
SimonIllyan
06/12/21 04:14 AM
11.2.2
312kB
SimonIllyan
06/03/21 04:57 AM
11.2.1
301kB
SimonIllyan
06/02/21 12:20 PM
11.2.0
301kB
SimonIllyan
06/01/21 05:52 PM
11.1.4
303kB
SimonIllyan
05/31/21 11:14 AM
11.1.3
303kB
SimonIllyan
05/30/21 11:49 AM
11.1.2
303kB
SimonIllyan
05/30/21 09:39 AM
11.1.1
298kB
SimonIllyan
05/28/21 03:34 PM
11.1.0
294kB
SimonIllyan
05/25/21 03:40 PM
11.0.3
291kB
SimonIllyan
05/20/21 02:19 AM
11.0.2
290kB
SimonIllyan
05/18/21 08:53 AM
11.0.1
290kB
SimonIllyan
05/16/21 05:21 PM
11.0.0
319kB
05/16/21 12:36 PM


Post A Reply Comment Options
Unread 05/25/21, 05:17 PM  
trollusk

Forum posts: 0
File comments: 3
Uploads: 0
For me the latest update 11.1.0 is broken. Lua errors, no entry in addon settings menu, the bar itself is borked (shows "test" beside each icon on the right half of the bar).

I have all the dependencies installed.
There seems to be no savedvariables file.

On entering the game or reloading UI I get this error:

Code:
user:/AddOns/TEB/TEB.lua:704: operator # is not supported for # nil
stack traceback:
user:/AddOns/TEB/TEB.lua:704: in function 'TEB.Upgrade_to_7'
|caaaaaa<Locals> sv_data = [table:1]{level_DisplayPreferenceMax = "[CP Icon] Champion Points (Uns...", lockMessage = T, barLocked = F, memory_Warning = 512, tt_Warning = 25, bag_DisplayPreference = "slots used/total slots", mount_DisplayPreference = "short", gold_DisplayPreference = "gold on character", food_Dynamic = F, research_DisplayAllSlots = T, experience_DisplayPreference = "% towards next level/CP", memory_Good = T, mount_Dynamic = T, et_Dynamic = T, barY = 3, ft_Dynamic = T, ft_DisplayPreference = "time left/cost", tt_InvWarning = 50, tt_Good = T, wc_Warning = 50, research_DisplayPreference = "simple", pulseWhenCritical = T, latency_FixedLength = 100, wc_PoisonWarning = 20, bounty_DisplayPreference = "simple", tt_DisplayPreference = "stolen treasures/stolen goods ...", gadgetsLocked = T, latency_Warning = 250, latency_Danger = 500, fps_Fixed = F, clock_DisplayPreference = "local time", ft_TimerDisplayPreference = "simple", soulgems_DisplayPreference = "total filled", level_Dynamic = T, et_DisplayPreference = "tickets", vampirism_TimerPreference = "simple", barPosition = "top", fps_Warning = 30, latency_Fixed = F, bumpCompass = T, tt_InvDanger = 75, durability_Good = T, barWidth = "dynamic", pulseType = "slow blink", level_DisplayPreferenceNotMax = "[Class Icon] Character Level (...", bag_Warning = 70, font = "Univers57", wc_Good = T, autohide_Bank = T, food_PulseAfter = T}, move_to_bar_subtable = [table:2]{icons_Mode = "iconsMode", pulseWhenCritical = "pulseWhenCritical", pulseType = "pulseType", bumpActionBar = "bumpActionBar", barLocked = "Locked", gadgetsLocked = "gadgetsLocked", controlsPosition = "controlsPosition", font = "font", barLayer = "Layer", combatIndicator = "combatIndicator", barY = "Y", Width = "Width", barPosition = "Position", chatMessagesOn = "chatMessagesOn", scale = "scale", thousandsSeparator = "thousandsSeparator", combatOpacity = "combatOpacity", bumpCompass = "bumpCompass", backdropOpacity = "backgroundOpacity"}, old_key = "durability_DisplayPreference", old_v = "durability %", new_subkey = "DisplayPreference", old = "Weapon Charge", new = "Weapon Charge/Poison", _ = 1, submenu = "gadgets_pve" </Locals>
user:/AddOns/LibSavedVars/classes/LSV_SavedVarsManager.lua:292: in function 'LSV_SavedVarsManager:Version'
|caaaaaa<Locals> self = [table:3]{name = "TEBSavedVariables", profile = "NA Megaserver", id = 5, namespace = "Account", rawSavedVarsTableKey = "Account", version = 7, keyType = 3, displayName = "@trollusk"}, version = 7, onVersionUpdate = user:/AddOns/TEB/TEB.lua:641, rawDataTable = [table:1] </Locals>
user:/AddOns/LibSavedVars/classes/LSV_Data.lua:786: in function 'LSV_Data:Version'
|caaaaaa<Locals> self = [table:4]{}, version = 7, onVersionUpdate = user:/AddOns/TEB/TEB.lua:641, svManagers = [table:5]{}, _ = 1, svManager = [table:3] </Locals>
user:/AddOns/TEB/TEB.lua:547: in function 'TEB.OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addOnName = "TEB", events = [table:6]{}, sv_name = "TEBSavedVariables" </Locals>
Dismissing that error I then get:

Code:
user:/AddOns/TEB/TEB.lua:565: attempt to index a nil value
stack traceback:
user:/AddOns/TEB/TEB.lua:565: in function 'TEB.FinishInitialization'
|caaaaaa<Locals> eventCode = 589824 </Locals>
On mousing over the bar I get this UI error:

Code:
user:/AddOns/TEB/TEB.lua:1241: attempt to index a nil value
stack traceback:
user:/AddOns/TEB/TEB.lua:1241: in function 'TEB.ShowToolTipMundus'
|caaaaaa<Locals> self = ud </Locals>
TEBTopMundusIcon_MouseEnter:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud </Locals>
Report comment to moderator  
Reply With Quote
Unread 05/25/21, 03:36 PM  
SimonIllyan
 
SimonIllyan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 172
Uploads: 1
11.1.0 ready

Version 11.1.0 "Glorious 25th of May" is ready.

If you think you may want to go back to the current (11.0.3) version, back up your SavedVariables before upgrading - its format changes again with this version, so there's no coming back without restoring (or deleting…) SavedVariables.

I went over the whole code (and have rewritten like 80% of it…), fixed some bugs, probably missed some, possibly made new ones. Hopefully the net result is less bugs and more stability. There are also some new features - see change log.
Report comment to moderator  
Reply With Quote
Unread 05/25/21, 11:18 AM  
SimonIllyan
 
SimonIllyan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 172
Uploads: 1
Originally Posted by nerfarious
Hi, seem to be getting these errors in the new version:

Code:
Control [ZO_PlayerAttributeHealth] already has two anchors, adding another will have no effect.
Control [ZO_PlayerAttributeMagicka] already has two anchors, adding another will have no effect.
These mostly occur in combat usually.
Couldn't reproduce, not sure what might cause it. Do you use any other addon that could possibly do something to the health/magicka indicators (move them, change their look)?
Report comment to moderator  
Reply With Quote
Unread 05/25/21, 12:40 AM  
Vampyra

Forum posts: 0
File comments: 18
Uploads: 0
Originally Posted by SimonIllyan
Originally Posted by Vampyra
When the horse trainer timeout ends my bar says TRAIN!

Can you add "Choo! Choo!"
Sure I can. But I won't
Report comment to moderator  
Reply With Quote
Unread 05/24/21, 08:43 PM  
static_recharge
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 129
Uploads: 3
Re: Re: The Bar Doesn't Show At All

Originally Posted by SimonIllyan
Originally Posted by static_recharge
Ever since the last update the bar doesn't show at all and I have all of the auto-hide options turned off. The add-on is loaded as I can get to the settings menu no problem, but the bar itself does not show.
Please check in the settings whether you haven't accidentally set the bar to transparent.

BTW, I think I need to change the name of this option - "transparency" suggests that 0% means "opaque" and 100% - completely transparent, while in fact it is the other way around, so "opacity" is a more suitable name…
That was it thank you!
Report comment to moderator  
Reply With Quote
Unread 05/24/21, 05:22 PM  
SimonIllyan
 
SimonIllyan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 172
Uploads: 1
Re: The Bar Doesn't Show At All

Originally Posted by static_recharge
Ever since the last update the bar doesn't show at all and I have all of the auto-hide options turned off. The add-on is loaded as I can get to the settings menu no problem, but the bar itself does not show.
Please check in the settings whether you haven't accidentally set the bar to transparent.

BTW, I think I need to change the name of this option - "transparency" suggests that 0% means "opaque" and 100% - completely transparent, while in fact it is the other way around, so "opacity" is a more suitable name…
Report comment to moderator  
Reply With Quote
Unread 05/24/21, 12:15 PM  
static_recharge
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 129
Uploads: 3
The Bar Doesn't Show At All

Ever since the last update the bar doesn't show at all and I have all of the auto-hide options turned off. The add-on is loaded as I can get to the settings menu no problem, but the bar itself does not show.
Report comment to moderator  
Reply With Quote
Unread 05/24/21, 02:38 AM  
Beta

Forum posts: 0
File comments: 12
Uploads: 0
Please fix the auto-hide settings. The autohide almost never works at all, a few times it does but with delay. And sometimes when it do hide it doesn't come back when it should.

Edit: Seems to be mostly be when opening the menu, inventory, map etc that it doesn't hide itself right away. As far as I can tell it hides itself in these situation some times after quite a delay. And then it doesn't come back at all until you change zone etc.




Last edited by Beta : 05/24/21 at 02:42 AM.
Report comment to moderator  
Reply With Quote
Unread 05/23/21, 05:58 AM  
SimonIllyan
 
SimonIllyan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 172
Uploads: 1
Originally Posted by Vampyra
When the horse trainer timeout ends my bar says TRAIN!

Can you add "Choo! Choo!"
Sure I can. But I won't
Report comment to moderator  
Reply With Quote
Unread 05/23/21, 04:41 AM  
SimonIllyan
 
SimonIllyan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 172
Uploads: 1
Re: Experience tooltip not showing

Originally Posted by shadowcep
I notice the experience gadget doesn't show a tooltip; it may have been overlooked while you were rewriting the code.
That's right, I am not yet finished rewriting and some parts of code still need work.
Originally Posted by shadowcep
I have found the following version of TEB.ShowToolTipXP makes it work again.

Code:
function TEB.ShowToolTipXP(self)
    local levelThing = G.lvl == 50 and "champion point" or "level"
    local tbl = {
        ["% towards next level/CP"   ] = "Experience towards next %s" ,
        ["% needed for next level/CP"] = "Experience needed for next %s",
        ["current XP"                ] = "Current experience",
        ["needed XP"                 ] = "Needed experience for next %s",
        ["current XP/total needed"   ] = "Current experience/total experience needed",
    }
    local dispPref = settings.experience.DisplayPreference
    local toolTipLeft, toolTipRight =
        string.format(tbl[dispPref], levelThing)..":\n|cffffff"..G.gxpString,
        ""
    SetToolTip(toolTipLeft, toolTipRight, self)
end
Thank you for your contribution.
Report comment to moderator  
Reply With Quote
Unread 05/22/21, 09:54 AM  
nerfarious

Forum posts: 0
File comments: 5
Uploads: 0
Hi, seem to be getting these errors in the new version:

Code:
Control [ZO_PlayerAttributeHealth] already has two anchors, adding another will have no effect.
Control [ZO_PlayerAttributeMagicka] already has two anchors, adding another will have no effect.
These mostly occur in combat usually.
Last edited by nerfarious : 05/22/21 at 09:55 AM.
Report comment to moderator  
Reply With Quote
Unread 05/22/21, 06:09 AM  
shadowcep
 
shadowcep's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
Experience tooltip not showing

I notice the experience gadget doesn't show a tooltip; it may have been overlooked while you were rewriting the code.

I have found the following version of TEB.ShowToolTipXP makes it work again.

Code:
function TEB.ShowToolTipXP(self)
    local levelThing = G.lvl == 50 and "champion point" or "level"
    local tbl = {
        ["% towards next level/CP"   ] = "Experience towards next %s" ,
        ["% needed for next level/CP"] = "Experience needed for next %s",
        ["current XP"                ] = "Current experience",
        ["needed XP"                 ] = "Needed experience for next %s",
        ["current XP/total needed"   ] = "Current experience/total experience needed",
    }
    local dispPref = settings.experience.DisplayPreference
    local toolTipLeft, toolTipRight =
        string.format(tbl[dispPref], levelThing)..":\n|cffffff"..G.gxpString,
        ""
    SetToolTip(toolTipLeft, toolTipRight, self)
end
Report comment to moderator  
Reply With Quote
Unread 05/22/21, 04:43 AM  
SimonIllyan
 
SimonIllyan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 172
Uploads: 1
Re: Re: Re: Another update cycle!

Originally Posted by DaBear78
Originally Posted by SimonIllyan
I'll try to do it, but it may require a bit of experimenting - I have no idea which event is triggered upon starting/finishing the digging, and the API documentation is not very helpful.

Just guessing, but maybe these events are EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY and
EVENT_ANTIQUITY_DIGGING_GAME_OVER? But I don't know, but they exist and seem to sound right, but I don't know how to test it


EDIT: Ok, found a way to test it. Works great
That's right, and it will be done in the upcoming 11.1.0.
Report comment to moderator  
Reply With Quote
Unread 05/21/21, 05:23 PM  
DaBear78
 
DaBear78's Avatar

Forum posts: 1
File comments: 110
Uploads: 0
Re: Re: Another update cycle!

Originally Posted by SimonIllyan
I'll try to do it, but it may require a bit of experimenting - I have no idea which event is triggered upon starting/finishing the digging, and the API documentation is not very helpful.

Just guessing, but maybe these events are EVENT_ANTIQUITY_DIGGING_READY_TO_PLAY and
EVENT_ANTIQUITY_DIGGING_GAME_OVER? But I don't know, but they exist and seem to sound right, but I don't know how to test it


EDIT: Ok, found a way to test it. Works great
Last edited by DaBear78 : 05/22/21 at 03:26 AM.
Report comment to moderator  
Reply With Quote
Unread 05/21/21, 02:21 PM  
Vampyra

Forum posts: 0
File comments: 18
Uploads: 0
When the horse trainer timeout ends my bar says TRAIN!

Can you add "Choo! Choo!"
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: