Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/07/14, 09:37 PM   #1
Faustus
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 18
SetChatCategoryColor Problem

So I'm developing my first Addon that changes all of the chat colors found under Settings -> Social

I saw in the API theres a command called SetChatCategoryColor (integer category, number red, number green, number blue) that enables you to do this.

The problem I'm having is that the RGB values seem to not work. For every category, it either sets it as black or white in the Social settings. However, when I actually chat, it semi-works.

Example:

SetChatCategoryColor(2, 255, 64, 64); - Should change the yell chat color to slightly different shade of red

When I look at the social settings, the color appears as white. However, if I test the yell command it shows up as white while typing, but after entering, it appears red with the code c03fc0 infront of my text:


Is the API bugged, or is my Addon just setup wrong? My .lua file is just a series of SetChatCategoryColor calls. Also, I have my .txt file with the addon information.

Edit: According to GetChatCategoryColor() the RGB value is properly saved.

Thanks for any help

Last edited by Faustus : 07/07/14 at 10:01 PM.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » SetChatCategoryColor Problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off