From e1e5bf1a82d8014aa387282baa6a3158c1b35dc8 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 10 Dec 2007 02:02:14 +0000 Subject: [PATCH] Expanded the limits to match what mvdsv/ezquake allow/expect. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2805 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/protocol.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fteqtv/protocol.h b/fteqtv/protocol.h index c44e1279..a3e08bab 100644 --- a/fteqtv/protocol.h +++ b/fteqtv/protocol.h @@ -1,19 +1,19 @@ //limitations of the protocol -#define MAX_SERVERINFO_STRING 1024 //standard quake has 512 here. -#define MAX_USERINFO 192 +#define MAX_SERVERINFO_STRING 1024 //standard quakeworld has 512 here. +#define MAX_USERINFO 1024 //standard quakeworld has 192 here. #define MAX_CLIENTS 32 #define MAX_LIST 256 #define MAX_MODELS MAX_LIST #define MAX_SOUNDS MAX_LIST #define MAX_ENTITIES 512 -#define MAX_STATICSOUNDS 64 +#define MAX_STATICSOUNDS 256 #define MAX_STATICENTITIES 128 #define MAX_LIGHTSTYLES 64 -#define MAX_PROXY_INBUFFER 4096 -#define MAX_PROXY_BUFFER (1<<17) //must be power-of-two +#define MAX_PROXY_INBUFFER 4096 //max bytes from a downstream proxy. +#define MAX_PROXY_BUFFER (1<<17) //must be power-of-two (buffer sizes for downstream, both sv/cl) #define PREFERED_PROXY_BUFFER 4096 //the ammount of data we try to leave in our input buffer (must be large enough to contain any single mvd frame) #define ENTS_PER_FRAME 64 //max number of entities per frame (OUCH!). @@ -56,7 +56,7 @@ //limits #define NQ_PACKETS_PER_SECOND 20 -#define MAX_MSGLEN 8000 //the biggest we can possibly allow +#define MAX_MSGLEN 8192 //the biggest datagram size we allow #define MAX_NQMSGLEN 8000 //nq has large reliable packets for the connection data #define MAX_QWMSGLEN 1450 //qw is fully split into individual packets #define MAX_NQDATAGRAM 1024 //nq datagrams are only 1k