Download
(999 b)
Download
Updated: 08-05-09 10:42 AM
Pictures
File Info
Updated:08-05-09 10:42 AM
Created:unknown
Downloads:12,128
Favorites:45
MD5:

StatusColour  Popular! (More than 5000 hits)

Version: 1.8
by: Slakah [More]

Description
Recolours the default healthbars depending on class.

Now with ClassColor support

Changelog
1.8 - Removed addon loader support thus fixing a bug, addon loader is more trouble than it's worth for this mod.
1.71 - toc update
1.7 - Added ClassColors support.
1.6 - Added hook for "HealthBar_OnValueChanged".
1.5 - Now uses hooksecurefunc() to hopefully prevent taint
1.4 - Slight Optimization
1.3 - Hopefully fixed a bug (fingers crossed)
1.2 - Release
Optional Files (0)


Post A Reply Comment Options
Unread 11-15-07, 10:41 AM  
disiz
A Deviate Faerie Dragon
 
disiz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 55
Uploads: 1
Definatley going to try this! Thanks!
Report comment to moderator  
Reply With Quote
Unread 11-15-07, 07:58 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
After my friend invited me into a party and I joined, I got this error:

StatusColour.lua: line 11: attempt to index field '?' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 11-16-07, 07:45 AM  
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 146
Uploads: 26
Originally posted by Mikma
After my friend invited me into a party and I joined, I got this error:

StatusColour.lua: line 11: attempt to index field '?' (a nil value)
Ill be uploading a fix for that today
Report comment to moderator  
Reply With Quote
Unread 10-30-08, 10:43 AM  
blindmanwalking
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 2
I really like this mod a lot. It enables use of the default Blizzard frame which in the end saves on mod taxation.

Combine this mod with Moveanything, MoPage (actionbar toggle mod) ,eCastingbar, and Grid to get a simple, effective, non-memory demanding set-up.
Report comment to moderator  
Reply With Quote
Unread 11-01-08, 08:36 AM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 116
Uploads: 3
There a way to get Mana to Display the Class Color instead of the Health Bar?

local UnitIsPlayer, UnitIsConnected, UnitClass, RAID_CLASS_COLORS =
UnitIsPlayer, UnitIsConnected, UnitClass, RAID_CLASS_COLORS
local _, class, colour

local function hook(statusbar, unit)
if UnitIsPlayer(unit) and UnitIsConnected and unit == statusbar.unit and UnitClass(unit) then
_, class = UnitClass(unit)
colour = RAID_CLASS_COLORS[class]
statusbar:SetStatusBarColor(colour.r, colour.g, colour.b)
end
end

hooksecurefunc("UnitFrameHealthBar_Update", hook)
hooksecurefunc("HealthBar_OnValueChanged", function(self)
hook(self, self.unit)
end)
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 07:18 PM  
Aschker
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 105
Uploads: 1
For some reason im getting my healthbars colored green again after the units health deflicts or increases... very annoying :S known issue?
Report comment to moderator  
Reply With Quote
Unread 11-16-08, 04:55 PM  
vedran
A Murloc Raider
 
vedran's Avatar

Forum posts: 5
File comments: 19
Uploads: 0
This is the exact addon i've been looking for ages! And finally I decided - screw it, im gonna make it myself; While researching xml/lua events to color the health bars i stumbled upon this.

You sir win the internet!
Report comment to moderator  
Reply With Quote
Unread 02-17-09, 04:15 AM  
zuximus
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
This might be an answer, I wish...

Originally posted by Squiddy0
There a way to get Mana to Display the Class Color instead of the Health Bar?
local function hook_mana(statusbar, unit)
if ( not statusbar ) then return end
if UnitIsPlayer(unit) and UnitIsConnected and unit == statusbar.unit and UnitClass(unit) then
_, class = UnitClass(unit)
colour = RAID_CLASS_COLORS[class]
statusbar:SetStatusBarColor(colour.r, colour.g, colour.b)
end
end

hooksecurefunc("UnitFrameManaBar_Update", hook_mana)
Last edited by zuximus : 02-17-09 at 04:17 AM.
Report comment to moderator  
Reply With Quote
Unread 04-13-09, 10:56 AM  
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 201
Uploads: 7
i only need the colour class on the player/target unit frames but not in the group frames. where i do this?

/edit: Ok Slakah helps me in this post. Thanks a lot
Last edited by Imithat : 04-13-09 at 03:39 PM.
Report comment to moderator  
Reply With Quote
Unread 07-22-09, 06:51 AM  
sakurakira
A Chromatic Dragonspawn
 
sakurakira's Avatar
AddOn Author - Click to view AddOns

Forum posts: 151
File comments: 60
Uploads: 5
How did you get the texture to look flat, as in your second screenshot?
__________________
Arise, my champion!
Report comment to moderator  
Reply With Quote
Unread 07-23-09, 05:56 AM  
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 146
Uploads: 26
Originally posted by sakurakira
How did you get the texture to look flat, as in your second screenshot?
Set the texture to something I can't remember now . Maybe go through all the textures in StatusQuo (although I think I may have used a seperate texture via shared media)
Report comment to moderator  
Reply With Quote
Unread 08-25-09, 06:08 AM  
marvellos
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
great addon, keep up the good work!
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 07:44 AM  
marvellos
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
any updates from the maker?^^
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 09:25 AM  
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 146
Uploads: 26
Originally posted by marvellos
any updates from the maker?^^
I'm incredibly sorry about the wait but it looks as though I'll be without internet for about a month, as soon as I come back on-line I should be able to test/push out updates too all my mods. Sorry for the wait, but hopefully StatusQuo 'should' be fine with just a click on enable out of date addons until I'm able to test/update it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: