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,811
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-29-18, 12:52 PM  
Azona
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
8.0 issues

So testing out if this still works with updated class colors addon for wow 8.0

I come across following error.

yClassColors\battlefield.lua:8: 'for' limit must be a number
yClassColors\battlefield.lua:8: in function <yClassColors\battlefield.lua:4>
[C]: in function `WorldStateScoreFrame_Update'
FrameXML\WorldStateFrame.lua:64: in function <FrameXML\WorldStateFrame.lua:62>
[C]: in function `Show'
FrameXML\UIParent.lua:3131: in function <FrameXML\UIParent.lua:3126>
[C]: in function `ShowUIPanel'
FrameXML\WorldStateFrame.lua:700: in function `ToggleWorldStateScoreFrame'
FrameXML\QueueStatusFrame.lua:28: in function <FrameXML\QueueStatusFrame.lua:20>

Locals:
inArena = false
offset = 0
(for index) = 1
(for limit) = nil
(for step) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "'for' limit must be a number"
ycc = <table> {
classColor = <table> {
}
diffColor = <table> {
}
myName = "Athiellia"
guildRankColor = <table> {
}
classColorRaw = <table> {
}
}

sadly im no coder and I hope someone update this addon, im big fan of custom class colors and this breaking makes me sad.

I hope someone read this that is able to fix the issue.

Also dont know if addon used to do it, but new communitiesframe not showing class colors, fix who now showing class colors at class, but other stuff are to much for me to fix.

Raid frame at doenst do it anymore either. I think it used to do it?
Last edited by Azona : 07-29-18 at 01:40 PM.
Report comment to moderator  
Reply With Quote
Unread 09-01-16, 12:01 PM  
Xeii
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Originally Posted by Banur
For those still using this addon as well, you need to change line 31 from BNGetToonInfo to BNGetGameAccountInfo.

Code:
local hasFocus, *stuff snipped*, _, _ = BNGetGameAccountInfo(toonID)
tyvm for this!
Report comment to moderator  
Reply With Quote
Unread 07-23-16, 02:59 AM  
Banur
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 137
Uploads: 5
For those still using this addon as well, you need to change line 31 from BNGetToonInfo to BNGetGameAccountInfo.

Code:
local hasFocus, *stuff snipped*, _, _ = BNGetGameAccountInfo(toonID)
Last edited by Banur : 07-23-16 at 03:00 AM.
Report comment to moderator  
Reply With Quote
Unread 09-26-13, 09:03 AM  
Lulleh
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 77
Uploads: 3
Very nice, only thing I can think of is that there's no way to see who is online on a Horde character or Alliance in the friends list (mouseover works ofc) but that would be a nice feature. Personally to avoid too many colors how about:

Lulleh (Lullehswarrior)

Lulleh2 (Lullehswarriortwo)

You get the idea,
Report comment to moderator  
Reply With Quote
Unread 04-02-12, 05:55 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
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
Report comment to moderator  
Reply With Quote
Unread 11-09-11, 12:38 PM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 393
Uploads: 1
player marking doesn't work as you've added it
http://nopaste.info/4b25781dda.html <- this works
__________________
Report comment to moderator  
Reply With Quote
Unread 07-10-11, 01:37 PM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
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
Report comment to moderator  
Reply With Quote
Unread 06-30-11, 11:01 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

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

Forum posts: 0
File comments: 50
Uploads: 13
I'm gonna do some test and update this addon tonight (UTC+08:00)
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 08:31 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
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)
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 11: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.
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 01:28 PM  
Stanzilla
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 146
Uploads: 6
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!
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
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, 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
Post A Reply



Category Jump: