Commit Graph

245 Commits

Author SHA1 Message Date
Molgrum 3a156266a4 More verbose error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 17:34:51 +00:00
Molgrum 9815dec585 Got rid of an annoying printf, added a #warning instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-31 21:14:40 +00:00
Molgrum 2f22a2b1cf Temporary workaround for the disconnect-bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-31 19:59:40 +00:00
Molgrum c267c17faf Just a spelling fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-31 19:56:51 +00:00
Spoike 693a184261 Molgrum found a bug with how early-parsing interacts with the rest of the code. This should fix that bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-30 14:26:03 +00:00
Molgrum ff17d664ce More verbose error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 20:07:13 +00:00
Spoike d628214600 Fixed qtv so servers won't strip $\ any more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 11:39:13 +00:00
Molgrum 6ad7f1d0ae Extended the .help command a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-10 21:09:05 +00:00
Molgrum 9b80f13f2e Bugfixes #16 and #17
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-10 18:01:27 +00:00
Molgrum efb447ee5b It now compiles. Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 14:48:13 +00:00
Spoike aae39e18af that prolly should have been a macro instead of an immediate. minor cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2730 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 14:43:12 +00:00
Spoike 5dec885e38 qq moaned about this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 14:37:39 +00:00
Spoike a3c5e9068a The crap way
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 14:37:08 +00:00
Spoike 3d8d58f1b9 I'm too lazy when it comes to licenses. This is a seperate project, so must have its own license.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2703 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-04 16:28:28 +00:00
Molgrum 26bc0b94e2 No #warning directives in MSVS please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2677 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 22:42:44 +00:00
Spoike 0c6e751778 mol#4 this should be the entirety of #4. I suspect #3 too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2655 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 19:27:39 +00:00
Spoike 3555ba42ce partial mol#4 we see stats on map changes, but not the userinfos yet
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 19:07:56 +00:00
Spoike 75458007b7 mol#5 now we get the dead view when dead
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2653 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 18:56:01 +00:00
Spoike 1bdbb0d8b4 mol#1 fixed. .disconnect lets the server know, also removed the annoying debug spam
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2652 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 18:44:55 +00:00
Mark Olsen 571412b66f Make that crctable const.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2649 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 14:52:49 +00:00
Spoike 5a16c2f01d Some changes to the way the proxy works, now the player will get the aliases
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2641 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-08 20:15:59 +00:00
Molgrum 9759358900 Added help and server browser menu items in TUI, fixed up the TUI a little. Added number-of-viewers alongside the nickname of QTV observers. Added .qtvinfo command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2566 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 19:57:56 +00:00
Molgrum a403097e24 Fixed a warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 14:47:43 +00:00
Spoike 7f6bdae56f Fixed one of my #warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2564 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 14:40:09 +00:00
Molgrum a0b26fe44a Fixed some more void * problems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 14:33:40 +00:00
Molgrum e1742e3507 Added httpsv.c, msg.c, cmd.h and protocol.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2562 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 14:31:55 +00:00
Spoike 7352cb0974 Hopefully fixed Molgrum's void* error
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2561 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 14:16:15 +00:00
Spoike fb234dac8a Hopefully fixed Molgrum's void* error
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2560 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 14:10:47 +00:00
Spoike a1c0e751d6 Fixed dirent.h being included on windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2559 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 13:25:49 +00:00
Spoike b0759ce32f Some cleanups, reworked commandline parsing, added basedir command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2557 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-01 14:55:28 +00:00
Spoike c0362839de a new file
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2535 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 11:42:23 +00:00
Spoike 9b24dd1871 Cleaned up a little
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 10:53:59 +00:00
Spoike 70b55a446c Support for reverse connections, and added a few stdout cleanups. Added two svcs which can happen in single player/coop.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2512 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-28 02:31:48 +00:00
Spoike 2e8fe03892 Fixed a crash in the qtv clients menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-18 20:21:12 +00:00
Spoike e6c12cc324 Two fixes for two bugs reported by qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2489 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-11 19:46:55 +00:00
Spoike 5845dc7e35 routing is more obvious / usable now (beware some 'cmd cmd new's are required).
reworked the menus (could be a little better).
added qqshka's invisible player fix.
de-spammified the centerprint menus.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2483 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-18 05:07:10 +00:00
Spoike 24c2512499 I suck
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2482 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-17 15:40:23 +00:00
Spoike d6edc64933 A unix compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2481 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-17 15:39:35 +00:00
Spoike f137242b51 Shifted some stuff out to a new file to clean stuff up.
Tweeked the admin page so it doesn't look horribly out of place.
Code for permitting downloads from the http server is in place, but not activated. I first need to address the security issues with being able to do this.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2480 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-16 04:05:01 +00:00
JohnNy_cz 0dfab03d35 sending also Last-Modified now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2479 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-16 01:18:07 +00:00
JohnNy_cz 3a2310238d don't apply no-cache to .qtv file because Internet Exploder doesn't like it
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2478 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-16 00:59:45 +00:00
JohnNy_cz 78285c3d00 http server updates: headers to disable caching, html cleanup, added style sheet, menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2477 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-15 13:38:05 +00:00
Spoike 6210ed87be Some tweeks to stop qqshka from moaning. Also added qtvlist and qtvdemolist commands. Tweeked the webpage generation to be more informative.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2472 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-03 21:39:06 +00:00
Spoike 4175b342ea Some bug fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2471 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-03 18:46:43 +00:00
Spoike 66cfc8b127 qqshka's bugfix for: CL_ParseServerMessage: Illegible server message. Thanks for finding that one.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2466 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-18 18:19:46 +00:00
Spoike 6920e14fde Fixed a remote crashing bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2465 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-11 22:07:18 +00:00
Spoike f321ee32ee some bugs have been spotted. one serious one regarding demos and small downloads and reading configs. a couple of minor ones, and a minor cleanup too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-09 05:24:03 +00:00
Spoike 4262948c3e Changing map download messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2463 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-08 04:18:41 +00:00
Spoike 15a38d3726 Changed tracking and commentry a little so it works in ezquake/fuhquake as well as just fte. Additionally forced tracking of leader when the victim has left pvs in udp games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2462 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-08 03:15:37 +00:00
Spoike 47f9440a30 cameras start at intermission spots, stream change messages for other users, cleaned up the menu code a little
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:46:32 +00:00
Spoike 5596b146fe Fixed a bug in the html demo listing. Tolerate telnet users spamming the server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:40:57 +00:00
Spoike aa4299426e Wipe the entity frames on map changes, so we arn't left with lots of ents all over the void.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2452 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-05 22:09:56 +00:00
Spoike 55f5344510 Rewritted entity parsing, so should work fine with .join now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2451 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-12-26 21:26:10 +00:00
JohnNy_cz a6ea96ab24 added pmove.c to project file
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2445 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-17 13:33:04 +00:00
TimeServ 752d3571e0 remove leftover debug code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2443 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-04 19:21:15 +00:00
Spoike acf93f1548 qtv changes allow you to spectate annother spectator. FTE changes fix independant physics stuff a bit, and fix AVI recording a little also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 15:53:04 +00:00
Spoike 22360e35dd Small tweek so you can stream demos off a different proxy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 16:12:07 +00:00
Spoike bce372f236 Fixed a couple of rerouting issues,
Warning: RAW mode is not requested, this will break compatability with the origional qtv protocol, including with mvdsv.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2435 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 13:41:27 +00:00
Spoike b26e4c51f7 This is why you don't let noobs code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2434 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 11:11:42 +00:00
Spoike 8402f12b2c Wow, I suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2433 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 11:10:35 +00:00
Spoike 41dc8f9738 Okay, so it should compile now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2432 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 11:00:37 +00:00
Spoike e2e4cfe7ab Resolving signal issues at last.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2431 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 10:58:41 +00:00
Spoike 96193f59fb Adding untested demo searching for unix systems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2430 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 10:58:13 +00:00
Spoike 0235f1018b proxy:menu enter is now supported...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2429 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 10:57:34 +00:00
Spoike c3dc9b0b8a Don't print anything about empty commands.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2428 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 10:57:06 +00:00
Spoike aa9105dae7 Cleaned up some join / part comments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-22 20:33:12 +00:00
Spoike ff5bf28f00 Fixed a warning (slight cleanup).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-22 20:31:57 +00:00
Spoike cdcbe7773c Finally added allownq command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2425 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-22 20:31:10 +00:00
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