Quote:
Joe: you might wanna look at your name maker code again. It's updating the setup name but not cl_name....
Code:
void M_Menu_Setup_f (void)
{
key_dest = key_menu;
m_state = m_setup;
m_entersound = true;
Q_strncpyz (setup_myname, cl_name.string, sizeof(setup_myname));//Update from the cvar
Q_strncpyz (setup_hostname, hostname.string, sizeof(setup_hostname));
setup_top = setup_oldtop = ((int)cl_color.value) >> 4;
setup_bottom = setup_oldbottom = ((int)cl_color.value) & 15;
}
Code:
case K_ENTER:
if (namemaker_cursor_y == NAMEMAKER_TABLE_SIZE)
{
Q_strncpyz (cl_name.string, namemaker_name, sizeof(namemaker_name));//Sput: update cl_name string
Q_strncpyz (setup_myname, cl_name.string, sizeof(setup_myname));//Sput: update name in setup menu
M_Menu_Setup_f ();
}
else
{
The name maker menu shouldn't update cl_name.string. It only gives you a more pleasant way to create your name if you don't know how to type the extra characters from keyboard. The name saving is done ONLY when one presses the "accept changes" button in the setup menu.
Quote:
Joe,
when exiting out of quake all edited servers in server list dont get saved.
This code will fix that
Code:
void SList_Load (void)
{
int c, len, argc, count;
char line[128], *desc, *addr;
FILE *f;
if (!(f = fopen (va("%s/servers.txt", com_basedir), "r")))
{
if (!(f = fopen(va("%s/servers.txt", com_gamedir), "w")))//R00k if not there create it!
{
Con_Printf ("Couldn't create servers.txt\n");
return;
}
}
The problem with the server list was that it hadn't saved the file if it wasn't exist. But this is fixed in build 1146.
Quote:
Jozsef wend will be +set viddis... out? i realy need that ficture pleaseeeeeeeeeeeeeeeeeeee Smile
the upcoming version will include it.
I might add that steam effect, but I'm not sure...