Bars - Target Bar With Lots Of Extra Goodies

Eorzea Time
 
 
 
Language: JP EN FR DE
Version 3.1
New Items
users online
Forum » Windower » General » Bars - Target bar with lots of extra goodies
Bars - Target bar with lots of extra goodies
 Valefor.Keylesta
Offline
Server: Valefor
Game: FFXI
user: Keyser
Posts: 128
By Valefor.Keylesta 2025-07-30 15:58:15
Link | Quote | Reply
 
Version 4.1 released

Monster Debuffs and Monster Levels have entered the chat.


A word on each feature:

Monster Debuffs

Key Points:
  • This feature IS NOT 100% accurate. There is currently no way to directly see and track buffs/debuffs on monsters.

  • This will only display debuffs on monsters. It will not display any beneficial buffs the monster applies to itself/other monsters, nor will it display any debuffs on players.

  • Timers are based on minimum durations and will turn into a "??" once it reaches zero and we have not received a "debuff wears off" message.

  • You will not receive a "debuff wears off" message for debuffs that another player has landed on a monster.

  • There is no way to account for any duration gear that other players have when they land debuffs. (While technically we could account for your duration gear, I am not rebuilding half the Timers addon for this lol.)


I started with the Debuffed addon to see how it was tracking debuffs, then modified and expanded it from there. For example, one improvement is Bars will track AOE debuffs (think Sleepga). I then copied the BuffIcons folder out of XIVParty and used that as the basis for the debuff icons. I've modified a few of the icons, mostly the physical/magical ACC/ATT/EVA/DEF ones, to make them easier to understand, and added additional ones for debuffs with multiple tiers. There are some straight replacements, for example Tomahawk uses the icon for the Tomahawk item, and Gambit and Rayke uses the icons for the RUN Empyrean and Artifact head pieces. I also split up the single generic Helix icon into one for each element and tier. You are free to modify or change any icons you wish, and I have included the Affinity Designer file for what I have done. If you do want to modify them, there are a few things to keep in mind. The icons for debuffs with tiers 2+ simply have lower-case roman numerals appended to the end of the file name (which is the number id of the debuff). If a tier 2+ spell is used, but the matching icon for that tier is not found, it will use the basic non-tiered icon file, if that is not found it will then not display anything.

After testing it for a while, I have put some effort into making as many smart adjustments as I could think of:
  • Silence is removed if a monster starts to cast a spell.

  • Sleep is removed if a monster performs any action.

  • Bind, Petrify, and Sleep are removed if a monster moves.

  • All debuffs will be removed from all monsters that Benediction hits (or Aerns Depuration move).


The Monster Debuffs feature is not perfect, and really it can't be, but I'm pretty happy with how it has turned out.


Monster Levels

The EnemyBar2 addon was the basis for this feature. As it turns out, monster level data is stored inside the Wide Scan packet. What this does then is simply perform a Wide Scan every so often. I have set the interval to be a random number between 30 and 60 seconds, and once that time is up it checks to see if you are active before scanning again. In this case, "active" is defined as having changed targets since the last scan, so if you go afk it will not scan again until you are back. Also, it does not scan within a town.

Two things to note:
  • If you manually use Wide Scan, then use the "track" feature on a target, this feature will not work until that tracking is turned off.

  • In regards to Limbus mobs and their adjusting levels, keep in mind mobs will adjust their level immediately when they are aggroed, but the level displayed in Bars will only update once the scan happens again.



Sorry for the bit of a wait for this update, but I wanted to make sure it was as solid as I could make it before putting it out there. Not to mention silly things like work and play getting in the way. Mario Kart World may also have played a role in delaying this...

Changelog
  • Added debuff_icons and debuff_timers options. Will display icons/timers for debuffs on monsters.

  • Added show_monster_level option. Shows a monster's level on the Focus Target, Sub Target, and Target bars. Shares space with Dynamis Jobs which takes priority. Uses Wide Scan to retrieve monster levels and will scan at a random interval between every 30 and 60 seconds only when the player is active (determined by changing targets).

  • Added ui_bg options to the Focus Target, Sub Target, Target, and Self Action sections. Adds a gradient shadow behind the text for these bars to help readability.

  • Added the bottom_up option to the party_1_actions section. Determines if the party list goes from the bottom up (true) or top down(false) as members are added to the party. Added for those who use the XIVParty addon and have their party list go from top down. (thanks xenodeus!)

  • Added truncate icon option.

  • Added a number of stroke_alpha, stroke_width, and stroke_color settings to the different bar sections.

  • Added hide_pet_bar_when_no_pet option. Hides the pet bar when set to be displayed but no pet is present.

  • Added hide_player_stats_bars_when_no_target option. Hides any Player Stat bars set to be displayed when there is no current target.

  • Added Temenos and Apollyon mobs to the default list of common names abbreviated by the abbreviate_common_mob_names option.

  • Added additional checks to help prevent the Target Lock and UI BG from displaying incorrectly.

  • Adjusted how the abbreviate_common_mob_names option works. Now pulls the names and their abbreviations from the data/mob_abbreviations.lua file. This allows the user to edit, add, or remove abbreviations as they see fit.

  • Adjusted the bg_alpha of the bar meters and bar drain meters so that their combined alpha equals the actual bg_alpha number in settings (since they are overlapped).

  • Adjusted the Target Lock coloring to match the target color.

  • Fixed an issue with the Bar Drain effect for the Pet bar not going back to the correct alpha after Bar Fade.

  • Fixed an issue with the Pet bar flickering when faded.

  • Fixed Focus Target, Sub Target, Player Stats HP, Player Stats MP, and Player Stats Pet Bar Drain animation not working as intended.

  • Fixed issues with zoning while Screen Test is active.

  • Fixed an issue with using Food when already full resulting in the Self Action "action failed" meter showing by itself and getting stuck until the player performs another action.

[+]
Offline
Posts: 102
By Jhoo 2025-07-30 16:50:05
Link | Quote | Reply
 
cant download data folder
[+]
 Bahamut.Navius
Offline
Server: Bahamut
Game: FFXI
user: phot0nic
Posts: 75
By Bahamut.Navius 2025-07-30 20:56:44
Link | Quote | Reply
 
This is awesome, excited for the new features!
[+]
 Valefor.Keylesta
Offline
Server: Valefor
Game: FFXI
user: Keyser
Posts: 128
By Valefor.Keylesta 2025-07-30 21:29:57
Link | Quote | Reply
 
Jhoo said: »
cant download data folder
Hmm yeah I hadn't thought of that, I may have to set it up as it's own release. In the meanwhile you can go to the top page and click on the green "Code" button to download the whole repo as a zip file and pull it out of there.
Offline
Posts: 102
By Jhoo 2025-07-30 23:21:15
Link | Quote | Reply
 
nice job ^^.
i tried the new version but seems the debuf not reading correcltly.

when it read the debuff it shows a white icon, but most of the debuff are not readed, f.e.: paralyze, gravity. i wish to attach a screenshot but dont see an upload button :D
Offline
By Avaera 2025-07-31 03:21:20
Link | Quote | Reply
 
Jhoo said: »
i wish to attach a screenshot but dont see an upload button :D
I think Imgur is a thing but i dunno.
 Valefor.Keylesta
Offline
Server: Valefor
Game: FFXI
user: Keyser
Posts: 128
By Valefor.Keylesta 2025-07-31 10:18:50
Link | Quote | Reply
 
Jhoo said: »
nice job ^^.
i tried the new version but seems the debuf not reading correcltly.

when it read the debuff it shows a white icon, but most of the debuff are not readed, f.e.: paralyze, gravity. i wish to attach a screenshot but dont see an upload button :D
A white icon means the image file its trying to use doesn't exist. You're most likely then still missing the `data/icons` folder that you mentioned you couldn't download. Or, if you downloaded the whole repo and pulled it out of there, then the folder/files aren't in the correct place. The file structure should be `addons/Bars/data/icons`.
Offline
Posts: 102
By Jhoo 2025-07-31 12:00:30
Link | Quote | Reply
 
Valefor.Keylesta said: »
Jhoo said: »
nice job ^^.
i tried the new version but seems the debuf not reading correcltly.

when it read the debuff it shows a white icon, but most of the debuff are not readed, f.e.: paralyze, gravity. i wish to attach a screenshot but dont see an upload button :D
A white icon means the image file its trying to use doesn't exist. You're most likely then still missing the `data/icons` folder that you mentioned you couldn't download. Or, if you downloaded the whole repo and pulled it out of there, then the folder/files aren't in the correct place. The file structure should be `addons/Bars/data/icons`.

Downloaded the entire repo and took entire bar folder into addons.
Haven’t changed anything to it.
 Valefor.Keylesta
Offline
Server: Valefor
Game: FFXI
user: Keyser
Posts: 128
By Valefor.Keylesta 2025-07-31 13:12:10
Link | Quote | Reply
 
Ok hmm.. will need to think about that. The white icon still means that the file its trying to use doesn't exist. It's working fine for me and the couple other people that have tested it. So somewhere between there is the disconnect. I wonder if I made the github file structure wrong?

EDIT: I downloaded the zip file myself from github and did a complete fresh install from that and it's working just fine. I'm really not sure what the issue is then.

Is anyone else also having this issue?
Offline
Posts: 102
By Jhoo 2025-07-31 13:28:23
Link | Quote | Reply
 
Valefor.Keylesta said: »
Ok hmm.. will need to think about that. The white icon still means that the file its trying to use doesn't exist. It's working fine for me and the couple other people that have tested it. So somewhere between there is the disconnect. I wonder if I made the github file structure wrong?

EDIT: I downloaded the zip file myself from github and did a complete fresh install from that and it's working just fine. I'm really not sure what the issue is then.

Is anyone else also having this issue?

Fixed it ! My fault
[+]
 Valefor.Keylesta
Offline
Server: Valefor
Game: FFXI
user: Keyser
Posts: 128
By Valefor.Keylesta 2025-08-01 21:41:18
Link | Quote | Reply
 
Whatever could this be? :surprised_moogle:

[+]
 Bahamut.Bojack
Offline
Server: Bahamut
Game: FFXI
user: Bojack316
Posts: 2166
By Bahamut.Bojack 2025-08-01 23:03:08
Link | Quote | Reply
 
Valefor.Keylesta said: »
Whatever could this be? :surprised_moogle:


Your target's current target? :o
Offline
Posts: 7
By vikrum2083 2025-08-02 09:47:15
Link | Quote | Reply
 
Is there any way to see buffs on your focus target? For instance if I set the tank as the focus I can see whether or not they have stoneskin? Love the addon!
 Valefor.Keylesta
Offline
Server: Valefor
Game: FFXI
user: Keyser
Posts: 128
By Valefor.Keylesta 2025-08-02 12:02:20
Link | Quote | Reply
 
vikrum2083 said: »
Is there any way to see buffs on your focus target? For instance if I set the tank as the focus I can see whether or not they have stoneskin? Love the addon!
No I'm sorry, I have no current plans to expand outside of monster debuffs.
 Bahamut.Navius
Offline
Server: Bahamut
Game: FFXI
user: phot0nic
Posts: 75
By Bahamut.Navius 2025-08-02 15:05:39
Link | Quote | Reply
 
Hey Keylesta, I'm loving all of the additions in this new version. One bug I discovered is that if I set <debuff_timers> to 'false' for any of the target, sub_target, or focus_target, I get a stream of lua runtime errors and the addon glitches out. However, setting <debuff_timer_size> to '0' successfully hides the timers without any issues that I've noticed.

----------
I have some feature requests concerning the new debuffs feature if you ever have time/interest to implement them:

• The first concerns BLU debuffs. Now, I fully understand the difficulty in implementing the debuffs associated with 'additional effects' because there is no message that appears in the log telling you whether the debuff landed or not, but I feel that you can semi-reliably list a good number of them with the logic you've already implemented concerning whether the enemy moves, performs an action, or begins casting. Any of the BLU debuffs that implement things like petrification, terror, stun, bind, or silence could be added when the spell is cast and then removed if the addon determines that the debuff is not active.

An additional thing I noticed is that the addon adds the 'defense down' debuff when I use Tenebral Crush (which is unexpected, but very welcome), but only to the mob I targeted, instead of all mobs hit with the AOE. I would appreciate it if the defense down debuff could be added to all mobs hit, but I understand that this is one of those tricky debuffs because there is no indication as to whether the debuff actually landed or not.

Another thing is that (unfortunately) there is no way to extend the duration of BLU debuffs, so there is no need for the question marks when the timer runs out- if the timer hits zero, you know the debuff never landed.

• Can we get a debuff timer for Impact? This debuff is guaranteed to land, but can wear off early if resisted. Instead of adding 7 different stat down icons, though, maybe a single 'all stats down' or Impact-specific debuff icon could be used to reduce clutter.



I was also wondering if you could take a look at Kenshi's 'Debuffing' addon (Debuffing), which adds a few really nice debuff tracking features:

• The first nice feature is elemental shot tracking for all correlated debuffs (for example, keeping track of when Burn has Fire Shot active is nice for mage strategies). I also notice in the Bars addon that the logic upgrades the Dia/Bio tier when Light/Dark Shot are used- this isn't really correct. Light/Dark Shot add a small boost to Dia/Bio, but they don't upgrade the tier. A Dia II with Light Shot is not equivalent to Dia III, for instance.

• The second is BLM -ja spell tracking. The -ja spells implement a special elemental-specific magic defense down debuff on the target that you can increase by repeating the same -ja spell multiple times within a set window. Trying to keep this debuff active/capped is valuable to track for magic burst strategies.

• Finally, I understand that you don't want to rebuild all of the logic in the timers plugin to determine accurate debuff durations, however, the default durations (especially for spells) are often so inaccurate that they're not really helpful. Kenshi added a pretty nice compromise to his addon, though, that might be easy to add. It defaults to the durations documented in the Windower resources, but also allows for a user-customizable durations.xml file to specify custom durations. What's really nice about that implementation is that each entry in the .xml file is mapped to a specific character ID on a specific server. That way, I can add all of *my* custom durations based on the gear I typically use for each spell, and then share my durations with other players that I run with, and their durations will match my customizations when *I* cast a debuff spell. This could be a very nice thing to have for statics that run together often, and are trying to strategize their actions around when debuffs wear off.
----------

Sorry for asking for so much, but I really like this addon a lot with how it combines so much functionality from a bunch of other addons into a single, aesthetically pleasing package. Using this, I've been able to remove other addons, reduce visual clutter, and improve functionality all at the same time. Thanks so much for your efforts (also loving your other addons like Informer and Jingle).