Commit Graph

692 Commits

Author SHA1 Message Date
TimeServ 5038d72933 recommit revs 3280-3282
update dotnet2005 ignores

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3285 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 15:34:16 +00:00
TimeServ a94a33212c destroy software rendering and break everything (and that won't be all!)
also note that merged builds on non-windows no longer make much sense

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-16 22:06:59 +00:00
Spoike 0c5ee4d373 yeah, I know, I officially suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 07:38:36 +00:00
Spoike 57c9515b39 Updated QVM apiFixed up some of the slowness in the sky/water warping code.
Enabled freetype in gl builds. It'll try to link dynamically. Headers are included for windows users. unix users will need the freetype2-dev package for their system, sorry. you could probably get away with editing the makefile to include the headers if that's a problem.
Fixed occasional missing skies.
Updated q1qvm api stuff version (to 13).
Cleaned up the ban code. There are no longer two separate mechanisms to ban people.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 23:42:54 +00:00
Spoike f7b9395261 Updated to support mvdsv's qvm api version 13 instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:22:02 +00:00
Spoike 03aa7fefaf Fixes a conflict.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:21:14 +00:00
Spoike e1ab049608 Attempting to fix recent breakages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 07:45:46 +00:00
Spoike 18b617f4a1 vweps.
added builtin float(float modidx, float framenum) getframeduration = #277; to both csqc and ssqc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 01:20:20 +00:00
Spoike a80214290d Oh noes! Everything is broken!
Rewrote much of the console code. Should be no obvious differences.
Nearly all conchar parsing goes via a single function. Still some left in the dedicated server code.
Added the ability to parse utf-8 text, disabled by default.
Added the ability to input unicode chars using whatever keymap the user has set up in windows (not enabled by default).
Reworked vbo stuff to be a little more versatile.
Added toggle console command.
Added freetype2 support (not compiled by default).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-05 18:45:53 +00:00
Spoike ca7a6224a4 Fixed flickering entities bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-28 19:57:09 +00:00
Spoike 06b20185b5 cmd efpslist now shows incoming/outgoing packet rates per client, too (expressed in bytes per second - same as rates).
Semi-colon can now be bound properly in the menus.
Fixed a bug with one of my more recent commits.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-23 21:49:44 +00:00
Spoike f2cce499f6 Multiple minor cleanups. Chunks of dead code removed.
Added com_parseutf8.
Z_EXT_VWEAP is supposedly supported serverside, but not clientside. It is not advertised, and not used, yet.
Fixed csqc mouse issues in linux, supposedly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-21 17:45:33 +00:00
Lance 226ae08d0a Use -DCLANG with clang (sv_rankin.c hotfix), Makefile cleanup (cleaner filenames) and -D_SDL added to the
win32_SDL 
targets


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-08 08:10:32 +00:00
Spoike b7c8b33b98 Stopped Moodles from being quite so evil.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:37:50 +00:00
Spoike 9cd988a836 Added csqc->ssqc requests.
Fixed up cl_indepphysics. Sending is fully independent, bar sync points.
Fixed so #if 0 works in qc code.
Fixed up error conditions in qclib when features are not supported.
The webpage generator will now refcount properly.
Fixed error conditions when using glsl shaders.
If MULTITHREAD is defined, r_loadlit will not light inside a separate thread.
We now generate VBOs for bsp objects. Shaders/rtlights don't use them yet.
Fixed up MVD/multiview playback a bit. It now looks like it works! (cl_hightrack will no longer track the same person in all views).
Fixed error conditions when attempting to download versioned csprogs.
Reduced the number of places that a q3-style marked up string is expanded. I think there are a couple places left still though. Approximated ezquake colour codes.
Memory mapped read file access in win32, where we can. Not sure about this. Lets see how things pan out.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:11:17 +00:00
Spoike 640aafdc34 Makes Q3 somewhat playable again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 23:59:17 +00:00
Mark Olsen af09a50527 Fixed 'unban all' to unban all, not just the first.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-28 15:49:20 +00:00
Spoike 5f1a9d8cbf added cprint console command.
fixed nq client loading-screen persisting bug
fixed nq clients getting flooded by packets.
fixed nq clients not receiving any entities
removed a bit of redundant code in pmove
fteqcc: merged array function calls with real function calls, fixing return values in the process.
vid_preservegamma now defaults to off. windows sucks.
tweeked the prototype FTE_CSQC_SKELETONOBJECTS a bit. still not official nor advertised.
added a little bit more functionality to halflife support
csqc got some pmove tweeks. this is how I want it to work. nothing has been changed that is really incompatible with darkplaces in this commit.
added markers around some ext_csqc_1 features.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 00:50:42 +00:00
TimeServ 42b4577802 don't flash when already the active window
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 23:48:35 +00:00
Spoike 2adb420a6d Reworked the console/loading screen a little. The console is no longer directly shown at startup. MSVC2005 project files update for npqtv.
Added vid_wndalpha to make the window transparent (only supported in GL-win32).
Multiple issues with SW rendering, which I'll fix eventually. It does at least run, even if it looks ugly.
Plugins are now able to read the console input. Bigfoot, feel free to tweek.
Fixed up a few mismatched prototypes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3153 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 00:34:32 +00:00
Spoike 0eb7e83965 Stuff should compile a little better with GCC now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-02 22:25:54 +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 76f6ad0345 CSQC_DAT and MENU_DAT can now be enabled in CLIENTONLY/MINIMAL builds (so long as both are enabled).
Tweeked a statement that was causing crashes with msvc2008.
Dedicated servers should build again.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 05:05:54 +00:00
Spoike b763b5594d My monthly commit. I wonder what I broke.
Contains some stuff to get twig working a little better.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-03 01:52:30 +00:00
Spoike d18566f4e8 My god. I suck. I really do. I really really apologise. Sorry. Really really sorry. GAH!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3125 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-21 22:27:51 +00:00
Spoike 3b402813d8 Don't resolve master servers at startup. This stops huge stalls when you don't have complete internet access (lan games/single player).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3123 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-08 19:05:28 +00:00
Spoike 4e5e28b1ee Fixes the phantom grenades in twig.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 06:46:21 +00:00
Spoike 88aa502054 Reduced spam a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 06:31:51 +00:00
Spoike e2b905e74c NQ clients now get broadcast messages again. Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3106 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 02:48:03 +00:00
Spoike f06fcc78af Fixed a potential incomprehensible server message bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3104 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-29 01:41:28 +00:00
Mark Olsen 3e6d9af3d4 Ugh, when a player changes a userinfo string, please don't send the update to all connected players n times, but just 1 time. 'Fixes' the 'crashes' on busy servers, but the real problem is still there: Too much client input can clog up the server, effectively causing a DoS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3103 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-22 04:08:45 +00:00
Spoike 6e3f69f504 d3d rendering is diabled (framestate, read later - merged will compile just sw+gl for now).
fte particle scripts are disabled (classic works).
I'll fix these in the new year.
Redid framestate stuff again. Slightly better now, but this is the bulk of the changes here.
Reworked the renderqueue to provide batches of items instead of individual items. This cleans up the particle rendering code significantly, and is a step towards multiple concurrent particle systems. fte's scripted particles are broken as I'm trying to find a way to rework them to batch types together, rather than having to restart each batch after each particle when you have two particles in a trail. I'll fix it some time.
Reworked some alias model code regarding skeletal models. Added some conceptual skeletal bone control builtins available to csqc. Currently it can query the bone names and save off animation states, but can't animate - its just not complete.
Added more info to glsl custom shaders.
Updated surface sorting on halflife maps to properly cope with alphaed entities, rather than just texture-based blends (q2-style).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-23 02:55:20 +00:00
Spoike 5b978f4ab7 Fixed a recent stupid bug (thanks krimzon)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3093 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-11 00:18:47 +00:00
Spoike 90c028c812 clear fixangle on botclients, allowing them to update their angles to match v_angle automatically
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-06 02:07:04 +00:00
Spoike 0cd836b793 Makes DP_SV_PLAYERPHYSICS a little bit more tolerable by making players actually have friction when they're about to fall into lava, simply by renaming a cvar...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3088 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-06 02:06:00 +00:00
Spoike f01514060e Fixed a crash associated with demo listings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 02:23:53 +00:00
Spoike bab14ec1af Fixed ftesv's PEXT_MODELDBL support. It'll work in ezquake again now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3078 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:05:14 +00:00
Spoike bf63418315 Fixed a potential crash on SV_Error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:04:15 +00:00
Spoike e4c9d744a8 Why do I still have commit access?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3073 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-30 05:31:16 +00:00
Spoike bf53bd5577 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-29 16:15:04 +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 71ade84614 Empty enums are boring.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3066 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 20:32:28 +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
TimeServ fcbfb0e22c change registry entry for win32 dedicated for future use
misc sound fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-11 03:39:34 +00:00
Mark Olsen 704fb438c9 Another SNAFU fixed. This should be the end of superbloated entity updates.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 13:11:46 +00:00
Mark Olsen 0159d7a211 Spike, you suck. Always diff before commit :/. Delta updates are there for a reason.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 08:56:03 +00:00
Mark Olsen 24e178bc37 Buffer overflows are bad for you, m'kay?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-23 19:17:19 +00:00
TimeServ 828b3e99ab fix a few casting issues allowing maps such as warpa, etc. to load (probably not done here)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-06 12:11:27 +00:00
Spoike 9741aacb98 Fix a crash which qqshka reported, and fixed up some C style.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3021 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-07 20:39:21 +00:00
Molgrum 8278f53e15 Patch from Spike, change droptofloor() to take entity number as argument instead to comply with QVM mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3020 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-29 11:17:46 +00:00
Molgrum eec8fcb78b Add G_MOVETOGOAL builtin for KTX.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3019 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-27 20:26:33 +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 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 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
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
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
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
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
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 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
Molgrum 3ddb5e5dc5 Make it compile on Windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2962 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-24 20:04:38 +00:00
TimeServ ce5cb75832 this commit will most likely break things: main Z_*/BZ_* calls no longer have zone logic, tagged allocs redone and now partially thread safe (still Sys_Error), code using reallocs should no longer assume new memory is zeroed, minor mysql fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-09 14:22:37 +00:00
TimeServ cd0171d73e fix sqlescape, sqlopenquery changed so parameters 3+ can be concatenated for final query string
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-17 19:16:21 +00:00
TimeServ 9e7a43c96c SQL: sqlreadfield with a negative row returns field name, server request/result stacks changed to queues, query references numbers limited to +/-50000, proper library init/end calls, sqlversion call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-15 00:29:17 +00:00
TimeServ 7f73771ba2 mysql includes and libmysql.dll loader code for win32
added preliminary FTE_SQL code (not in a usable state), current problems: 
WINDOWS ONLY, database connect is hardcoded to a local server, conditional wait needed for worker thread (currently consumes 100% cpu), query requests and results should be a queue not a stack, sql init and deinit is in the wrong place, project and defines need updating, tons more things

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-14 07:47:30 +00:00
TimeServ 1673ca7a7a PROTOCOL_VERSION to PROTOCOL_VERSION_QW to resolve a future header conflict
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-12 23:24:19 +00:00
Molgrum 85c12e3a9c Bugfix, found by qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-10 15:24:25 +00:00
Spoike 04bdd8d827 Fixed a minor bug that has never occurred.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 02:44:01 +00:00
Spoike 8c6bf11a10 That's meant to be a temporary error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 02:41:46 +00:00
Mark Olsen 83d23423ab characture -> character
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:27:30 +00:00
Spoike 7584ae2e34 Changed the pf_clientstat function and parameters to match the ordering originally documented in the ext_csqc extension I posted on wiki.quakesrc.org, as per krimzon's recommendation. Updated qclib to support querying fields based on their offset rather than purely a name basis, to support the clientstat change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:31:01 +00:00
TimeServ ec41df875c terrible workaround for optimization floating point compare problems
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-13 00:25:06 +00:00
Spoike bd6e6cb2b8 More meaningful name for unnamed clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2843 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-08 19:36:30 +00:00
Molgrum 8e31e97f60 Screwed up here, this is supposed to be code for two cases. Thanks qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-05 12:29:23 +00:00
TimeServ 463a172753 forgot pthread include
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2835 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 20:12:50 +00:00
TimeServ 16caf0e1da added another thread call and fixed up some thread creation logic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 20:05:49 +00:00
TimeServ a6617581c8 thread creation/mutex stubs, code is probably wrong but everything is surronded by #define MULTITHREAD so shouldn't break anything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2831 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 00:09:34 +00:00
Mark Olsen fa9ffe86b4 thier -> their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-23 20:28:40 +00:00
Mark Olsen 17a004d9c5 Really funny. Random stack values always are.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2802 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:40:18 +00:00
Mark Olsen bd10f65dfc Someone forgot a static keyword in Sys_Milliseconds(), making the comparison base always a random stack value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:38:58 +00:00
Spoike bc19d31dc3 Some implementations ignore 0x prefixes in atoi
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 21:21:21 +00:00
Molgrum 239f0c9d38 I guess all of these are to be changed too, please confirm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-04 08:21:19 +00:00
Molgrum 93c94f2b61 Just a minor consistency fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-04 08:16:23 +00:00
Molgrum ef3c7621af Warning fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:46:04 +00:00
Lance f34c09bc37 fix in map loading code, quake can now load dm6++
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2762 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-25 07:29:59 +00:00
Molgrum 48933f0862 Temporary workaround for the DP_SV_BOTCLIENT speedbug on listen servers. Needs some proper fixing!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2745 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-14 20:32:21 +00:00
Molgrum d598dbbe64 Naming standard being followed: DP_QC_BOTCLIENT -> DP_SV_BOTCLIENT
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-14 01:52:42 +00:00
Mark Olsen 306a02204b Workaround for broken bot angles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-14 00:54:29 +00:00
Molgrum 458e39e36a Removed the oldmovement code in DP_QC_BOTCLIENT. Previous commit was warning fixes in D3D.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-11 13:31:31 +00:00
Molgrum 1120786c44 A better botclient movement code, hopefully fully operational this time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 12:23:55 +00:00
Molgrum 0f02f12b8b s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +00:00
Molgrum 379efc8376 s/thier/their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Molgrum a07ed00f94 Botclient ucmd.angles are now correct, but the bot is still facing the wrong way.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2714 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 16:05:33 +00:00
Spoike fb99c6f501 I suck
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 14:17:55 +00:00
Spoike f9277a9e74 Made minimal builds compile again, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 14:11:17 +00:00
Spoike c6325976f0 Cleaned the code a tiny bit, resolved the movement-got-changed issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 10:44:36 +00:00
Molgrum 7ab0b2ea43 The usual errors and warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2697 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-02 15:25:26 +00:00
Molgrum a06055f971 Fixed bot support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2696 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-02 15:17:22 +00:00
Mark Olsen faac72835c SP_#? -> CON_#?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:28:06 +00:00
Mark Olsen ca258deb83 Fixed a harmless Valgrind hit. (I think. I don't actually remember this change :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2672 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 19:29:24 +00:00
Spoike 0a682a76d6 Resolved conflicts with macosx header files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 19:28:27 +00:00
Spoike 9af1ba84cc A few things... f_ruleset stuff, 64bit qvm compatability, added cvars so you can put the built in http server on a custom port, added #warnings to annoy molgrum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:35:39 +00:00
Spoike fe77805022 I broke this with non-qvm mods when I added qvm support. So, this is the fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2657 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-13 15:32:23 +00:00
Molgrum 0ae105907d Fixed a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2651 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 18:22:33 +00:00
Mark Olsen 5a512f2c43 Fixing Molgrum's QTV problems, part two.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2650 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 14:55:36 +00:00
Mark Olsen 12f0564d1d Fixed Molgrum's QTV lockup problem (hopefully).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2648 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 14:39:08 +00:00
Spoike 8935096360 this looked dodgy
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2642 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-08 20:28:59 +00:00
Molgrum ee24c17cce Last commit now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2640 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-06 23:27:59 +00:00
Molgrum 2b3dbb3d15 Forgot some files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2639 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-06 23:25:14 +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
Spoike 06da06f9b3 improved q1qvm support - now runs on 64bit servers with 32bit qvm
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2635 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-03 22:37:13 +00:00
Molgrum eaf6335e74 Fixed compile errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-02 20:19:09 +00:00
Spoike dc3e0d5872 Added support for q1-like qvms (mvdsv style). only tested with ktx so disabled by default for now, couple of related cleanups too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2633 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-02 19:55:17 +00:00
TimeServ 619bb7a1cd fixes to DP7 downloading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 05:18:20 +00:00
TimeServ ba985019ef another attempt at this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2631 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 04:56:04 +00:00
TimeServ d5d08045ed forgot return for Q2 clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2630 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 04:37:31 +00:00
TimeServ 18518ea849 another stab at the demonum/sv_demodir junk
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 04:36:17 +00:00
TimeServ 1c41a5c11a changed sv_demodir to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 01:51:34 +00:00
TimeServ 43a38c4639 attempted fix for download demonum/# stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2626 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 01:38:18 +00:00
TimeServ 1d6fa5f0a3 fix possible crash with download demonum/, fix typo with texture downloads
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2625 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-31 23:35:28 +00:00
TimeServ 2a7e707dc4 possible fix for some allow_download_* cvars
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2624 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-31 17:06:29 +00:00
Spoike 6e211078fd Added sv_minping
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 20:45:01 +00:00
Spoike 75ea97a08f Added sv_cullplayers_trace and sv_cullentities_trace
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2621 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 18:55:44 +00:00
Molgrum d1907666fb Moved declaration of COM_FileSize to common.h to fix warnings. Fixed one GCC warning in pr_cmds.c, added one ifdef in gl_alias.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2594 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-18 02:46:10 +00:00
Molgrum f5c9311935 Added pm_pground by Tonik, just some copy/paste, hope nothing broke :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2590 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-14 17:07:40 +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
Molgrum 865a5a003d Fixed a few Cygwin warnings: Removed/commented unused variables, added newline at end of crc.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:49:35 +00:00
Molgrum 273dedc28c Added endifs, moved log.c declarations to common.h but kept SV_LogPlayer in server.h (is this ugly? probably)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 14:41:23 +00:00
Molgrum 4ddcb057ac Fixed 2 warnings. I added #include <float.h> to quakedef.h which I hope is fine, and the fix should be fina as well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 00:30:25 +00:00
Molgrum 1675ef566e Fixed more warnings, not so many left now. Needs lookie as usual!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 00:11:21 +00:00
Spoike 7b4f6508b9 A few changes, I hope it makes people very happy
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-27 21:24:31 +00:00
Spoike c948d25a9a Tweeked stepheight a little, added 'cmd efpslist'
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2536 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 11:44:45 +00:00
Mark Olsen 656807e41a Don't crash quite so hard on big endian systems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-18 15:24:57 +00:00
Mark Olsen 6d6beaee1e Make the default sv_stepheight 18.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-16 17:25:58 +00:00
Mark Olsen 93325eed51 Now actually builds\!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2521 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-16 17:18:11 +00:00
Spoike dcec305bd9 Fixed Ogg support a bit. Enhanced DarkPlaces/Nuxuiz compatability. Fixed a couple other minor bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-20 00:02:54 +00:00
Spoike d74c6f738a Added some new bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-10 21:33:24 +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 e7f6c231e7 Support for reverse qtv connections. (server can now connect to qtv to stream the game, rather than the qtv having to know about the server)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2511 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-28 02:25:32 +00:00
Spoike 1c9eff8804 Dedicated server should now compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-27 14:47:31 +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