Download
(386Kb)
Download
Updated: 06-29-11 12:18 AM
Pictures
File Info
Updated:06-29-11 12:18 AM
Created:09-13-10 05:03 PM
Downloads:44,265
Favorites:93
MD5:

Stay Focused!  Popular! (More than 5000 hits)

Version: 40200.1
by: Drauer [More]


StayFocused! is a Focus/Energy/Mana/Rage/(insert any other power type here) bar for all classes.

Usage:
* "/stayfocused" to show option screen
* "/stayfocused lock" to unlock frame for dragging (movement) and lock (and save position) again

You can use "/sf" instead of "/stayfocused".

40200.1
- ToC bump

40000.6
- added "no text" mode ;)

40000.5
*update* copy/paste bug fixed >< textures will work now
- textures (i don't think i'll use SharedMedia in near future tho...)

40000.4
- small plugin system tweak

40000.3
- post-update plugin system (check Hunter Helper plugin)
- some errors in options screen fixed

40000.2
- huge code cleanup and optimization

40000.1
- you can now select one of five styles for bar (value/percent combinations)
- out of beta :)
- bugfixes

40000.beta6
- /sf lock fix... oops :P

40000.beta5
- option screen (thanks to Tekkub for his TekKonfig lib)
- moveable!
- out of combat/in combat alpha options

40000.beta4
- new name
- bugfixes
- alpha changes
- now works in Cata/PTR and Live!
- all classes supported!

40000.beta2
- bugfix: spec switch

40000.beta1
- first version
Optional Files (4)
File Name
Version
Size
Author
Date
Type
40200.1
29kB
06-29-11 12:44 AM
Addon
40200.1
1kB
06-29-11 12:22 AM
Addon
40200.1
31kB
06-29-11 12:22 AM
Addon
40200.1
13kB
06-29-11 12:21 AM
Addon


Post A Reply Comment Options
Unread 07-21-14, 06:27 AM  
Drauer
A Fallenroot Satyr
 
Drauer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 88
Uploads: 22
It's good to be back

Addon is now updated in here.
__________________
Quando omni flunkus moritati
Report comment to moderator  
Reply With Quote
Unread 09-16-12, 09:55 PM  
AZMAK
A Kobold Labourer

Forum posts: 0
File comments: 61
Uploads: 0
Yeah most of mine just stay blue all the time now. Perhaps they changed the name of the power bar variable used in the code?
Report comment to moderator  
Reply With Quote
Unread 09-15-12, 06:15 AM  
AZMAK
A Kobold Labourer

Forum posts: 0
File comments: 61
Uploads: 0
Re: Power-Type Colors

Originally Posted by goliathvt
Note that the bar will appear BLUE until you open and close the Stay Focused configuration panel, enter combat or do something else that would force the bar to update its visuals. This should only happen once.
First of all thanks for this info but this doesn't always work for me. One of my hunter's the bar appears orange as it should be, my second hunter always appears blue. Both hunters are on the same server and realm.

You say this should only happen once that entering combat will force it to update but it's not doing that all the time. I am also having the problem with my Death Knight on occasion.
Report comment to moderator  
Reply With Quote
Unread 07-18-12, 03:19 PM  
goliathvt
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Power-Type Colors

I saw several people asking if the addon could show colors by "power type" instead of being based on class colors, i.e. red for rage classes, blue for mana classes, yellow for energy, etc.

Open StayFocused.lua and search for line 96 that should start with "local color = o.class_colored...." and replace that entire line with the following:

Code:
-- ORIGINAL CLASS-BASED COLORS BY DRAUER
--local color = o.class_colored and RAID_CLASS_COLORS[select(2, UnitClass("player"))] or {r = o.color.r, g = o.color.g, b = o.color.b}
-- POWER TYPE-BASED COLORS
local color = o.class_colored and PowerBarColor[UnitPowerType("player")] or {r = o.color.r, g = o.color.g, b = o.color.b}
Note that the bar will appear BLUE until you open and close the Stay Focused configuration panel, enter combat or do something else that would force the bar to update its visuals. This should only happen once.

Also, the "--" acts as a comment so you can quickly switch between the original code and this code by adding and removing the "--" in front of the color option you wish to enable.
Last edited by goliathvt : 07-18-12 at 03:22 PM.
Report comment to moderator  
Reply With Quote
Unread 12-03-11, 10:42 PM  
Gollum_ffs
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
rotate 90 deg

Hi

I just wonder if it is possible to rotate the bar 90 deg, so it stands vertical?
Just so I can have it on the side of my grid, for healing.


Kind Regards
Xlogan @ Frostwhisper
Report comment to moderator  
Reply With Quote
Unread 08-27-11, 01:45 PM  
Paprika
A Black Drake

Forum posts: 86
File comments: 29
Uploads: 0

That's how the focus for my druid feral cat is displayed and you can surely guess it's not the way it should be.
Report comment to moderator  
Reply With Quote
Unread 07-03-11, 06:54 PM  
Jaysol
A Kobold Labourer
 
Jaysol's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 23
Uploads: 3
I like StayFocused a lot for all my characters. Its simple and it works. There is 1 thing however that I don't like. I can't figure out how to configure the color of the bar. I just want the bars to be colored in terms of the power:

Rage - Red
Focus - Orange
Mana - Blue
Energy - Yellow

Any help with this would be greatly appreciated.
Last edited by Jaysol : 07-03-11 at 06:55 PM.
Report comment to moderator  
Reply With Quote
Unread 03-02-11, 03:15 PM  
AmiYuy
A Fallenroot Satyr
 
AmiYuy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 73
Uploads: 1
Originally posted by Drauer
@Safrienaer
I'll probably remove configuration and put simple config.lua to edit.
Please, please don't do that. While I do kind of agree that it is a bit irritating to edit on each individual toon... I would just stop using it if I had to lua edit. Partly because I DO want some characters different than others, and partly because having to tab out and find a file to make a simple change is much more irritating to me than editing per-character in-game.

What I came here to ask though, was if you had any idea of possibly doing a Balance druid Eclipse Bar plug-in? The default is incredibly ugly and the maker of my interface frames are refusing to let us re-skin it. I did reposition it though, and it just so happened to end up where my Stay Focused! bar is on my hunter main.
Report comment to moderator  
Reply With Quote
Unread 02-14-11, 03:33 PM  
Drauer
A Fallenroot Satyr
 
Drauer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 88
Uploads: 22
@Armistice
I'll look into it.

@Siven
Edit StayFocused.lua, find this line:
frame:SetStatusBarColor(color.r, color.g, color.b)
anch change color.r, color.g, color.b to selected color.

@Safrienaer
I'll probably remove configuration and put simple config.lua to edit.
__________________
Quando omni flunkus moritati
Report comment to moderator  
Reply With Quote
Unread 02-06-11, 07:52 AM  
Armistice
A Kobold Labourer
 
Armistice's Avatar

Forum posts: 0
File comments: 11
Uploads: 0
Smooth?

any plans on making warrior rage have a smooth update on the bar instead of it being all jumpy all over the place?
Report comment to moderator  
Reply With Quote
Unread 01-06-11, 08:46 AM  
Siven
A Deviate Faerie Dragon

Forum posts: 11
File comments: 34
Uploads: 0
Ok maybe im dumb or blind but how do i set the bat to show the resource color (red for rage, blue for mana etc) instead of the color of the class i use?
Report comment to moderator  
Reply With Quote
Unread 01-01-11, 10:32 AM  
Safrienaer
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Would it be possible to have this addon use profiles at some point? I've completely fallen in love with it and use it on all my toons, but it's rather tiring having to reconfigure it on each toon separately.
Report comment to moderator  
Reply With Quote
Unread 11-27-10, 03:03 AM  
Drauer
A Fallenroot Satyr
 
Drauer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 88
Uploads: 22
Thanks for report, I'll fix i in next version - I'll probably remove options dialog in favor of lua-editing too.
__________________
Quando omni flunkus moritati
Report comment to moderator  
Reply With Quote
Unread 11-26-10, 08:31 AM  
Laif
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
There is an issue I noticed when using this on my druid alt. The quantity of mana my druid has ends up as the maximum value for the bar. Whenever I shift to cat or bear the bar acts as if I constantly have a very low quantity of resource. I believe that it's comparing my current value of rage/energy to my maximum mana rather than max rage/energy. Bar values need to update on resource change for druids.
Report comment to moderator  
Reply With Quote
Unread 11-17-10, 04:38 PM  
Drauer
A Fallenroot Satyr
 
Drauer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 88
Uploads: 22
Rage works out-of-the-box - been leveling my warrior recently and I know it is

I just forgot to put it in that list :P
__________________
Quando omni flunkus moritati
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: