Page 1 of 2

[Fixed] Text colors wrong because of colored nicknames

Posted: 04 Dec 2014, 12:51
by novationx
Hi,

Ingame the notification texts are always in white.

" Player has won the round."
"Team wins the match."
" Player did a 1cm rocket dodge."
= Normal

Now when the player has a nickname using colors and he doesnt reset the style at the end of his nickname then the notifications change color too.

--> " Player has won the round."
--> "Player did a 1cm rocket dodge."
--> " Team wins the match."


You see how annoying it is? I cant read the last 2 lines (barely).
Could you fix this?

Is also happens with other texts, but this one is the most important.

Re: Text colors wrong because of colored nicknames

Posted: 04 Dec 2014, 14:21
by Eole
Just to be sure, this happens only with players that format their nicknames in a specific way that triggers the bug (I won't explain how for obvious reasons ^^) or with any player that has color in his nickname?

Re: Text colors wrong because of colored nicknames

Posted: 04 Dec 2014, 14:32
by djhubertus
When player forgot to bring default color back: example

Code: Select all

$fd0$w$oToRRent
$z is missing. I saw that some phrases uses $<%1$> to close formatting(?) but not all.

Re: Text colors wrong because of colored nicknames

Posted: 04 Dec 2014, 14:32
by novationx
if he has a blue nickname then the text will be blue.
if he has a pink nickname then the text ( the notification following his name ) will be pink.

Thats all I know.

The notification copies the color of the nickname

Re: Text colors wrong because of colored nicknames

Posted: 05 Dec 2014, 13:22
by Eole
novationx wrote:if he has a blue nickname then the text will be blue.
if he has a pink nickname then the text ( the notification following his name ) will be pink.

Thats all I know.

The notification copies the color of the nickname
Okay, but do you have the problem with any colored nickname or just some of them? If it happens only sometimes, with some colored nicknames, then the problem come from the nicknames. If it happens every times, whatever the colored nickname, then it's a problem with the notification text.
Could you also precise in which game mode it happens. Judging from the sentences you gave it's Elite but does it happens in other game modes? And which language are you using?
djhubertus wrote:I saw that some phrases uses $<%1$> to close formatting(?) but not all.
$<%1$> restore the formatting that was present before the $<. Basically $< save the current formatting and $> restore it. Eg :
$f00 AAA $<$00f BBB $> CCC -> AAA will be red, BBB blue and CCC red.

Re: Text colors wrong because of colored nicknames

Posted: 05 Dec 2014, 13:30
by novationx
I can confirm in Instagib & Elite.
It also happens in the chat & people are doing it on purpose so whatever they say in chat becomes more visible.

( But the chat doesnt bother me , its the notifications that make me confused )

It happens with some nicknames, not all. But I think the explanation is given to you by djhubertus.
The notifications take over the last color of the nickname in front of it ( And I think its because the nickname doesnt use $z at the end. )

Cant you just put $z infront of every notification? Problem solved.


My language : English

Re: Text colors wrong because of colored nicknames

Posted: 10 Dec 2014, 23:33
by Livert
I didn´t finish my Nickname with $z. My Nickname ends with white colour ($FFF I think) so the notification should be written in white then and not in the teamcolour in case your suggestion would be right!? As far as I can see my chattexts and the notifications are in standard colours^^

(I didn´t even know that there is a shortcut which sets things back to normal and it does appear to me that most of the players wouldn´t think about using that at the end when they create their nicknames for the first time so we might see the problem a little more often if your suggestion was the case)

My guess would be that they finish their name with the shortcut for a colour without writing any more letters behind it. I guess it´s simply try and error to find out how people do it^^

Re: Text colors wrong because of colored nicknames

Posted: 12 Dec 2014, 13:48
by novationx
Ty to clear this up Lukas <3
Im no coder so I didnt know how to fix it. I just observe & report ^^

Hopefully now this can be fixed :thumbsup:

Re: Text colors wrong because of colored nicknames

Posted: 17 Dec 2014, 01:17
by novationx
some extra examples

Image
Yellow name in chat, White name in sidebars.

Image
Whit name in hud, blue name in notification.

Image