Commit Graph

169 Commits

Author SHA1 Message Date
Mark Olsen 811fb3db90 Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2825 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:20:24 +00:00
Mark Olsen 0ecc551f45 Removed qstrncpyz() (why all the duplicate functions?), replaced usage of qstrncpyz() with strlcpy(), Made catbuffer() not braindead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:18:40 +00:00
Mark Olsen 948662ecfa Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2823 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:17:33 +00:00
Mark Olsen ad7802e43b Use strlcpy() instead of strncpy() and Q_strncpyz().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2822 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:17:05 +00:00
Mark Olsen 34488b1dbb Some BSD string prototypes because the dirty GNU hippies are lame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2821 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:16:27 +00:00
Mark Olsen fffc415fd0 Build libqtvc, link against it _after_ libc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2820 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:15:22 +00:00
Mark Olsen 178b7fb2ba Profanities for the two major C libraries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2819 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:11:07 +00:00
Mark Olsen 203ed87b73 Don't put large structures on the stack.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-13 06:30:39 +00:00
Spoike 6006580d8a Knocked up some commands and stuff to make qtv not forget about streams that failed. Finally implemented the commands command. Added commands to enable/disable streams.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2812 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:17:18 +00:00
Mark Olsen 9847a8213b Fixed some speeling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2810 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 16:09:18 +00:00
Mark Olsen fbdf2d4d25 Now builds with Libnix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:47:16 +00:00
Mark Olsen c212c7e5e0 Because I like blaming Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:38:44 +00:00
Mark Olsen c0a4a2b8fe One less WTF.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:28:44 +00:00
Spoike d3ea7bc446 Fixed a remotly causable crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-10 03:06:28 +00:00
Spoike e1e5bf1a82 Expanded the limits to match what mvdsv/ezquake allow/expect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-10 02:02:14 +00:00
Lance e557658a34 MACOSX support, it compiles.. whether it works is another story.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-19 14:49:37 +00:00
Molgrum 2fda3fbb99 Spelling + more verbosity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-18 14:55:27 +00:00
Molgrum 5b85ffc865 Make the stream labeling in tuimenu identical to guimenu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 23:19:55 +00:00
Molgrum 3098def6c2 Add more verbosity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 18:26:10 +00:00
Molgrum 35854f67b8 Missing linebreaks on these prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 17:30:56 +00:00
Spoike 944d4db18c Added more molgrum-style verbosity. Hopefully finally fixed the reason why he gets 'silent' disconnections. Added printf-style warning checks for gcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2786 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 14:53:45 +00:00
Molgrum e1bd95d392 Changed the "connection established" message to include stream ID too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 01:23:14 +00:00
Molgrum 868c81db4f Fix from Spike. Increase some buffer sizes to solve the "invalid mvd length" messages. FTEQTV still loses connection at mapchange on certain versions of MVDSV.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-15 21:19:52 +00:00
Molgrum e46e9e48ea A better spawn point when entering the streamless state.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 17:41:08 +00:00
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