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
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
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
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
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
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
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
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
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
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
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
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
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
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
57f2fd6edc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2476 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-12 01:22:30 +00:00
Spoike
4a823c3601
bigfoot: Works for me(TM)
...
final 64bit qcvm portability issues fixed (I hope).
new qc extension: DP_QC_UNLIMITEDTEMPSTRINGS (assuming pr_tempstringcount = 0)
fixed a couple of issues with msg_entity being random.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-11 16:51:45 +00:00
Spoike
d804efe0cb
This commit brought to you to shut up bigfoot.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-04 19:17:16 +00:00
Spoike
35c93f1f60
Some Q3 fixes some plugin improvements so qvms can actually function correctly, and a couple of minor things.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-02-23 00:21:33 +00:00
Spoike
18e24f710c
De-spammified Hexen2.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2415 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-18 23:39:37 +00:00
Spoike
3bda76ade3
Stopping nexuiz from looping infinatly with lots of new bots being spawned..
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:48:44 +00:00
Spoike
42c43d960f
mostly miscilaneous changes (some old stuff that I don't remember), lightsampling changes, qtv changes, avi sound changes
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 00:59:22 +00:00
TimeServ
bded857feb
force flame models to render fullbright, very slight fps increase with r_shadows
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-08 06:24:07 +00:00
TimeServ
a10f1f22a6
cleanup, change TE_BLOB to TE_TAREXPLOSION in particle sets, change TE_BIGEXPLOSION to TE_TEI_BIGEXPLOSION, fix centerprints/stuffcmds not being written to mvds (maybe), misc fixes
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-02 17:42:36 +00:00
TimeServ
4942e86843
remove floodprot and floodprotmsg commands, add sv_floodprotect_messages/sv_floodprotect_interval/sv_floodprotect_silencetime cvars to replace old functionality, needs testing
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-29 06:12:12 +00:00
TimeServ
637633af80
vector op cleanups, added pr_droptofloorunits, sets how many units droptofloor QuakeC call will drop, defaults to "" which drops up to 256 units (Quake default)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-29 04:50:24 +00:00
TimeServ
bb98dc4939
Attempted precision fix for ftos
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 03:45:44 +00:00
TimeServ
dccc3efb10
mimic DP ftos for now, added pr_brokenfloatconvert which enables the old ftos behavior, defaults to 0
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 07:37:34 +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
45a50b2e8e
Two things.
...
1: make qclib's qcc more consistant, by passing in a '-src src' instead of hardcoding it inside qclib.
2: fixes the 'vote kick'/op_load bug in cutf.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:47:27 +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
aeea639fc2
Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
Spoike
2046931e26
gameclock, roq/avis can play on shaders (sound is wrong though, so that's fine with avis!), snprintf changes (this is the bulk), up2's mcharset
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 01:41:09 +00:00
Spoike
c77c317370
Added an sv_gameplayfix_honest_tracelines cvar, which defaults to on. Set to 0 for compatability, or 1 for sanity.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-02 19:52:00 +00:00
Spoike
38c36360f6
Mostly colourmod stuff. A few fixes for q3 menus, some gamma fixes for q2, more verbose messages for pngs, and hopefully a gamma fix.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-27 00:42:25 +00:00
Spoike
0bd1517522
Fixed a few warning messages.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-17 19:54:47 +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
Spoike
6430b9b214
added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
...
Also added trace_endcontents and trace_surfaceflags.
File system (still too selectivly) reads gz files.
Fixed a buffer overflow in the http client.
Made server downloads decompress zipped files to a temporary file. This should make it download them faster.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:09:43 +00:00
Spoike
8b3c4d9071
Fixed some bug type thingos.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-05 22:53:59 +00:00
Spoike
6b2b084b76
don't look for qwprogs quite so much in single player.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:34:24 +00:00