Commit graph

142 commits

Author SHA1 Message Date
Anton E. Gavrilov
a221dfe674 Fixed a harmless id bug (wrong setting of maxspectators)
Fixed setting of some cvars via ->value (evil!)
2000-05-19 07:28:38 +00:00
Joseph Carter
2188d1a975 serverinfo sv_allowflymode -> serverinfo playerfly 2000-05-17 08:20:11 +00:00
Joseph Carter
6b7b6512ac NOTE: You MUST do serverinfo sv_allowflymode 1 for Mega2k! (This will
soon change I hope so you don't have to do anything..  In the meantime,
NOT doing it fixes the problem with MegaTF 6.1.99 and older..)
2000-05-15 06:15:42 +00:00
Anton E. Gavrilov
079daee12a Added sv_nailcompression cvar. 2000-05-05 15:58:46 +00:00
Joseph Carter
9c567e579e Changes that don't really affect anything 2000-05-05 08:55:49 +00:00
Bill Currie
a05d712277 apply the "final" borland c patches from our Jukka Sorjonen 2000-05-03 05:12:18 +00:00
Bill Currie
4dcba0d9e0 qw_server/sv_main.c:
added quakeforge.conf handling
common/gl_draw.c:
	just a comment
2000-05-02 07:12:04 +00:00
Bill Currie
1c51351d95 apply a patch from someone (oi, speak up, whoever you are) to convert \r to # in say messages to prevent the overwriting of nicks.
However, I modified it slightly so it happens before the Sys_Printf and made it cvar controllable (off by default for now).
2000-05-02 00:43:53 +00:00
Bill Currie
e94c1488ac shuffle things around so gamedir works early on in the piece. Also put it into qw-client in the first place. grr Unfortunatly, doesn't fix our class change problem :( 2000-04-27 09:25:38 +00:00
Bill Currie
9afa18b5f8 !lart taniwha for forgetting to make clean after changing headers 2000-04-27 04:55:43 +00:00
Bill Currie
439c26b18b developer 1 will cause +... output when things are executed
Also, move the developer cvar to it's new home in cvar.c and cvars.h
2000-04-27 04:33:30 +00:00
Bill Currie
b7ebd7efa6 fix an inconsistency devkev found. It's not (yet) a problem in our code, but it was causing sefaults in in qwf. 2000-04-21 12:42:33 +00:00
Joseph Carter
8a65ae8ca9 If we treat MOVETYPE_WALK as MOVETYPE_PUSH the catapult in df42 seems to
behave itself a little more often.  I can find no explanation why and it
seems like it should possibly do nothing, but it SEEMS to help.

Thanks for the suggestion Tim.
2000-04-20 02:55:02 +00:00
Loring Holden
052c4866ac Now uses autoconf instead of:
#if defined(unix) || defined(_AIX) || defined(__NetBSD__)
2000-04-18 15:57:40 +00:00
Pontus Lidman
52dfc473fc NetBSD has stuff in errno.h 2000-04-17 19:33:13 +00:00
Joseph Carter
47bed98da1 new serverinfo key: *qsg_standard, set to 1.
How view height changes in QW are passed from server to client HAS CHANGED
and you will need to update both client and server for things not to act
weird.  You may also need to distclean before rebuilding..
2000-04-15 11:20:28 +00:00
Jeff Teunissen
c42c12ea84 Whoops. Fix host_frametime min/max screwup. :) 2000-04-06 15:09:47 +00:00
Jeff Teunissen
5fe2d742d5 Added cvars to configure (or disable) the server-side time cheat
protection.

sv_timekick: This cvar controls the number of times a player has to
be caught "cheating" before they get kicked. sv_timekick shows up in
serverinfo if changed from the default. If sv_timekick < 1, timecheat
detection is disabled. Default is 3.

sv_timekick_fuzz: This cvar affects how strict the protection is. The
higher the number, the more "fuzz" is applied, and the less strict the
detection code is. Raise this if your players are being kicked for packet
loss and lag. Default is 10, giving a fuzz factor of about 1 percent.

sv_timekick_interval: This cvar controls how often, in seconds, the time
tally is counted. Lowering this value increases the chance of false
positives, but helps to minimize the amount of damage a timecheating
player can cause. Default is 30 seconds.
2000-04-06 14:52:56 +00:00
Joseph Carter
00b62b6027 cleanup 2000-04-04 12:10:08 +00:00
Anton E. Gavrilov
f5620c9f5b Changed Cvar_Set(char *, char*) to Cvar_Set(cvar_t *, char *). You can kill me now =] 2000-04-03 14:30:02 +00:00
Anton E. Gavrilov
13ae9667f8 *** empty log message *** 2000-04-03 11:22:34 +00:00
Joseph Carter
018ca24c62 flymode WORKS! I'm also poking around a few other qw_server files.. 2000-04-01 23:40:29 +00:00
Joseph Carter
5e06b91db0 more flymode stuff.. It's not QUITE working yet. Somewhere gravity is
getting added and the controls are still clumsy.  =<
2000-04-01 05:47:25 +00:00
Anton E. Gavrilov
9a9b1a01be Added fraglogdir cvar. 2000-03-31 13:28:23 +00:00
Bill Currie
549af06fa9 Applied CoderJoe's (Thad Ward) win32 patchs. compiles, links and runs.
BTW, win32 targets now use opendir etc.
2000-03-31 05:58:16 +00:00
Bill Currie
4c7ce6d614 give qw-server maplist and move the prototype from cl_main.c to quakefs.h 2000-03-31 01:56:52 +00:00
Bill Currie
1c91ed2381 fix the incorrect $i and -ne :/.
propogate the list fix to the other makefiles
2000-03-23 23:04:48 +00:00
Anton E. Gavrilov
60eb5557de *** empty log message *** 2000-03-19 18:52:20 +00:00
Anton E. Gavrilov
0bce28330b Single player support. 2000-03-19 18:40:28 +00:00
Anton E. Gavrilov
bc0219d36d Single player support. Added cvars coop, skill; int current_skill. 2000-03-19 18:39:01 +00:00
Marcus Sundberg
674ddcffe5 The big whitespace cleanup. ;-)
Removed trailing whitespace from code lines.
2000-03-19 15:59:51 +00:00
Anton E. Gavrilov
82f8cf07b9 Updated MSVC project files. Every target compiles and works. 2000-03-19 13:07:44 +00:00
Anton E. Gavrilov
d457edbccd Changed SV_Frame(float) to SV_Frame(double). No more problems on Win32. 2000-03-19 13:05:12 +00:00
Bill Currie
2800c2856e make install now works (caused by a flakey install-sh), as does build_rpm.
Also, there was a bug in configure.in that caused glx not to be built at all on
my system.

NOTE: I changed SRC_DIR to srcdir (GNU `standard'), though I'm beginning to
wonder if that was so good.
2000-03-13 11:54:24 +00:00
Joseph Carter
e818226c34 This SHOULD allow Mega2K to work whenever it gets released. View offsets
are done (sorry if this steps on your toes with the view.c merge Deek) and
I'm almost positive flymode will now work.  Even though view offset is
done, it won't.

The reason for this is that cl.stats[STAT_FLYMODE] is pretty much going to
ALWAYS be 0 on a standard server.  Since 0 tells us that we're not flying,
this is fine.  cl.stats[STAT_VIEWHEIGHT] is also going to be 0, but it
should be 22 for normal views.  I could always assume this value is an
offset from 22, but that just seems lame to me.  I'll either do it anyway
or we'll have to find a good opportunity in the connect cycle to set the
cl.qfserver qboolean to true.

I'm thinking about using an info key value for this, but we'd be better
served I think by coordinating with QSG to up the protocol version across
all engines.
2000-03-11 21:29:48 +00:00
Anton E. Gavrilov
620d7482b1 Updated MVSC project files. 2000-03-11 10:17:05 +00:00
Anton E. Gavrilov
fd5d30dd06 Updated MSVC project files 2000-03-10 23:25:39 +00:00
Bill Currie
bcd302a948 common/common.c common/common.h qw_client/cl_parse.c qw_server/sv_main.c:
handle escape chars better
common/quakefs.c:
	check the return value of opendir
2000-03-08 04:17:12 +00:00
Marcus Sundberg
4e76d7e176 Made the Makefiles work. 2000-03-07 23:13:00 +00:00
Anton E. Gavrilov
195af30ce9 Updated qw_client.dsp, qw_server.dsp and common/wins/config.h 2000-03-06 20:18:41 +00:00
Anton E. Gavrilov
0294848ef4 This is kinda experimental stuff --- Win32 priority control. Well, i've been testing it for about a month now, and it didn't give me any trouble. 2000-03-06 20:07:49 +00:00
Anton E. Gavrilov
7db3275c99 Added VC projects for qw_client and qw_server. Client crashes with -safe, server doesn't even compile, but anyway... ;) 2000-03-06 17:59:16 +00:00
Zephaniah E. Hull
39e01df55e Makefile overhaul!
If I broke something, yell at me, /AFTER/ I've had some sleep..
2000-03-06 13:26:42 +00:00
Joseph Carter
d2cf5ea07a Someone must have forgotten the pause/unpause typo thing, fixed. 2000-03-05 19:18:33 +00:00
Bill Currie
54e2cafda8 --enambe-generations now builds (include unzip.c) 2000-03-04 03:06:46 +00:00
Dan Olson
b5c3300cf3 Added 'cvarhelp' cmd to retrieve cvar descriptions. 2000-03-02 22:56:25 +00:00
Dan Olson
5d66aa274c A couple small fixes thanks to Dan Nelson 2000-02-29 00:00:51 +00:00
Dan Olson
029aa2e26a Fixed a nasty typo. 2000-02-28 23:45:45 +00:00
Dan Olson
54409e23fa This should fix up the last of the show stoppers from the cvar merge.
Fixes -glx and -3dfx.
2000-02-28 19:13:16 +00:00
Dan Olson
6305810ddb Some fixes for Cvars. Windows, GGI, and Sun should now all compile. 2000-02-28 01:52:08 +00:00