MantisBT - Zandronum
View Issue Details
0000275Zandronum[All Projects] Bugpublic2011-02-01 00:522018-09-30 20:10
Qent 
Torr Samaho 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
1.0 
1.0 
0000275: [98e-r3079] Backslashes in name count as characters
Color codes in names are counted as 3 characters instead of 2 for the purpose of limiting name length.
Enter the command "name \ca1234567890123456789012345678901234567890" to max out the name with an ending \c-. The textual part of the name is 28 characters long. Now do "name \ca\ca1234567890123456789012345678901234567890" to add an extra color code to the beginning. The textual part of the name is now 25 characters long.
No tags attached.
Issue History
2011-02-01 00:52QentNew Issue
2011-02-01 03:28Torr SamahoNote Added: 0000910
2011-02-01 03:28Torr SamahoNote Edited: 0000910bug_revision_view_page.php?bugnote_id=910#r423
2011-02-01 03:39QentNote Added: 0000911
2011-02-01 11:27Torr SamahoNote Added: 0000913
2011-02-01 13:18QentNote Added: 0000915
2011-02-01 13:19Torr SamahoNote Added: 0000916
2011-02-01 13:19Torr SamahoAssigned To => Torr Samaho
2011-02-01 13:19Torr SamahoStatusnew => feedback
2011-02-02 01:34QentNote Added: 0000919
2011-02-02 01:34QentStatusfeedback => assigned
2011-02-03 01:17Torr SamahoNote Added: 0000933
2011-02-03 01:18Torr SamahoStatusassigned => resolved
2011-02-03 01:18Torr SamahoFixed in Version => 1.0
2011-02-03 01:18Torr SamahoResolutionopen => fixed
2011-02-03 01:18Torr SamahoProduct Version => 1.0
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug
2018-09-30 20:10Blzut3Statusresolved => closed

Notes
(0000910)
Torr Samaho   
2011-02-01 03:28   
For technical reasons backslashes are escaped, thus when the names are transferred over the network a color code actually needs 3 chars. So this is not a bug.

(0000911)
Qent   
2011-02-01 03:39   
Oh darn. :( Any chance of getting the same length limits as 98d back?
(0000913)
Torr Samaho   
2011-02-01 11:27   
The limits of 98e-alpha are different from 98d? They were not supposed to be changed. Probably there is still a problem with the implementation of 0000079.
(0000915)
Qent   
2011-02-01 13:18   
Color codes in 98d count as 2, so you could have a maximum of 11 characters with 10 different colors. In r3079 you can have a maximum of 10 characters with 7 different colors.
(0000916)
Torr Samaho   
2011-02-01 13:19   
There is a counting bug with the implementation of 0000079. Please test if this works better.
(0000919)
Qent   
2011-02-02 01:34   
Yes, names with colors work as before.
(0000933)
Torr Samaho   
2011-02-03 01:17   
I'm glad to hear that :).