Commit Graph

34 Commits

Author SHA1 Message Date
Bill Currie f4dc013a3d back port the info key fix from 0.5. This should take care of the team
kicking.
2001-08-12 03:45:37 +00:00
Brian Koropoff 75ecbe3032 This change adds a new type of client connection state (cs_prespawned) to make sure
the client sends the prespawn, spawn, and begin commands in the correct order.
This stops several interesting cheats in TF as well as the posibility of avoiding the map
checksum.
2001-04-19 23:50:31 +00:00
Jeff Teunissen 49d7b35d43 New server Cvar: sv_extensions. When set to zero, it disables the extended
challenge, causing QF clients to not detect a QuakeForge server. This
makes the client not add the QF-specific info strings, in turn making it
not overflow original QW clients' limited setinfo space. This also
probably makes certain proxies work with QF servers again. It /also/ has
the side effect of disabling compressed downloads. If you want compressed
downloads, you need sv_extensions on.

Also, remove the "stdver" setinfo in the client -- it's handled by
*qsg_version if there's a QF server on the other end, so it was just
wasted space.
2001-03-09 04:50:14 +00:00
Bill Currie b10b829260 amputate an 8M cacerous growth from the memory footprint of the clients 2001-02-08 19:24:27 +00:00
Bill Currie a24894dc70 progs modularity improvements. what WAS sv_progs is now sv_pr_state, qwprog is
now sv_progs and the progs loading code no longer falls back to qwprogs.dat or
progs.dat. Also, call SV_Progs_Init_Cvars (forgot to do this earlier)
2001-01-28 23:27:48 +00:00
Bill Currie c6a06f6dc6 bump MAX_STUFFTEXT from 256 to 512 so pox will run 2001-01-16 03:29:21 +00:00
Bill Currie 5e86c729fa now progs and server really are separated :) 2001-01-03 07:08:28 +00:00
Bill Currie 0192ed40c3 the progs engine and the server are now completely independent paving the way
for CSQC.
2001-01-03 05:54:35 +00:00
Bill Currie 2debf6f669 now only svs is reverenced where it shouldn't be, and that's to set info
strings (skybox and *progs). skybox is easy to take care of (aditional parse
functions), but I haven't yet decided what to do with *progs. Also, progs code
needs a bit of a cleanup, but that will come later.
2001-01-02 03:22:46 +00:00
Bill Currie b6c832d900 while not 100% complete (sv is still referred to as well as r_skyname), the
progs engine no longer refers to any global vars. This alows for multiple progs
being loaded (NOTE: NOT multiple mods, but (eg) for various protocol
extensions) and, once the last couple of issues are taken care of, CSQC.
2000-12-31 07:43:09 +00:00
Bill Currie 73980fe852 make qf-server REALY sleep when there are no clients currently connected 2000-12-29 05:32:24 +00:00
Dabb 462138e983 More fun missed by Havoc, SV_Init(void) 2000-11-27 15:30:09 +00:00
Bill Currie 86f87122c0 zlib support (gzipped pack contents). if you have a probelm with gzgets, you
have 3 choices: remove /usr/X11R6/lib/libz.a, --diable-zlib, or fix configure.
I do intend on fixing it myself.
2000-09-27 19:44:26 +00:00
Zephaniah E. Hull 210ba16069 First off in gl_draw.c we have some nice cleanup code for the upload
code.

Then we have the completely purge of treating 'unsigned' as a type, it
is NOT a type, it is a TYPE MODIFIER!

Under gcc for x86 it happens to try and do something sane, just treat it
as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds
code which uses unsigned as a type in itself I /WILL/ harm them!!!
2000-09-22 09:08:08 +00:00
Zephaniah E. Hull 23d81824dc Old draw cleanups, frogot I had them around..
Clean up of Dabb's mess, he dies.
2000-08-14 04:53:45 +00:00
Dabb afc467b84f Basic DoS flood attack protections. Use sv_netdosprotect 1 to turn them on.
(quite experimental, these might break something...)
Cvars added: sv_allow_log, sv_allow_status, sv_allow_ping, sv_netdosprotect
Commands added: netdosexpire, netdosvalues
2000-08-13 14:26:20 +00:00
James Brown 089a0a35d0 Patched for QSG Standard 2 (Extend Protocol).
Unfinished, renderer effects are only half implimented at this point.
2000-06-25 13:00:19 +00:00
Anton E. Gavrilov 6024c0ce7f Solution for stufftext problem 2000-06-18 14:24:19 +00:00
Bill Currie ee3f88d57d add format checking to our printf style functions and correct the consequences
of this.
2000-06-17 12:27:59 +00:00
Anton E. Gavrilov 3644a3056e host_frametime --> sv_frametime for server;
CVAR_FIXME cleanup.
2000-06-09 19:22:30 +00:00
Anton E. Gavrilov 39b83b626b Rename client_state_t to sv_client_state_t;
client_state_t cls ---> client_static_t cls;
2000-06-09 18:47:12 +00:00
Joseph Carter 3d59dfed98 Before I can fix the (MANY!) problems with newtree, I have to fix the
little problem of mixed QFile and FILE.  Since we're not using ZLib in
this tree, QFile makes no real sense.  That didn't fix the real problem
I am having though.
2000-05-22 21:16:22 +00:00
Bill Currie e68701838a white space cleanup for last checkin 2000-05-22 08:44:34 +00:00
Bill Currie 2fd97f5eab header (C) block touch ups 2000-05-22 08:26:01 +00:00
Bill Currie af032b8d55 port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
James Brown fa06af16e4 Movetype_ppush stuff, take 1 2000-05-20 05:59:34 +00:00
Yan Sweitzer 440b2aec18 added uniform #ifdef _xxx_H encapsulation and appropriate includes to avoid header dependencies and circular conflicts
(work in progress, need to clean .c files as well)
2000-05-19 06:44:56 +00:00
Dan Olson 1d26c02826 Cvar merge... segfault problems... also unknown problems in vid_svga.c 2000-05-16 04:47:41 +00:00
Dan Olson bfbfc01491 This would be the real fix for stuff left over from the #ifdef massacre.
The last two revsions were failed attempts to do this
2000-05-14 20:25:49 +00:00
Dan Olson 4312654fc2 Merc's speed cheat code ported from oldtree 2000-05-14 19:29:57 +00:00
Dan Olson 1fc4396f12 Revert my dumb error 2000-05-14 18:46:05 +00:00
Dan Olson a5b47d2b45 Fix demos 2000-05-14 17:28:08 +00:00
Dan Olson 74d4cd2399 no more #ifdef SERVERONLY in net_chan.c 2000-05-12 00:11:41 +00:00
Joseph Carter d859383680 Initial revision 2000-05-10 11:29:38 +00:00