Quantcast
Download
(158 Kb)
Download
Updated: 10/06/18 10:03 PM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Updated:10/06/18 10:03 PM
Created:02/20/18 03:18 AM
Monthly downloads:1,699
Total downloads:29,602
Favorites:36
MD5:
Categories:Nightblade, Buff, Debuff, Spell
4.2
Grim Focus Counter  Popular! (More than 5000 hits)
Version: 1.3.2
by: g4rr3t [More]
Grim Focus Counter

Track stacks of Grim Focus and its morphs and displays them in a visual and obvious way.




Purpose

But there are already buff trackers that display how many stacks there are. Why do I need this?

That's true. Several existing buff trackers already provide this capability, but how they display this information is less than ideal. Having a large stack display is more useful and obvious than a small text counter that can become lost among other information or is difficult to see, especially if you're visually impaired.

As one of the nightblade's key class abilities, successful and timely procs of the spectral bow is crucial to effective PvE DPS and lining up devastating burst in PvP.

This add-on aims to provide a lightweight and useful option for those who need a more obvious cue, don't run other buff trackers, or enjoy filling their screen with flair.

Functionality
The stack display can be configured to not appear until the first stack occurs or upon activation of the skill. Each stack will update the display as they happen and returns to a zero state or disappears when the buff expires or the proc is used -- depending on selected options.

This add-on is not intended to be a tracker for uptime on Grim Focus (or its morphs), just for the unique stacking mechanic.

Implemented Features
  • Tracks Grim Focus, Merciless Resolve, Relentless Focus stacks
  • Select from different display styles
  • Customizable size
  • Configurable color overlay for display styles for added customization
  • Lock to reticle for styles designed to decorate the crosshairs
  • Movable to any place on the screen (and lockable once it's in position)
  • Setting to show zero stacks (with supported display styles)
  • Option to fade (transparency) of the stack display when the skill needs to be refreshed and still has stacks

Display Styles

Compass (by Porkjet), Dice, DOOM, Horizontal Dots


Numbers, Number Squares, Play Magsorc


You can also add a color overlay and set fade when skill expires!

Planned Features
  • Additional style variations

Feedback & Contributing
If you'd like to provide feedback, drop me a mail in-game to @g4rr3t. Any ideas of unique, interesting, and useful ways to display the stacks are welcome -- especially supporting artwork.

Enjoy!
v1.3.2 2018-10-06:
- Bump API version in preparation for Murkmire.

v1.3.1 2018-08-15:
- Fixed an issue where the proc color overlay would not reapply when rebuffing with a proc active. It will now set the proc color overlay when recasting the buff to accurately reflect the proc state.
- Fixed an issue where the counter would disappear when expiring on zero stacks mid-combat. The display will now continue to show zero and inactive (if Show Zero Stacks option is enabled) when expiring on zero stacks while in combat. Once out of combat, stack display will disppear when the buff expires as usual.

v1.3.0 2018-08-13:
- Updated for Wolfhunter!
- New color overlay options: Choose a color overlay for inactive and proc states as well.
- Updated Numbers texture: Now with no stroke added to further differentiate from the Numbers display style with a heavy stroke.
- Cleaner Settings menu: Select display style via an icon picker rather than a boring text list.
- Updated LibAddonMenu.
- Added a very important acknowledgement. <3

v1.2.1 2018-05-21:
- Updated for Summerset!
- Streamlined ability ID tracking. As of Summerset, all morphs share the same ability and stack IDs making Grim Focus Counter more efficient and reiable.
- Debug modes that output skill IDs now include the effect name as reported by the API.

v1.2.0 2018-03-13:
- New display styles! GIFs of these in action coming up soon.
- Added a new Numbers style with thicker stroke. Should make it fit in a little better for Bandits and DarkUI users.
- Added a new Filled Dots style. Similar to Horizontal Dots, but has a placeholder for each stack. Enable Show Zero Stacks for the desired effect.
- Updated Color Squares display style texture with premultiplied alpha to resolve some edge distortion and creeping boundaries at larger sizes.

Note: Some pre-rank IV skill or stack IDs may still be screwy, please report any issues with lower ranks if you run into them.

v1.1.2 2018-03-05:
- Added missing skill IDs for sub-rank IV of Grim Focus, Merciless Resolve, Relentless Focus. This should resolve an issue where the addon was not functioning with these non-max-rank abilities.
- Added additional slash commands to manually register/unregister event callbacks.
/gfc register Manually registers callbacks.
/gfc unregister Manually unregisters callbacks.
/gfc register unfiltered Registers unfiltered callback.
/gfc unregister unfiltered Unregisters the unfiltered callback.

A note about troubleshooting:
If you are still having problems with the addon, some of the IDs used for the different ranks may be incorrect. I'm unable to test and QA all ranks of all skills thoroughly.

To help identify the correct ID, please run the below slash commands and attack an enemy/dummy. In chat, a bunch of messages with ability and buff IDs will be displayed. Look for messages in chat "Stack for Ability ID: [ID]" or "Skill Active: [ID]". Note: This also shows a bunch of IDs completely unrelated to Grim Focus, so be aware. Send me your skill's rank and Active/Stack IDs shown and I will update, if needed.

Run these slash commands:
/gfc debug 2
/gfc register unfiltered

To return to normal:
/gfc debug 0

Then (or just reload UI):
/gfc unregister unfiltered
/gfc register

v1.1.1 2018-03-04:
This is a maintenance release that provides additional checks and debugging for*rare instances where the addon does not appear to work at all for some people. If you are unable to get the addon to work, please shoot me a message.

- Now checks the class on load and aborts initialization if the class is not nightblade.
- Added additional debug messages (toggle debug with /gfc debug [number] where 0 is off, 1 is low, 2 is more, 3 is excessively detailed).
- Added additional slash commands:
/gfc position reset: Moves display to reticle
/gfc position show: Show saved display position
/gfc position lock/unlock: Same as in Settings menu, locks or unlocks position


v1.1.0 2018-02-26:
- New "Compass" textures by Porkjet in red and black/white versions. Align them to your crosshairs for the desired effect.
- Added an option to fade (change transparency of) the stack display when stacks are present but the buff has expired.
- Added an option to add a color overlay to the displayed style. Since this is an overlay, it works better for some textures than others, but it will allow for further customization until a more elaborate/refined color change method is implemented.
- Added an option to Lock to Reticle to perfectly align textures to the crosshairs.
- Fixed an issue where the Show Zero Stacks option would reset the stack count display when refreshing the buff early. It now maintains the correct number of stacks.
- Show Zero Stacks option no longer requires a reload of the UI.
- Default texture for new installs is now Horizontal Dots instead of DOOM.
- Default size for new installs has been set to 100.
- Fixed the Play Magsorc display where P-L-A-Y was jumping all over the place.
- Added acknowledgements panel to settings.

v1.0.2 2018-02-20:
- Now with less .git folders and system files. From 38.4MB to 102KB. Hooray.

v1.0.1 2018-02-20:
- Third time's a charm, hopefully. Repackaged zip with proper structure.

v1.0.0 Reupload 2018-02-20:
- Uploaded repackaged zip with less cruft and proper directory naming.

v1.0.0 2018-02-20:
- Initial release.
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
1.3.1
158kB
g4rr3t
08/15/18 04:55 PM
1.3.0
158kB
g4rr3t
08/13/18 10:19 PM
1.2.1
126kB
g4rr3t
05/21/18 12:47 PM
1.2.0
126kB
g4rr3t
03/13/18 02:00 AM
1.1.2
116kB
g4rr3t
03/05/18 11:05 PM
1.1.1
115kB
g4rr3t
03/04/18 09:09 PM
1.1.0
115kB
g4rr3t
02/26/18 07:48 PM
1.0.2
98kB
g4rr3t
02/20/18 11:03 AM


Post A Reply Comment Options
Unread 09/06/18, 05:24 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Originally Posted by wambo
Originally Posted by g4rr3t
H
How the addon should behave:
  • When the buff expires, but you're still in combat, the stacks and display should remain and fade opacity would then apply.
I've never noticed this behaviour. Happened often that I tried building stacks to notice the buff ran out.
Could you maybe make it blink or sth really obvious as a countdown to the buff running out?
If the fade option isn't enabled (it's not enabled by default), it won't change opacity. Also by default is a small drop in opacity, but it can be decreased all the way down to invisible. At least... that's how it should work. If fade is enabled and it isn't fading when it runs out then you have found a bug and I'd love to know more!

But that's a good idea to show something different when x seconds remain, user assignable. I'll have to think about an intuitive way to include this, though, since a lot of people already use their own buff trackers/timers with more display customization options than I'd want to implement here. Thanks for the suggestion!
Report comment to moderator  
Reply With Quote
Unread 09/05/18, 09:00 PM  
wambo

Forum posts: 8
File comments: 229
Uploads: 0
Originally Posted by g4rr3t
H
How the addon should behave:
  • When the buff expires, but you're still in combat, the stacks and display should remain and fade opacity would then apply.
I've never noticed this behaviour. Happened often that I tried building stacks to notice the buff ran out.
Could you maybe make it blink or sth really obvious as a countdown to the buff running out?
Report comment to moderator  
Reply With Quote
Unread 06/25/18, 08:40 AM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Hey Dingodan, thanks for your note. There are some oddities with the API on Grim Focus stacks since the Summerset patch, so I'm curious under which conditions you may be experiencing this.

How the addon should behave:
  • When the buff expires, but you're still in combat, the stacks and display should remain and fade opacity would then apply.
  • When you exit combat, stacks display should completely disappear and all stack counts are reset*.

In the latter case, hence the asterisk, this doesn't always happen. For example, if you attacked a critter and you never entered/left combat (see my previous post), you will continue to have a stack that will remain. However, this should still apply the fade setting when the buff expires out of combat.

Though your (brief) description sounds maybe different from this example. Are you expecting the timer to vanish while in combat or after leaving combat? Under which circumstances are you expecting the timer to vanish that it is not? Some more information would be most helpful.

Thanks!
G

Originally Posted by Dingodan
Sometimes the Counter won't vanish if the Timer ran out. Already tried to set the Fade Option with no changes.
Report comment to moderator  
Reply With Quote
Unread 06/24/18, 08:00 AM  
Dingodan
 
Dingodan's Avatar

Forum posts: 47
File comments: 232
Uploads: 0
Sometimes the Counter won't vanish if the Timer ran out. Already tried to set the Fade Option with no changes.
Report comment to moderator  
Reply With Quote
Unread 05/25/18, 04:44 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Critters changes

Cool new feature in the game:

If you attack a critter, you can gain stacks that persist into combat. For example, kill three critters (one light attack each) then enter combat and you'll only need two more light attacks for a bow proc to come up. The stacks that are still tracked out of combat are accurate according to the API and I consider it a game bug.

The side effect is some odd behavior with the addon and UI errors that persist until a reload UI. Working on a workaround and fixes, but in the meantime be aware of this neat feature!

G
Report comment to moderator  
Reply With Quote
Unread 04/26/18, 12:05 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Yeah, I'm stoked. As soon as I read about the changes to ability IDs I was admittedly worried. But a quick test on the PTS revealed my life was about to get easier. Nice! Looking forward to it.

Originally Posted by ArtOfShred
With Summerset things got a whole lot easier since abilities were consolidated into one set for every rank:

Stack counters for Grim Focus & Morphs:
[61905] = true, -- Grim Focus
[61928] = true, -- Relentless Focus
[61920] = true, -- Merciless Resolve

Duration buff for Grim Focus & Morphs:
[61902] = true, -- Grim Focus
[61927] = true, -- Relentless Focus
[61919] = true, -- Merciless Resolve
Report comment to moderator  
Reply With Quote
Unread 04/26/18, 07:22 AM  
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 532
Uploads: 2
With Summerset things got a whole lot easier since abilities were consolidated into one set for every rank:

Stack counters for Grim Focus & Morphs:
[61905] = true, -- Grim Focus
[61928] = true, -- Relentless Focus
[61920] = true, -- Merciless Resolve

Duration buff for Grim Focus & Morphs:
[61902] = true, -- Grim Focus
[61927] = true, -- Relentless Focus
[61919] = true, -- Merciless Resolve
Last edited by ArtOfShred : 04/26/18 at 07:23 AM.
Report comment to moderator  
Reply With Quote
Unread 04/19/18, 12:28 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Awesome! I've been meaning to return to confirming all of the ability and stack IDs for each rank and morph, but having a three-month-old hasn't doesn't exactly leave a surplus of time to do so. :rip:

IDs I've confirmed still sitting on the list in my comment from 3/6. Have you found any other quirky ranks/morphs?

Thanks for the kind words and assistance! Cheers.
G

Originally Posted by Phinix
Cool addon!

In researching stacks for Srendarr I found that Rank I of unmorphed Grim Focus does not send the ID of the ability like every other morph and instead sends a completely different ID when stacks are built.

The ID for Grim Focus I is 61902 (when you first cast it), however the event sent on stack increase is 61905.

In Srendarr I was able to "catch" this ID using the EVENT_COMBAT_EVENT and redirect it to 61902 so that I could use it with my existing implementation for stack tracking.

The release trigger (casting the bow on 5 procs) for Grim Focus Rank I is 61907.

Hope this helps in some way!

EDIT: I lol'd at "play magsorc" notification.
Report comment to moderator  
Reply With Quote
Unread 04/16/18, 03:10 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1010
Uploads: 28
Cool addon!

In researching stacks for Srendarr I found that Rank I of unmorphed Grim Focus does not send the ID of the ability like every other morph and instead sends a completely different ID when stacks are built.

The ID for Grim Focus I is 61902 (when you first cast it), however the event sent on stack increase is 61905.

In Srendarr I was able to "catch" this ID using the EVENT_COMBAT_EVENT and redirect it to 61902 so that I could use it with my existing implementation for stack tracking.

The release trigger (casting the bow on 5 procs) for Grim Focus Rank I is 61907.

Hope this helps in some way!

EDIT: I lol'd at "play magsorc" notification.
Last edited by Phinix : 04/16/18 at 06:06 PM.
Report comment to moderator  
Reply With Quote
Unread 04/16/18, 02:20 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
And hopefully tomorrow, too! Thanks, glad you enjoy. Cheers.

Originally Posted by Cloudless
You should know, good sir, you've made a Khajiit very happy today.
Report comment to moderator  
Reply With Quote
Unread 04/11/18, 12:05 PM  
Cloudless

Forum posts: 0
File comments: 2
Uploads: 0
You should know, good sir, you've made a Khajiit very happy today.
Report comment to moderator  
Reply With Quote
Unread 03/07/18, 12:15 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Okay sweet, glad that sorted things out!

Originally Posted by pedrocazz
I used Minion to install the first time.
Reinstalling (using minion did not solve the problem)
Uninstalling and deleting the saved variables (with minion) and then installing it again (with minion) seems to have solved the problem, thanks a lot!
Report comment to moderator  
Reply With Quote
Unread 03/07/18, 05:40 AM  
pedrocazz

Forum posts: 0
File comments: 6
Uploads: 0
Originally Posted by g4rr3t
Okay thanks. Couple more questions for ya:
  1. How did you install? Downloaded from ESOUI or via Minion?
  2. I'm wondering if something might've happened to the texture files. Have you tried uninstalling and reinstalling by chance?
  3. If reinstalling alone doesn't work, can you delete SavedVariables/GrimFocusCounter.lua to reset to defaults?

The only difference between display styles is the texture file loaded, but everything else is the same -- code to display each stack, position of each stack, etc. It makes me think something might be silly with the DDS files themselves, but that's just a blind guess since this is the first report like this.

Thanks in advance.
G

Originally Posted by pedrocazz
Originally Posted by g4rr3t
Hmm, thanks for your report.

What do you have selected for size, color overlay, fade on skill inactive? Do the other styles appear if you lock to reticle, by chance?

Originally Posted by pedrocazz
Hey thanks for the addon, I installed the latest version and it seems it only works if I pick: DOOM, Dice, play magsorc, and red compass. All the other styles wont appear anything.
I have tried all combination of settings, changing everything without success, as soon as I select one of those styles I mention it just works, if I change to some of the others it vanishes (without changing any other setting)
I used Minion to install the first time.
Reinstalling (using minion did not solve the problem)
Uninstalling and deleting the saved variables (with minion) and then installing it again (with minion) seems to have solved the problem, thanks a lot!
Report comment to moderator  
Reply With Quote
Unread 03/06/18, 09:06 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Skill IDs

Current status/evaluation of skill and stack IDs:

Code:
Merciless:
    Rank    Skill   Stack   Status
    I:      61919   61920   Confirmed by g4rr3t
    II:     62111   62112   Unconfirmed
    III:    62114   62115   Confirmed by Jae
    IV:     62117   62118   Confirmed by g4rr3t

Relentless:
    Rank    Skill   Stack   Status
    I:      61927   61928   Unconfirmed
    II:     62099   62100   Unconfirmed
    III:    62103   62104   Unconfirmed
    IV:     62107   62108   Confirmed by g4rr3t

Grim:
    Rank    Skill   Stack   Status
    I:      61902   61903   Stack ID needs investigation
    II:     62090   62091   Unconfirmed
    III:    64176   64177   Confirmed by Seldaris
    IV:     62096   62097   Confirmed by g4rr3t
If anyone currently has an unconfirmed rank above, the addon is not working, and would like to help confirm functionality of these IDs, see below.

1. In Settings, set "Show Empty Stacks" to ON.
2. In chat, type:

/gfc debug 2
/gfc register unfiltered

3. Activate skill. Look for a line in chat that reads [GFC] Skill Active: (number) -- There will likely be multiple with some unrelated to Grim Focus, take note of all of them.
4. Light attack a target. Look for a line in chat that reads [GFC] Stack for Ability ID: (number) -- This should be the stack for the skill, take note of it.
5. Return to normal functionality. Turn off debug mode by typing in chat:

/gfc debug 0

6. Reload UI or type in chat:

/gfc unregister unfiltered
/gfc register

7. All set! Let me know which IDs you've discovered, your morph, and the skill rank.

Thanks!
G
Last edited by g4rr3t : 03/06/18 at 09:21 PM.
Report comment to moderator  
Reply With Quote
Unread 03/06/18, 06:44 PM  
g4rr3t
 
g4rr3t's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 30
Uploads: 4
Okay thanks. Couple more questions for ya:
  1. How did you install? Downloaded from ESOUI or via Minion?
  2. I'm wondering if something might've happened to the texture files. Have you tried uninstalling and reinstalling by chance?
  3. If reinstalling alone doesn't work, can you delete SavedVariables/GrimFocusCounter.lua to reset to defaults?

The only difference between display styles is the texture file loaded, but everything else is the same -- code to display each stack, position of each stack, etc. It makes me think something might be silly with the DDS files themselves, but that's just a blind guess since this is the first report like this.

Thanks in advance.
G

Originally Posted by pedrocazz
Originally Posted by g4rr3t
Hmm, thanks for your report.

What do you have selected for size, color overlay, fade on skill inactive? Do the other styles appear if you lock to reticle, by chance?

Originally Posted by pedrocazz
Hey thanks for the addon, I installed the latest version and it seems it only works if I pick: DOOM, Dice, play magsorc, and red compass. All the other styles wont appear anything.
I have tried all combination of settings, changing everything without success, as soon as I select one of those styles I mention it just works, if I change to some of the others it vanishes (without changing any other setting)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: