Bill Currie
2310e94df8
fix userid setup
2003-03-04 16:00:57 +00:00
Bill Currie
e131ec5885
fix the status seg
2003-03-04 07:44:22 +00:00
Bill Currie
cee4846743
hmm, that segs :), but then, so does doing "status" while bots are going
2003-03-04 07:36:34 +00:00
Bill Currie
a10704f99d
boundscheck the client entity
2003-03-04 04:10:25 +00:00
Bill Currie
9fbbadb788
disable the disconnect events for bots as I'm not yet sure how I'm going to
...
do things
2003-03-04 04:03:02 +00:00
Bill Currie
fc7324485e
implement SV_AllocClient and SV_FreeClient builtins
2003-03-04 03:35:12 +00:00
Brian Koropoff
34f3970847
Added the "map" GIB event to qw-server.
2003-03-04 03:23:41 +00:00
Bill Currie
c07891826a
break out the client slot allocation code into a separate function
2003-03-04 01:36:30 +00:00
Bill Currie
da3cac2b6a
oops, didn't notice the lack of {}s
2003-03-03 21:46:41 +00:00
Bill Currie
c52ce7f202
slight optimisation
2003-03-03 21:41:13 +00:00
Ragnvald Maartmann-Moe IV
2000954a2c
Whitespace, and a workaround for show_* misplacement.
2003-03-03 19:20:44 +00:00
Bill Currie
d469a06620
move the maxclients and maxspectators range checks into callbacks
2003-03-03 18:30:09 +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
Bill Currie
1a40e5b6b4
implement WriteBytes for qc
2003-03-02 03:25:47 +00:00
Brian Koropoff
15cc02f17c
Added client::print, client::printChat, client::printAll, and
...
client::printAllChat GIB builtins.
2003-02-28 06:51:16 +00:00
Bill Currie
a99c859034
"main" in progs is never called
2003-02-28 05:53:40 +00:00
Brian Koropoff
e9b117379f
Added client.connect, client.spawn, and client.disconnect GIB events.
2003-02-28 05:09:46 +00:00
Bill Currie
d2edce37a4
give qc access to WriteCoordV and WriteAngleV
2003-02-28 04:59:40 +00:00
Ragnvald Maartmann-Moe IV
e959df1692
Whitespace. Grr!
2003-02-25 03:56:58 +00:00
Bill Currie
d93fceea38
fix a snafu in SVC_DirectConnect related to info strings, make
...
Info_ParseString take (and pass on to Info_SetValueForStarKey) a flags arg
and simplify the flags handing in Info_SetValueForStarKey.
2003-02-19 17:39:21 +00:00
Brian Koropoff
8f8d866cdf
Oops, forget this.
2003-02-16 20:16:22 +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
Brian Koropoff
d626575091
Fixed use of a dstring without allocating one.
2003-02-15 21:26:15 +00:00
Bill Currie
a98d4c5125
first stab at configurable downloads
2003-02-15 00:05:22 +00:00
Bill Currie
851d203916
work towards a more secure qfs
2003-02-14 22:36:10 +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
Brian Koropoff
3c522a83bc
Various cleanups and bugfixes. Added proper line number reporting to
...
errors. A few new builtin functions, such as slice::find and thread::list.
2003-02-14 08:06:01 +00:00
Bill Currie
8ff653a142
forgot to clean up the net headers
2003-02-12 19:41:44 +00:00
Bill Currie
21d8b4f8dc
link in hw, move the qw and nq networking code into libs/net and make
...
hw-master use libnetchan. there are evil include hacks that will need to be
taken care of in net*.[ch]
2003-02-11 22:48:57 +00:00
Bill Currie
4bd1718475
re-arrange viewsize handling to fix the hud bug in glx
2003-02-11 21:24:27 +00:00
Bill Currie
eaa82b1439
IPv6 compile fixes from doneill (slightly modded)
2003-02-11 05:59:08 +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
920b5b2a29
cvs ignorage
2003-02-10 21:09:54 +00:00
Bill Currie
6df2c9679b
white space
2003-02-10 21:04:08 +00:00
Bill Currie
92fc8109e6
change the master timeout to 10 minutes. 5 is too tight as that's the
...
heartbeat time on a server
2003-01-31 04:56:11 +00:00
Bill Currie
bf3da64c43
flush the output each log call
2003-01-31 04:49:31 +00:00
Bill Currie
cd553342e6
give qw-master timestamped logging
2003-01-31 04:11:06 +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
Brian Koropoff
1668dd5c1a
Whoops, missed these.
2003-01-28 22:37:34 +00:00
Bill Currie
0ec386dc76
create the demo path `properly'
2003-01-21 22:19:07 +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
a4dfef63c3
make all files with rcsid include config.h
2003-01-14 20:18:29 +00:00
Bill Currie
3b9e7db882
fix the skins dowload location issue (not really to my satisfaction, but it
...
will do for now)
2003-01-10 23:07:04 +00:00
Bill Currie
2e0ed3377c
basic (very!) implementation of the new filesystem directory struture code.
...
All the details of game directories will be fully configurable (search
paths and gamecode file name currently supported). Downloading of skins to
qw/skins only currently broken (will download to $gamedir/skins for now).
2003-01-10 22:47:18 +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
d02d502d30
check for socklen_t evailability
2002-12-20 23:53:34 +00:00
Bill Currie
dbd5b16883
rename the convenience libs to avoid problems with libx11 vs libX11 on
...
darwin (damn case insensitive file systems :P)
2002-12-20 23:40:47 +00:00
Bill Currie
a84b6bba5d
make stuff static that can be and nuke some useless stuff
2002-12-16 23:26:14 +00:00