help updated, shows build date now too

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2325 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
JohnNy_cz 2006-06-11 12:09:29 +00:00
parent e1de557863
commit 78c35eee81
1 changed files with 18 additions and 1 deletions

View File

@ -22,6 +22,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define MAX_INFO_KEY 64
#define HELPSTRING "\
FTEQTV proxy commands: (build "__DATE__")\n\
----------------------\n\
connect, qtv, addserver\n\
- connect to a MVD stream (TCP)\n\
qw\n\
- connect to a server as a player (UDP)\n\
adddemo\n\
- play a demo from a MVD file\n\
port\n\
- UDP port for QuakeWorld client connections\n\
mvdport\n\
- specify TCP port for MVD broadcasting\n\
maxviewers, maxproxies\n\
- limit number of connections\n\
status, choke, late, talking, nobsp, reconnect, exec, password, master, hostname, record, stop, quit\n\n"
char *Info_ValueForKey (char *s, const char *key, char *buffer, int buffersize)
{
char pkey[1024];
@ -468,7 +485,7 @@ char *Cluster_Rcon_Dispatch(cluster_t *cluster, char *arg[MAX_ARGS], char *buffe
}
else if (!strcmp(arg[0], "help"))
{
return "FTEQTV proxy\nValid commands: connect, addserver, adddemo, status, choke, late, talking, nobsp, exec, password, master, hostname, port, maxviewers, maxproxies\n";
return HELPSTRING;
}
else if (!strcmp(arg[0], "mvdport"))