Commit graph

227 commits

Author SHA1 Message Date
Spoike
36c6537847 Added timeouts to viewers, added a cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2424 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-22 19:18:15 +00:00
Spoike
9f183d7b6f It had better work a bit better this time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2423 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-22 17:34:19 +00:00
Spoike
4006d79532 Handle EAGAIN as EWOULDBLOCK, giving proper BSD sockets compatability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-22 17:16:43 +00:00
Spoike
af5348a8f2 Added predictable spectator movement. Changed chat to only show to clients on that stream. Added rate limiting. Fixed the stats bug. Added a .clients command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2421 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-20 14:25:20 +00:00
Spoike
51ba51cb03 Stopped sending out useless stat updates (they're sent later, anyway).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2420 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-20 14:22:17 +00:00
Spoike
0df8ab6833 Revised code so the rate limiting can be implemented, also suppressed the wouldblock messages which shouldn't ever have been printed anyway (call them lost packets).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2419 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-20 14:20:45 +00:00
Spoike
d2b31f9ac6 Fixed an ommision where there was a default limit of 0 max proxies (where 0 was meant to be unlimited)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-20 14:19:32 +00:00
Spoike
89428eee82 Made the various qtv commands more usable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2417 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-20 14:17:56 +00:00
Spoike
faa252f37b Filter all prints, not just ones from a game source.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2416 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-20 14:02:28 +00:00
Spoike
f9d403039d Added available demos webpage. Works like current streams. No info is currently provided other than filename. A link is provided from /nowplaying.html.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-11 23:17:55 +00:00
Spoike
3688b7bca5 Make QTV more portable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-11 23:04:31 +00:00
Spoike
7e9852451c Compile without warnings in cygwin's gcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-07 22:37:40 +00:00
Spoike
300f84b8c1 A few user interface changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-07 22:29:31 +00:00
Spoike
72d983a8b8 Better support for NQ clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-19 01:48:12 +00:00
Spoike
be82bffd84 Yeah, my coding sucks. I know, I know...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 02:35:23 +00:00
TimeServ
95e0d2b545 updated project, moved project into separate dotnet2005/ directory
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 01:55:23 +00:00
Spoike
1d4ada39d2 WARNING: Includes protocol changes.
Protocol changes will allow for passwords/commentator access.
Restructured some of the code to clean it up.
Added mini-http server for serving up qtv files for streams.
Mostly supports acting as an nq server, not totally finished yet.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 01:27:32 +00:00
JohnNy_cz
78c35eee81 help updated, shows build date now too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-11 12:09:29 +00:00
JohnNy_cz
e1de557863 _unlink() back to unlink()
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-10 22:36:05 +00:00
JohnNy_cz
a2bd087d55 MS VS 8.0 (2005) project & solution file
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-10 22:16:08 +00:00
JohnNy_cz
380c94c6c1 fixed crash on release build with code optimization
killed ms vs 8.0 warnings


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-10 22:15:24 +00:00
Spoike
ebac90e94b Trying to make QTV more robust with connecting to remote sources.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 00:59:29 +00:00
Spoike
36b97f60a0 shh, tuna
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-13 16:58:52 +00:00
Spoike
16e889bf4f Make sure the proxy's simulation time is kept up to date.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 17:43:39 +00:00
Spoike
4430da6a00 Fixed a small error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2191 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 23:26:39 +00:00
Spoike
40bfc9cce2 CRC functions to get around the movement command protection found in quakeworld servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 22:52:07 +00:00
Spoike
aaef149474 Corrupted the QTV proxy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 22:15:09 +00:00
TimeServ
044771effe quick hack to get win32 QTV to compile again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-05 04:42:08 +00:00
TimeServ
02176f8853 remove more cvsignore files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:25:51 +00:00
Mark Olsen
7839d35975 Ignore SIGPIPE, the return code of a nonblocking connect() is EINPROGRESS, not EWOULDBLOCK.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2125 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-17 20:12:11 +00:00
Spoike
27a1a4b309 proxy:menu stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:54:07 +00:00
Spoike
e6ecd20e8f As a gimmick, we might as well imitate qw more closly and not fool qizmo into not letting us connect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:53:20 +00:00
Spoike
329f0ca9bf Fixes an issue that could only ever happen with mvdsv.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:51:59 +00:00
Mark Olsen
28b018e419 Endian fixed the pak-reading code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 02:43:51 +00:00
Mark Olsen
2abfd728bf First bunch of endian fixes... At least bsp loading doesn't crash&burn anymore :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1989 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 02:38:48 +00:00
Spoike
9cc160d7fb Stopped some crashes, Make say commands go to the server if connected to a real qw server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 02:06:24 +00:00
Spoike
f061e38c92 Added mdfour stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1987 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 02:05:54 +00:00
Mark Olsen
9c94c9577c Missing free() in error path.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1986 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 01:47:24 +00:00
Mark Olsen
083ea9f7c7 Ixemul build fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1983 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 00:48:22 +00:00
Spoike
6173ed0ebc Now connects nicly to regular qw servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1982 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-21 23:25:54 +00:00
Spoike
2d86a6140b Gets past map checks... but times out too easily in linux :(
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1981 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-21 19:55:12 +00:00
Spoike
5e2c8dac61 Fixed linux stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1980 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-21 19:02:42 +00:00
Spoike
cb3f383214 Lateset set of changes make it more easily configurable. Connect to it as localhost and use the admin alias.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1976 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-20 01:33:13 +00:00
Spoike
fc770f310d Fixed the say command when not connected to a source, fixed so it compiles with gcc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 09:40:26 +00:00
Spoike
dad5de099b revised the proxy a bit. one cluster, one udp socket, multiple streams. Hurrah! I wonder how many bugs I just added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1435 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:02:15 +00:00
Spoike
da15b1fb17 Make it search id1 for maps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 11:32:00 +00:00
Spoike
aac5a6578c Some issues fixed, linux works just the same as windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-25 20:50:57 +00:00
Spoike
54109b7715 Fixed license.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-25 04:49:02 +00:00
Spoike
d0085d8e70 A fix that comes in useful when switching server->demo
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-25 02:20:43 +00:00
Spoike
8859acced0 fix the ezquake say bug again. but a bit better this time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:46:09 +00:00
Spoike
f814d3a67c For easy mingw use.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:36:41 +00:00
Spoike
45ca3e5401 Added record/stop commands, allowed same-behaviour alternatives to the 'file' command, and made status show port numbers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:36:06 +00:00
Spoike
60eac6b894 Code to start/stop demo recording (mvd writing).
Also code to only open udp/tcp ports if neither was specified in a config/startup script.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1370 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:34:50 +00:00
Spoike
7f855e3477 I don't like static. bigfoot will moan.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1369 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:33:37 +00:00
Spoike
0b97e21aef We parse it, so we might as well store it somewhere.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1368 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:33:03 +00:00
Spoike
4c04955563 Fixed a memory leak, made server browser listing more robust (shows recorded players). Added an untested ison clientcommand.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:32:31 +00:00
Spoike
3621fa8b8f Made mvd parsing more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 21:31:01 +00:00
Spoike
72f0a4a012 Updated by TortoiseCVS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1365 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 14:51:09 +00:00
Spoike
2ff1861516 Send a ping when first setting the master server like qw servers do.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 14:50:48 +00:00
Spoike
ab44804260 Unquakified some prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1363 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 14:50:14 +00:00
Spoike
4be832f1b3 Forward it before an svc_disconenct kills us off.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1362 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 14:49:45 +00:00
Spoike
404f706512 Say bug fixed, and hopefully the chaining bug too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1361 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 14:48:43 +00:00
Spoike
d113f934ba Trying to get the proxy on qw master servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1360 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 12:14:42 +00:00
Spoike
ff204ebd02 security fix and highchars fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1359 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 11:44:26 +00:00
Spoike
3a4d998f6c Don't let them use rcon if we didn't set a password.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1358 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 11:42:38 +00:00
Spoike
bb16df2141 fix for silly cpu usage.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1357 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 11:42:05 +00:00
Spoike
393e7f4a33 So that msvc6 users can compile it with ease.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1356 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 04:48:47 +00:00
Spoike
90d5e5d598 Changed a few things, rcon is in, scripts are different, pvs culling works, some things are fixed. Can use a master server, can change server whilst running, can supply it's own hostname, is queryable, made choking smoothable. I wonder how many bugs I've added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 04:48:20 +00:00
Spoike
cf60390f10 Updated by TortoiseCVS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 04:45:57 +00:00
Spoike
8c09c705d0 Command execution, for rcon, configs, and console.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 04:45:24 +00:00
Spoike
78c8fae297 Support for pvs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-24 04:45:02 +00:00
Mark Olsen
a34e5b579a Let this actually have some useful entries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-06 16:50:01 +00:00
Mark Olsen
64aa0c7af9 Makefile, anyone? :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-06 16:49:40 +00:00
Mark Olsen
043e75872d Added some Linux support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-06 16:44:31 +00:00
Mark Olsen
4c04d9a93b Keep GCC 3 from whining.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-06 16:04:00 +00:00
Spoike
e37c03318c Updated by TortoiseCVS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-06 01:10:45 +00:00
Spoike
dc613a0a01 QTV file and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-06 01:09:36 +00:00