Hunter Got Focus

Hunter Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 225 Monthly Downloads
  • Supports: 4.0.1
  • 11,074 Total Downloads
  • Updated 11/6/2010 7:43:19 AM
  • Created 10/20/2010 9:02:56 AM
  • 16 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 2 (GPLv2)
  • Newest File: Hunter Got Focus 1.2.3
or

About Hunter Got Focus

This add-on is made for hunters to help them make a choice between choosing Arcane Shot and Steady Shot (or Cobra). It helps you float around the minimum focus you need as a hunter to shoot your main ability.

The trick with playing a hunter is that you need to know a couple of things at the same time to decide what ability you should play. This add-on is designed in a minimal way to tell you all things you need to know in a visual way:

  1. Shows how much energy you require to use your main ability
  2. Shows a cooldown bar of the above ability so you know exactly know when you can use it and make sure that by that time you have the required focus
  3. Shows an idication of how much focus you would loose choosing an Arcane Shot or how much you would win using a Steady Shot.
  4. All these indicators are updated the moment you would get more focus regen (through haste procs) or get a reduction in focus cost

It also features following features:

  1. Color coding: green, orange and red tell you what shot you can choose (in a next version this will be more intuitive according to the amount of cooldown you got left)
  2. Support two Information Bars (at the bottom of the frame, players can disable this in the menu)
    • BM: Information Bar 1 shows the cooldown on Bestial Wrath, Information Bar 2 counts towards Focus Fire (through the Frenzy Effect of your pet)
    • MM: Information Bar 1 shows the Improves Steady Shot uptime, Information Bar 2 counts towards the free Aimed Shot
    • Surv: Information Bar 1 shows the coolodwn on Black Arrow, Information Bar 2 shows the Explosive Shot debuff (to prevent clipping)
  3. Has a Serpent Sting uptime bar at the top of the frame
  4. For Beast Masters it adjusts the minimum focus required when going into Killing Streak and it updates the focus loss when aquiring The Beast Within
  5. Has a minimal config window to place the focus frame at your desired location (/hgf)

Possible trouble

  1. The add-on needs your current haste to make on the fly adjustments to the amount of focus you would win or loose, to do this the add-on compars your current ranged speed with your base ranged speed on your bow. The base ranged speed is found on the tooltip of your ranged weapon (afaik the only method of obtaining it). Although there has been plenty of testing, it could be that the add-on doesn't find this in rare cases. Also having an add-on that changes the data on your tooltips heavily can interfere with this proces. So watch out for this! In the rare case that the add-on doesn't find your base ranged speed it will use 2.80 as your ranged speed!

Todo

  1. Custom color coding and texture use
  2. Just found out that I missed out on the talent Termination in the Marksman tree. I'll add this effect in the formulas

Final Notes

This add-on has never been tested with Survival specc, I would be happy to hear if there are problems with Survival Hunters.

The code has extensive comments and if you wanna adjust the code please feel free to do it, this is my first add-on so there might be inconsistencies

If you find bugs for this add-on or have feature request please use the ticket tracker for this add-on provided by curse.

  • Prevented the mod from failing when a user would use a ranged weapon that has been reforged, the add-on now uses a base speed of 2.80 also in case the add-on doesn't find the bow speed.
  • The Add-on finds the right ranged speed however in following cases:
    • Heroic ranged weapons of all qualities (both reforged as not reforged)
    • Soulbound ranged weapons of all qualities (both reforged as not reforged)
    • Non-soulbound ranged weapons (both reforged as not reforged)
    • Heirloom ranged weapons should work (not tested yet)
  • The add-on tries to read the ranged speed from the tooltip, should you use a tooltip add-on, be aware that this might brake this add-on (this is not the case for add-ons that only change the esthetics of the tooltip)

Addon Packs Containing This...

Comments

First Previous Page 1 of 2 Next Last
  • #30
    Naveel, this addon is amazing!
    Congratulations for the excelente work, I hope you can continue the development =)
  • #28
    I've stared at the code for ages and just can't quite figure out how this happens. Somehow, on my non-reforged bow, there is a LUA error at startup. There is a nil string being passed to string.match() when trying to find the "Speed" field.

    It only seems to happen at login or reload for me. I added diagnostic messages to see the left/right values it is parsing, and it seems to work when it is rescanned on zone changes etc. It just blows up at login.

    ["message"] = "Interface\\AddOns\\HunterGotFocus\\huntergotfocus.lua:396: attempt to index a nil value",
    ["count"] = 119,
    ...
    \n[C]: ?\n[string \"safecall Dispatcher[1]\"]:13: in function `?'\n...Ons\\Ace3\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:92: in function `Fire'\nInterface\\AddOns\\Ace3\\AceEvent-3.0\\AceEvent-3.0.lua:120: in function \n",

    baseSpeed = MyTooltipTextRight3:GetText():match("%d.%d%d")
    appears to be the problem. GetText() is returning nil and match is failing.

    But only at login.
  • #29
    I'm experimenting with a change like this:
    baseSpeed = 2.80
    local speedstr = nil

    if (MyTooltipTextLeft4:GetText() == "Ranged") then
    if (MyTooltipTextLeft5:GetText() == "Reforged") then
    speedstr = MyTooltipTextRight6:GetText()
    else
    speedstr = MyTooltipTextRight5:GetText()
    end
    elseif (MyTooltipTextLeft3:GetText() == "Ranged") then
    if (MyTooltipTextLeft4:GetText() == "Reforged") then
    speedstr = MyTooltipTextRight5:GetText()
    else
    speedstr = MyTooltipTextRight4:GetText()
    end
    else
    if (MyTooltipTextLeft3:GetText() == "Reforged") then
    speedstr = MyTooltipTextRight4:GetText()
    else
    speedstr = MyTooltipTextRight3:GetText()
    end
    end
    if (speedstr) then
    DEFAULT_CHAT_FRAME:AddMessage("speedstr " .. speedstr))
    baseSpeed = speedstr:match("%d.%d%d")
    end
  • #25
    I can now get the addon to work! hurrah! there are a couple of graphical issues however, when leaving combat the bar often stays at the focus level you were at when you left combat instead of tracking it. I cant get the bar to show up automatically during combat, the bar needs to be on at all times.
  • #26
    Good to hear it works, I think the bug you had had everything to do with my last major bug that I only found recently. Namely the one where if you have ranged weapon that is Reforged that the add-on couldn't find the speed of it, that issue is adressed.

    I am aware that the add-on "stalls" the moment you go out of combat, that is something I wanted to fix after I was sure the add-on was working well during combat. I probably will update this tomorrow together with checking all talent tree options that I can catch that refund more focus.
  • #24
    Hey, could you please add a auto shotbar on the bottom, This is helpful on other focus bars to not miss autshots since they are big damage boosters.
  • #27
    Hello,

    Thank you for your request. I currently use Quartz and it has a very good "swing timer" as it's called. It might be an idea to install that instead as I don't have plans to implement a swing timer.

    I also believe that it would be out of the scope of the original add-on: a visual overview to help you choose between arcane shot or steady/cobra shot.

    So it might get implemented one day, but probably not before cata hits and/or if I get more requests like this.
  • #21
    Hello, just deleted the comments i made about 30 mins ago as it turned out i just reinstalled your old version. I have installed the newest version now however and the framerate issue is resolved. But i still cannot see the window, i've adjusted the position settings in addons but still nothing and the box to click for "always show" just doesnt let me click it.
  • #23
    I cant get anything to show up. im sure it works, i just cant see it no matter what i try :P
  • #22
    That box is indeed something that I had to disable for this release. The add-on will probably work now fully when you are in combat. If you want to place the add-on on your screen it's best to just visit some dummies and you can place the frame wherever you want. Sorry for this inconvenience but I wanted to release a bug free add-on as fast as possible. I just release another release, that will probably be up in 1h (it takes a while at curse's end) it fixes a couple of minor bugs.
  • #18
    I just tried it will all my addons off Except hunterGotFocus and it still behaves the same. No idea what it could be past an addon conflict which it cant be.
  • #20
    I really like the concept of the add on and i have a nice space reserved on my screen for where it will go when you no doubt fix it :)I am happy to provide any further info to help you solve the problem.
  • #19
    Thanks for this info... I am pretty sure though what could be wrong at the moment. I accidently gave my focus frame a bit of the common name FocusFrame and it probably conflicts with either (or both) the Focus Frames that are in game to focus a target.

    2 guildies of me tested the add-on this evening and neither of them (bm and surv, with me using MM) had trouble. I will update the add-on tomorrow and I will check it with Moveanything.

    The only strange thing is that you get the bug also when you aren't using any other add-ons. I thank you for giving me this info so that I can work on a solution. I hope that I can find what's going wrong...
  • #16
    Im BM spec, the problem isnt that its not showing up OUT of combat, but that it isnt showing up IN combat. I cannot get it to show up at all. Perhaps its a clash with other addons. Like i said i use PhanxChat, MoveAnything, Dominos, DoomCooldownPulse and CoolineCooldownTimers.
  • #13
    Just installed the latest version as of November 3rd 2010 after using the previous versions. Was looking forward to serpent sting tracking and movability, unfortunately its completely broken. The add-on does is not visible at all when entering combat or ever, and when you do enter combat it drops the framerate by about 70%. I am running on windows XP, the only mods i use are doomcooldown pulse, coolline cooldowns, phanxchat and moveanything. It is definately HunterGotFocus that is causing the fps slow and is broken anyway.
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Diablo III Giveaway

Enter Now!