Closed Crumdidlyumshis closed 8 years ago
Lua errors included?
Hmm, ill try again. I didn't see any LUA errors popup.
Nope, no LUA errors. I have it enabled.
new update removes the color level, is working only on the client ru :(
Could the plugin have an option in ElvUI to enable color if preferred?
Maybe a Checkbox with yes or no color.
If not, which line could I edit to show the color?
check update
Haha so close!
Almost there!
:(
check
Ill mess with it and see if I can't help some. Your work is much appreciated Bunny!
local textFormat = locale == "ruRU" and "%s%s|r, %s%s-го уровня" or locale == "enUS" and "%s%s|r, %sStufe %s" or "%s%s|r, %sLevel $s";
enUS
"%s%s|r, %sLevel $s" = all locale except the ruRU and deDE. not necessarily add enUS Right now it works?
I think I fixed it... http://pastebin.com/vs0hanuZ
Also I get an error when friends sign on and off:
ERROR 1
Message: ...ns\ElvUI_FriendsListColor\ElvUI_FriendsListColor.lua:29: attempt to index local 'friend' (a nil value) Time: 08/18/16 22:14:56 Count: 2 Stack: [C]: ? ...ns\ElvUI_FriendsListColor\ElvUI_FriendsListColor.lua:29: in function <...ns\ElvUI_FriendsListColor\ElvUI_FriendsListColor.lua:24> (tail call): ? [C]: in function `FriendsList_Update' Interface\FrameXML\FriendsFrame.lua:1193: in function <Interface\FrameXML\FriendsFrame.lua:1188> (tail call): ?
Locals:
ERROR 2
Message: ...ns\ElvUI_FriendsListColor\ElvUI_FriendsListColor.lua:29: attempt to index local 'friend' (a nil value)
Time: 08/18/16 22:16:57
Count: 1
Stack: [C]: ?
...ns\ElvUI_FriendsListColor\ElvUI_FriendsListColor.lua:29: in function <...ns\ElvUI_FriendsListColor\ElvUI_FriendsListColor.lua:24>
(tail call): ?
[C]: in function FriendsList_Update' Interface\FrameXML\FriendsFrame.lua:245: in function <Interface\FrameXML\FriendsFrame.lua:243> [C]: in function
Show'
Interface\FrameXML\UIParent.lua:1580: in function SetUIPanel' Interface\FrameXML\UIParent.lua:1424: in function
ShowUIPanel'
Interface\FrameXML\UIParent.lua:1311: in function <Interface\FrameXML\UIParent.lua:1307>
[C]: in function SetAttribute' Interface\FrameXML\UIParent.lua:1974: in function
ShowUIPanel'
Interface\FrameXML\FriendsFrame.lua:1431: in function `ToggleFriendsFrame'
Locals:
Class text does need? After all, the name of the color of the class
I put some spacing in-between the icon and text and changed the level to #999999 hexadecimal value.
local textFormat =
locale == "ruRU" and "%s%s|r, %s%d-го уровня" or
locale == "deDE" and "%s%s|r, |cffb3b3b3Stufe %s%d" or
"%s%s|r, |cff999999Level %s%d";
textFormat = " " .. classIcon .. " " .. textFormat;
How can I add the class name after the level?
offline level text is too bright :(
im gonna close this.
https://github.com/ElvUI/ElvUI_FriendsListColor/commit/c92fabf5c9f3ca59f2bc444bdcb0b57fba03de48
Shouldn't it be like this?:
Good: Monka, Level 50 Hunter
Bad: Monka,Level 50
Also, aren't the colors of the numbers (1-80) supposed to be colored in relation to your level?