Spoike
|
4dfdca03f5
|
Fixed handling of header fields. This is a major security bug fix (omission bug). Added some additional measures to prevent client exploitation also (clients should do this themselves too). Used some snprintfs instead of sprintfs due to paranoia, but these will fix nothing as it currently stands.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3016 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-25 07:13:47 +00:00 |
|
Spoike
|
2c2560eef4
|
The buffer is not meant to be terminated by a null terminator, but instead has a length. (it is always null terminated despite this)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3015 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-25 07:09:39 +00:00 |
|
TimeServ
|
d1a489d83f
|
don't do cl_netfps stuff twice in sendcmd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3014 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-22 11:30:16 +00:00 |
|
Molgrum
|
b115f8998b
|
Don't change the viewheight when the player is dead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3013 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-20 21:44:10 +00:00 |
|
TimeServ
|
e33bd0bff1
|
dynamically load CheckTokenMembership
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3012 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-13 07:24:11 +00:00 |
|
TimeServ
|
51989fe5f6
|
added better home dir detect with windows, use home dir by default on unix and Vista+, with 2000/XP/2003 use home dir by default when on a network or not an administrator
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3011 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-13 05:03:54 +00:00 |
|
TimeServ
|
5ddfd68b11
|
q2 workaround
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3010 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-13 02:26:08 +00:00 |
|
TimeServ
|
0adc1e1054
|
clear colorshifts on disconnect, don't decrease cshifts on gamma change, fix warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3009 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-12 23:19:47 +00:00 |
|
TimeServ
|
01d05dc3b6
|
forgot #ifdef Q2CLIENT around q2 stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3008 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-12 20:49:42 +00:00 |
|
TimeServ
|
3a7d339c38
|
new cvar cl_sparemsec (you shouldn't have to mess with this really), modified the sendcmd logic so cl_netfps works better and remote connections are a bit more efficient
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3007 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-12 20:47:13 +00:00 |
|
TimeServ
|
9cf2db123c
|
added persistant queries (UNTESTED), changed sqlopenquery call, added sqlreadfloat, fixed deallocs, self/other is stored on openquery call and is checked against a spawnid on callback call (reset to world when check fails), preliminary add FTE_ENT_UNIQUESPAWNID
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3006 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-11 16:04:14 +00:00 |
|
Molgrum
|
d73b9c0735
|
Minimal client compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3005 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-08 20:46:58 +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 |
|
Mark Olsen
|
f15fc6fefd
|
Build... Even if you don't have SQL defined.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3001 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-06 21:27:04 +00:00 |
|
Spoike
|
751e3df851
|
Added colourise command. 'colourise playername top.bot skin' where top/bot can be xf00 for red, xf00000 for slightly less red, off to disable forcing (for that part, eg: x0f0.off to force only top), or a regular number between 0 and 14 for regular skin colour ranges. Will not persist through configs. If .bot is not present, top is used for bot. Only works on team members.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3000 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-05 07:45:34 +00:00 |
|
Molgrum
|
121ea522fe
|
make qvm almost works...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2999 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-04 21:09:30 +00:00 |
|
TimeServ
|
f0b6bf19d3
|
commands sqlstatus, sqlkill, sqlkillall added; cvars sql_driver, sql_host, sql_username, sql_password, sql_defaultdb added; sqlconnect params changed to (string host, string user, string pass, string db, string driver) with all params optional; code works with these cvars when params omitted or "" but we only have one driver (mysql)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2998 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-04 20:48:28 +00:00 |
|
Molgrum
|
6e1e9a6438
|
Typo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2997 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-04 19:02:54 +00:00 |
|
Spoike
|
5b1679ad85
|
Molgrum doesn't like bgr, even though x86 display hardware uses it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2996 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-03 22:16:39 +00:00 |
|
TimeServ
|
8761bb1485
|
fix sql init/deinit, add broadcast to force sql thread termination
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2995 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-02 23:13:03 +00:00 |
|
Molgrum
|
afb7e76967
|
It comiples in Linux, thanks to Spike for the break&fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2994 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-02 18:36:52 +00:00 |
|
TimeServ
|
5c65851fb7
|
fix merged build (d3d color references, renderinfo fixes)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2993 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-01 22:34:19 +00:00 |
|
Spoike
|
519983dee2
|
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-01 22:06:22 +00:00 |
|
TimeServ
|
a631205fe7
|
added conditional variables for win/linux/sdl, switched sql thread worker to conditional to avoid busy looping, corrected a spikeism
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2991 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-01 05:42:23 +00:00 |
|
Molgrum
|
5d64f13a18
|
Double precision for gameclock.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2990 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-06-01 02:42:18 +00:00 |
|
Spoike
|
94d108c522
|
Fixed up qc stat field submission.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2989 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-31 10:35:38 +00:00 |
|
Spoike
|
f63468f1d7
|
Stat strings will actually be received properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2988 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-31 10:33:03 +00:00 |
|
Spoike
|
eafb021179
|
Fix up scoreboard entry times.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2987 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-31 10:31:47 +00:00 |
|
Molgrum
|
69a32e88de
|
Stop RealIP-checks when realip_status has reached sv_getrealip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2986 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-30 21:38:02 +00:00 |
|
Spoike
|
0e754dea0f
|
k, next time I might test it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2985 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-27 20:08:21 +00:00 |
|
Spoike
|
89a4f03160
|
Tweeked the realip stuff to tolerate ezquake. Added new cvar, sv_realip_kick. should be set to no greater than sv_getrealip. sv_getrealip 1 is mvdsv-level security, 2 ensures that there is a quakeworld client at that ip, while 3 ensures that its the actual client that its meant to be. Note that only FTE supports 3 and ezquake/fuhquake don't even support 2 (while mqwcl does). The higher the value, the higher the certainty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2984 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-27 18:59:07 +00:00 |
|
Spoike
|
0479526cfe
|
okay, guaranteed no collisions on realip challenges.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2983 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-26 21:58:26 +00:00 |
|
Spoike
|
4afc4aa4e6
|
Randomized the realip challenge.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2982 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-26 21:51:19 +00:00 |
|
Spoike
|
594c81c3b5
|
Fixed voting to not crash the server when votes time out. Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2981 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-26 21:50:11 +00:00 |
|
Spoike
|
9b33803764
|
Fixed challenged acks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2980 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-26 21:04:42 +00:00 |
|
Molgrum
|
250d6ffeb8
|
Enable logging of realip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2979 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-26 20:22:47 +00:00 |
|
Spoike
|
af47e57535
|
Fixed a typo, sv_realiphostname_ipv6 should now exist.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2978 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-26 19:34:03 +00:00 |
|
Spoike
|
654eabc4c2
|
Reworked stats for csqc to match LH's suggestion. CSQC can read the 'delta' entities (experimental). Fixed up sv_getrealip, made banning work based on realip too. Added a ban command to easily ban a single client. Renamed some svcs for clarification. Added pvsflags to ssqc for greater control over how ents are sent to csqc. Broke some stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2977 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 22:23:43 +00:00 |
|
Spoike
|
40952dabf4
|
Let q2bsps work again when they're lacking textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2976 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 22:08:29 +00:00 |
|
Spoike
|
5e166cb9ce
|
Made the (currently disabled) http download code more secure.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2975 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 22:02:52 +00:00 |
|
Molgrum
|
ef8c96667e
|
Oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2974 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 21:53:19 +00:00 |
|
Molgrum
|
2b6c05d71c
|
Send blackness to the back when created. The code works but the number 12 should perhaps be an enumeration or something else?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2973 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 20:48:31 +00:00 |
|
Molgrum
|
11c8d5957c
|
Looks prettier
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2972 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 14:28:38 +00:00 |
|
Molgrum
|
633387d7a9
|
Updated Makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2971 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 14:23:03 +00:00 |
|
Molgrum
|
1134af84f2
|
Some notes about q3asm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2970 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 14:20:00 +00:00 |
|
Spoike
|
3bf676b1bb
|
Improvements for using FTE as a Q2 client. Helps connecting to r1q2 servers (tastyspleen being an example).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2969 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 01:17:16 +00:00 |
|
Spoike
|
548256dbc5
|
Was gonna try fixing the 64-bit stuff myself, but mneh. Small coding style improvement (well, more consistent with the rest of the engine anyway).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2968 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 01:15:49 +00:00 |
|
Spoike
|
413ef694cd
|
Fixed a typo or something in the download menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2967 fc73d0e0-1445-4013-8a0c-d673dee63da5
|
2008-05-25 01:14:17 +00:00 |
|