Bold characters in SVN

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Bold characters in SVN

Postby Workaphobia » Tue Feb 19, 2008 3:06 am

Using the GUI to add bold characters to my name in a recent SVN build sometimes fails, resulting in my name getting truncated. For instance, ^5WorkaPhobia, where the W and P are bold and the rest are normal characters, results in a name of ^5, which displays as two double quotes, the second of which is colored. I think this isn't specific to the menu, but happens on the console level as well (so it is probably an issue with older clients as well, but I haven't tested it). I can set my name by (hex)editting the _cl_name entry in my config file, but creating an alias in my autoexec to do this manually from the console after start doesn't work.

Has anyone else had problems using bold characters in combination with normal ones?
Workaphobia
Advanced member
 
Posts: 59
Joined: Tue Feb 28, 2006 11:08 pm
Location: Troy, NY

Postby divVerent » Tue Feb 19, 2008 2:02 pm

Thanks for reporting, just fixed.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Workaphobia » Thu Feb 21, 2008 9:31 am

Cool, thanks. Out of curiosity, what was the bug? I got my SVN build from your website after I found the link somewhere else - is the repository itself public somewhere so I can see the source diff?
Workaphobia
Advanced member
 
Posts: 59
Joined: Tue Feb 28, 2006 11:08 pm
Location: Troy, NY

Postby divVerent » Thu Feb 21, 2008 10:04 am

The bug is that DP cuts off lines with a special character in them, if that character isn't quoted. IIRC this behaviour is intentional, to prevent weird behaviour these characters may cause.

The menu executed

name $_cl_name

to send the new name to the server, but it SHOULD have used

name "$_cl_name"
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron