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,649
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-12-10, 04:28 PM  
habik
A Kobold Labourer

Forum posts: 0
File comments: 64
Uploads: 0
Very nice idea; will test this =)
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 07:35 PM  
Zeherah
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Sounds very handy but I can't seem to get it to change color. Is there some trick to getting it working?
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 08:13 PM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 1
Originally posted by Zeherah
Sounds very handy but I can't seem to get it to change color. Is there some trick to getting it working?
Can you provide me with more specific information? To be more precise, your spec, the current color of your bar, the version of StayFocused! and HunterHelper you are using, etc.

Also make sure the module is enabled and try to deplete your focus bar completly (arcane shot spam or something like that)
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 12:00 AM  
Zeherah
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Originally posted by Jotaro

Also make sure the module is enabled and try to deplete your focus bar completly (arcane shot spam or something like that)
Actually I think the problem was that I may have forgotten to get the latest version of Stay Focused. The version I had was working but I guess it wasn't compatible with your plugin, because when I installed the new version it started working properly. Thanks for the help!
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 07:00 PM  
Chasim
A Defias Bandit

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

Using the latest version (and the latest version of Stay Focused) get the following error (which is constant when Focus is under 100%):

Message: ...tayFocused_HunterHelper\StayFocused_HunterHelper.lua:95: attempt to perform arithmetic on local 'elapsed' (a nil value)
Time: 10/16/10 20:54:29
Count: 125
Stack: [C]: ?
...tayFocused_HunterHelper\StayFocused_HunterHelper.lua:95: in function <...tayFocused_HunterHelper\StayFocused_HunterHelper.lua:89>
...tayFocused_HunterHelper\StayFocused_HunterHelper.lua:145: in function `value'
Interface\AddOns\StayFocused\StayFocused.lua:213: in function <Interface\AddOns\StayFocused\StayFocused.lua:195>

Locals:

------

Thanks.
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 02:30 AM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

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

Originally posted by Chasim
Using the latest version (and the latest version of Stay Focused) get the following error (which is constant when Focus is under 100%):

Message: ...tayFocused_HunterHelper\StayFocused_HunterHelper.lua:95: attempt to perform arithmetic on local 'elapsed' (a nil value)
Please check again if you use version 40000.4 of Stay Focused.
(This can be done in the Interface/AddOns Panel, click the plus on the Stay Focused Config and go to the About entry)
Using 40000.3 I get the same error as you, but 40000.4 seems to work fine here.
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 07:56 AM  
Chasim
A Defias Bandit

Forum posts: 2
File comments: 85
Uploads: 0
No Error...

When I checked the version I had downloaded (of Stay Focused) (i.e. the actual file), it showed 40000.4. However, I downloaded it again and re-installed it and the error is gone. (I also deleted the old saved variables so that might have been the problem too.)

Thanks!
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 07:23 PM  
nToxik
A Murloc Raider

Forum posts: 4
File comments: 31
Uploads: 0
I'm getting these errors using version 40000.3.1

10x ...tayFocused_HunterHelper\StayFocused_HunterHelper.lua:95: attempt to perform arithmetic on local 'elapsed' (a nil value):
...tayFocused_HunterHelper\StayFocused_HunterHelper.lua:145: in function `value':
StayFocused-40000.3\StayFocused.lua:213: in function <StayFocused\StayFocused.lua:195>

Locals:
power = 17
max_power = 100
elapsed = nil
HunterHelperCalc = <function> @ StayFocused_HunterHelper\StayFocused_HunterHelper.lua:89:
_ = "Arcane Shot"
dumpshot = 22
SpellInfo = <function> @ StayFocused_HunterHelper\StayFocused_HunterHelper.lua:65:
mainshot = 44
MainShot = <function> @ StayFocused_HunterHelper\StayFocused_HunterHelper.lua:70:
regen = 0
frame = <unnamed> {
ApplyOptions = <function> @ StayFocused_HunterHelper\StayFocused_HunterHelper.lua:61:
db = <table> {}
configframe = StayFocusedHunterHelperConfig {}
0 = <userdata>
}
precast_Update = <function> @ StayFocused_HunterHelper\StayFocused_HunterHelper.lua:47:

---

Not sure where you get version 40000.4 as I don't see it being offered here.
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 11:42 PM  
Drauer
A Fallenroot Satyr
 
Drauer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 88
Uploads: 22
(Re)Download version 40000.4 of main addon from here and this error will be fixed.
__________________
Quando omni flunkus moritati
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 03:40 AM  
ardente
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
It will be nice to count Termination from MM spec in precast visualization
http://www.wowhead.com/spell=83490
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 03:34 PM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 1
Originally posted by ardente
It will be nice to count Termination from MM spec in precast visualization
Sorry about that, I'm not actively raiding on my hunter, so this never occured to me. Version 40000.6.2 includes it and should be up soon, thanks for the tip!
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 09:16 AM  
Duress101
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
First of all. Great plug-in. Thanks a lot. I do have one question though. What's the bar in the screenshot that I put a circle on. I can't seem to find the option to turn that off.

Link

Edit: Found a solution myself. Removed the config file from the main StayFocused map in the addons folder
Last edited by Duress101 : 10-29-10 at 09:50 AM.
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 12:29 PM  
Jotaro
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 1
Originally posted by Duress101
Found a solution myself. Removed the config file from the main StayFocused map in the addons folder
What file exactly did you remove? the StayFocused Config ( = options) file? Do you have other StayFocused Plugins installed? And is the cast preview etc working as it should?

It'd be nice if you can tell me how to reproduce it, since this might as well be a common bug for others, too
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 03:56 PM  
ardente
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
This is "Hunter Got Focus" addon

btw, it will be nice to have color for max focus (overcap) and color for multishot (useful for trash packs and solo farming).
Last edited by ardente : 10-29-10 at 04:02 PM.
Report comment to moderator  
Reply With Quote
Unread 10-30-10, 05:36 AM  
Duress101
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by Jotaro
What file exactly did you remove? the StayFocused Config ( = options) file? Do you have other StayFocused Plugins installed? And is the cast preview etc working as it should?

It'd be nice if you can tell me how to reproduce it, since this might as well be a common bug for others, too
I have the main addon StayFocused and the HunterHelper plugin. I deleted the config file from the StayFocused folder. You can't go to options anymore so choose your color and stuff beforehand. And yes the cast preview which shows how much focus you gain from SS/CS remains on the focus bar.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: