Page 1 of 1

in game name change via menu

Posted: Thu Sep 13, 2012 11:28 pm UTC
by DwarfVader

Error Description:
changing the name while allready ingame via the menu doesn't work.

Error Behavior:
only the first letter gets written.

Reproduce procedure:
f.e try to colorize your allready existing name with ESC sequenzes (^+0-9) and/or change name via menu settings.

Possible workaround:
use steta name command via commandline.

Game Version:
alpha 0.7

System:
Xubuntu Linux 12.04 (64-Bit)
NVIDA 3D Accl. (driver vers. 304.43 )


Re: in game name change via menu

Posted: Fri Sep 14, 2012 7:11 am UTC
by E-Mxp

Oooh, yes, that is my fault. I accidentally set the max-characters to 1.
Till then, you can use the console to change your name.
Will be fixed in the next version!


Re: in game name change via menu

Posted: Fri Sep 14, 2012 7:47 am UTC
by DwarfVader

Nice! Thanks. I think thread can be closed ;)

greetz
DwarfVader


Re: in game name change via menu

Posted: Fri Sep 14, 2012 12:03 pm UTC
by ViruS
E-Mxp wrote:

Oooh, yes, that is my fault. I accidentally set the max-characters to 1.

H-h-h-h-how on earth?

Btw, i would like to request something as well: Since tremulous, ^[number] characters also count to the character limit. In other words, i can do a rainbow of colours, but my name would be very short (limited). Whereas, a completely blank name can get into the scores side.

@dwarf:
You don't need to do /seta name [name]. Just do /name [name].
Actually, i need to ask, whats the difference between seta and set? Does set no write to autogen.cfg or something like that?


Re: in game name change via menu

Posted: Fri Sep 14, 2012 12:21 pm UTC
by DwarfVader

@ViruS: i don't exactly know witch one does permanently write to the cfg file and witch command only sets the variable for the session beeing. But as i used the seta command in the past and my name is colored since then, i guess its the "seta" command to write out variables to your cfg file. Although to be 100% sure about that, i guess i'll have to ask google ....but:
... <- me lazy as hell ;)

greetz
DwarfVader


Re: in game name change via menu

Posted: Sat Sep 15, 2012 10:09 am UTC
by ViruS

I googled it. According to http://quakeforge.net/doxygen/cvars.html
seta is more permanent. Apart from that, they're both the same. For those who cbf reading the article:

Code: Select all

Cvar related commands.

<cvar> [value]
Display the current value of the specified cvar. If value is given, set the cvar to value. Does not create a new cvar.

set <cvar> <value>
Set the specified cvar to the specified value. If the cvar does not already exist, a new cvar will be created.

seta <cvar> <value>
Set the specified cvar to the specified value. If the cvar does not already exist, a new cvar will be created. Sets the cvar's archive flag so it will be automatically saved to config.cfg by the clients.

setrom <cvar> <value>
Set the specified cvar to the specified value. If the cvar does not already exist, a new cvar will be created. Sets the cvar's read-only flag so it can no longer be modified in any way (not even by reset or resetall).

toggle <cvar>
Treat the cvar as a boolean value, changing it from off to on, or on to off. Any non-zero integer value is considered to be on, while zero and any string that parses as zero (does not start with a non-zero number) will be treated as off. The new value will always be either one (1) or zero (0).

Note:
values smaller than 1 will be treated as off.