Download
(87Kb)
Download
Updated: 06-29-11 01:52 PM
Pictures
File Info
Updated:06-29-11 01:52 PM
Created:12-14-10 12:16 PM
Downloads:26,093
Favorites:92
MD5:

JS' Hunter Bar  Popular! (More than 5000 hits)

Version: 2.4
by: Soren [More]

JSHB Has problems with 4.2 due to a change in the handling of the Blizzard options page.

It requires a lot of re-code.

Please use Serenity, until I can get to fixing it.

http://www.wowinterface.com/downloads/info20019-Serenity.html

2.4:
- Fix for undocumented change in WoW API causing options errors. (If you have trouble moving the bar - delete saved variables for JSHB!)

2.3:
- Updated for patch 4.2.
- Serenity is now available on WoW Interface, Curse Gaming and http://gsguild.us.

2.2:
- Fix for frame unlock for indicator bar error.

2.1:
- Updated TOC for 4.1.
- Fixed Shadowed Unit Frames MD.
- Fixed 4.1 Combat Log Event changes (thanks for announcing this Blizzard!)
- There's an Indicator now for Aspect.

2.0:
- Fixed Debuff Alerts to be more consistent. They should always pop up now with their tip, no matter if it's a buff or debuff.
- Added more spell ID's to the spell table for trackers. (ie: Spirit Mend)
- Added Spirit mend duration and cooldown timers as defaults for BM.
- Added custom spell id lists for Tranq alerts, Debuff alerts(Called Auras, can be a buff or debuff now) and Timer Spells.
- Added Global SavedVariables for the custom spells so it's easier for people to send me their files.

1.991:
- Fixed add timer not working.
- Fixed Misdirection message on mounted unit. Had to hard-code the return message.

1.99:
- Fixed timers messing up (especially Iconed ones) when editing or adding them.
- Added some X-Perl frames to the list. If these are not all working, please give me exact frame names ("/jsb id" while hovering the frame that's not working with your mouse, i need the frame name from line 1).
- More checks for MD to not improperly spam someone they are on a mount.
- Fixed Call of the Wild tracker.

1.98:
- Bug fix for adding / editing timers not properly changing to the new variable from 1.97 release.
- Added Blizzard MT frame support for right click MD.

1.97:
- Fixed color change on target health to actually change. LOL
- Modified MD tells code to properly get target for whisper to avoid LUA error, as well as check for a valid unit that is not a pet, as well as in your party or raid.
- Right Click MD changes to re-assign clicks to the unit frames when a raid or party is changed. (ie: player joins, leaves, etc.)

1.96:
- Added nUI support for Misdirects.
- Removed global tempVars variable.
- Added in edit boxes to directly manipulate colors in config.
- Added TukUI missing frame names.
- Shortened variable declaration length to shrink addon over all.
- Changed spell tables - Now pet specific spells can be monitored.
- Added icon list (with option for tooltips) to show what buffs can be removed by tranq shot.
- Added in more pet spells.
- More checking for bad saved options.
- Changed table format for timers, true/false on 3rd value can now be 0 / 1 / 2 (numerics) for pet information.
- Changed tooltip anchoring to set parent with no anchor point to possibly fix a minor bug report.
- Made hunter's mark warning show if MFD is the only mark up and under 4s.
- Bug fixed from 1.95 that was not showing the Hunter's Mark warning cooldown counter.
- TukUI variables are now removed from memory after retrieving what JSHB needs.
- Mark reminder will now use the icon for which is fading, defaulting to "Hunter's Mark" icon - MFD icon when it's the only one up.
- Added (pet) identifier in spell list for spells that are meant for checking the pet's buff specifically (mend pet for example).
- Target % on bar is now yellow if greater then 80%, White if less than 80% but greater than 20% and red if 20% or less.
- If your MD target is mounted when you try to MD them, they will be told about it via whisper if cast announces are on.

1.95:
- Default misdirection channel changed from SAY to Self Whisper when not grouped at all and channel is set to auto.
- Added option to send tell to the misdirection target when threat is transferring and finished.
- Changed hunter mark reminder to sparkle only when in combat and totally hide when in a vehicle.
- Added support for Shadowed Unit Frames for right click misdirects.
- Changed right click misdirects to check for target being alive and not in a vehicle (you or target).
- Fixed type-o in localization.
- Fixed a bug with Hunter's Mark reminder, just a type-o that caused an error in rare situations.

1.94:
- Minor fix to removal of right click when disabled to re-enable full Blizzard normal functionality.

1.93:
- Changed TOC file to mark LibSharedMedia-3.0 as an optional dependency so it gets loaded before JSHB if you use it as a separate addone.
- Added clarification to the Misdirection frame about right clicks menus on Blizzard frames (you need to use a modifier to use them if you have Misdirection turned on for that frame set)
- Changed Marked For Death so that you pick up other hunter's MFD on a mob to prevent Hunter's Mark warnings from popping up.
- Added rez sickness as a debuff alert.

1.92:
- Option added to turn off the bar text representing current focus.
- Added in right click Misdirection option to allow you to right click a frame and have Misdirection cast on on that target.
- Added options pane for Misdirection options.
- Added Misdirection announces and expires to chat channel of choice.
- Added in alliance / horde specific spell definitions and defaults.
- Added support for 3rd party raid frames in addition to the standard Blizzard frames for right click misdirection.
- Added / fixed many debuff alerts, especially herioc abilities.
- Added more missing/requested spells to timer spell list.
- Modified color change on timers to swap from less than 10s to red to less than 4s to red. Thanks, -Aendos @mmo.
- Reverted all pet happyness additions I was in process of adding due to removal of happyness system from game in upcoming patch 4.1.
- Changed stack frame for Survival spec so that it's always visable but blocks are black when no proc is up, or flashing green if a proc remains.
- Added combat check for setMisdirects() function to be sure we don't modify a secure frame attribute in combat. If in combat it will now be called when the player is out of combat.
- Added Animation frame to Debuff Alerts, Hunter's Mark reminder and Tranq Alert in an attempt to make it more noticeable in fights like Heroic Omnotron, etc.

1.91:
- Minor fix for SharedMedia not registering right under certain circumstances.

1.9:
- Official bump to release version, no changes made past 1.8995.

1.8995:
- SharedMedia error fix.

1.8994:
- Made focus update like it did in the past, more fluid.
- Fixed type-o in code causing errors. (Font / Texture / Sound)

1.8991
- Fix for stack overflow error.
- Forgot to rename hard-defined font "Arial" to "Arial Narrow".
- Only allow single iteration of media functions now, so it cannot endless loop. (Rare)

1.899
- Bump from Alpha to Beta.
- LibSharedMedia-3.0 fully supported for importing shared variables and exporting my own to other addons. Now you can use any shared textures, fonts and sounds.

1.898:
- Added general pane option to enable or disable coloring of the timer text (cooldown / duration number) based on actual time remaining.
- Removed "Tranq!" from the top of the tranq alert icon.
- Fixed another dropdown issue in timers in the config panel.

1.897:
- Fixed bugs reported in 1.896 when new installs (no existing saved variables) were found.
- Fixed a couple other issues that resulted in the code changes.

1.896 Alpha:
- Added scroll bar to select icon index to the timer if it's an icon, hidden if not.
- Found a memory leak in options. This is what I get for using 3rd party code. Fixed most all of it but still need to find another 3.5k leak that happens upon load / exit of the options.
- More debuff alerts added.
- Recoded options to use globals under the global "JSHB" tag.
- Prepared options variables for Load on Demand.
- Options will now destroy all created frames and child frames upon exit. This should fix any memory leaks.
- Fixed more issues with 3rd party code not properly written causing memory leaks.
- Removed unnecessary functions in options.
- Gave more frames names to allow memory clean up.
- Made options Load on Demand. Options panels will no longer be in memory unless you need them. I plan to fully release the options from memory in the future if no longer in use, as well.
- Fixed issue with bar alpha staying max after bar is re-locked in position.
- Added in timer icon indexes, you can now reposition the timer icons to suit your needs.
- Fixed issue for timers being defaulted if you removed all timers from a spec and logged out and back in or reloaded UI.
- Added an additional check for TukUI to be sure the user is on v13 before importing TukUI globals T,C,L.
- Found the memory leak, but I need to do a bunch of recode to get rid of it. Releasing this alpha now, it's better on ram than the current releases anyway. I'll work on this next and the sharedmedia, etc.

1.895 Alpha:
- Stack bars can now be flipped to the top instead of the bottom.
- Scrolling timer icons size will now need to be set, no more auto-setting.
- Preliminary changes for module support.
- Preliminary changes for Load on Demand.
- Tweaks to moving timers to improve functionality.
- Various fixes for alpha values not being of the proper alpha.
- Icon timer frames now created via internal setup calls.
- New movable frame identifier for Icon Timers if they are set to movable (otherwise they are positioned relative to the main focus bar)
- Fixed jittery moving timers (noticeable on serpent sting for example).
- Added option to move the focus number left or right on the bar.
- Modified tick mark for main shot to not bleed over the top or bottom of the focus bar.
- Added stacks for icon timers.
- Removed backdrop from icons, should make them look better and not have a bleed through on the corners.

1.894 Alpha:
- Change spell ID back for freezing trap.
- Options added for upcoming Icon Timers. (Options only, they do nothing as of yet!)
- Locale updates.
- Fix for LUA error involving Crowd Control timers.

1.893 Alpha:
- Created chained functions support for main frame. This *possibly* in the future will allow others to develop modules for JSHB, but also allows easier additions to what the main frame is checking on a timed basis.
- Added in target health to the bar, option to enable or disable as well. Default to on.
- Fixed tooltips not showing on debuff alerts.
- Added scroll bar to general options pane.

1.892 Alpha:
- Fix for unclickable zone created from the debuff alert, since tooltips were added.
- Fix for debuff alert alpha staying at the initial set value and not updating with the bar.
- Fix for Stack bars bugging out when at full proc and UI is reloaded.
- Returned autoshot bar as an option, disabled by default.
- Returned autoshot fire text, but made it independent from the bar being on.
- Changed a lot of variables to be more "johnny-on-the-spot" for response times; meaning all variables are now using current live values as opposed to stored values.
- Modified main bar to be MUCH more responsive by hooking the UNIT_POWER event to trigger a bar update.
- Fix for TukUI erros with the options for it turned on.
- Lowered CPU usage of the addon considerably.
- Added scrollable frame to general options to accommodate the extra options.
- Removed the option to allow timers to follow the top or bottom center lines of the bar to get ready for the icon timers.
- Added self whisper to tranq notification channel selection. Suppresses the outgoing "To:" so you don't get double spammed.
- Added more spells, including Potion of the Tol'Vir for tracking the duration on yourself.

1.891 Alpha:
- Removed autoshot swing bar. No longer necessary as autoshot now fires while moving.
- Autoshot options removed.
- Stack options added to enable or disable it.
- Recode on various timer objects to improve movement and overall flow of timers.
- A lot of code clean-up.
- Added in stack bars to indicate stacks for various specs (BM = Frenzy stacks on pet, MM = Ready, Set, Aim stacks and SV = Lock n' Load Procs remaining).
- Ripped out a lot of useless code.
- Fixed some weird issues with timers that I never noticed before.
- Stack bars flash when at max or are ready for use.

1.87:
- Debuff alert now has tooltips for hovering over, still non-interactive though.
- If you track the duration of mend pet on yourself, it will actually use the duration on the pet so you can see when it's still healing the pet or expired.
- Removed all checks for OmniCC/NC/etc. so the addon uses it's own cooldown numbers.
- Removed the cooldown wheel effect and just use a number now on icons.
- Minor code changes and enhancements.
- Added in extra checking for TukUI users to be sure it's v13 they are using before unpacking the TukUI variables.
- More spells added.

1.86:
- Options not being saved is fixed.
- LUA error for hunter's mark fixed.

1.85:
- Bug fixes for new installs and timer nil errors.
- Bug fixes for Debuff Alert LUA errors.

1.84:
- Changed the handling of configuration settings. The addon is now more efficient with setting default/initial configuration settings and will also check the values in case something is missing and add it to prevent lua errors for people upgrading non-sequentially in version. Also reduced code size a bit.
- Bug fixes.

1.83:
- TOC bump
- Movable frames now turn their border or icon green to show you are in movement/unlocked mode.
- Better Tukui support for coloring, thanks to Methyl for pushing it up in priority by offering code.
- Added in a debuff watcher for *select* debuffs. If you want one added that is not there, just ask. Again, this is for select debuffs, not everything.
- Added in full movability of frames related to JSHB. You can now move the tranq, debuff, mark, cc locations all seperate from the bar.

1.82:
- Released to select testers only.

1.81:
- TOC update.
- Fixed a mark reminder being triggered while targeting a dead mob (thanks to Aim's (DIFW / Horde / Malfurion ) report)
- Updated French translation, thanks to Fenron EU-Hyjal!
- Added an alert to notify you of a tranq-able buff on a mob (nice for Maloriak!) - I can use more mob locations and names for the alert list, if you run by any in your adventures!
- Made alert frame anchored to the UIParent and seperate from the bar. If this works well, I will make the other frames do the same. Please give feedback on this.
- Added some more spells for tracking, per requests made in mail, forums and comments.
- Changed main shot for Marksman to Aimed Shot instead of Chimera Shot due to the heavier weight it carries.
- Reduced code size slightly (I'll be doing this more and more, again important things first)
- Optimized some code (ongoing).

1.74:
- TOC / Version bump to stay ahead of the testers.
- Added in blood fury and a couple more spells for timers. By the way, if anyone wants others, just ask. I add them per request or I find they are missing (trinkets cooldowns can even be added, for instance).
- Support for patch 4.0.6 change to trap aura duration of 8s when in pvp with a player controlled unit.
- Added the ability to specify a single channel for tranq shot dispel announces, or automatic (default) as it was before.
- Fixed some coloring issues with the bar when class coloring is turned off.

1.73:
- Added French translation - thanks to Jøsie on the Les Sentinelles European server (frost.taguilde.net).
- Changed bar update timing to make the timers and autoshot bar look more fluid and not so choppy.
- Changed the way timers show, should look a bit more clear.
- Fixed bug in tranq announce that was showing a dispel message when BM talent Improved Mend Pet removed a buff off pet.
- Added in clickable links to the dispels on tranq announements.

1.72:
- Fixed drunkness issues - sorry.
- Added more spells.
- Fixes to residual frames for adding timers.
- Fixes to config changes not actually applying.

1.71:
- Added in game configuration of all addon functions.
- Added tranquilizing shot dispel notification. (from unreleased 1.7)
- RENAMED ADDON to JSHunterBar, you may need to remove the old one.
- Added localization for all languages, just need help on translations, if you can help - please contact me.

1.7:
- Added tranquilizing shot dispel notification.

1.62:
- Added in Hunter's Mark warning to remind you to apply mark or that it's getting near fading from the current target.
- Fix CC timers remaining if you leave the trapped or cc'd mob and are out of range of combat logging.
- Made the main shot tick mark able to be turned off via config.lua.
- Moved CC icons in toward the bar a bit to make it look more uniform.
- Fixed center icon timers not showing very well.
- Added OmniCC code for CC timers when the player is not using OmniCC / TukUI / NC.

1.61:
- Yeah, so I forgot to move a call to the right place, sorry. CC shows properly now.

1.6:
- Minor fixes, nothing really noticable
- Trap timers for Freezing trap & Wyvern Sting.
- Made autoshot bar a nudge taller.

1.53:
- Fix for timers not clearing when a mob dies at times.
- Fix for conflicts with Startip and Mountiful.
- Fix for people having framerate drops, due to the conflicts mentioned above.
- Variables renamed in this release, if you made changes to your config.lua, you should manually add the changes to this version again, or edit your version to reflect the 3 renamed variables.
- Localized functions instead of pushing them global.

1.52:
- Just pushed to release, out of Beta.

1.51 Beta:
- Fix bar issue being black when entering game from char select screen, sorry didn't think to test that before release, will next time though!
- Fix LUA error when unlearning and relearning talents
- Fix talent swap error with max power not being updated.

1.5 Beta:
- Fixed issue with focus bar alpha not being set right on initial game load / player entering game world.
- Added config.lua option to change refresh interval (default is 0.1, ten updates a second)
- Added auto-shot swing timer, can be disabled in config.lua
- Fixed coloring issues, when class colors were not used.
- Added over-cap warning at 80% full focus, changing the bar to orange
- Fixed many issues with coloring when you do not use class coloring, surprised I missed it....
- Fixed memory ramping up on the addon, should stay about 47k with this release
- Added in wyvern sting, widow venom and freezing trap to the cooldown bar, I do plan to track the traps on targets later - I just had too much to do for the other added features; this should be sufficient for the in-between.
- Removed a lot of locals and cleaned the code to be much more memory friendly, should not see issues with extended use if you had in the past.

1.4 Beta:
- Dynamic timers. You can now have more than two tracked items; actually you can track everything you can think of now.
- Movable timer positions. Edit the config.lua to change positions.
- Movable timer text too.
- Icon size can be set via slash command now.
- Misc. bug fixes.

1.3 Beta:
-Fixed talent swap issue. Good thing I thought of it AFTER I released 1.2

1.2 Beta:
-Change default texture from Blizzard to a solid color.
-Allow Timers to specify position on bar,
TOP: Center of icon follows the top line of the frame
BOTTOM: Center of icon follows the bottom line of the frame
ABOVE: Icon rests above the bar, bottom of icon 1 pixel above frame top
BELOW: Icon rests below the bar, bottom of icon 1 pixel above frame bottom
- Fixed a bug where your 1st timer was not showing unless you reloaded you UI.
- Added slash command to change icon size, 0 = default (i prefer default!)
- Added more options in the config.lua to allow the icons and timer to be repositioned.
- Modified frame positioning code to be more efficient and smarter.

1.1 Beta:
-Fix for Survival tree bug with Black Arrow. Type-o on my part.

1.0 Beta:
-Initial release.
Post A Reply Comment Options
Unread 12-17-10, 11:27 PM  
Chigerian
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
I like this addon, just wondering how would I go about changing the font and bar texture though the config?
Report comment to moderator  
Reply With Quote
Unread 12-18-10, 04:06 PM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Originally posted by Chigerian
I like this addon, just wondering how would I go about changing the font and bar texture though the config?
Bar texture is in the config.lua now, there are 2 options (look near the bottom). You define the NAME of the texture in the config options (just match up the names). If you want a texture other than what I have included, let me know and I can add it. I will be adding in game config at some point, just want the necessities done first.

Font is another story, tell me what you want or supply it to my forum (www.transcended.us) and I can add that too.

JS

PS, 1.51b is up pending approval, fixes the black bar issue. Temp fix is to just reload ui and the bar will show properly in the mean time.
Report comment to moderator  
Reply With Quote
Unread 12-26-10, 03:33 AM  
sethyeseth
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
no CD count

How do i remove the cooldown tracker and simply keep the focus watcher bar?
Report comment to moderator  
Reply With Quote
Unread 12-26-10, 02:39 PM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Re: no CD count

Originally posted by sethyeseth
How do i remove the cooldown tracker and simply keep the focus watcher bar?
Edit the config.lua:
["classcolored"] = true, -- color according to class default or false to use your own colors via "barcolor"
["classcoloredprediction"] = true, -- color according to class default or false to use your own colors via "predictionbarcolor"
["enablehighcolorwarning"] = true, -- true to change color if you have too much focus and use colors defined in "barcolorwarninghigh"
["enableprediction"] = true, -- true to show the incoming focus prediction from steady/cobra shot
["enableautoshotbar"] = true, -- show the small bar for timing auto-shots on the bottom of the main focus bar.
["enableautoshottext"] = true, -- Show a time along with the bar for autoshot cooldown?
["enabletimers"] = true, -- should we show timers above and below the bar for tracking buffs/debuffs
["enabletimerstext"] = true,

set the true to false for the ones you don't want.
Report comment to moderator  
Reply With Quote
Unread 12-30-10, 01:54 PM  
Methyl
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
I came across an error, but i fixed it. The error was that I am using using startip and trying out JS hunter focus bar, while using both i go this error:

1x StarTip_Bars-1.0\Bars.lua:179: attempt to index local 'bar' (a nil value)
JSHunterFocusBar-40000.1.52\core.lua:626: in function <JSHunterFocusBar\core.lua:621>

Locals:
self = jSHunterFocusBarMainFrame {
ApplyOptions = <function> @ JSHunterFocusBar\core.lua:543:
value = <unnamed> {}
db = <table> {}
ApplyLock = <function> @ JSHunterFocusBar\core.lua:516:
CreateFrame = <function> @ JSHunterFocusBar\core.lua:430:
backdrop = <unnamed> {}
0 = <userdata>
}
elapsedTime = 0.014000000432134
lastUpdate = 0
updatePrediction = <function> @ JSHunterFocusBar\core.lua:377:
updateTimers = <function> @ JSHunterFocusBar\core.lua:188:
updateAutoShot = <function> @ JSHunterFocusBar\core.lua:411:

---

I noticed by looking @ the lua that both addons have the same functions that are not localized.

function updateBar(widget, bar)
bar:SetValue(widget.val1 * 100)

local r, g, b = 0, 0, 1

if widget.color1 and widget.bar1 then
r, g, b = widget.color1.ret1, widget.color1.ret2, widget.color1.ret3
elseif widget.color2 and widget.color2.is_valid then
r, g, b = widget.color2.ret1, widget.color2.ret2, widget.color2.ret3
end

if type(r) == "number" then
bar:SetStatusBarColor(r, g, b)
else
--bar:Hide()
end

end

and

function updateBar()
barColor = getBarColor()
tempVars[1] = frame:GetWidth() / select(2, frame:GetMinMaxValues())

currentPower = UnitPower("player")
mainSpell = getMainSpell()

frame:SetValue(currentPower)
frame.value:SetText(currentPower)

if (currentPower == 0) or (UnitIsDeadOrGhost("player")) then
if barLocked then
frame:SetAlpha(combatActive and jSHunterFocusBarCF.alphazero or jSHunterFocusBarCF.alphazeroooc)
end
else
if currentPower == powerMax then
if barLocked then
frame:SetAlpha(combatActive and jSHunterFocusBarCF.alphamax or jSHunterFocusBarCF.alphamaxooc)
end
else
if barLocked then frame:SetAlpha(combatActive and jSHunterFocusBarCF.alphanorm or jSHunterFocusBarCF.alphanormooc) end
end
end

-- May need to abort tick update if a proc happens, but the Tick should move to reflect - at least thats my thinking.
tickMin:SetPoint("LEFT", frame, "LEFT", mainSpell * tempVars[1] - 5, 0)

if currentPower >= mainSpell then
tickMin:SetVertexColor(barColor[1], barColor[2], barColor[3])
frame:SetStatusBarColor(barColor[1], barColor[2], barColor[3]) -- Class colored or defined color.
else
tickMin:SetVertexColor(jSHunterFocusBarCF.barcolorwarninglow[1], jSHunterFocusBarCF.barcolorwarninglow[2], jSHunterFocusBarCF.barcolorwarninglow[3])
frame:SetStatusBarColor(jSHunterFocusBarCF.barcolorwarninglow[1], jSHunterFocusBarCF.barcolorwarninglow[2], jSHunterFocusBarCF.barcolorwarninglow[3])
end

tickMin:Show()
end

I fixed the problem simply by localizing them. Just thought you should know.
Last edited by Methyl : 12-30-10 at 01:54 PM.
Report comment to moderator  
Reply With Quote
Unread 01-04-11, 11:12 AM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Originally posted by Methyl
I came across an error, but i fixed it. The error was that I am using using startip and trying out JS hunter focus bar, while using both i go this error:

1x StarTip_Bars-1.0\Bars.lua:179: attempt to index local 'bar' (a nil value)
JSHunterFocusBar-40000.1.52\core.lua:626: in function <JSHunterFocusBar\core.lua:621>

Locals:
self = jSHunterFocusBarMainFrame {
ApplyOptions = <function> @ JSHunterFocusBar\core.lua:543:
value = <unnamed> {}
db = <table> {}
ApplyLock = <function> @ JSHunterFocusBar\core.lua:516:
CreateFrame = <function> @ JSHunterFocusBar\core.lua:430:
backdrop = <unnamed> {}
0 = <userdata>
}
elapsedTime = 0.014000000432134
lastUpdate = 0
updatePrediction = <function> @ JSHunterFocusBar\core.lua:377:
updateTimers = <function> @ JSHunterFocusBar\core.lua:188:
updateAutoShot = <function> @ JSHunterFocusBar\core.lua:411:

---

I noticed by looking @ the lua that both addons have the same functions that are not localized.

function updateBar(widget, bar)
bar:SetValue(widget.val1 * 100)

local r, g, b = 0, 0, 1

if widget.color1 and widget.bar1 then
r, g, b = widget.color1.ret1, widget.color1.ret2, widget.color1.ret3
elseif widget.color2 and widget.color2.is_valid then
r, g, b = widget.color2.ret1, widget.color2.ret2, widget.color2.ret3
end

if type(r) == "number" then
bar:SetStatusBarColor(r, g, b)
else
--bar:Hide()
end

end

and

function updateBar()
barColor = getBarColor()
tempVars[1] = frame:GetWidth() / select(2, frame:GetMinMaxValues())

currentPower = UnitPower("player")
mainSpell = getMainSpell()

frame:SetValue(currentPower)
frame.value:SetText(currentPower)

if (currentPower == 0) or (UnitIsDeadOrGhost("player")) then
if barLocked then
frame:SetAlpha(combatActive and jSHunterFocusBarCF.alphazero or jSHunterFocusBarCF.alphazeroooc)
end
else
if currentPower == powerMax then
if barLocked then
frame:SetAlpha(combatActive and jSHunterFocusBarCF.alphamax or jSHunterFocusBarCF.alphamaxooc)
end
else
if barLocked then frame:SetAlpha(combatActive and jSHunterFocusBarCF.alphanorm or jSHunterFocusBarCF.alphanormooc) end
end
end

-- May need to abort tick update if a proc happens, but the Tick should move to reflect - at least thats my thinking.
tickMin:SetPoint("LEFT", frame, "LEFT", mainSpell * tempVars[1] - 5, 0)

if currentPower >= mainSpell then
tickMin:SetVertexColor(barColor[1], barColor[2], barColor[3])
frame:SetStatusBarColor(barColor[1], barColor[2], barColor[3]) -- Class colored or defined color.
else
tickMin:SetVertexColor(jSHunterFocusBarCF.barcolorwarninglow[1], jSHunterFocusBarCF.barcolorwarninglow[2], jSHunterFocusBarCF.barcolorwarninglow[3])
frame:SetStatusBarColor(jSHunterFocusBarCF.barcolorwarninglow[1], jSHunterFocusBarCF.barcolorwarninglow[2], jSHunterFocusBarCF.barcolorwarninglow[3])
end

tickMin:Show()
end

I fixed the problem simply by localizing them. Just thought you should know.
Thanks for this, it'll be fixed in the next release.
Report comment to moderator  
Reply With Quote
Unread 01-04-11, 02:19 PM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Methyl, thanks again, already posted a maintenance release to fix this. Surprised I didn't notice that and the 3 variables I had to give unique names.
Report comment to moderator  
Reply With Quote
Unread 01-05-11, 02:44 PM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
FYI: CC tracking is being tested now. Next release will have support for tracking your trap expiration times on mobs, and Wyvern Sting as well.

Tranq info will be in soon too, letting you know if something was dispelled (as suggested for PvP purposes as well as PVE).

Also and Enrage notification for certain mobs (which I'll need help filling in the ones I miss).
Last edited by JS : 01-05-11 at 02:44 PM.
Report comment to moderator  
Reply With Quote
Unread 01-05-11, 07:47 PM  
Fuggle
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I've been looking for a simple focus and auto shot tracking mod for a while and this is perfect.

However I don't want any of the ability cooldowns around it to be shown. I've tried editing out the spells in the LUA file but this seems to break it entirely (I'm not a programmer but I do have a basic idea of what to/not to do in editing code)

Is it possible to do this?
Report comment to moderator  
Reply With Quote
Unread 01-06-11, 09:41 AM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Originally posted by Fuggle
I've been looking for a simple focus and auto shot tracking mod for a while and this is perfect.

However I don't want any of the ability cooldowns around it to be shown. I've tried editing out the spells in the LUA file but this seems to break it entirely (I'm not a programmer but I do have a basic idea of what to/not to do in editing code)

Is it possible to do this?
Open the config.lua with notepad (on a pc, or similar on a mac) and look for the true/false for the ones you want to disable.

If you need more help, let me know and I can do it for you, if so just post on my site www.transcended.us in the forum and I can help.
Last edited by JS : 01-06-11 at 09:42 AM.
Report comment to moderator  
Reply With Quote
Unread 01-16-11, 08:27 PM  
baigura
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hello

Perfect addon, simple and well coded. Is there a way to remove the small sparkling bar? (on the left of focus number)

Report comment to moderator  
Reply With Quote
Unread 01-17-11, 01:30 PM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Originally posted by baigura
Hello

Perfect addon, simple and well coded. Is there a way to remove the small sparkling bar? (on the left of focus number)

Not currently, but I can add this as an option. That bar shows your mark for focus required to cast your main shot. Kind of useful.
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 06:33 PM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Originally posted by Soren
Not currently, but I can add this as an option. That bar shows your mark for focus required to cast your main shot. Kind of useful.
There is now, though.
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 06:12 PM  
baigura
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thanks.
Report comment to moderator  
Reply With Quote
Unread 01-23-11, 11:17 AM  
JS
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 112
Uploads: 3
Looking for testers for alpha versions.

Looking for a couple people to serve as testers - look over changes and supply constructive criticism of any alpha releases. (Notice, these people may need to delete the config settings in the WTF directory. Again, this is Alpha version testing.

PM me here or www.transcended.us. First people I receive messages from will be sent the newest releases to test and supply feedback (quickly). Please be tech-saavy and able to supply reports on how I can duplicate any bugs you see, etc.

Please supply full contact information, as I will be delivering these updates via email.

Thank You.

PS. Oh yeah. I expect to deliver 1.7 very soon to these people with in-game config implemented (still needs refining, but all the options will be configurable in game). This will be a 2 step release. General / Alpha / Bar / Color options, then then the following will be the timers for all 3 specs (trying to avoid bugs as much as possible).
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.