More text colors

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Alien » Wed Feb 11, 2009 8:06 am

Ok, it seems notepad is cheating. At least it can almost correctly save in unicode not like wordpad. We can still use 8859-1 extension in that case.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Wed Feb 11, 2009 9:38 am

Again, there is no TIME to change that. Forget it. There isn't even any USE in it. Increasing the name length, however, is easy: MAX_SCOREBOARDNAME can be increased without any large problems (but would annoy people who host mvdsv Quake servers). With some extra work, it could be increased for GAME_NEXUIZ only by doing if checks where it occurs. Anyone volunteer to do such a patch?
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 terencehill » Wed Feb 11, 2009 3:29 pm

Instead of raising up MAX_SCOREBOARDNAME, could be a practicable solution to add another field: longname with a higher char limit, keeping the name?
I don't know the implications of this choice, whether it's harder or not to implement. The idea is to keep easily compatibility with the other games.
terencehill
Alien
 
Posts: 176
Joined: Thu Jul 10, 2008 10:33 pm
Location: Italy

Postby terencehill » Fri Feb 13, 2009 1:04 pm

divVerent wrote:Again, there is no TIME to change that. Forget it. There isn't even any USE in it. Increasing the name length, however, is easy: MAX_SCOREBOARDNAME can be increased without any large problems (but would annoy people who host mvdsv Quake servers). With some extra work, it could be increased for GAME_NEXUIZ only by doing if checks where it occurs. Anyone volunteer to do such a patch?


If you mean that every time a name is used in any algorithm I have to do a check of GAME_NEXUIZ, I can do it. Otherwise, I haven't enough knowledge to distinguish where I have to do it and where not.
So... If it is simple I guess I have to define a new constant: MAX_SCOREBOARDLONGNAME (>64) and use it only when GAME_NEXUIZ is true; if it's false I use the old MAX_SCOREBOARDNAME.
Div: Am I right? And what do you think about the previous post?
terencehill
Alien
 
Posts: 176
Joined: Thu Jul 10, 2008 10:33 pm
Location: Italy

Postby divVerent » Fri Feb 13, 2009 4:53 pm

terencehill wrote:Instead of raising up MAX_SCOREBOARDNAME, could be a practicable solution to add another field: longname with a higher char limit, keeping the name?
I don't know the implications of this choice, whether it's harder or not to implement. The idea is to keep easily compatibility with the other games.


More complicated.
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

Previous

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron