Bill Currie
06da30ac89
mingw build fixes again (including mostly working in sid: got some link issues)
2001-09-25 06:18:30 +00:00
Bill Currie
36de3c147e
move Sys_Quit and Sys_Error totally into libQFutil. They will call a list
...
of pre-registered (Sys_RegisterShutdown) function before actually exiting
the program. This should take care of the pain when an ncurses server
crashes.
2001-09-24 21:00:23 +00:00
Bill Currie
169f1ceac2
thou shalt not rely on order of evaluation
2001-09-24 19:12:05 +00:00
Adam Olsen
5d757c0d85
- fix our favorite svc_updatefrags overflow bug! weeeeee
2001-09-24 18:26:23 +00:00
Ragnvald Maartmann-Moe IV
e2f14519fb
Merge world.h. Also reduced smoke particle textures from 8 to 1, a considerable speedup through reduced texture thrash...
2001-09-24 17:52:13 +00:00
Adam Olsen
b52d7fd3d9
- when a client overflows print out the backbuf too, not just
...
netchan.message
- tweak the svc_print netlog spacing
2001-09-24 16:25:49 +00:00
Adam Olsen
19b6ce83a1
- fix overflow packet dumping. Oops :)
2001-09-24 14:47:36 +00:00
Adam Olsen
7ff069c931
- when the progs cache a model, copy it onto the hunk, so the gc can't
...
squash it
- ditto for sounds, just in case
2001-09-23 15:14:08 +00:00
Adam Olsen
a159e852e6
- add some comments to libs/console/inputline.c
...
- rename pr_deadbeef to pr_deadbeef_ents
- add pr_deadbeef_locals, which does uninited locals. (crashes from
it are undeniably buggy code, unlike pr_deadeef_ents)
- add a missing break to packetlog printing's switch
- add sv_kickfake, which kicks people for attempting to fake messages,
or replaces the ^Ms with # if disabled.
2001-09-23 00:36:21 +00:00
Bill Currie
ea966952be
segmentation fault handler from kkqwsv (thanks, Bill;) but with a couple
...
minor improvements (you get a core file if the seg wasn't triggered by progs).
2001-09-23 00:15:53 +00:00
Bill Currie
0425afb190
'rcon localinfo motd "hi there"' now works
2001-09-22 02:24:46 +00:00
Bill Currie
49a85718f8
total nukage of Con_*Printf calls from libs (except for video). Sys_*Printf
...
(Sys_DPrintf is new) is now used exclusively for all lib printing. Con_Init
sets the sys printf recirection to Con_Print (which has been revamped
appropriatly) and the server sets it to SV_Print (which was SV_Printf and
the new SV_Printf calls /it/). This should fix the rcon print redirection
issues.
2001-09-21 04:22:46 +00:00
Bill Currie
4416404982
total nukage of Sys_Printf calls in the client and server source. this paves
...
the way for libQFutil using Sys_Printf exlusively.
2001-09-21 03:01:14 +00:00
Adam Olsen
bff5a4b4b4
make "Client foo connected" be a normal print instead of a dprint, and
...
make both that and spectator prints include the ip.
2001-09-20 19:50:24 +00:00
Adam Olsen
ca51e3be02
- cleanup of up/down key handling, as per suggestions from james
...
- add a sv_console_plugin cvar (guess what it does)
2001-09-20 15:14:44 +00:00
Adam Olsen
0977b555f3
- build fix for without curses (untested, but should fix the problem I
...
had when I last tried)
- fix sv_filter_automask so it's not inverted (doh, again!)
- cleanups of ip filter prints
2001-09-20 06:51:25 +00:00
Adam Olsen
780cc26b37
- add a sv_filter_automask cvar to automatically get /16 for 1.2.0.0
...
- update writeip to include filter types. It makes them all permanent
though, since addip can't take an absolute expiration time :/
2001-09-19 12:58:02 +00:00
Adam Olsen
893c8b784b
- tweak the cl_maxfps sleeping to be more finely grained
...
- treat empty snd_render/snd_output strings as "don't load"
2001-09-19 05:32:20 +00:00
Ragnvald Maartmann-Moe IV
6053f1feac
Add gitignore for qw-master and qw-master.exe.
2001-09-19 00:06:56 +00:00
Adam Olsen
ce7e6ac4a5
idontthinkimobsessivedoyouthinkimobsessive?
2001-09-18 08:58:51 +00:00
Adam Olsen
f2cf4388d9
- improvements of how message contents are printed, which is #if 0'd
...
anyway :)
2001-09-18 07:26:12 +00:00
Adam Olsen
e3bf60bda3
- fix the parsing of player numbers. oops :)
2001-09-18 07:00:41 +00:00
Adam Olsen
915674733c
- much formatting cleanups
...
- made it use #if HAVE_FOO_H like the rest of QF
- a couple bug fixes
- cleaned up what it prints, including adding sequence numbers and
player counts in the heartbeats
2001-09-18 06:47:02 +00:00
Bill Currie
8b8ce51085
GameSpy, eat your heart out :) (thanks, James)
2001-09-18 03:24:26 +00:00
Adam Olsen
8f4d39002c
- add support for ipv4 embedded in ipv6 addresses. filtering should
...
now be fully functional for ipv6. I really oughta test ipv6 sooner
or later ;)
2001-09-17 07:31:15 +00:00
Adam Olsen
d77fcc8695
- fix /0 and /9 masks to not give an error
...
- consolidate some duplicate code into SV_PrintIP, which returns a
readable ip address allocated from a static buffer
- remove some debugging prints (addip is now silent on success)
2001-09-17 06:10:39 +00:00
Adam Olsen
de716f07e7
- fix an off by one error with implicit masks
...
- don't attempt to ban/mute/cuff non-existant clients :)
2001-09-17 05:41:17 +00:00
Adam Olsen
dcbc9ada26
- rework the parser to regain support for 1.2 ips. No longer uses
...
inet_pton for ipv4.
These are untested (other than compiling), as I've got issues with the
console I need to sort out.
2001-09-17 05:08:13 +00:00
Ragnvald Maartmann-Moe IV
a7d8e2c0ea
TE_EXPLOSION2 now does colored lighting. And spark showers brightened up a bit. Sparks all yellow now, none of the weird dingy grey ones. ;)
2001-09-16 20:07:28 +00:00
Adam Olsen
f90fcf855e
Massive cleanups of ip filtering
...
- addip now supports a ban time, and a ban/cuff/mute paramter
- addresses now can have /8 for the mask, instead of it being implicit
- removes support for 1.2 which meant 1.2.0.0/16. use 1.2.0.0/16 or
1.2.0.0 (implies a /16)
- ipv6 should mostly be supported, but there's a few places that
aren't finished. currently gives a compile error
(it WAS working, but now I cvs up'd and I gotta wait for a long test
build. I don't feel like waiting any longer)
2001-09-16 15:40:21 +00:00
Bill Currie
aade80a8d7
/finally/, libQFconsole is being used (qw-server only so far). Still has
...
some minor nits with ncurses and probably has some isues without ncurses
(quit didn't seem to work when I tried).
2001-09-16 05:41:28 +00:00
Adam Olsen
bdfa1830fe
- add a match command, which prints out who would be matched with a
...
ban/cuff/mute/kick command, but without actually doing them :)
- fix 'leet nick matching of eet in 37337, and a segfault, as well as
simplifying the code :)
2001-09-11 07:10:45 +00:00
Bill Currie
4bc167c5aa
evil hack, but can build from "make dist" again
2001-09-11 06:34:03 +00:00
Bill Currie
410783025e
misc fixes forwarded from 0.3
2001-09-11 06:04:10 +00:00
Adam Olsen
75cb4c1c5a
Make match_char handle a bunch more 'leet characters. There's also a
...
cvar to disable it, called sv_3133735_7h4n_7h0u ;)
2001-09-11 05:43:58 +00:00
Bill Currie
def8bb3cd5
LordHavoc's VectorIsNull changes from 0.3 but as VectorIsZero (no such thing
...
as a `null' vector) plus a couple of other bits from his patch.
2001-09-11 05:18:15 +00:00
Bill Currie
1a27ded797
don't bother predicting if disconnected (forward port of Dabb's work)
2001-09-11 04:53:20 +00:00
Adam Olsen
65e5a7a4fc
fix userinfo filtering in PF_setinfokey
2001-09-11 04:52:29 +00:00
Bill Currie
1717747eda
more make dist
2001-09-11 04:45:48 +00:00
Bill Currie
e27878e156
bring forward the sv_extentions and stdver changes from 0.3
2001-09-11 03:50:24 +00:00
Bill Currie
74e9f89e8c
forward port the client info string filtering from 0.3 and remove info.h from
...
a couple of c files that no longer need it.
2001-09-11 03:10:29 +00:00
Ragnvald Maartmann-Moe IV
05d3aaa0bb
Whitespace.
2001-09-10 17:32:22 +00:00
Bill Currie
a7b402031f
make nick matching case insensitive and 1 == i
2001-09-10 05:04:00 +00:00
Bill Currie
882adf295a
implement KK's ban, mute and cuff
2001-09-09 04:51:08 +00:00
Bill Currie
1757dfcc75
make Cmd_StuffCmds_f get called if cl_quakerc is 0
2001-09-09 01:58:16 +00:00
Adam Olsen
de83dfb587
Change the networking timeout down from 1 second to 0.01 seconds.
...
The CPU usage will seem higher with only 1 or 2 people connected, but
that's only when they have low framerates. It should be the same when
there's enough incoming network data to keep it from waiting a long
time anyway.
2001-09-08 16:48:40 +00:00
Bill Currie
714f429276
cl_predict_players2 is gone (cl_predict_players is still there)
2001-09-07 17:44:02 +00:00
Ragnvald Maartmann-Moe IV
0d0e570676
Small particle trail speedup/legibility/flexibility improvement, at price of redundant code in sw/sw32. Tradeoffs. *sigh*
2001-09-07 05:37:11 +00:00
Bill Currie
e9cf5b4eba
include sys/types.h for freebsd
2001-09-07 04:41:13 +00:00
Bill Currie
3b5969df1e
don't call the packet acker when running a demo
2001-09-07 03:49:30 +00:00