[Bug] Colour changing

Started by Xmair, Jun 13, 2018, 01:02 PM

Previous topic - Next topic

Xmair

Description
Whenever you use hex codes in ClientMessages, the last line is always white.

Reproducible
Always

What you were doing when the bug happened
ClientMessage( "This server was scripted by [#FFFFFF]Xmair[$FF]. A huge thanks to [#FFFFFF]Joker[$FF], [#FFFFFF]UncleMeme[$FF], [#FFFFFF]Zihad[$FF], [#FFFFFF]ShadowWarrior[$FF], [#FFFFFF]Gorcee[$FF] and [#FFFFFF]Xobert[$FF] for contributing throughout the beta version.", player, 176, 176, 176 );

What you think caused the bug
No idea.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

rww

#1
Here is grey?

[spoiler]


and after change the hex for a test


[/spoiler]
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

Xmair

Quote from: rww on Jun 13, 2018, 02:27 PMHere is grey?

[spoiler]


and after change the hex for a test


[/spoiler]
Then it's strange that it's only happening to me.

Quote from: vitogta on Jun 13, 2018, 03:46 PMhmm. I've tested to type in chat
d [#FFFFFF]Xobert[$AA] for contributing
and that string was clipped after [$AA] starts
what those codes means? any documentation?
[$FF] = forces the default colour.
For example:
ClientMessageToAll("[#FF0000]h[$FF]i", 255, 255, 255 );Here 255, 255, 255 ([#FFFFFF]) becomes the default colour and it'll print hi

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Stormeus

Additionally, [$80] will disable color tags for any text after that.

There are no other [$] tags and using them may cause behavior like the string being clipped.

@Xmair do you have a screenshot of the behavior you're seeing?

Xmair

Quote from: Stormeus on Jun 13, 2018, 04:44 PMAdditionally, [$80] will disable color tags for any text after that.

There are no other [$] tags and using them may cause behavior like the string being clipped.

@Xmair do you have a screenshot of the behavior you're seeing?

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Xmair

Sooooo @Stormeus, could you fix it in the upcoming update?

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Stormeus