Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Commit

Permalink
minor messing with server build messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
hobgoblin committed Jul 15, 2013
1 parent 32fa97b commit b2bc564
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 1 addition & 6 deletions cl_demo.c
Expand Up @@ -302,12 +302,7 @@ int CL_GetMessage (void)
{
ch = demo_head[0] + demo_head_size[0];
*ch++ = svc_print;
ch += 1 + sprintf(ch, "\n\35\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\37\n"
"\n \01\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\03");
*ch++ = svc_print;
ch += 1 + sprintf(ch, "\02\n QBISM SERVER BUILD %s"
"\n \07\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\11"
"\n\n\35\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\37\n\n", BUILDVERSION);
ch += 1 + sprintf(ch, "\02\n demo recorded with QBISM BUILD %s", BUILDVERSION);
demo_head_size[0] = ch - (char *) demo_head[0];
}
}
Expand Down
6 changes: 5 additions & 1 deletion host_cmd.c
Expand Up @@ -1065,7 +1065,11 @@ void Host_Name_f (void)

void Host_Version_f (void)
{
Con_Printf ("Version %s\n", BUILDVERSION); //qb: changed to integer to match build #
Con_Printf ("\n\35\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\37\n"
"\n \01\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\02\03"
"\02\n QBISM SERVER BUILD %s"
"\n \07\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\10\11"
"\n\n\35\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\37\n\n", BUILDVERSION); //qb: changed to integer to match build #
Con_Printf ("Exe: "__TIME__" "__DATE__"\n");
}

Expand Down
2 changes: 1 addition & 1 deletion sv_main.c
Expand Up @@ -402,7 +402,7 @@ void SV_SendServerinfo (client_t *client)
}

MSG_WriteByte (&client->message, svc_print);
sprintf (message, "QBISM SERVER BUILD %s\n", BUILDVERSION); //johnfitz -- include fitzquake version
sprintf (message, "\nQBISM SERVER BUILD %s\n", BUILDVERSION); //johnfitz -- include fitzquake version
MSG_WriteString (&client->message,message);

MSG_WriteByte (&client->message, svc_serverinfo);
Expand Down

0 comments on commit b2bc564

Please sign in to comment.