Author Topic: Bug: Fix code for displaying funnames  (Read 13972 times)

Herron

  • VM-68
  • Posts: 235
Re: Bug: Fix code for displaying funnames
« Reply #20 on: May 06, 2008, 09:56:30 PM »
I don't really care about the whole fixing it. It makes it stand out more and looks cool. It isn't a major priority. Now a new physics engine is a completely different matter.....

The code to fix it has been posted for 3 months

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Fix code for displaying funnames
« Reply #21 on: May 07, 2008, 04:34:56 PM »
Sorry, I didn't mean to ignore your code suggestion.  I don't think changing each piece of code where the name is displayed is the way to go about it.  It needs to be fixed at the source (either where the server gets the name from the client or the client gets the list of names from the server).  It's supposed to do this already.  I just haven't gotten a chance to check into why it sometimes doesn't work.

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Tweak: Remove colors from normal text
« Reply #22 on: February 25, 2011, 01:23:09 PM »
Make, that the normal text (no color, so white ingame) from the server or client doesn't use the colors from a nickname with bad funname code.


Now; bad funname code makes a colored text:

[17:43:48] *WsP=HAT (Spyder SE) eliminated *TheWing(FIN) (Spyder SE).


Better; only the nickname and team color splats are colored:

[17:43:48] *WsP=HAT (Spyder SE) eliminated *TheWing(FIN) (Spyder SE).

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Tweak: Remove colors from normal text
« Reply #23 on: February 25, 2011, 02:36:09 PM »

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Tweak: Remove colors from normal text
« Reply #24 on: February 25, 2011, 02:55:03 PM »
Oh, 3 years old... But good, that we spoke about it :P

rafalluz

  • VM-68
  • Posts: 131
Re: Tweak: Remove colors from normal text
« Reply #25 on: February 26, 2011, 01:17:58 PM »
Heh, it's pretty much a bug, not a feature per se.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Tweak: Remove colors from normal text
« Reply #26 on: February 26, 2011, 01:29:50 PM »
Heh, it's pretty much a bug, not a feature per se.
Yes, but the page is called "feature vote".

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Tweak: Remove colors from normal text
« Reply #27 on: February 28, 2011, 02:07:40 PM »
That should already be the case.  Do you have the guy's name with color codes so I can try to repro this?

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Tweak: Remove colors from normal text
« Reply #28 on: February 28, 2011, 03:12:40 PM »
Sure, the good old stdlogs and listuserip still have the funname codes :) If you ever change that, please save the funname code somewhere for things like this.

I hope the forum doesn't break the code: ˆAWsPˆ0½ˆAHˆ0ATˆ9

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: Tweak: Remove colors from normal text
« Reply #29 on: March 01, 2011, 12:19:29 AM »
That should already be the case.  Do you have the guy's name with color codes so I can try to repro this?

Works with every name, when you make a Colour at the end like

ˆ9ic3yˆO

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Fix code for displaying funnames
« Reply #30 on: January 07, 2012, 01:39:27 AM »
I have a fix for this in the next build.  Turns out I'm a retard and used checked for (s) instead of (*s) in a couple places when I was doing the format cleanup.

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Bug: Fix code for displaying funnames
« Reply #31 on: January 28, 2012, 06:41:33 PM »
With the name "ˆÖsˆ›uˆ×pˆ`lˆCaˆTjˆEdˆ`a… ", sometimes the name of the last weapon is colored. The name of the last player doesn't matter and i don't know why it has the funname code there.
I didn't tested all weapons, but PGP seems ok; Stingray and Trracer not.
It also add a line break (before the line is full), like you can see on the first screenshot.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Fix code for displaying funnames
« Reply #32 on: January 28, 2012, 07:31:38 PM »
Yeah, that's just an issue with how line wrapping is handled.

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Bug: Fix code for displaying funnames
« Reply #33 on: January 28, 2012, 07:34:57 PM »
The break or the color?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Fix code for displaying funnames
« Reply #34 on: January 28, 2012, 10:24:13 PM »
Yes. :)

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Bug: Fix code for displaying funnames
« Reply #35 on: January 29, 2012, 08:17:15 AM »
???

I hoped you write break, color or both.