Download
(32 Kb)
Download
Updated: 06/20/22 04:47 PM
Pictures
File Info
Compatibility:
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:06/20/22 04:47 PM
Created:06/30/21 01:23 PM
Monthly downloads:89
Total downloads:14,339
Favorites:33
MD5:
Categories:Unit Mods, Game Controller
IsJusta Companion UI Enhancements  Popular! (More than 5000 hits)
Version: 2.4.6
by: IsJustaGhost [More]
Requires LibAddonMenu-2.0

Works in Gamepad Mode and Keyboard/Mouse Mode

NEW:
2.2
  • companion frame styles can now be changed without having to reload ui.
  • added color pickers for health bar and shield overlay.
  • improved updating on setting changes.


Adds:
  • Loot History
    • rapport in number over Rapport icon
  • Companion Overview
    • rapport in numbers above rapport bar
    • xp in numbers above XP bar for keyboard mode, mouse-over disabled
    • companion perk description displayed below companion Perk for keyboard mode, mouse-over disabled
  • Companion Frame
    • optional move-able frame with the added options stated below
    • optional custom frame can be used for personal companion while in a group, or show your companion in the group frame.
The Custom Companion Frame also adds the option to show companion's health as numbers based on the following formatting:
  1. ZOS
    • Off.
    • numbers only.
    • percent only.
    • number and percent.
  2. or formatting based on one of the following add-ons, if installed
    • Bamdits User Interface.
    • Azurah.

OPTIONALS: (integration)

*The "companion frame" is the frame with the companion's name and health bar that is visible when a companion is active and the player is not in a group.
**requires the fore-mentioned addon installed and enabled.
- - - 2.5
○ updated API version to 101038
○ added a delay to running deferred initializing in order to allow BUI more time to initialize.
○ changed POWERTYPE_HEALTH to COMBAT_MECHANIC_FLAGS_HEALTH

- - - 2.4.6
○ fixed missing rapport amount in loot history

- - - 2.4.5
○ fixed missing rapport icon

- - - 2.4.4
○ fixed custom role for player indicators
○ fixed displayed xp when companion is at max level.

- - - 2.4.3
○ changed selection name for custom frame from ZOS to localized 'Custom'.
○ put register filter for events inside a loop.
○ fixed BUI optional settings style index to = 'BUI' not == 'BUI'

- - - 2.4.2
○ compatibility update.
removed requirement for the experimental library

- - - 2.4.1
○ compatibility update.

- - - 2.4
○ added French translation courtesy of fzr6n7
○ updated for API 101034.
○ implemented support for LibHaF

- - - 2.3.3
○ fixed custom frame being hidden when selecting "Use Group Frame" when not in group.
○ fixed default frame being shown after traveling.

- - - 2.3.2
○ added fail-safes for frame's dropdown menus to remove them if only 1 option is available
○ added arrow backdrop for custom bar to be used when background/border is hidden
○ fixed backdrop on BUI frame

- - - 2.3.1
○ fixed custom frame not updating on group updates and leaving group

- - - 2.3
○ completely rewrote the custom companion frames.

- - - 2.2.6
○ attempt to fix user:/AddOns/IsJustaCompanionUI/unitframes/companionFrames.lua:932: attempt to index a nil value

- - - 2.2.5
○ the shield overlay should no longer start covering the health bar?

- - - 2.2.4
○ the shield overlay should no longer start covering the health bar

- - 2.2.3
○ fixed Error user:/AddOns/IsJustaCompanionUI/unitframes/companionFrames.lua:439: function expected instead of nil
○ fixed Player Role Indicator icon position being out of place if screen/scale is changed.
○ adjusted BUI frame name compact position
○ improved updating on settings changed
○ changed how the health value is formatted
○ health value format is now set within addon's Custom Companion Frame options
○ BUI health value now only uses BUI formatting
○ added the option to hide the ZOS healthbar borders

- - - 2.2.2
○ fixed companion dead status not updating when back alive.
○ fixed set scale not being applied on load.
○ adjusted how status is displayed.

- - - 2.2.1
○ attempt to fix anchor error
○ prevented the companion frame from being active when not enabled.

○ - - - 2.2
○ completely rewrote the companion frames
○ added color pickers for health and shield bars
○ improved updating on setting changes.
○ cleaned up companion overview and PRI code
○ removed group buffs from the BUI companion frame.

- - - 2.1.2
○ no longer requires reloading to change between BUI fancy and not
○ all frame settings are now disabled if "Use Custom Frame" is disable to prevent the attempt to update a nonexistent frame
○ attempt to fix several errors

- - - 2.1.1
○ fixed some errors
○ when enabling BUI frame, it will auto set bandits to use group frames and reload
○ zo companion frame will now use numbers from Azurah if health Overlay is enabled, or BUI if Group frames "share stats" is enabled, if game combat Recourse Numbers is off
○ fixed refreshing when settings are changed.

- - - 2.1
○ many improvements
○ the settings lock icon now updates depending on if the frame position is locked or not
○ rewrote the standard companion frame. no longer overwrites the zos companion functions.
○ removed custom health numbers from standard companion frame. now only uses numbers from combat settings Resource Numbers.
○ added scale option to standard companion frame. (50% to 200%)
○ added option to show companion level on standard companion frame
○ added option to ZOS frames. ( if companion is shown in group it hides the custom frame. only shows one)
○ added companion shield overlay to standard and BUI companion frames
○ changed color of BUI companion health.
○ added optional fancy health bar for BUI companion frame
○ group buffs should now work for the BUI companion frame.

- - - 2.0.6
○ commented out "show name and version" on load

- - - 2.0.5
○ fixed error when using BUI frames with Group Buffs enabled

- - - 2.0.4
○ fixed reset button

- - - 2.0.3
○ api update

- - - 2.0.2
○ some text adjustments for KB companion overview

- - 2.0.1
○ fixed xp format for keyboard mode

- - - 2
○ rebranded to IsJusta Companion UI Enhancements

- - - 1.5.1
○ fixed error caused when toggling lock when BUI frame is enabled

- - - 1.5
○ ADDED rapport numbers above rapport bar
○ fixed PRI not working on players
○ fixed BUI string

- - - 1.4.3
○ fixed error caused by Player Role Indicator

- - - 1.4.2
○ fixed icon not hiding when Combat Icon is not sllected
○ fixed some errors

- - - 1.4
○ added ability to use Bandit UI's group frame format, using Bandit's settings
○ added overhead icon using "Player Role Indicator"

- - - 1.3.7
○ health numbers no longer show when dead
○ added lock icon to setting

- - - 1.3.6
○ added slider to set occupancy

- - - 1.3.5
○ added setting to lock the companion bar
○ fixed styles - text now positions properly and is proper font
○ background height is now dependent on selected visible mode
○ changed the background
○ added tooltip describing what the visibility settings do
○ changed the setting for "Percent" to "Default"

- - - 1.3.4
○ added a delay in EVENT_PLAYER_ACTIVATED to try to fix a bug where anchors would reset to original

- - - 1.3.3
○ summoning will no longer show health numbers
○ fixed some typos in folder/file names
○ fixed error caused by summoning companion after first load/reload

- - - 1.3.2
○ moved percent number for keyboard mode under bar

-- - - 1.3.1
○ updated to work with Bandits UI Raid frames

- - - 1.3
○ rewrote entirely.

- - - 1.2.2
○ Fixed some errors

- - - 1.2.1
○ removed disable interactions while moving

- - - 1.2.0
○ more functional and stable, imported more of the original functions

- - - 1.1.0
Added
○ drop-down in settings to set to show health in percent, numbers or hidden

- - - 1.0.4
○ attempt to fix mystery error

- - - 1.0.3
○ updated name

- - - 1.0.2
Added
○ settings menu with reset button

Fixed
○ stays active while in a group
○ retains position where moved to
Optional Files (0)


Archived Files (52)
File Name
Version
Size
Uploader
Date
2.4.5
29kB
IsJustaGhost
06/09/22 07:09 AM
2.4.4
32kB
IsJustaGhost
05/10/22 08:36 AM
2.4.2
30kB
IsJustaGhost
03/17/22 06:47 PM
2.4.1
35kB
IsJustaGhost
03/17/22 05:44 AM
2.4
35kB
IsJustaGhost
03/16/22 10:47 PM
2.4
35kB
IsJustaGhost
03/16/22 10:42 PM
2.3.3
27kB
IsJustaGhost
02/09/22 06:23 AM
2.3.2
27kB
IsJustaGhost
02/08/22 03:01 PM
2.3.1
27kB
IsJustaGhost
02/07/22 07:06 PM
2.3
27kB
IsJustaGhost
02/07/22 06:55 PM
2.2.6
28kB
IsJustaGhost
02/03/22 06:13 PM
2.2.5
28kB
IsJustaGhost
02/03/22 04:38 PM
2.2.4
28kB
IsJustaGhost
02/03/22 03:11 PM
2.2.3
28kB
IsJustaGhost
02/03/22 10:26 AM
2.2.2
28kB
IsJustaGhost
02/02/22 12:16 PM
2.2.1
28kB
IsJustaGhost
02/01/22 06:30 PM
2.2.1
641B
IsJustaGhost
02/01/22 06:28 PM
2.2
28kB
IsJustaGhost
02/01/22 05:40 PM
2.1.2
29kB
IsJustaGhost
01/26/22 01:55 AM
2.1.1
29kB
IsJustaGhost
01/25/22 01:15 AM
2.1
28kB
IsJustaGhost
01/24/22 06:41 AM
2.0.6
23kB
IsJustaGhost
12/08/21 03:42 PM
2.0.6
23kB
IsJustaGhost
12/08/21 03:27 PM
2.0.5
23kB
IsJustaGhost
10/10/21 01:31 AM
2.0.4
23kB
IsJustaGhost
10/04/21 11:22 PM
2.0.3
23kB
IsJustaGhost
08/25/21 12:42 PM
2.0.2
23kB
IsJustaGhost
07/27/21 09:50 PM
2.0.1
19kB
IsJustaGhost
07/22/21 03:14 PM
2
19kB
IsJustaGhost
07/22/21 02:54 PM
2
13kB
IsJustaGhost
07/20/21 09:53 PM
1.5
13kB
IsJustaGhost
07/20/21 08:24 PM
1.4.3
11kB
IsJustaGhost
07/14/21 05:44 PM
1.4.2
11kB
IsJustaGhost
07/13/21 11:00 PM
1.4.1
11kB
IsJustaGhost
07/13/21 05:23 PM
1.4
11kB
IsJustaGhost
07/13/21 03:48 PM
1.3.7
6kB
IsJustaGhost
07/10/21 01:27 PM
1.3.6
6kB
IsJustaGhost
07/08/21 02:52 PM
1.3.5
6kB
IsJustaGhost
07/08/21 12:10 PM
1.3.4
6kB
IsJustaGhost
07/08/21 06:59 AM
1.3.3
6kB
IsJustaGhost
07/07/21 09:55 PM
1.3.2
6kB
IsJustaGhost
07/07/21 04:01 PM
1.3.1
6kB
IsJustaGhost
07/07/21 03:35 PM
1.3
6kB
IsJustaGhost
07/07/21 02:29 PM
1.3
12kB
IsJustaGhost
07/07/21 02:13 PM
1.2.2
12kB
IsJustaGhost
07/06/21 04:44 PM
1.2.1
11kB
IsJustaGhost
07/04/21 10:42 PM
1.2.0
12kB
IsJustaGhost
07/03/21 10:29 PM
1.1.0
8kB
IsJustaGhost
07/02/21 12:36 PM
1.0.4
8kB
IsJustaGhost
07/02/21 07:41 AM
1.0.3
8kB
IsJustaGhost
07/01/21 10:51 AM
1.0.2
8kB
IsJustaGhost
07/01/21 10:34 AM
0.0.1
7kB
IsJustaGhost
06/30/21 01:23 PM


Post A Reply Comment Options
Unread 02/10/22, 03:41 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 272
Uploads: 23
Re: Re: Re: Double UI bug

