Thread Tools Display Modes
07/20/15, 03:33 AM   #1
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Chat settings are server based?

interesting info

i login to the friend's account and looks like my chat settings was taken from the server

for example my friend using colors and size of the fonts, not default, and yes the imported to me too
also he using RUESO addon, im not
and when i login on his character from my PC i see this instead of
"Chat" on main tab

this supposed to be cyrillic letters if i will install RuESO

  Reply With Quote
07/20/15, 04:33 AM   #2
SmashingQuasar
Join Date: Jul 2015
Posts: 7
Nice info Is there any way to access server-side data?

By the way it might be a noobish question but how do you change the color of text contain in CT_LABEL objects? I want to color some things in the UI
  Reply With Quote
07/20/15, 05:44 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,000
Get the label control by help of
local labelCtrl = WINDOW_MANAGER:GetControlByName("name here", "")
if labelCtrl ~= nil then
labelCtrl:SetColor(r, g, b, a)
end

Or just use the name of the label control if you know it already
ZOS_GameMenuLabel1:SetColor(r, g, b, a)
  Reply With Quote
07/20/15, 06:54 AM   #4
SmashingQuasar
Join Date: Jul 2015
Posts: 7
Originally Posted by Baertram View Post
Get the label control by help of
local labelCtrl = WINDOW_MANAGER:GetControlByName("name here", "")
if labelCtrl ~= nil then
labelCtrl:SetColor(r, g, b, a)
end

Or just use the name of the label control if you know it already
ZOS_GameMenuLabel1:SetColor(r, g, b, a)
I'm sorry but my code doesn't seem to work correctly, it doesn't do anything.

Here's my code:

Code:
ZO_StatsPanelPaneScrollChildAttributeRow1HealthName:SetColor(191, 33, 40, 255) -- I also tried setting the alpha to 1 since it was unclear if the value was expressed as decimal or integer
The text color doesn't change at all :-/
  Reply With Quote
07/21/15, 03:34 AM   #5
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
also keybinds too - server based

why ZOS did this? interesting
  Reply With Quote
07/21/15, 07:11 AM   #6
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
because it's a mmorpg.

did you never played to other games ?
almost 99% of settings are server sided saved
  Reply With Quote
07/21/15, 09:51 AM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,000
Try something simple like :SetColor(1, 0, 0, 1) -- should be red then
Inspect ZO_StatsPanelPaneScrollChildAttributeRow1HealthName with ZGOO addon and see if the SetCoor function exists, and check if the "Name" child of ZO_StatsPanelPaneScrollChildAttributeRow1Health is the correct control to colorize. Maybe it has to be another control, like the parent ZO_StatsPanelPaneScrollChildAttributeRow1Health itsself.

I did not check the controls (currently at work) so you need to check for yourself please.

Originally Posted by SmashingQuasar View Post
I'm sorry but my code doesn't seem to work correctly, it doesn't do anything.

Here's my code:

Code:
ZO_StatsPanelPaneScrollChildAttributeRow1HealthName:SetColor(191, 33, 40, 255) -- I also tried setting the alpha to 1 since it was unclear if the value was expressed as decimal or integer
The text color doesn't change at all :-/
  Reply With Quote
07/21/15, 11:09 AM   #8
SmashingQuasar
Join Date: Jul 2015
Posts: 7
Originally Posted by Baertram View Post
Try something simple like :SetColor(1, 0, 0, 1) -- should be red then
Inspect ZO_StatsPanelPaneScrollChildAttributeRow1HealthName with ZGOO addon and see if the SetCoor function exists, and check if the "Name" child of ZO_StatsPanelPaneScrollChildAttributeRow1Health is the correct control to colorize. Maybe it has to be another control, like the parent ZO_StatsPanelPaneScrollChildAttributeRow1Health itsself.

I did not check the controls (currently at work) so you need to check for yourself please.
Thanks for your help, I will try this tonight, I'm always using Zgoo so the SetColor() function definitely exists for this control and it seems to be the proper control since it is the only one that contains the text I want (parent isn't even a CT_LABEL and doesn't contain any text)

Thanks for you help I'll tell you how things turn out
  Reply With Quote
07/21/15, 11:29 AM   #9
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
The r,g,b,a values are from 0-1 and its because you spelled it wrong, Attributes has an s on the end of it.
Lua Code:
  1. ZO_StatsPanelPaneScrollChildAttributesRow1HealthName:SetColor(1, 1, 0, 1)
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Chat settings are server based?


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