Spoike
c66ff953b5
Fixes up tcpconnect a bit (based on bigfoot's patch). Should now work a little better than it ever did.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-10 22:36:53 +00:00
Spoike
4974c57c2c
Big fat-off commit.
...
A few changes. Half-Life support is finally getting committed.
Some unnecessary filesystem code changes.
And there's code for nsapi - meaning we can embed FTE in a browser (firefox and opera on windows work).
A couple of CSQC changes, trying to move towards a final EXT_CSQC_1.
Revised ruleset format finally implemented.
Doesn't compile with msvc6 due to issues with libjpeg not being a clean library.
Presumably its fine in vs2005.
Your mileage may vary.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
Spoike
c50ea9c54a
Fixed a warning.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3133 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-03 01:53:19 +00:00
Spoike
ed0cb0749b
Added a developer print any time any hostname (or ip) is resolved.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3131 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:51:52 +00:00
Mark Olsen
d43c9d8482
More no-IPv6-fixes.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3085 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 07:36:38 +00:00
Spoike
a9a4e664f6
Whoops. Don't crash on quit.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 01:57:02 +00:00
Spoike
a4f5def446
more ipv6 specifics.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3081 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 01:25:03 +00:00
Spoike
1456ed1ac7
Actually close sockets. It helps.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 21:54:10 +00:00
Mark Olsen
b14d99fd6a
Attempt to unbreak systems without IPv6.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-01 02:10:35 +00:00
Spoike
6fb100e8b5
more stuff broken
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-28 20:34:51 +00:00
Mark Olsen
b7a5f90f8a
Subtracting pointers of different types isn't valid C. Boo.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:49:26 +00:00
Spoike
1a8690e104
IPX only if ipx is supported by the system.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 08:55:41 +00:00
Mark Olsen
a6e7171f30
A bit closer to actually compiling.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 05:39:50 +00:00
Spoike
dce284811e
Minor update...
...
Q3 clients can connect to q1 gamecode (sv_listen_q3).
hacked support for SendFlags. It'll work compatibly, just not efficiently.
Unified shared qc builtins.
fteqcc supports int |= float, more params in macros, &~= operator.
Additional recent DP QC extensions.
Particle system abstraction. 'r_particlesystem classic' (vs null or script) will revert to truly classic particles.
Nexuiz might run again.
Network address revamp (sv_port and sv_port_ipv6 can both be used to specify an ipv4 address:port and both corrently accept clients). localhost now properly favours ipv4 (use ::1 for ipv6 localhost).
Download system revamp.
Numerous other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 22:29:28 +00:00
Molgrum
62657c2494
Reset the buffers before strlen is used.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3004 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:41:22 +00:00
Molgrum
6602ffed84
Attempt to make use of 'len' in NET_AdrToString.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3003 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:20:11 +00:00
Molgrum
33140dbf24
Ruleset expanded with ruleset_allow_localvolume. Set to 0 in 'nqr' and 'strict'. Made NET_AdrToString return a non-static pointer.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 14:37:57 +00:00
Spoike
f6d3e4ed94
Fixed up ipv6 support a little. Addresses are more readable. Allows clients to connect. :P
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2964 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:07:53 +00:00
Mark Olsen
ea76477982
Don't use Host_Error() here. Use VFSTCP_Error().
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:08:56 +00:00
Spoike
c77d0a981a
Fixed qtvplay, added a workaround for eztv proxies.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-01 05:55:44 +00:00
Spoike
afcf2e0ce8
Added some FIOBIO calls after select, apparently linux needs these (windows does not)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2636 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-04 20:54:24 +00:00
Molgrum
2dfb03ee03
Fixed 1000 warnings, changed switch-statements to handle all enumerations. Sorted it up abit too.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 19:16:32 +00:00
Spoike
19f998ecde
Fixed a minor bug on exotic systems.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 10:56:17 +00:00
Spoike
36f35cff78
added gl_texturemode2d
...
fixed an nq network message corruption bug with large reliables.
CSQC is supported on the server with the DP7 protocol
sv_listen_qw can be switched off leaving sv_listen_dp enabled in order to force DP to connect with a specific protocol. This needs to be improved, but works well enough for what it was added for.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-10 05:14:38 +00:00
Spoike
1f9484f93d
One d3d renderer.
...
Wonder how much this breaks.
Place your bets now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-25 22:16:29 +00:00
TimeServ
e881c6d01b
fix minimal builds
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-18 03:25:13 +00:00
Mark Olsen
997fa53005
Fixed yet another remote buffer overflow.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-30 15:45:16 +00:00
Spoike
725912224d
Should fix rjlan's Windows Vista IPV6 problems.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-27 16:00:41 +00:00
TimeServ
2333b388d0
according to LordHavoc, Windows will screw up on "" when resolving
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-17 06:22:48 +00:00
TimeServ
116faaf0c9
bug fixes to ban logic, partial ipv4 addresses work for bans, ban with reasons (ex. ban 192.168.0.0/16 "I hate people on LANs"), addip/removeip/listip can use the same format as ban (and now work for ipv6/ipx), writeip removed and will be fixed/replaced later
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-25 04:47:03 +00:00
TimeServ
c19474d271
fixed sw build, fixed server banning, banip works properly and accepts the format x.x.x.x/n and x.x.x.x/x.x.x.x, added unban and banlist
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-22 22:51:14 +00:00
TimeServ
c32061184e
sv_tcpport -> sv_port_tcp, added sv_port/sv_port_ipx/sv_port_ipv6 defaulting to 27500, use 0 to disable and shutdown protocol, -port/-svport redirect to these cvars
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 00:02:05 +00:00
TimeServ
575df34f7e
sv_tcpport to callback, reallocate command buffer properly (I'm sure this caused a few untracable bugs in the past)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 05:31:01 +00:00
TimeServ
f57808caf0
warning cleanup
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +00:00
Spoike
b5b74f2529
Rotating BSP fixes, hexen2 fixes, and a few extra bugs...
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-23 19:22:12 +00:00
Spoike
bfa9db357b
playqtv now plays from an fteqtv proxy (with the 10 secs buffering).
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:25:46 +00:00
TimeServ
d245b06c91
got rid of some anonymous unions
...
fixed a few msvc2005 complaints
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-17 02:51:59 +00:00
Lance
20ef474862
fixed msvc6 warnings
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:06:48 +00:00
Spoike
13d0a98133
cygwin, mingw should compile, plugins in dedicated servers, and stuff.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
Spoike
2c10084b45
Fixed a syntax error.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:21:38 +00:00
Spoike
339d478659
I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
...
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Mark Olsen
aac111c7b0
Use netinc.h
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1624 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:32:15 +00:00
Spoike
d4d365175d
I've been fixing warnings.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00
Spoike
4366f644e5
A few tweeks here and there.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-01 03:09:17 +00:00
Spoike
7e9bbc3fac
ktpro should work better now woot. a few other things too
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-03 15:16:20 +00:00
Spoike
dfd8e1aaed
Redesigned sound code for greater modularity.
...
Added support for dp6/dp7 protocols (ents are still broken).
md3 tags should work properly (still suffer from origin-of-parent interpolation bugs)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-14 04:52:10 +00:00
Spoike
d2954819d4
Fixed a linux/ip6 crash
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-07 17:30:40 +00:00
Spoike
c2930803d4
hopefully, everything will work that little bit better.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 04:20:20 +00:00
Spoike
95948b35ec
Rewrote FTE's NQ-compatable networking code. The nqnet functions have gone, as we support both udp and ipx through the qw code.
...
cl_netfps has also had some work.
Added polling of http-based master servers (gameaholic).
Lots of darkplaces compatability things added, for nexuiz.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-26 12:55:34 +00:00
Spoike
fcd206e295
That should fix the excessive ping/pl on dedicated posix servers.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:40:18 +00:00
Spoike
545b457f02
Trying to improve portability.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-19 21:09:29 +00:00
Spoike
7fb398c4ed
Maybe one day I'll compile before committing.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 20:59:11 +00:00
Spoike
54afb16222
Trying to fix bsd networking.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 20:54:43 +00:00
Spoike
9ae7e2621d
SOFTWARE RENDERING IS BROKEN: DO NOT USE ASM VERSION.
...
Lots of changes.
CSQC should be functional, but is still tied to debug builds. It WILL have some bugs still, hopefully I'll be able to clean them up better if people test it a bit.
Precompiled headers are working properly now. Compile times are now much quicker in msvc. This takes most of the files this commit.
Restructured how client commands work. They're buffered outside the network message, some multithreaded code is in. It needs a bit of testing before it's active.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-28 07:16:19 +00:00
Spoike
ae500c07ef
sockaddr_qstorage should make no assumptions about where the sa_family member is. Thanks to bigfoot for pointing this out.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-29 02:26:42 +00:00
Spoike
4b0395e079
Lots of stuff.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00
Spoike
9b7f0aea51
made a teeny bit more friendly with badly configured mvdsv servers.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@652 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:50:00 +00:00
Spoike
854f5340c1
server can be configured out, rtlights are a bit more responcible.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@538 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-29 01:21:00 +00:00
Spoike
80975e0ce9
Fixes a crash experienced with IPV6 and the serverbrowser (assignment to static strings = not good plan)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 23:18:20 +00:00
Spoike
ab6f58cf5e
now compiles with mingw.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@116 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 17:40:49 +00:00
Spoike
a67a6355d2
Initial checkin
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-21 01:25:48 +00:00