Bill Currie
3a366f4f7e
break out the backtrace code from PR_RunError into PR_DumpState and use
...
PR_DumpState instead of PR_RunError in seg_fault_handler so we get both a
progs trace /and/ a core file (ulimit allowing)
2001-10-08 03:46:44 +00:00
Bill Currie
5b8aca001b
diff snr--
2001-10-07 18:45:23 +00:00
Adam Olsen
0785610296
- fix a little mistake in SV_PrintToClient that'd cause it to
...
segfault if your first call was with "". Probably could cause
crashes too
- add a string.c file to libQFutil, with a Q_strcasestr function,
which strcasestr is defined to if it's not already defined. (we'd
get that with glibc if we defined __USE_GNU, but we don't)
- make client_t and SV_ExtractFromUserinfo both use NAME_MAX for
their name arrays, instead of 32 for one and 80 for the other
- rewrite almost all of SV_ExtractFromUserinfo's name handling.
- \r, \n, and \t are all converted to spaces
- leading/trailing spaces are stripped
- consecutive spaces are reduced to a single space
- empty names are considered bad
- user-* nicks are considered bad (unless forced to them)
- a name containing console or admin is considered bad
- a name that already exists is considered bad
- if they have a bad name it gets forced to user-%d, where %d is
their userid
- netname in the progs is now updated properly
- name changes are always reported unless it's the initial setting,
rather than only if they're full connected and not a spectator
- finally, if the name change fails (info string exceeded), give
them the boot. (before this was only done for duplicate names)
That's about it :)
2001-10-04 19:11:39 +00:00
Bill Currie
1929797cc9
get nq-server so it runs. part of this involved renaming cl_warncmd to
...
cmd_warncmd
2001-10-03 21:25:43 +00:00
Bill Currie
bbc83c30ca
hey, it segs, but who cares? so does nq-glx -dedicated :P
2001-10-03 19:52:03 +00:00
Bill Currie
a1d2cf3532
duplicate file name cleanup and make dist works
2001-10-03 17:50:36 +00:00
Adam Olsen
1f87234aac
- change MAX_MASTERS from 8 to 32, since prozac has 9 of them
2001-10-03 03:42:28 +00:00
Ragnvald Maartmann-Moe IV
450dd9f504
5.2 time and fps in demo output, for both nq and qw.
2001-10-02 19:43:25 +00:00
Adam Olsen
362e4eefc9
- make the fallback console use stdin
...
- don't draw scores overlay if the screen is less than 244 wide.
2001-10-02 03:24:36 +00:00
Bill Currie
7fcdffb42e
mirror the chase and watervis serverinfo keys in the cl struct so
...
Info_ValueForKey doesn't get hit so often.
2001-10-01 01:51:36 +00:00
Bill Currie
e9c420c749
nuke SV_RecursiveHullCheck from cl_cam.c and use PM_RecursiveHullCheck
...
instead. Also add prototype for PM_RecursiveHullCheck to pmove.h
2001-10-01 00:20:57 +00:00
Bill Currie
f505e8630c
fixes for rh 7.1
2001-09-30 23:24:53 +00:00
Bill Currie
5e82c0cac7
correct a spelling error in a comment
2001-09-30 03:58:24 +00:00
Bill Currie
138a4a1c14
rename console_t to old_console_t in preparation for a better version and
...
temporarily disable the client console plugin as it currently doesn't
compile.
2001-09-29 04:24:04 +00:00
Bill Currie
9f612ec82a
this fixes the rendering of the player when not in chasecam mode. not sure
...
what it does for chasecam mode.
2001-09-28 22:07:26 +00:00
Bill Currie
cca3e4c203
fix a coupld d'ohs for pr_checkextensions
2001-09-28 21:39:13 +00:00
Bill Currie
5eb35f0b2a
fix a tiny case&paste (?) error that prevented players from being drawn.
2001-09-28 21:15:48 +00:00
Bill Currie
4a8eb5e7cf
more namespace issues
2001-09-28 16:50:35 +00:00
Bill Currie
514a4a56cb
fix a win32 namespace issue
2001-09-28 16:29:34 +00:00
Bill Currie
8e27422c72
partial fixes for mingw cross builds. still have issues with ar :(
2001-09-28 16:03:45 +00:00
Bill Currie
89fbacdc78
make sv_progs CVAR_NONE rather thatn CVAR_ROM so it can be set in server.cfg.
2001-09-28 15:29:22 +00:00
Bill Currie
c78edb3a36
Apply Seth Galbraith's <sgalbrai@linknet.kitsap.lib.wa.us> chasecam patch
2001-09-28 07:51:15 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Jeff Teunissen
343bb529b4
And this fixes QW.
2001-09-28 05:40:14 +00:00
Ragnvald Maartmann-Moe IV
2941c07b0a
Add small cyan light to lightning impacts. And restore particle direction use in nq. Greatly improves blood effects.
2001-09-27 00:43:46 +00:00
Adam Olsen
376f05d357
- add some conversion builtins, now we have ftoi, ftos, itof, itos,
...
stof, stoi, stov, and vtos.
- fix PF_sprintf
- add FFnameFF support, where it tacks <userid> after the nick on the
console.
2001-09-26 22:26:31 +00:00
Bill Currie
dec9503620
set the default rcon_address port to 27500 rather than 0
2001-09-26 21:06:51 +00:00
Bill Currie
694619cd70
thou shalt not use strlen as a boolean value!
2001-09-26 20:57:40 +00:00
Jeff Teunissen
e110f6da83
-3dfx is gone, pending someone to work on it again. Most of the stuff it
...
did specially will be folded into -glx.
2001-09-25 23:58:23 +00:00
Chris Ison
0d0f0a7f73
bootstrap now works in cygwin
2001-09-25 23:47:13 +00:00
Jeff Teunissen
27b6bac88f
do the same for QW.
2001-09-25 23:32:11 +00:00
Bill Currie
df330f33fd
expernimental code to get window resizing working
2001-09-25 20:16:24 +00:00
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