Page 1 of 1

Chat colors.

PostPosted: Mon Mar 01, 2010 1:46 pm
by Tinantiol
I would like to know how change the color of a chat: example /broadcast = blue and i would have /pvp "(another color)". How can i do that?

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 1:50 pm
by Tinantiol
I found http://www.dolserver.net/viewtopic.php? ... chat+color but it don't seems to help me..

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 1:51 pm
by Tolakram
It's all part of the client, all you can control is what channel the text is sent too. Look at the enum eChatType for all the supported channels.

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 1:59 pm
by Tinantiol
mmm i found that into my broadcast.cs
Code: Select all
eChatType.CT_Staff, eChatLoc.CL_SystemWindow);
If what i think is correct this should be Yellow right?

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 2:02 pm
by Tolakram
It depends on how you have your client setup. You set the colors in the client, the server just adds a channel tag in front of the message so your client knows what channel to use. If you send a message to CT_Broadcast and in your client settings (In Game) you have broadcast set to yellow then the text will be yellow.

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 2:04 pm
by Tinantiol
oohhh i got it. i can only set it before... then the client can change it in-game!

am i wrong?

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 2:08 pm
by tobz
Correct. The client has a list of message types, and they set how each type should look, color-wise. From the server, you can only tell the client what type of message it is.

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 2:12 pm
by Tinantiol
Correct. The client has a list of message types, and they set how each type should look, color-wise. From the server, you can only tell the client what type of message it is.
lol i'm a noob ^^ Thanks to all for help and let me understand that!

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 5:56 pm
by stephenxpimentel
You can't change the Staff chat color afaik, so that will always be yellow.

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 10:15 pm
by Tinantiol
You can't change the Staff chat color afaik, so that will always be yellow.
i would not change that -.- just would like to change a custom broadcast (only for region pvp for example) giving it another color different from /broadcast command.

Re: Chat colors.

PostPosted: Mon Mar 01, 2010 11:20 pm
by -Shawn-
mmm i found that into my broadcast.cs
Code: Select all
eChatType.CT_Staff, eChatLoc.CL_SystemWindow);
If what i think is correct this should be Yellow right?

yeah thats right you could do like

CT_Trade
CT_Send
CT_Guild
CT_Group


etc etc etc

Re: Chat colors.

PostPosted: Tue Mar 02, 2010 1:17 pm
by Tinantiol
mmm i found that into my broadcast.cs
Code: Select all
eChatType.CT_Staff, eChatLoc.CL_SystemWindow);
If what i think is correct this should be Yellow right?

yeah thats right you could do like

CT_Trade
CT_Send
CT_Guild
CT_Group


etc etc etc
Thanks Shawn i think you are the only one that understood what i mean ^^

Re: Chat colors.

PostPosted: Wed Mar 03, 2010 3:10 am
by -Shawn-
anytime :P