Download
(5Kb)
Download
Updated: 04-08-13 04:26 AM
Pictures
File Info
Updated:04-08-13 04:26 AM
Created:12-10-09 09:32 AM
Downloads:19,826
Favorites:71
MD5:

yClassColors  Popular! (More than 5000 hits)

Version: 5.2.0
by: yleaf [More]

  • colorize player names by their class in friend list, who list, guild list, etc..
  • support customization via Class Colors by Phanx

5.2.0
Toc bump

5.0.1
update for 5.0.4
Post A Reply Comment Options
Unread 07-01-10, 08:04 AM  
Stanzilla
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 146
Uploads: 6
the closing bracket after the char name in the flist is not colored yellow but grey.

like that:

(Paladin)

oh and people from other realms are not colored in the friends list, can't you get that info from the tooltip?
Last edited by Stanzilla : 07-01-10 at 08:10 AM.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 08:29 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
>oh and people from other realms are not colored in the friends list
I did it on purpose, just didn't see any reason why people need that.
Anyway, it's colored in new version but people who doesn't like it can turn it off
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 09:09 AM  
Stanzilla
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 146
Uploads: 6
Originally posted by yleaf
>oh and people from other realms are not colored in the friends list
I did it on purpose, just didn't see any reason why people need that.
Anyway, it's colored in new version but people who doesn't like it can turn it off
Really? I think it's just consistent if all character names are class colored. It still does not work for me btw with version 2.0.3.

All my friend's chars on different servers are still grey.
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 12:46 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
Originally posted by Stanzilla
Really? I think it's just consistent if all character names are class colored. It still does not work for me btw with version 2.0.3.

All my friend's chars on different servers are still grey.
My bad, I can't test that part. (and I'm not good at coloring things)
This is the fix, tell me if it works: http://gist.github.com/461026
Report comment to moderator  
Reply With Quote
Unread 07-02-10, 03:38 AM  
Stanzilla
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 146
Uploads: 6
Originally posted by yleaf
My bad, I can't test that part. (and I'm not good at coloring things)
This is the fix, tell me if it works: http://gist.github.com/461026
That seems to work
Report comment to moderator  
Reply With Quote
Unread 07-09-10, 12:12 PM  
Stanzilla
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 146
Uploads: 6
1x Interface\FrameXML\FriendsFrame.lua:2136: attempt to index field '?' (a nil value):
<in C code>: in function `buttonFunc'
Interface\FrameXML\UIPanelTemplates.lua:579: in function `DynamicScrollFrame_Update':
Interface\FrameXML\FriendsFrame.lua:446: in function `FriendsList_Update':
Interface\FrameXML\FriendsFrame.lua:1193: in function `FriendsFrame_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>

Locals:
(*temporary) = FriendsFrameFriendsScrollFrameButton1 {
highlight = <unnamed> {}
0 = <userdata>
id = 1
text = <unnamed> {}
buttonType = 2
summonButton = FriendsFrameFriendsScrollFrameButton1SummonButton {}
gameIcon = FriendsFrameFriendsScrollFrameButton1GameIcon {}
broadcastMessage = FriendsFrameFriendsScrollFrameButton1BroadcastMessage {}
name = FriendsFrameFriendsScrollFrameButton1Name {}
info = FriendsFrameFriendsScrollFrameButton1Info {}
status = FriendsFrameFriendsScrollFrameButton1Status {}
background = FriendsFrameFriendsScrollFrameButton1Background {}
broadcastIcon = FriendsFrameFriendsScrollFrameButton1BroadcastIcon {}
compactInfo = FriendsFrameFriendsScrollFrameButton1CompactInfo {}
}
(*temporary) = -1
(*temporary) = true
= <function> @ Interface\FrameXML\FriendsFrame.lua:2128:
= <function> @ yClassColors\yClassColors.lua:132:

---
Not sure if it was caused by yClassColor but yeah
Report comment to moderator  
Reply With Quote
Unread 07-09-10, 06:50 PM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
@Stanzilla
No, the index was out of range, and it's blizz's fault.
Report comment to moderator  
Reply With Quote
Unread 08-09-10, 09:51 AM  
Nihlo
A Murloc Raider

Forum posts: 7
File comments: 158
Uploads: 0
four things which would be very cool:

a) colouring of the whole realid-name in classcolours
b) colouring the name of realid-whispers in their current class-colours
c) colouring of the names in channels-frame (social -> chat) in their current classcolours
d) colouring of the name in current class-colours in broadcasts
Report comment to moderator  
Reply With Quote
Unread 09-11-10, 08:38 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
Not sure if you plan on updating this for Cataclysm but here are the errors I got:

hooksecurefunc(FriendsFrameFriendsScrollFrame, 'buttonFunc', function(button, index, fristButton) gives 'buttonFunc' is not a function

GuildStatus_Update is not a function
Report comment to moderator  
Reply With Quote
Unread 09-12-10, 05:40 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
@Haleth
The beta launcher/downloader isn't working on my linux box, I'll update it next week.

edit: Cata support: http://github.com/yaroot/yclasscolor
But not finish yet
Last edited by yleaf : 09-13-10 at 12:28 AM.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 11:55 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
Cool thanks.

Getting a bug with coloring though, the class colour on char frame keeps resetting every time you scroll or the list is updated.
Report comment to moderator  
Reply With Quote
Unread 10-19-10, 03:27 AM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 263
Uploads: 5
Code:
[13:22:59] Interface\AddOns\yClassColors\friends.lua:33: attempt to index field 'classColorHex' (a nil value)
[C]: ?
Interface\AddOns\yClassColors\friends.lua:33: in function <Interface\AddOns\yClassColors\friends.lua:7>
[C]: in function `FriendsFrame_UpdateFriends'
Interface\FrameXML\FriendsFrame.lua:414: in function `FriendsList_Update'
Interface\FrameXML\FriendsFrame.lua:858: in function <Interface\FrameXML\FriendsFrame.lua:853>
(tail call): ?
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
Friends begin to color up only after i scroll the list a bit.
__________________
Proud author of IntricateChatMods, Wanderlust and SimplerMount.
Report comment to moderator  
Reply With Quote
Unread 10-19-10, 09:14 AM  
leelomay
A Kobold Labourer
 
leelomay's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
errors while checking guild members status

1x yClassColors-2.1.1\guild.lua:50: attempt to index field 'classColorHex' (a nil value)
<in C code>: in function `GuildRoster_UpdateTradeSkills'
Blizzard_GuildUI\Blizzard_GuildRoster.lua:128: in function <...ace\AddOns\Blizzard_GuildUI\Blizzard_GuildRoster.lua:118>
<in C code>: in function `GuildRoster_Update'
Blizzard_GuildUI\Blizzard_GuildRoster.lua:77: in function <...ace\AddOns\Blizzard_GuildUI\Blizzard_GuildRoster.lua:75>
<in C code>: in function `Show'
Interface\FrameXML\UIParent.lua:1467: in function `SetUIPanel':
Interface\FrameXML\UIParent.lua:1311: in function `ShowUIPanel':
Interface\FrameXML\UIParent.lua:1198: in function <Interface\FrameXML\UIParent.lua:1194>:
<in C code>: in function `SetAttribute'
Interface\FrameXML\UIParent.lua:1873: in function `ShowUIPanel':
Blizzard_GuildUI\Blizzard_GuildUI.lua:66: in function `GuildFrame_Toggle'
Interface\FrameXML\UIParent.lua:447: in function `ToggleGuildFrame':
<string>:"TOGGLEGUILDTAB":1: in function <[string "TOGGLEGUILDTAB"]:1>

Locals:
(*temporary) = <function> defined =[C]:-1
= <function> @ Blizzard_GuildUI\Blizzard_GuildRoster.lua:360:
= <function> @ yClassColors\guild.lua:44:

---
Report comment to moderator  
Reply With Quote
Unread 10-19-10, 03:12 PM  
Stanzilla
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 146
Uploads: 6
coloring playernames from other servers is no longer possible?
Report comment to moderator  
Reply With Quote
Unread 10-19-10, 07:58 PM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
Originally posted by Stanzilla
coloring playernames from other servers is no longer possible?
I'm not able to test. Try this and tell me if that works: http://github.com/yaroot/yclasscolor
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: