Download
(5Kb)
Download
Updated: 11-19-10 11:23 AM
Addon for:
Stay Focused!.
Pictures
File Info
Updated:11-19-10 11:23 AM
Created:10-12-10 01:54 AM
Downloads:27,686
Favorites:55
MD5:

Stay Focused! Hunter Helper  Popular! (More than 5000 hits)

Version: 40000.6.4a
by: Drauer, Jotaro


StayFocused! Hunter Helper is a very simple post-update plugin for StayFocused!, that implements a color-coded focus bar for hunters.

Please note: You need Version 40000.4 or higher of StayFocused! (the main AddOn) for this to work. Link is at the bottom.

* It's blue when you have enough focus to dump one or more Arcane Shots and still have enough to fire your main shot (Explosive / Chimera / Kill Command) when it comes off cooldown.
* It's red when you don't have enough focus for your main shot.

Features:

* custom color selection

* steady/cobra shot preview bar
displays the 9 focus you get if you complete your cast

* indicator sparks
spark positions indicate warning/safe focus values.
left spark color shows the main shot cooldown
right spark color indicates if you have enough focus for Multishot


* option to include the potential focus gain of your currently casting steady/cobra shot for the warning/safe color setting.
This basically treats your focus as if you had those 9 from your steady/cobra already, but only when casting

* optional focus regen estimation display
this can be enabled in the AddOn options.
this value is currently used to get better results as focus regeneration increases with higher haste levels, and is by no means absolutely accurate. If you experience problems with the "safe value" calculation (blue bar) let me know.
How it works: Base focus regen is around 4 focus/second. Depending on your haste you get sometimes a tick of 2 or more instead of 1. The average of ticksize/time is added to the base regen. Note that this also takes Invigoration into account, so you might geht higher values if your pet is attacking - wich is intended, since you'll want to dump focus as early as possible.


Credits:
* Jotaro - original idea and code

Main addon:
This is only a plugin for StayFocused! addon. You can get it here.

40000.6.4
- fixed a spellid typo

40000.6.4
- changed some calculations to avoid rapidly increasing memory usage
- when "show cast" was selected but "include steady/cobra" was not, the preview castbar was not moving. this should be fixed now.

40000.6.3
- sparks indicating warning/safe values and hints for main and multishot

40000.6.2
- now takes Termination into account

40000.6
- fixed an error that caused the castbar preview to go crazy when "no text" was selected in the main addon options

40000.5.3
- color picker!

40000.5.2
- Added ability to include the potential focus gain of steady/cobra to the warning/safe color calculation
- Option to disable the static-colored steady/cobra castbar and to match it to the current bar color
- Interface Options are now a subcategory of StayFocused

40000.5.1
- to avoid any more confusion, 40000.x will now be the same as StayFocused
- fixed a bug that caused your settings to be reset when disabling the steady/cobra castbar (they still reset when updating from 40000.2.3)
- the steady/cobra castbar texture should now always match your main bar texture

40000.3.1
- optional cast preview on steady/cobra

40000.2.3
- addon won't load unless you're a hunter
- new f/s calculation

40000.2.2a
- options checkbox fixed

40000.2.2
- added a somewhat experimental and by no means accurate focus/second estimate
- now with config!
Post A Reply Comment Options
Unread 10-30-10, 12:33 PM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 1
Originally posted by ardente
This is "Hunter Got Focus" addon
thanks, I didn't know there was something similar out there. So Duress101, try to disable/delete that addon and reinstall StayFocused again to get the config file back and it should be ok

Originally posted by ardente
btw, it will be nice to have color for max focus (overcap) and color for multishot (useful for trash packs and solo farming).
I'm hesitant to introduce more colors, since It'll become difficult to notice what's going on when the bar colors change like a rainbow.

Concerning overcapping, the moment your bar turns blue, your next shot should be arcane if your other abilities are on cooldown (exept maybe for mm with the steady shot buff, but thats only 9 more focus)

With Multishot, how should that work exactly? Another color would confuse on single target rotations, it might be possible to switch to another "set" of colors depending on the last shot you cast but that would not be very intuitive.
Report comment to moderator  
Reply With Quote
Unread 11-02-10, 06:09 AM  
Chasim
A Defias Bandit

Forum posts: 2
File comments: 85
Uploads: 0
Sparks

Please don't take this wrong because I like this AddOn (and I know someone else was asking about a Multishot indicator) but I don't like the new "sparks". The right (Multishot) one doesn't even make sense to me (unless it is showing Focus needed to cast Multishot and then still have enough Focus for your main shot) and it doesn't seem to consider the Bombardment (Marksman) talent.

Could you add an option to hide the sparks?

Thanks.
Report comment to moderator  
Reply With Quote
Unread 11-02-10, 12:13 PM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 1
Re: Sparks

There is an option to hide them, be sure you unzipped all of the files.

The Multishot one does take Bombardment into account, it will still be green at 20 focus. Also, it'll just show you if you can cast multishot or not, to avoid situations where you need to look at both your Actionbuttons and the Focus Bar. If someone can come up with a better use/behavior, please tell me. (Your mainshot is pretty useless in aoe situations anyways)
The position however won't change, it indicates the focus you need for your mainshot + arcane.
I might add an option to disable coloring or use a 1px line instead of the spark texture to match it better to those flat-minimalist texture styles, depending on feedback.
Report comment to moderator  
Reply With Quote
Unread 11-04-10, 11:39 AM  
Chasim
A Defias Bandit

Forum posts: 2
File comments: 85
Uploads: 0
There is an option to hide them, be sure you unzipped all of the files.

The Multishot one does take Bombardment into account, it will still be green at 20 focus. Also, it'll just show you if you can cast multishot or not, to avoid situations where you need to look at both your Actionbuttons and the Focus Bar. If someone can come up with a better use/behavior, please tell me. (Your mainshot is pretty useless in aoe situations anyways)
The position however won't change, it indicates the focus you need for your mainshot + arcane.
I might add an option to disable coloring or use a 1px line instead of the spark texture to match it better to those flat-minimalist texture styles, depending on feedback.
Ah, it was cleverly hidden as "Show Sparks"... sorry.

And now I understand how the sparks work by color. I still will not use them because my action bar buttons are so close that I can tell when the shots are ready. Nevertheless, you might consider moving the sparks to either end, as (at least for me) they get lost on the bar.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 11-14-10, 03:53 PM  
Xanieth
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Increasing Footprint Issue

Good evening,

I've noticed an issue after running some diagnostics which are showing that the memory footprint for this addon increases over time. I need to periodically run a garbage collection every so often in order to keep it calm. I apologize if someone already reported this issue. I'd love to continue using this addon for the future, however, this issue should be recognized and resolved appropriately.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 11-15-10, 12:35 PM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 1
Re: Increasing Footprint Issue

First, thanks for your patience and testing!

I _think_ I found the cause for this issue, at least the memory won't go though the roof that fast anymore. Since I don't have a raid spot for my hunter you'll have to tell me how this plays out.

There are still some things I'd like to investigate and test before I put a new version out to ensure everything still works as intended, but expect an update soon[tm]

- Jotaro
Last edited by Jotaro : 11-15-10 at 12:47 PM.
Report comment to moderator  
Reply With Quote
Unread 11-15-10, 04:38 PM  
Xanieth
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
No problem, Jotaro and thank you for the quick response! I am an active raider and I am more than happy to provide the feedback you requested.
Report comment to moderator  
Reply With Quote
Unread 11-16-10, 07:03 PM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 1
new version should be up in a few minutes.

the memory usage will still increase over time, but only for multiples of 10, not 100 anymore. fixing this would require me to change a good chunk of code
(actually, to rewrite the current empirical focus/second calculation to use a formula based on attack speed, which would result in more reliable values, but ignore focus return effects like Invigoration)

I might rewrite it anywas sooner or later, depending on how it behaves in raids.
Last edited by Jotaro : 11-16-10 at 07:07 PM.
Report comment to moderator  
Reply With Quote
Unread 02-18-11, 06:22 PM  
Chasim
A Defias Bandit

Forum posts: 2
File comments: 85
Uploads: 0
Still good?

Is this AddOn still accurate (in focus prediction)?
Report comment to moderator  
Reply With Quote
Unread 05-01-11, 07:53 AM  
jeremy1048
A Kobold Labourer

Forum posts: 1
File comments: 65
Uploads: 0
error just received:

Date: 2011-05-01 14:24:01
ID: 5
Error occured in: Global
Count: 804
Message: ..\AddOns\HunterHelper\HunterHelper.lua line 465:
attempt to call global 'GetPetHappiness' (a nil value)
Debug:
(tail call): ?
HunterHelper\HunterHelper.lua:465:
HunterHelper\HunterHelper.lua:399
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
Ace3\AceTimer-3.0\AceTimer-3.0.lua:164:
Ace3\AceTimer-3.0\AceTimer-3.0.lua:138
AddOns:
Report comment to moderator  
Reply With Quote
Unread 06-24-11, 08:13 PM  
Zeta333
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Ok here is my question, iv had WoW client freezes since 4.1 . I think it might be this addon due to finding out it has a memory leak and the fact that iv reinstalled windows, goten a new wow folder, and tested almost every other addon i have. Do you plan on fixing the memory leak? I love this addon but i cant keep raiding with it like this.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 12:28 AM  
Drauer
A Fallenroot Satyr
 
Drauer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 88
Uploads: 22
@Zeta333

I'm raiding with SF: HH three times in week, and still I didn't notice any leaks.
__________________
Quando omni flunkus moritati
Report comment to moderator  
Reply With Quote
Unread 10-17-11, 01:50 PM  
mimee
A Kobold Labourer

Forum posts: 1
File comments: 14
Uploads: 0
How do I move this Focus Bar? Im trying and trying and trying and theres nothing that would allow me to.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 12-06-11, 10:49 AM  
Frug
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Hi,
now that 2T13 is easily available, is an update to change the CS/SS focus gain predicitions planned?

Would do it myself but I don't know how to check 2T13 being present on my toon
Report comment to moderator  
Reply With Quote
Unread 01-04-12, 06:07 PM  
jokerfmj
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
/sf lock will allow you to move the bar.

Originally Posted by mimee
How do I move this Focus Bar? Im trying and trying and trying and theres nothing that would allow me to.

Thanks!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: