Download
(298 Kb)
Download
Updated: 07/17/20 04:58 AM
Pictures
File Info
Compatibility:
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:07/17/20 04:58 AM
Created:08/17/18 09:15 AM
Monthly downloads:146
Total downloads:67,997
Favorites:168
MD5:
Categories:Discontinued & Outdated, Bags, Bank, Inventory, Combat Mods, Map, Coords, Compasses, PvP
The Elder Bar  Popular! (More than 5000 hits)
Version: 10.0.3
by: SimonIllyan, Eldrni
The Elder Bar


Required Libraries
LibAddonMenul
LibFoodAndDrinkBuff

What is it?
This addon adds an information bar on the screen, chocked full of information gadgets that update in real-time. Gadgets can be easily dragged and dropped in whatever order you prefer, you can set thresholds, go practically textless, allowing the icons themselves to tell you what you need to know. There are tons of options to configure each gadget.

Main Features
  • The Elder Bar can be unlocked, dragged, and dropped wherever you'd like it.
  • Individual gadgets can be unlocked, dragged, and dropped in any order.
  • It's actually two bars in one: you can have different icons on the bar while playing PvE content than you do in PvP.
  • Every gadget has options to display information however you like it. Want to go without text at all? Go for it! Want to set custom thresholds to warn you about weapon charges? Sure, it does that too. Want things to pester you when your durability goes too low? It can even handle that.
  • Timers can be automatically hidden when not in use. No need to clutter up the bar if you're not actually researching things, waiting for a cooldown timer, or you're not a vampire, right?
  • Every gadget has a tooltip that can display even more information, just by pointing at it with the mouse.
  • The Elder Bar can hide itself automatically, if that's your thing. Choices include talking to NPCs, visiting the bank, crafting, and more.
  • The bar can be scaled from 50% to 150% of it's normal size. You can also set bar opacity and the font.
  • Want to know when you're actually in combat? An optional setting turns the bar red when you are in combat.
  • Track mount training times across multiple characters. You can choose whether to track a character or not. Automatically stops tracking characters with mounts at maximum.
  • Track gold across multiple characters. You can choose whether to track a character or not.
  • Icons come in two variations: classic white and color. All icons have been fine-tuned to match. You won't find a mismatch assortment of colored icons, which makes seeing what's going on that much easier.
  • Sometimes coloring text just isn't enough to grab your attention. There are six different pulse settings to draw your attention to gadgets, when a critical threshold has been met: fade in, fade out, fade in/out, slow blink, fast blink, or none.
Report Issues/Request Features
https://github.com/eldrni/the-elder-bar/issues

Gadget List
  1. Alliance Points
  2. Bag Space
  3. Bank Space
  4. Blacksmithing Research Timer
  5. Bounty/Heat Timer
  6. Clock
  7. Clothing Research Timer
  8. Durability
  9. Enlightenment
  10. Experience
  11. Event Tickets
  12. Fast Travel Timer
  13. Food/Drink Buff Timer
  14. FPS
  15. Gold (updated)
  16. Kill Counter
  17. Latency
  18. Level / Champion Points
  19. Location / Coordinates
  20. Jewlery Crafting Research Timer
  21. Memory Usage
  22. Mount Timer
  23. Mundus Stone
  24. Sky Shards
  25. Soul Gems
  26. Tel Var Stones
  27. Thief's Tools
  28. Transmute Crystals
  29. Unread Mail
  30. Vampirism
  31. Weapon Charge/Poison Count
  32. Woodworking Research Timer
  33. Writ Vouchers
10.0.3 2020-07-17

FIXES
* Added missing icons for Jewelrycrafting and Latency.
* Added missing reload warning icon to settings when toggling bumping the compass, action, and health bars.

---

10.0.2 2020-07-15

FIXES
* Removed the vampirism level information until I can determine what is wrong with it. Stages and stage timers are working correctly, so I'm leaving them in.

---

10.0.1 2020-07-14

FIXES
* Fixed the Zip archive directory structure. It was missing the outer "TEB" directory.

---

Release 10.0.0 2020-07-14
NEW GADGETS
* Added new gadget: Vampirism
* Added new gadget: Bounty/Heat Timer
* Added new gadget: Mundus Stone

CHANGES
General Settings:
* The font can now be changed for gadget text.
* Consolidated pulse options so that one option controls all gadgets.
* The bar can be moved to a different layer so that it either appears on top of, or under, other parts of the UI.
Clock Gadget:
* Added new display option to the Clock gadget to display calculated ingame time as well as local time.
Research Timers:
* The number of free research slots for each crafting vocation can now be displayed on the bar.
* The trait being researched will now be displayed when hovering over a research timer.
Miscellaneous:
* Updated the icons so they are clearer and have more color variations.
* Updated level gadget to include unspent champion points total.
* Added new display options to the Durability gadget that will display the piece that is most damaged, it's cost, and durability.

FIXES
* Fixed an issue with research timers which would display nothing if "display only shortest timer" and there was an unused research slot.
* Disabling the option to bump the compass/resource bars/action bar will now cause a reload of the UI, as intended. When bumping is disabled, other addons can now freely move the compass/resource bars/action bars without throwing errors related to anchors.
* Tooltips will no longer flicker when the bar is on the bottom of the screen and will be positioned properly.
* Tooltips should now appear on top of most UI elements.
* Fixed an issue that prevented champion points from displaying properly in the level gadget when the player was below level 50 (thanks fostot!).


Release 9.3.1 2020-05-02
* Fixed a bug with event tickets introduced in 9.3.0 where the icon/text would remain red even after falling below the "danger" threshold.

---

Release 9.3.0 2020-04-27
* Bumped up API version.
* Externalized the libraries.
* Added new pulse option, "None", which will prevent all blinking/fading.
* Added thresholds and display options to the "Event Tickets" gadget.

---

Release 9.2.0 2019-10-16
* Added an option that will allow players to set the bar width to full screen or dynamic. Dynamic width more tightly fits the gadgets on the bar.
* Added an additional timer option, to show "short" timers. Short format timers will display either days and hours, hours and minutes, minutes and seconds, or just seconds, depending on how much time is left.
* Updated LibAddonMenu to the latest version.
* Updated LibStub to the latest version.
* Fixed a bug related to counting items in the player's bags. This often caused soul gems to display improperly, or not at all.
* Scaling the bar should now display crisp icons and text.
* The configuration menu for The Elder Bar has been reworked to use submenus, to make sections easier to find.

---

Release 9.1.0 2019-10-03
* Added support for Necromancer class.
* Created missing white variants for all class icons.
* Added an option to show/hide the lock/unlock messages that usually go to chat.
* Dropped support for black and white icons, as black and white icons looked almost identical to white icons.
* Updated APIVersion to current API.
* Updated LibFoodDrinkBuff to most recent version.

---

Release 9.0.5 2019-02-26
Fixes:
* Updated API version.
* Cleaned up some internal dependencies.

---

Release 9.0.4 2019-02-15
Fixes:
* Fixed an issue preventing the gold tracker from updating, introduced in 9.0.0.

---

Release 9.0.3 2019-02-13
Fixes:
* Fixed a crashing issue introduced in 9.0.2.

---

Release 9.0.2 2019-02-13
Fixes:
* Fixed an issue with weapon charge/poison gadget when no weapons were equipped.

---

Release 9.0.1 2019-02-08
Fixes:
* Fixed the LocalPlayer shenanigans in the Gold and Mount Timer gadgets.

---

Release 9.0.0 2019-02-06
New Gadgets:
* Food/Drink Buff Timer

New Features:
* Mount Timer gadget: will now track multiple characters.
* Gold gadget: will now track multiple characters.

New Options:
* Experience gadget: added two new options to display actual experience needed instead of a percentage.
* Weapon Charge gadget: Track weapon poison when applied to a weapon.

Fixes:
* Fixed gender encoding issue for character and location names.
* Weapon Charge: fixed issue that prevented the gadget from displaying the weapon charge of the weapon currently being used.

---

Release 8.0.3 2019-01-11
Fixes:
* Fixed an issue with research timers displaying "115d" when the "Show Shortest Timer Only" option was selected.
* Fixed an issue with research timers so that the word "free" would be displayed if any research slots were open when the "Show Shortest Timer Only" option was selected.
* Made open slots more obvious by changing the "--" to the word "free" to indicate free slots.

---

Release 8.0.2 2019-01-05

Fixes:
* Fixed an issue with the "slots free" display preference for the Bank gadget.

---

Release 8.0.1 2019-01-04

Fixes:
* Fixed an issue that prevented Enlightenment thresholds from being disabled.

---

Release 8.0.0 2019-01-01

New Gadgets:
* Unread Mail
* Event Tickets

New Features:
* Colored icon indicators. Icons will turn red, yellow, or green depending on the state of the gadget, based on the thresholds you've set.
* Reworked many tooltips to provide more information.

New Options:
* Mount Timer has new options for drawing the player's attention. The gadget can be automatically hidden if training has been maxed.
* Thresholds added to the Enlightenment gadget. Enlightenment gadget can automatically hide itself when there is no enlightenment to spend.
* Research timers now have an option to show only the shortest timer.
* There are now five different pulse settings to draw your attention: fade in, fade out, fade in/out, slow blink, fast blink.

Removed Settings:
* Removed some redundant settings from Thief's Tools gadget relating to inventory.

---

Release 7.6.1 2018-12-15

Fixes:
* Fixed an issue that prevented bag/bank gadget from updating.


---

Release 7.6.0 2018-12-01

New Features:
* Bag Space, Bank Space, Weapon Charge, and Durability gadgets have a new setting that will pulse the gadget when a critical threshold is reached.

New Settings:
* New setting to hide the mount training timer automatically when mount is fully trained.
* New setting for mount timer to display timer exactly or simply.

---

Release 7.5.0 2018-11-24

New Features:
* Text can be toggled on or off for each gadget.
* Icons now come in three varieties: white, color, and grayscale.
* Players can now display unspent champion points.
* The bar can be scaled from 50% to 150% of its normal size.

New Settings:
* Added an additional choice to the bags gadget to display only free slots.

Fixes:
* Fixed an issue with durability, which would cause an error message to be displayed until armor was repaired.

Other Changes:
* Cleaned up things behind the scenes.
* Fixed some misspellings.

---

Release 7.4 2018-11-02

Fixes:

* Fixed an issue with durability throwing errors when repair costs got over 999 gold.

---

Release 7.3 2018-11-01

Fixes:

* Fixed an issue with PvP gadgets not being cleaned up in the addon settings file.

---

Release 7.2 2018-11-01

Fixes:

* Fixed an issue where the addon would crash when the ESO durability API calls didn't return a number for cost.
* Fixed an issue with the Fast Travel timer tooltip that was causing Lua errors to be displayed.

---

Release 7.1 2018-10-28

Fixes:

* Fixed an issue that was preventing dragging and dropping of the writ vouchers gadget from working properly.
* Fixed an issue with the fast travel timer that causing errors to be displayed on screen.

---

Release 7 2018-10-28

New Gadgets:
* Fast Travel
* Kill Counter
* Enlightenment

New Features:
* Players can now define a different set of gadgets for PvE and PvP. The bar will automatically switch between the sets when entering/leaving battlegrounds/Cyrodiil.
* Gadgets now have drag and drop re-ordering.
* The bar can now be dragged to any position on the screen.

New Settings:
* Added setting for locking and unlocking the The Elder Bar.
* Added key binding for locking and unlocking The Elder Bar.
* Added setting for locking and unlocking the gadgets.
* Added key binding for locking and unlocking the gadgets.
* Added new settings to Alliance Points gadget. Players can now choose to display points gained per hour and points gained during session.
* Added settings for the fast travel gadget.
* Numbers can now be formatted with a thousands separator to make numbers more easily readable.

Fixes:
* Settings will no longer be wiped when upgrading to a new version of The Elder Bar.
* Fixed bug in all "simple" mode timer to make them more accurate.
* Reworked the clock icon so it matches all the others.

---

Release 6 2018-10-06
New Gadgets:
* Location / Coordinates
* Memory Usage
* Thief's Tools
New Settings:
* Added settings for the location gadget.
* Added settings for the thief's tools gadget.
* Added settings for the addon memory gadget.
* The Durability gadget has additional display preferences to show repair kits in your possession.
Fixes:
* The infamy meter will now be bumped upward along with the action bar, health/stamina/magicka bars when the bar is positioned at the bottom of the screen.

---

Release 5 2018-09-25
New Gadgets:
* FPS
* Weapon Charge
New Settings:
* Players can now choose to bump up the action bar and magicka, health, and stamina indicators when the bar is positioned at the bottom of the screen.
* Combat indicator now has its own opacity setting.
* Players can now choose how to display their level when below the maximum level of 50.
* Players can now choose how to display their level when at the maximum level of 50.
* Players can now choose how to display FPS.
* Players can now choose how to display weapon charges remaining.
* Players can now choose how to display bag space.
* Players can now choose how to display bank space.
* Added a new display setting to Sky Shards: "collected/total needed (unspent skill points)"
Changes:
* Bumped up the API version. The Elder Bar is ready for Murkmire!
* Reduced the number of API calls being made, which could lower latency and increase FPS on some systems.
* Changed how the bar is centered when centered to reduce jitter.
* Currency tooltips will also now include an icon of each currency to help identify it.
* Equipped items are now run through a routine that will attempt to correct improper capitalization and trailing control characters when viewing durability and weapon charge tooltips.
Fixes:
* The combat indicator will appear at the same location as the bar, instead of always at the top of the screen.

