Download
(5 Kb)
Download
Updated: 04-04-12 05:26 PM
Pictures
File Info
Updated:04-04-12 05:26 PM
Created:12-10-09 08:32 AM
Downloads:6,445
Favorites:54
MD5:
yClassColors  Popular! (More than 5000 hits)
Version: 40300.3
by: yleaf [More]
Simple addon that colorize player names by their class in friend list, who list, guild list, etc..
It works with all language and supports ClassColors for custom class colors!


Github: http://github.com/yaroot/yclasscolors

40300.3
- Fix the error after editing ClassColors config

40300.2
- Fix the last change. The cvar value is set *after* the frame is updated, so the hook is still needed.

40300.1
- Fix for 4.3

40200.2
- Repack (match the version on wowace.com)

2.2.1
- Fix bg score board
- Color BN friends names using wow char's class's raid color

2.2.0
- Update for wow 4.2

2.1.3
- Fix BN friend coloring

2.1.2
- Fix that func again

2.1.1
- Fix a renamed function

2.1
- 4.0 support

2.0.4
- Now colors the character name from other realm

2.0.3
- Fix the bracket color

2.0.2
- Really fixed the friends list coloring

2.0.1
- Typo fix (thanks Dainton)

2.0
- update support for 3.3.5

1.9
- Fix err with ruRU

1.8
- make BG scoreboard more beautiful

1.7
- 3.3 support
Archived Files (17)
File Name
Version
Size
Author
Date
40300.2
5kB
yleaf
12-05-11 11:10 PM
40300.1
5kB
yleaf
12-05-11 10:24 PM
40200.2
5kB
yleaf
11-09-11 02:25 AM
2.2.1
5kB
yleaf
07-12-11 09:36 PM
2.2.0
5kB
yleaf
06-30-11 05:33 AM
2.1.3
6kB
yleaf
10-22-10 09:28 PM
2.1.2
6kB
yleaf
10-19-10 09:25 AM
2.1.1
6kB
yleaf
10-19-10 03:37 AM
2.1
6kB
yleaf
10-19-10 01:59 AM
2.0.4
4kB
yleaf
07-02-10 03:43 AM
2.0.3
4kB
yleaf
07-01-10 08:30 AM
2.0.2
4kB
yleaf
07-01-10 07:29 AM
2.0.1
4kB
yleaf
06-28-10 12:43 AM
2.0
4kB
yleaf
06-26-10 08:19 PM
1.9
3kB
yleaf
12-21-09 12:25 AM
1.8
3kB
yleaf
12-19-09 04:42 AM
1.7
3kB
yleaf
12-10-09 08:32 AM


Post A Reply Comment Options
Old 04-02-12, 05:55 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1162
File comments: 1264
Uploads: 24
There's an error in your ClassColors support:

Code:
yClassColors-40300.2\core.lua:107:
bad argument #1 to "wipe" (table expected, got nil)
The problem is that your callback function attempts to wipe your class colors table, but looks for it using the variable "classColor", while the actual table is only defined as a member object of the "ycc" table. You probably reworked this at some point but forgot to update your callback function. Adding the bold yellow part below resolves the issue:

Code:
if CUSTOM_CLASS_COLORS then
	CUSTOM_CLASS_COLORS:RegisterCallback(function() wipe(ycc.classColor) end)
end
Phanx is offline Report comment to moderator  
Reply With Quote
Old 11-09-11, 11:38 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 326
Uploads: 2
player marking doesn't work as you've added it
http://nopaste.info/4b25781dda.html <- this works
__________________
Baine is offline Report comment to moderator  
Reply With Quote
Old 07-10-11, 01:37 PM  
Talyrius
A Flamescale Wyrmkin
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 143
File comments: 217
Uploads: 1
I think you forgot to check the score frame:

145x yClassColors-2.2.0\battlefield.lua:15: attempt to index field "classColor" (a nil value)
yClassColors-2.2.0\battlefield.lua:15: in function <yClassColors\battlefield.lua:4>
<in C code>
<string>:"*:OnShow":2: in function <string>:"*:OnShow":1
<in C code>
FrameXML\UIParent.lua:1508: in function "SetUIPanel"
FrameXML\UIParent.lua:1313: in function "ShowUIPanel"
FrameXML\UIParent.lua:1239: in function <FrameXML\UIParent.lua:1235>
<in C code>
FrameXML\UIParent.lua:1943: in function "ShowUIPanel"
FrameXML\WorldStateFrame.lua:983: in function "ToggleWorldStateScoreFrame"
<string>:"TOGGLEWORLDSTATESCORES":1: in function <string>:"TOGGLEWORLDSTATESCORES":1

Locals:
(*temporary) = <func> =[C]:-1
= <func> @FrameXML\WorldStateFrame.lua:463
= <func> @yClassColors\battlefield.lua:4
Talyrius is offline Report comment to moderator  
Reply With Quote
Old 06-30-11, 11:01 AM  
Haleth
Look at the post
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 800
File comments: 859
Uploads: 17
Thanks a lot
Haleth is offline Report comment to moderator  
Reply With Quote
Old 06-30-11, 01:14 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 13
I'm gonna do some test and update this addon tonight (UTC+08:00)
yleaf is offline Report comment to moderator  
Reply With Quote
Old 06-29-11, 08:31 AM  
Haleth
Look at the post
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 800
File comments: 859
Uploads: 17
Okay, to update to 4.2 I've found this

Code:
 local hasFocus, toonName, client, realmName, faction, race, class, guild, zoneName, level, gameText, broadcastText, broadcastTime = BNGetToonInfo(toonID)
Change to:

Code:
 local hasFocus, toonName, client, realmName, _, faction, race, class, guild, zoneName, level, gameText, broadcastText, broadcastTime = BNGetToonInfo(toonID)
Haleth is offline Report comment to moderator  
Reply With Quote
Old 01-24-11, 10:19 AM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 263
Uploads: 5
Code:
[20:17:56] Interface\AddOns\yClassColors\guild.lua:24: attempt to concatenate local 'name' (a nil value)
Interface\AddOns\Auctionator\AtrErrorInspector.lua:101: in function <Interface\AddOns\Auctionator\AtrErrorInspector.lua:50>
[C]: ?
Interface\AddOns\yClassColors\guild.lua:24: in function <Interface\AddOns\yClassColors\guild.lua:10>
[C]: in function `GuildRoster_Update'
...ace\AddOns\Blizzard_GuildUI\Blizzard_GuildRoster.lua:60: in function <...ace\AddOns\Blizzard_GuildUI\Blizzard_GuildRoster.lua:54>
__________________
Proud author of IntricateChatMods, Wanderlust and SimplerMount.
ichik is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 01:28 PM  
Stanzilla
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 88
Uploads: 1
Originally posted by yleaf
I'm not able to test. Try this and tell me if that works: http://github.com/yaroot/yclasscolor
seems to work, well done!
Stanzilla is offline Report comment to moderator  
Reply With Quote
Old 10-19-10, 07:58 PM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
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
yleaf is offline Report comment to moderator  
Reply With Quote
Old 10-19-10, 03:12 PM  
Stanzilla
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 88
Uploads: 1
coloring playernames from other servers is no longer possible?
Stanzilla is offline Report comment to moderator  
Reply With Quote
Old 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:

---
leelomay is offline Report comment to moderator  
Reply With Quote
Old 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.
ichik is offline Report comment to moderator  
Reply With Quote
Old 10-14-10, 11:55 AM  
Haleth
Look at the post
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 800
File comments: 859
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.
Haleth is offline Report comment to moderator  
Reply With Quote
Old 09-12-10, 05:40 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
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.
yleaf is offline Report comment to moderator  
Reply With Quote
Old 09-11-10, 08:38 AM  
Haleth
Look at the post
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 800
File comments: 859
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
Haleth is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: