Bill Currie
f88310ddd0
patch from Grievre to add a cvar to control "fake" filtering and change the
...
fake kick default
2004-04-27 03:45:26 +00:00
Bill Currie
c188159384
various mvd fixes for bots, especially getting the angles written
2004-04-06 22:02:45 +00:00
Bill Currie
7f49727db5
bring back the missing chat logging
2004-03-15 20:41:34 +00:00
Bill Currie
b502cfc3ce
move ClientReliable* from sv_nchan to MSG_Reliabe* in msg_backbuf so the
...
backbuffer code can be shared between qw-server and qtv
2004-02-22 05:40:08 +00:00
Bill Currie
a520c715ef
remove some debug code (oops)
2004-02-22 01:32:55 +00:00
Bill Currie
6e6df349e4
move the ucmd message code into a common qw lib (more will likely follow)
2004-02-21 05:09:02 +00:00
Bill Currie
1033f7e322
move qw/include/protocol.h to include/qw/protocol.h making life easier
...
qtv can now connect to a server (won't stay connected though)
2004-02-21 02:31:22 +00:00
Bill Currie
f4a06f3a37
fix a blooper discovered by nano
2004-02-20 20:35:13 +00:00
Bill Currie
fa58b795f2
except for packet logging, netchan is much cleaner (no more cls in the
...
server!)
2004-02-19 08:58:42 +00:00
Bill Currie
acd54afff7
move to using a hash table for builtin number -> builtin lookup so sparse
...
ranges can be used efficiently. move the auto-allocated builtins to
0x10000000-0x7fffffff. should be more than enough :)
use static builtin tables ("nul" terminated) instead of a series of
function calls to add builtins to a vm. should be more memory efficient.
2004-01-06 05:51:09 +00:00
Bill Currie
dfc83c1f5f
add PR_PushFrame and PR_PopFrame so temp strings are easy to use for
...
parameters to progs functions.
double the progs stack sizes (call depth of 32? eek)
allow one extra call on the progs stack :)
misc minor cleanups
2004-01-05 07:10:32 +00:00
Bill Currie
53e382d3f8
fix an incorrect parameter bug found by Grievre
2003-12-06 05:06:27 +00:00
Bill Currie
5a49e9fea4
fixed an uninitialized variable. took reordering operations a bit to do so
2003-11-21 20:04:16 +00:00
Bill Currie
ce745c8078
better command output redirection handling: maplist over rcon should show
...
all (or most, there are limits still) of the maps on a server with many
maps.
move the optional progs funcs into sv_funcs_t and add UserInfoChanged,
ChatMessage and LocalinfoChanged callback support.
clean up PF_setinfo (and SV_SetInfo_f and SV_Localinfo_f) using shared code
where possible und to use the UserInfoChanged and LocalinfoChanged
callbacks.
add chat message callback to SV_Say. if it returns zero, normal chat
handling is done, otherwise it's assumed to have been handled by the progs.
provide a hook for unkown user commands. non-zero return means it's been
handled.
2003-11-21 06:09:21 +00:00
Bill Currie
0a8867fde9
replace all VectorSubtract (vec3_origin, ... and
...
VectorCopy (vec3_origin, ... with VectorNegate (... and VectorZero (...,
respectively. Should be a small speedup.
2003-09-03 22:17:04 +00:00
Bill Currie
db3e98ce75
make the waterjumptime <-> teleport_time interface work as intended
2003-08-27 23:11:57 +00:00
Bill Currie
0d438e255d
allow server clients to be tracked while spectating
2003-08-25 01:11:23 +00:00
Bill Currie
fd433442fb
allow server clients to be initialized properly (SV_Spawn) and send server
...
client info to connecting clients
2003-08-21 03:50:30 +00:00
Bill Currie
ada828bdc9
remove a whole swath of potential buffer overflows by removing the buffer.
...
Also audit a few of the "FIXME: overflow" tags
2003-08-05 01:45:52 +00:00
Ragnvald Maartmann-Moe IV
5808d08858
whitespace.
2003-06-03 06:01:47 +00:00
Bill Currie
c2c3a62956
nuke Qexpand_squiggle. instead, expand ~ to $HOME on qfs initialization and
...
cache the value.
don't call Qopen directly in the engine. instead call QFS_Open (generic) or
QFS_WOpen (write only, zip flag).
rework QFS_NextFilename to use a dstring (avoiding a potential buffer
overflow), support 10000 files and work from the top-level fs_userpath
directory. adjust QFS_WriteFile and QFS_WriteBuffers etc to suit.
make sw32 screenshots actually get written.
hopefully everything gets written to the right places :)
2003-05-23 17:17:01 +00:00
Bill Currie
460c8f7f0f
mindHog's qfpython patch. GIB info string event callbacks and a compile fix
...
for broken x11 headers.
2003-05-16 16:17:24 +00:00
Bill Currie
63c804310c
more inline avoidance
2003-05-07 04:24:50 +00:00
Bill Currie
18ae5b7513
compile fixes for the alpha
2003-04-28 21:02:03 +00:00
Bill Currie
c6094b9cea
mindHog's patch for making Hash_DelElement work the way he wanted it to
2003-04-28 19:55:03 +00:00
Bill Currie
0985c90ce9
hash.h:
...
write some docs on mixing (eg) Hash_Add and Hash_DelElement
sv_user.c:
fix a warning
2003-04-28 16:04:22 +00:00
Bill Currie
a43d20fffa
mindHog's user command patch (with change to builtin name) making the
...
function generally available (eg, for his python plugin)
2003-04-28 15:56:09 +00:00
Bill Currie
e732cf591d
remove all references to OFS_* from the C code. only the macros in progs.h
...
use them now
2003-04-22 18:20:15 +00:00
Bill Currie
eb099ae0d3
make qf gcc 3.3 clean
2003-04-17 00:01:48 +00:00
Brian Koropoff
e707e9bb89
Moved gib_*.h into include/ and moved the necessary declarations and struct
...
definitions to QF/gib.h to interface with libQFgib.
2003-04-13 22:07:58 +00:00
Bill Currie
b80357afda
change _FOpenFile to take a dstring for foundname plugging a potential
...
buffer overflow.
2003-04-09 05:55:41 +00:00
Ragnvald Maartmann-Moe IV
5fb8aa07f3
Code style, people. Love it or leave it!
2003-03-21 21:25:44 +00:00
Bill Currie
0f119c7cdb
don't bother lowercasing download filenames now that they're forced
...
lowercase during the precache stage
2003-03-13 16:33:29 +00:00
Bill Currie
4c7daebe89
provide SV_UserCmd builtin so progs can emulate a client but use the
...
engine's physics code
2003-03-10 16:39:40 +00:00
Bill Currie
6c028a57bb
bot player stats seem to be working working
2003-03-05 03:56:50 +00:00
Bill Currie
389542fda7
first step in creating an interface for the snagging of client slots by
...
the progs
2003-03-03 17:08:45 +00:00
Brian Koropoff
e9b117379f
Added client.connect, client.spawn, and client.disconnect GIB events.
2003-02-28 05:09:46 +00:00
Brian Koropoff
760210dc7b
GIB: Many bugfixes and cleanups. Added bitwise math operations, expansion
...
of leaf names in a stem variable via %var, the builtin functions 'count'
and 'contains', and an initial interface between qw-server and GIB to allow
querying of clients and their info strings. Also cleaned up the chat event
interface a bit. Renamed a few builtins.
2003-02-16 19:46:34 +00:00
Bill Currie
6a687f5e45
rename all the globals in quakefs.[ch] to be QFS_* or qfs_*
2003-02-14 19:46:07 +00:00
Bill Currie
f4fdbeee4d
make the low level network code and packet logging less incentuous
2003-02-10 21:41:22 +00:00
Bill Currie
b668134f25
reset the client's msecs when resetting the rest of the network stats
2003-01-30 20:31:44 +00:00
Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
33365ef00d
Hurricane's patch for correcting time kick. ( Closes : #67 )
2003-01-10 18:09:09 +00:00
Bill Currie
71196fedf6
make gcc more anal about prototypes, string constants and function
...
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Brian Koropoff
c522970a88
Added a GIB event system for registering GIB callback functions to be
...
started when a named event occurs. Added a few test events to the qw
client and server. Cleaned up the range GIB builtin a bit.
2003-01-03 04:30:38 +00:00
Bill Currie
ca4b3acd6c
big protototype cleanup. Now, except for a few cases, all non-static
...
prototypes are in headers files.
2002-11-05 19:12:51 +00:00
Bill Currie
212e40b54a
mvd recording :) (thanks to qwex 0.165b and highlander)
2002-10-04 02:29:03 +00:00
Bill Currie
5397ca66ca
bring back the timekick code but make it an alternative (default) to the
...
new timecheck code.
2002-09-27 03:32:20 +00:00
Bill Currie
a6318a3baf
enhanced no_pogo_stick control
2002-09-13 04:30:18 +00:00
Brian Koropoff
7f4cd09e9d
Removed the old timecheat protection and added a system that adjusts
...
time to what the server thinks is correct when too much inaccuracy
builds up. This nearly eliminates all speed cheating, both normal and
reverse, except for a brief burst before the protection kicks in. Might
need cleaning up/tweaking.
2002-09-12 04:57:40 +00:00