---

Release 4.1 2018-09-14
Fixes:
* The combat indicator will now disappear when out of combat at the expense of a yet another cyclical API call. The indicator will also now honor the bar opacity as intended.

---

Release 4 2018-09-13
New Gadgets:
* Equipped items durability.
* Research Timers.
* Bank Space.
* Latency
New Settings:
* Players can now choose in what order gadgets display.
* Players can choose how to display item durability.
* Players can choose how to display the research timers.
* Players can choose how to display gold.
* The bar can now indicate when the player is in combat.
Changes:
* Tooltips have been reworked so that they are more useful.
Fixes:
* "Telvar Stones" spelling has been corrected to "Tel Var Stones".
* Fixed vertical alignment of gadgets.
Removed Gadgets:
* Removed the completely useless Character Name gadget. Character name has been implemented into the Level/Champion Points gadget tooltip.

---

1.15 2018-08-31
Fixed:
* Fixes telvar stones/writ vouchers/transmutation crystal icons still being displayed even when turned off.

---

1.14 2018-08-30
Fixes:
* The Elder Bar should no longer produce errors on German or French clients.
* Updated how soul gems are detected.

---

1.13 2018-08-28
New Gadgets:
* Soul Gems
* Sky Shards / Unspent skill points
New Settings:
* Players can now choose how to display the soul gems in their possession.
* Players can now choose how to display the sky shards they have collected.
Changes:
* Currencies were split up into individual gadgets and they can each be turned on and off.
* Fixed layering issue. The bar should now be underneath all other addons, crafting panels, etc.

---

1.07 2018-08-22
New Gadgets:
* Clock - Displays current local time.
New Settings:
* Players can now choose to display the Current Time in 12 or 24 hour format.
* Players can now toggle pieces of information on and off.
Changes:
* Icons are now slightly larger (and hopefully easier to see).
* Changed "bump compass" option to on/off switch.
* Added MIT license to addon directory.
Fixes:
* Clarified "bump compass" setting text.

---

1.00 2018-08-17
First released version
Archived Files (35)
File Name
Version
Size
Uploader
Date
10.0.2
296kB
Eldrni
07/15/20 04:35 AM
10.0.1
296kB
Eldrni
07/14/20 09:42 AM
10.0.0
294kB
Eldrni
07/14/20 08:38 AM
9.3.1
303kB
Eldrni
05/02/20 04:27 AM
9.3.0
303kB
Eldrni
04/27/20 06:37 PM
9.2.0
347kB
Noromdrol
10/16/19 08:49 AM
9.1.0
344kB
Noromdrol
10/03/19 08:41 AM
9.0.5
515kB
Eldrni
02/26/19 07:58 AM
9.0.4
519kB
Eldrni
02/15/19 05:43 AM
9.0.3
519kB
Eldrni
02/13/19 05:42 PM
9.0.2
519kB
Eldrni
02/13/19 02:21 PM
9.0.1
519kB
Eldrni
02/08/19 05:40 AM
9.0.0
519kB
Eldrni
02/06/19 07:36 AM
8.1.0
492kB
Eldrni
01/17/19 02:44 PM
8.0.3
492kB
Eldrni
01/11/19 08:52 AM
8.0.2
491kB
Eldrni
01/05/19 05:19 AM
8.0.1
491kB
Eldrni
01/04/19 05:50 AM
8.0.0
491kB
Eldrni
12/31/18 09:06 PM
7.6.1
464kB
Eldrni
12/14/18 06:31 AM
7.6.0
464kB
Eldrni
12/01/18 04:36 AM
7.5.0
463kB
Eldrni
11/24/18 07:52 PM
r7.4
105kB
Eldrni
11/02/18 03:34 AM
r7.3
105kB
Eldrni
11/01/18 02:15 PM
r7.2
104kB
Eldrni
11/01/18 04:09 AM
r7.1
104kB
Eldrni
10/28/18 01:57 PM
r7
104kB
Eldrni
10/28/18 04:16 AM
r6
97kB
Eldrni
10/05/18 06:24 AM
r5
93kB
Eldrni
09/25/18 09:55 AM
r4.1
87kB
Eldrni
09/14/18 07:41 PM
r4a
88kB
Eldrni
09/14/18 04:47 AM
1.15
153kB
Eldrni
08/31/18 06:30 AM
1.14
153kB
Eldrni
08/30/18 03:34 AM
1.13
153kB
Eldrni
08/28/18 10:13 AM
1.07
148kB
Eldrni
08/22/18 10:09 AM
1.00
143kB
Eldrni
08/17/18 09:18 AM


Post A Reply Comment Options
Unread 12/30/18, 02:56 AM  
Oliviander
 
Oliviander's Avatar

Forum posts: 0
File comments: 114
Uploads: 0
Re: Re: FPS digit numbers

Hi Eldrni
thx for your response , I,m looking forward to it.

Originally Posted by Eldrni
As for the bars, you said that they all do almost everything you want. What else are you looking for? Perhaps I can add some things.
You asked for it so here it comes (or be careful what youre wishing for)

1. I would leike to be able to group the gedgets in a way,
I see different possibilities for that:

- Divide the bar in 3 parts (Left aligned centerd and Right aligned part)
or
- Add an empty space gadget which defines a configurable fixed spacing between the gadgets.
this should be usable multiple times (with individual settings
or
- Just make each gagdet definable in its total fixed width (like you announced for the FPS gadget)
and give each gadget the possibility to be left aligned or centered or right aligned in it's space
I guess this would be the most flexible way to configure the bar and I would prefer this 3rd
suggestion even if it is more work to configure

2. As there are gagdets of different importance I would like to be able to set the sizes an fonts individually
for every gaget, I would prefer a solution to predefine 3 sizes and the to select one of these per gadget.

3. I like the style of your colored icons for the important gadgets as they are really an eyecatcher,
but I would prefer less prominent icons for the less important gadgets (like wykkyds toolbar)
And of course I would like to configure these individually per gagdet.

4. And at last I miss the following gagdets:

- Achievement points (like raetia infohub)
- Alliance ranks (with points to next rank) (like raetia )
- character name (like wykkyd toolbar)
- small XP bar (like wykkyd)
- seperate banked gold gadget with own icon
- event tickets
- telvar stones per character
- map coordinates

5. and with sooo many available gadgets one should be able to make at least 2 rows of gadgets.


6. Ah and there is one thing I was really missing when configuring the bar:
the height of the background of the bar should be configurable and the
vertikal position of the gadgets in it: I am playing ESO in a window with a regular border
and for me a small portion of the bar is hidden by this border,
therefore I had to place the border with something like 2 pixels offset which is rather difficult
to achieve manually. (But at last I did it)


Ok enough for now - I'm not demanding anything
But as you asked why I use the 3 bars - Elder - Wykkyd and raetia
to do these things I described above (wykkyd left-aligned - elder centerd - raetia right aligned)
and I for myself am satisfied with this solution.

THX fer askin

Oliviander

PS: Excuse me if there are some of the things i mentioned already possible in Elder bar
I just began using it and hterefore I might have overlokked something
Last edited by Oliviander : 12/30/18 at 02:58 AM.
Report comment to moderator  
Reply With Quote
Unread 12/28/18, 06:35 AM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Originally Posted by Baertram
Settings = lam?
Then check my addon FCOStarveStop.
File src/FCOSS_settingsmenu.lua

Inside the bottom of function Fcoss.BuilAddonMenu you'll find the code which is used to display and hide the top level control if the own lam panel of your addon is shown and hidden.

Lam uses callback functions for OnHide and OnShow events of your registered addon panel for this. In the top of the function the panel gets defined so you are able to check which panel is currently shown.
Thanks again, I'll check it out!
Report comment to moderator  
Reply With Quote
Unread 12/28/18, 06:29 AM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Re: FPS digit numbers

Originally Posted by Oliviander
Hi Eldrni,
thx for your great Addon,
I just installed The Elder bar in addition to the wykkyd and the raetia info bar.
With all 3 bars installed I now nearly can do anything I want.

But I have one isssue I can't solve , as it is the same problem with all 3 bars:

The width of the bar is dynamic, which is not a problem in general but I usually have an FPS
rating that is constantly changing between a 3 and a 2 digit number. (often every second)
so the bar is constantly flickering in its size.

It would be great if it would be possible to fix this by giving the FPS gadget a fixed size.

Alternativly my problem would be solved if I could put in a fixed space in front of a left aligned bar.
Then I could move the FPS gadget to the right end, and move the bar to end in the right corner.
So only the FPS gadget itself would change its size.
But the first solution I would like more.

THX for considering
Howdy. The reason all these addons have the same problem is due to aesthetics more than anything else. There's nothing to really prevent us from making a label a fixed width. The problem is trying to estimate how large the fixed width should be. For example, right now I'm using an 18pt font, so it's pretty easy to make the field fixed width for up to three digits. But if the font size changes, you're looking at a disproportionately sized field.

I think the simplest solution would be to give you the ability to control the width of the FPS gadget in settings. The next major version of TEB is being tested right now, so I don't want to add anything else to it until it is released in a few days. Once it's released, I'll work on adding a fixed width setting.

As for the bars, you said that they all do almost everything you want. What else are you looking for? Perhaps I can add some things.
Last edited by Eldrni : 12/28/18 at 06:32 AM.
Report comment to moderator  
Reply With Quote
Unread 12/27/18, 11:01 AM  
Oliviander
 
Oliviander's Avatar

Forum posts: 0
File comments: 114
Uploads: 0
FPS digit numbers

Hi Eldrni,
thx for your great Addon,
I just installed The Elder bar in addition to the wykkyd and the raetia info bar.
With all 3 bars installed I now nearly can do anything I want.

But I have one isssue I can't solve , as it is the same problem with all 3 bars:

The width of the bar is dynamic, which is not a problem in general but I usually have an FPS
rating that is constantly changing between a 3 and a 2 digit number. (often every second)
so the bar is constantly flickering in its size.

It would be great if it would be possible to fix this by giving the FPS gadget a fixed size.

Alternativly my problem would be solved if I could put in a fixed space in front of a left aligned bar.
Then I could move the FPS gadget to the right end, and move the bar to end in the right corner.
So only the FPS gadget itself would change its size.
But the first solution I would like more.

THX for considering
Last edited by Oliviander : 12/27/18 at 11:02 AM.
Report comment to moderator  
Reply With Quote
Unread 12/27/18, 12:50 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4989
File comments: 6040
Uploads: 78
Settings = lam?
Then check my addon FCOStarveStop.
File src/FCOSS_settingsmenu.lua

Inside the bottom of function Fcoss.BuilAddonMenu you'll find the code which is used to display and hide the top level control if the own lam panel of your addon is shown and hidden.

Lam uses callback functions for OnHide and OnShow events of your registered addon panel for this. In the top of the function the panel gets defined so you are able to check which panel is currently shown.


Originally Posted by Eldrni
Originally Posted by Eldrni
Originally Posted by Baertram
Hey Eldrni,

you do not need to listen to any events!

Just use the scene and fragment methods of the game to register your own fragment to teh GUI's scene and if the GUI's scene gets hidden your fragment will be hidden as well then.

The GUIs scene are HUD_SCENE and HUI_UI_SCENE.

Example:

Lua Code:
  1. --Add a fragment for the control container (TopLevelControl) of your addon to the HUD and HUD_UD scenes so the total container (TLC) can be shown/hidden as the scenes (HUD, HUID_UI) are shown(hidden).
  2.     local fragment = ZO_HUDFadeSceneFragment:New(YourTopLevelControl, nil, 0)
  3.     HUD_SCENE:AddFragment(fragment)
  4.     HUD_UI_SCENE:AddFragment(fragment)

You can even register a callback function to the scene's state change method in order to do some special code if you need to:
Lua Code:
  1. --Callback function for HUD scene
  2.     HUD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
  3.         if newState == SCENE_SHOWING then
  4.                   --Your code here for Scene is showing
  5.         if newState == SCENE_HIDDEN then
  6.                   --Your code here for Scene is hidden
  7.                 end
  8.         end
  9.     end)