Originally Posted by MarcusUK
Originally Posted by IsJustaGhost
This was caused by a missed typo. Found and fixed.
Also fixed an issue where the moment you select "Use Group Frame" caused the custom frame to hide even when not in a group.
Have used the latest version over the last few hours, no issues. Seems you have it running well now. Thanks.
That I am glad to hear. Thank you for helping me make this better.
Report comment to moderator  
Reply With Quote
Unread 02/09/22, 09:18 PM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
Re: Re: Double UI bug

Originally Posted by IsJustaGhost
This was caused by a missed typo. Found and fixed.
Also fixed an issue where the moment you select "Use Group Frame" caused the custom frame to hide even when not in a group.
Have used the latest version over the last few hours, no issues. Seems you have it running well now. Thanks.
Report comment to moderator  
Reply With Quote
Unread 02/09/22, 06:29 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 272
Uploads: 23
Re: Double UI bug

Originally Posted by MarcusUK
You get 2 companion UIs appear at once - the default one with your companion's name and "Summoning..." in it and this addon's UI with the HP bar correctly displayed. Dismissing the companion removes this addon's UI but leaves the default UI still on-screen..
This was caused by a missed typo. Found and fixed.
Also fixed an issue where the moment you select "Use Group Frame" caused the custom frame to hide even when not in a group.
Report comment to moderator  
Reply With Quote
Unread 02/08/22, 07:18 PM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
Double UI bug

How to reproduce:

In Gamepad or KB/M UI.

While you have a companion active and the custom UI enabled fast travel to the Maelstrom Arena.
Fast travel back out of the Arena to somewhere free, I'm using the the N.Elsweyr Sugar Bowl Suite (outside).

Result:
You get 2 companion UIs appear at once - the default one with your companion's name and "Summoning..." in it and this addon's UI with the HP bar correctly displayed. Dismissing the companion removes this addon's UI but leaves the default UI still on-screen.

Using /reloadui removes the unwanted default UI.

Am using 2.3.2.

Thanks.
Last edited by MarcusUK : 02/08/22 at 07:26 PM.
Report comment to moderator  
Reply With Quote
Unread 02/08/22, 08:19 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 272
Uploads: 23
Originally Posted by MarcusUK
That "[LAM2] Could not create dropdown 'Health Numbers Style' of IsJustaCompanionUI" error - it just appeared for me again but while in the Maelstrom Arena, so I'm guessing you might need something in the code that identifies when a player is in a companion no-go area to prevent such errors from showing?
I found what I missed. Fix is pending tests.

As for the settings reset. I was concerned about a settings conflict.
Report comment to moderator  
Reply With Quote
Unread 02/08/22, 01:45 AM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
New bugs?

I'm going to have to rollback to last stable version (2.2.6) for the time being, as I'm getting a couple of weird bugs with this one that affects functionality. The border is visible again when Hide HP bar borders is On but only 1px edge of it shows, and turning Use Group frame On completely hides the companion UI even though I'm not in a group. Updating to this version also totally reset my settings, like what was enabled, the HP bar colours picked, opacity slider, etc. Not sure if that was intentional and required due to changes. It's early and I'm too tired to figure out what's going on just now.
Last edited by MarcusUK : 02/08/22 at 01:51 AM.
Report comment to moderator  
Reply With Quote
Unread 02/08/22, 12:32 AM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
That "[LAM2] Could not create dropdown 'Health Numbers Style' of IsJustaCompanionUI" error - it just appeared for me again but while in the Maelstrom Arena, so I'm guessing you might need something in the code that identifies when a player is in a companion no-go area to prevent such errors from showing?
Report comment to moderator  
Reply With Quote
Unread 02/06/22, 01:36 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 272
Uploads: 23
Re: Chat message

Originally Posted by MarcusUK
I just had a message appear in my chatbox after leaving the Addon settings menu saying:
Not entirely sure what it means, so posting it for you, incase it's a bug.
Yeah, that would be a bug.
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 09:31 PM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
Chat message

I just had a message appear in my chatbox after leaving the Addon settings menu saying:

[LAM2] Could not create dropdown 'Health Numbers Style' of IsJustaCompanionUI.
Not entirely sure what it means, so posting it for you, incase it's a bug.
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 05:51 PM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
Thanks

Code:
returnValue = zo_strformat('<<1>> (<<2>>%)', ZO_LocalizeDecimalNumber(current), percent)
Thanks, yeah this is probably a cleaner way of doing it. I'll do that instead.
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 03:29 PM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 272
Uploads: 23
Re: Re: Re: Re: Re: No numbers

That works.
Or you could do:
Lua Code:
  1. returnValue = zo_strformat('<<1>> (<<2>>%)', ZO_LocalizeDecimalNumber(current), percent)
  2. -- the zo_strformat uses <<#>> for place holders. ('<<1>> (<<2>>%)', parameter1, parameter2)
  3. -- or from base lua
  4. returnValue = string.format('%s (%s\%%)', ZO_LocalizeDecimalNumber(current), percent)
  5. -- %s is a basic place holder. % itself is the escape character. so to show a percent, %%

SI_ATTRIBUTE_NUMBERS_WITH_PERCENT = "<<1>> <<2>>%"

What I have in there came directly from how zos does the resource bars. I only added the " .. '%' " behind the only percent. It didn't feel right not being there.
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 03:05 PM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
Re: Re: Re: Re: No numbers

Originally Posted by IsJustaGhost
I've added the option to hide the ZOS health bar's borders.
That's much better now, thanks.

I made a tiny change to companionFrames.lua at line 281

From
Code:
returnValue = zo_strformat(SI_ATTRIBUTE_NUMBERS_WITH_PERCENT, ZO_AbbreviateAndLocalizeNumber(current, NUMBER_ABBREVIATION_PRECISION_TENTHS, USE_LOWERCASE_NUMBER_SUFFIXES), percent)
To
Code:
returnValue = zo_strformat(SI_ATTRIBUTE_NUMBERS_WITH_PERCENT, ZO_LocalizeDecimalNumber(current), '(' .. percent) .. ')'
So my companion's health is no longer abbreviated from "24,016" to "24k" and the percentage is enclosed in brackets, thus matching exactly how my own stat bars appear. Not sure if this was the best way to do it as I've never coded in Lua before so had to do this based on a function search and some intuition from my PHP days. Seems to work okay though. Up to you whether you want to implement any form of full/abbreviated stat option for other picky buggers like me; I think it's nice to have cutomisable options.
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 10:29 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 272
Uploads: 23
Re: Re: Re: No numbers

I've added the option to hide the ZOS health bar's borders.
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 05:39 AM  
MarcusUK

Forum posts: 15
File comments: 162
Uploads: 0
Re: Re: No numbers

Originally Posted by IsJustaGhost
The Health Numbers are part of the custom frame.

The first Image was based on the beginning of the creation of this addon. I "customized" the frame by making it movable and adding the ability to see the health in numbers.
I see. Well the reason I was looking for the default Gamepad UI style health bar is because the custom one displays the mouse/kb style bar with that distressed/tarnished border around the red bar and a grungey blackish background (which inicidentally has no opacity setting), and I'm not overly fond of it as it sticks out like a sore thumb on my UI since all my elements have no background and, while I'd prefer a smooth border that matches the other health bars, since the Gamepad UI version has no border it's what I've gone with, to date.
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 02:39 AM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 272
Uploads: 23
Re: No numbers

Originally Posted by MarcusUK
The only time they worked were when I enabled the use custom companion frame option.
That first image is of the original custom frame.
The Health Numbers are part of the custom frame.
Originally Posted by MarcusUK
I don't know how you got the results in your second screenshot, but I'm not able to see those numbers.
I still need to update the screenshots.
The first Image was based on the beginning of the creation of this addon. I "customized" the frame by making it movable and adding the ability to see the health in numbers.
The second image shows the current background I have it set to use, for both modes. The default backgrounds just didn't quite work when adding numbers. And, the keyboard background is actually 2 images, 1 that goes to the edge of the healthbar, and then the tip. That and the shape of it made it a huge pain to deal with trying to resize. So I switch to one background image.
I will update the images when I am done making changes that may effect how it visually appears.

Even now, the custom frame is the original ZOS companion frame. It is first updated by the default code, then updated in this addon. Basically, I'm just manipulating it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: