|
Bars - Target bar with lots of extra goodies
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 138
By Valefor.Keylesta 2025-08-13 14:35:41
Version 4.2 released
Wait, who's got hate? Oh I know who!
A word on how Monster Target works:
Ok so I approached the monster's target differently than the "do the math" way mentioned previously. Since we know every action a monster performs and who is the target of that action, I've used that to determine who has hate on it and gets updated every time a monster performs an action. The only real hiccup to this are certain aoe moves that some monsters do, in particular NMs whose regular melee attacks are actually TP moves that can be aoe (Sortie bosses, for example). When a move hits multiple targets, the main target of the attack isn't always target #1, but most of the time we can determine the main target by the specific message each target gets. For example if targets 1 and 3 get a message like "target takes x points of damage" but target 2 gets a message like "actor casts spell, target takes x points of damage" then target 2 was the main target of the attack. However, with NMs whose regular melee attacks are actually TP moves, every target gets the same "target takes x points of damage" message attached to the action. In those cases I've added a fallback method of using the monsters facing and the position of targets around it to try to determine hate based on "doing the math" that is pulled out of enemybar2. That is still not always perfect though, and so I've added an aoe indicator for when it can't figure out the exact target and it just goes with target #1 for the action. There is also the possibility that a monster switches it's target in between actions, and the "doing the math" approach might work better on a moment by moment basis for that, but in my initial testing with that the "target" would go all over the place just like fractalvoid brought up before and I wasn't too keen on that. While not perfect, I feel my approach is a little more exact since it's pulling the direct target of (most) actions, and feels smoother overall since it's not changing as the mob simply moves around. Really, both approaches are an imperfect way to try to figure out something we don't have direct access to.
Phew, lots of text! Ok, anyway. I've also incorporated a number of requests and feedback from people, including redoing how the Corsair Elemental Shots work and a new durations.lua file to use if you so desire (can be otherwise safely ignored).
As always, lmk if anything isn't working right or if you have a suggestion.
Enjoy and have fun!
Updating
Go to the repo top page here and use the green "Code" button at the top right of the page to download the zip with everything in it. You will want to completely replace the icons folder, as I made formatting changes to the file names as well as a number of new icons.
Changelog
Added show_monster_target options for Focus Target, Sub Target, and Target sections. Displays the last known target of the monster.
Added monster_target icon. Used with the show_monster_target options.
Added flip_doom_timer_coloring option. Flips the timer coloring for the Doom debuff so that it changes from red when it first lands, to orange, then green when it is under 10 seconds.
Added data/durations.lua file. Used to define known durations for specific players.
Added a Tracking Index number to all debuffs so that in the event of a debuff with a set duration being overwritten/renewed it is not removed early when the original duration expires.
Added debuff duration_cap option. Limits the maximum time a debuff will stay displayed on a target when a specific duration is not known.
Added new debuff icons: Impact, Carnage Elegy, Threnodies, Requiems, boosted Elemental DOT Debuffs (Burn, Rasp, etc).
Adjusted how Corsair Elemental Shots affect debuffs. Now adds a + symbol to the debuff icon when it gets boosted by an Elemental Shot. Boosted Dia and Bio are now correctly identified instead of incorrectly increasing their tier on the icon.
Adjusted all debuffs to have a max duration before they are automatically removed. Max duration for debuffs from abilities whose durations are from players who do not have their durations defined in the data/durations.lua file are specific to that ability. Max duration for debuffs from spells whose durations are from players who do not have their durations defined in the data/durations.lua file are capped at the duration_cap number.
Adjusted show_monster_level option into each Focus Target, Sub Target, and Target section instead of one option covering all three sections.
Adjusted action targets to better account for AOE actions and specifying the main target of the AOE. This should help eliminate instances where a mob performs an AOE move and the target of the move seems to be incorrectly named as a random one of the targets hit. To be clear, this is still not 100% perfect, but should be correct more often now.
Fixed Diaga not applying Dia to targets.
Fixed the action cancelled icon from displaying by itself for certain monster actions that are paralyzed.
[+]
Carbuncle.Arozak
Server: Carbuncle
Game: FFXI
Posts: 5
By Carbuncle.Arozak 2025-08-13 17:52:58
You sir are an absolute legend.
[+]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 138
By Valefor.Keylesta 2025-08-14 21:57:51
You sir are an absolute legend.
• 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. This is in testing now for 4.3 ^^
[+]
Bahamut.Navius
Server: Bahamut
Game: FFXI
Posts: 77
By Bahamut.Navius 2025-08-15 10:59:14
This is all really awesome! Loving the new version, and looking forward to the next.
Presenting: Bars
Displays bars for Target, Sub Target, Focus Target, Self Actions, and Player Stats (HP, MP, TP, Pet), plus a boat-load of other things. Can display anywhere from all bars at once, to all the way down to just the target bar.
Download from Github here
Because of the large number of image files contained within, the best way to download is to click on the green "Code" button to the top-right of the page and select the "Download ZIP" option. This will download a complete master file of everything within the FFXI repository.

↑ The //bars ui command triggers the Screen Test where you can drag any of the highlighted bars.

↑ New animations Bar Drain, Bar Pulse, and Floating TP shown.

↑ The Target and Self Action bars visible and in action showing how many targets were hit and the total of all damage done.

↑ The Target, Self Action, and TP visible in action showing WS and SC damage done (old v2.0 look).

↑ Bumba with Yaegasumi active before it wears off (update now includes a timer countdown).

↑ The Debuff Icons and Timers displayed above a target.

↑ The Party Actions displayed next to each of your party members.
Features
Target Actions.
○ Displays results of completed actions (damage, buffs, resists, etc.).
○ Displays number of targets hit and totals for AoE cures/damage.
○ Displays casting, completed, and interrupted icons.
○ Tracks every player/mob within range as they perform actions, so you can tab around to different targets and see what they are doing.
○ Spells colored based on their element.
Self Actions.
○ Dedicated to displaying your own actions.
○ Displays a casting bar based on casting time for spells and items.
Party Actions.
○ A simplified display of the actions performed by each party/alliance member.
Focus Target.
○ A customizable list of targets to automatically track in a dedicated bar.
○ Update this list by name, id, or your current cursor target.
Focus Target Override.
○ Designate the current cursor target as a Focus Target taking priority over the Auto Focus Target list.
○ Focus will persist until subject moves out of range, dies, or is disabled manually.
Display Debuffs on Monsters.
○ Shows the tiers of the debuffs (Frazzle 3, Dia 4, Slow 2, etc.)
○ Will show a best guess timer for each.
○ Removes the icon only when the debuff is known to be removed/off (ie Benediction or "wears off" message), otherwise displays "??" if unsure.
Display Monster levels.
Display the Index or Hex number for targets.
○ Useful for NM placeholder camping, or designating a specific mob for others to target.
Display distance to target.
○ Colorize the distance text based on the distance to the target and other factors.
Displays SP abilities and time remaining.
○ Accounts for an SP ability being stolen with Larceny.
○ NOTE: Timing for players who have gear adding additional time cannot be accounted for.
Display Dynamis-Divergence mob jobs.
Target Lock display for when your camera is locked to your current target.
Animations!
○ Bar Fade - fades away after a set time of inactivity.
○ Bar Pulse - pulses the bar under certain circumstance (SP ability active, TP is reaady, critical HP, etc.).
○ Bar Drain - bar meter updates immediately, while the newly "missing" part of the bar smoothly drains away.
Player Stats (HP/MP/TP/Pet) can be turned on/off individually per job (ie SAM could show only TP, while PLD shows HP, MP, and TP).
Names and bars colored based on type (NPC, Party member, mob claimed by someone else, etc.).
Nearly every feature can be turned on/off or adjusted via settings file or in-game commands.
See github readme for full list of in-game commands and settings file options.
I originally built Bars to address some shortcomings of another bar that showed enemies, then ended up fleshing it out with other things I thought would be cool to have. I really enjoyed working on this one and am super happy with how it turned out. I made sure there are lots of adjustability options if you want to change how it works. You can turn off almost everything about it to make it a very simple target bar, but I think you'll like some of the extras packed in :)
|
|