Thanks, Baertram. I'll check this out!
Reading up on this it appears that my addon would be linked to the HUD, so any time the HUD disappeared, so would the addon. But that's not what I'd like it to do. For example, when editing options, I want the addon displayed. If I link it to the HUD, it would disappear when the settings page is displayed. Otherwise, this would work perfectly.
Report comment to moderator  
Reply With Quote
Unread 12/24/18, 06:32 AM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Originally Posted by Eldrni
Originally Posted by Baertram
Hey Eldrni,

you do not need to listen to any events!

Just use the scene and fragment methods of the game to register your own fragment to teh GUI's scene and if the GUI's scene gets hidden your fragment will be hidden as well then.

The GUIs scene are HUD_SCENE and HUI_UI_SCENE.

Example:

Lua Code:
  1. --Add a fragment for the control container (TopLevelControl) of your addon to the HUD and HUD_UD scenes so the total container (TLC) can be shown/hidden as the scenes (HUD, HUID_UI) are shown(hidden).
  2.     local fragment = ZO_HUDFadeSceneFragment:New(YourTopLevelControl, nil, 0)
  3.     HUD_SCENE:AddFragment(fragment)
  4.     HUD_UI_SCENE:AddFragment(fragment)

You can even register a callback function to the scene's state change method in order to do some special code if you need to:
Lua Code:
  1. --Callback function for HUD scene
  2.     HUD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
  3.         if newState == SCENE_SHOWING then
  4.                   --Your code here for Scene is showing
  5.         if newState == SCENE_HIDDEN then
  6.                   --Your code here for Scene is hidden
  7.                 end
  8.         end
  9.     end)
Thanks, Baertram. I'll check this out!
Reading up on this it appears that my addon would be linked to the HUD, so any time the HUD disappeared, so would the addon. But that's not what I'd like it to do. For example, when editing options, I want the addon displayed. If I link it to the HUD, it would disappear when the settings page is displayed. Otherwise, this would work perfectly.
Report comment to moderator  
Reply With Quote
Unread 12/24/18, 06:27 AM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Originally Posted by Baertram
Hey Eldrni,

you do not need to listen to any events!

Just use the scene and fragment methods of the game to register your own fragment to teh GUI's scene and if the GUI's scene gets hidden your fragment will be hidden as well then.

The GUIs scene are HUD_SCENE and HUI_UI_SCENE.

Example:

Lua Code:
  1. --Add a fragment for the control container (TopLevelControl) of your addon to the HUD and HUD_UD scenes so the total container (TLC) can be shown/hidden as the scenes (HUD, HUID_UI) are shown(hidden).
  2.     local fragment = ZO_HUDFadeSceneFragment:New(YourTopLevelControl, nil, 0)
  3.     HUD_SCENE:AddFragment(fragment)
  4.     HUD_UI_SCENE:AddFragment(fragment)

You can even register a callback function to the scene's state change method in order to do some special code if you need to:
Lua Code:
  1. --Callback function for HUD scene
  2.     HUD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
  3.         if newState == SCENE_SHOWING then
  4.                   --Your code here for Scene is showing
  5.         if newState == SCENE_HIDDEN then
  6.                   --Your code here for Scene is hidden
  7.                 end
  8.         end
  9.     end)
Thanks, Baertram. I'll check this out!
Report comment to moderator  
Reply With Quote
Unread 12/22/18, 10:38 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4989
File comments: 6040
Uploads: 78
Hey Eldrni,

you do not need to listen to any events!

Just use the scene and fragment methods of the game to register your own fragment to teh GUI's scene and if the GUI's scene gets hidden your fragment will be hidden as well then.

The GUIs scene are HUD_SCENE and HUI_UI_SCENE.

Example:

Lua Code:
  1. --Add a fragment for the control container (TopLevelControl) of your addon to the HUD and HUD_UD scenes so the total container (TLC) can be shown/hidden as the scenes (HUD, HUID_UI) are shown(hidden).
  2.     local fragment = ZO_HUDFadeSceneFragment:New(YourTopLevelControl, nil, 0)
  3.     HUD_SCENE:AddFragment(fragment)
  4.     HUD_UI_SCENE:AddFragment(fragment)

You can even register a callback function to the scene's state change method in order to do some special code if you need to:
Lua Code:
  1. --Callback function for HUD scene
  2.     HUD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
  3.         if newState == SCENE_SHOWING then
  4.                   --Your code here for Scene is showing
  5.         if newState == SCENE_HIDDEN then
  6.                   --Your code here for Scene is hidden
  7.                 end
  8.         end
  9.     end)
Last edited by Baertram : 12/22/18 at 02:32 PM.
Report comment to moderator  
Reply With Quote
Unread 12/19/18, 11:39 AM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Re: Re: Re: about Auto Hide

Originally Posted by Siegtime
Originally Posted by Eldrni
Originally Posted by Siegtime
First of all, I appreciate the wonderful add-on. When I press the key of I to display the menu screen, the toolbar may not be hidden well. Can not you fix this? If you try again, the problem will be solved.

I want you to be able to display information on event tickets..
Are you talking about the menu that appears at the top of the screen that give you access to the store, crown crates, skills, etc? Yeah, that's a little flaky now and again. Zenimax doesn't provide an API to detect when that particular menu is opened. I wrote code that tries to detect it and depending on how quickly you switch between options, sometimes it doesn't quite work. I've been working on fine-tuning, so perhaps you'll find it works better in the next release.

I can add event tickets, but I probably won't have a new release out until after the New Life Festival event is over. Got too much on my plate currently.
Yes, I am saying that. I understand. I do not need to hurry so I will wait slowly.
Even if you do not respond quickly to event tickets, wait slowly as soon as possible. I appreciate being able to respond to requests.
Thank you! I'll have it added in the next version which will probably be after Christmas, hopefully before the new year.
Report comment to moderator  
Reply With Quote
Unread 12/19/18, 05:50 AM  
Siegtime

Forum posts: 15
File comments: 75
Uploads: 0
Re: Re: about Auto Hide

Originally Posted by Eldrni
Originally Posted by Siegtime
First of all, I appreciate the wonderful add-on. When I press the key of I to display the menu screen, the toolbar may not be hidden well. Can not you fix this? If you try again, the problem will be solved.

I want you to be able to display information on event tickets..
Are you talking about the menu that appears at the top of the screen that give you access to the store, crown crates, skills, etc? Yeah, that's a little flaky now and again. Zenimax doesn't provide an API to detect when that particular menu is opened. I wrote code that tries to detect it and depending on how quickly you switch between options, sometimes it doesn't quite work. I've been working on fine-tuning, so perhaps you'll find it works better in the next release.

I can add event tickets, but I probably won't have a new release out until after the New Life Festival event is over. Got too much on my plate currently.
Yes, I am saying that. I understand. I do not need to hurry so I will wait slowly.
Even if you do not respond quickly to event tickets, wait slowly as soon as possible. I appreciate being able to respond to requests.
Last edited by Siegtime : 12/19/18 at 05:54 AM.
Report comment to moderator  
Reply With Quote
Unread 12/18/18, 08:58 PM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Re: about Auto Hide

Originally Posted by Siegtime
First of all, I appreciate the wonderful add-on. When I press the key of I to display the menu screen, the toolbar may not be hidden well. Can not you fix this? If you try again, the problem will be solved.

I want you to be able to display information on event tickets..
Are you talking about the menu that appears at the top of the screen that give you access to the store, crown crates, skills, etc? Yeah, that's a little flaky now and again. Zenimax doesn't provide an API to detect when that particular menu is opened. I wrote code that tries to detect it and depending on how quickly you switch between options, sometimes it doesn't quite work. I've been working on fine-tuning, so perhaps you'll find it works better in the next release.

I can add event tickets, but I probably won't have a new release out until after the New Life Festival event is over. Got too much on my plate currently.
Report comment to moderator  
Reply With Quote
Unread 12/18/18, 06:20 AM  
Siegtime

Forum posts: 15
File comments: 75
Uploads: 0
about Auto Hide

First of all, I appreciate the wonderful add-on. When I press the key of I to display the menu screen, the toolbar may not be hidden well. Can not you fix this? If you try again, the problem will be solved.

I want you to be able to display information on event tickets..
Last edited by Siegtime : 12/18/18 at 06:35 AM.
Report comment to moderator  
Reply With Quote
Unread 12/10/18, 06:38 AM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Originally Posted by drunkdoter
Originally Posted by Eldrni
Originally Posted by drunkdoter
Hi there, absolutely love this add-on! Think I found a bug, I had the 'Bag Space' gadget selected, but the bag space was not updating when I acquired or sold items. After fiddling with some settings, I saw that the 'Display Format' option for 'Bag Space' was blank. I selected 'slots used/total slots' and it started updating. Think the same issue is present for 'Bank Space.'
Yep, that absolutely would cause the issue. Did you upgrade from an older version or was this a new install?
It was for a new install! I just started playing the game!
Thanks, drunkdoter. I was able to find the issue. Though, you've already fixed the issue, I'll release a patch soon for other new users of the addon.
Report comment to moderator  
Reply With Quote
Unread 12/07/18, 02:13 PM  
drunkdoter

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Eldrni
Originally Posted by drunkdoter
Hi there, absolutely love this add-on! Think I found a bug, I had the 'Bag Space' gadget selected, but the bag space was not updating when I acquired or sold items. After fiddling with some settings, I saw that the 'Display Format' option for 'Bag Space' was blank. I selected 'slots used/total slots' and it started updating. Think the same issue is present for 'Bank Space.'
Yep, that absolutely would cause the issue. Did you upgrade from an older version or was this a new install?
It was for a new install! I just started playing the game!
Report comment to moderator  
Reply With Quote
Unread 12/05/18, 03:32 PM  
Eldrni
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 227
Uploads: 2
Originally Posted by drunkdoter
Hi there, absolutely love this add-on! Think I found a bug, I had the 'Bag Space' gadget selected, but the bag space was not updating when I acquired or sold items. After fiddling with some settings, I saw that the 'Display Format' option for 'Bag Space' was blank. I selected 'slots used/total slots' and it started updating. Think the same issue is present for 'Bank Space.'
Yep, that absolutely would cause the issue. Did you upgrade from an older version or was this a new install?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: