Commit Graph

596 Commits

Author SHA1 Message Date
Shpoike 75c6527893 csaddon can now create/edit patches. 2023-04-17 03:58:21 +01:00
Shpoike d37b8d07ff Try fixing te_gunshot with nq protocols. 2023-04-17 03:58:21 +01:00
Shpoike 527233154c Clients can now request the master to initiate an WebRTC/ICE connection with 'sv_public 1' servers. This is primarily for the browser port. Servers now report their srflx address via the status command (with fp, ready for secure copy+paste). 2023-04-17 03:58:21 +01:00
Shpoike 92be91f416 Prevent the user from selecting demoness when running base hexen2 to prevent a crash. Fixed visible menu markup too. 2023-04-17 03:58:21 +01:00
Shpoike f2d54f30d8 Update DTLS stuff, fixing certificate pinning bugs.
We should now support dtls1.2 under win10 (otherwise win7+8 is still stuck with 1.0).
SSQC can now query client certificate info via infokey - *cert_sha1 or *cert_dn
Server addresses can be postfixed with eg ip:port?fp=BASE64 to provide a fingerprint to verify the server without depending on cert authorities.
2023-04-17 03:58:20 +01:00
Shpoike c5f837d468 Rework some hashfunc_t stuff. 2023-04-17 03:58:20 +01:00
Shpoike f8962b6c47 Rework where connection_started is set to make sure its always set. Fixes https://github.com/fte-team/fteqw/issues/164 2023-04-17 03:58:20 +01:00
Shpoike 2d9ec83c20 Fix some build targets, fix csqc's setpause builtin. 2023-04-17 03:58:20 +01:00
Spoike 48576a59dc A bit of a code cleanup, change a couple of prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:31 +00:00
Spoike fb9f8c9cd8 Fixups for crashes triggered by xonotic, probably some other mods too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:28 +00:00
Spoike 503162aefe Add file uri support, requires a '-allowfileurl' commandline argument.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:39 +00:00
Spoike 6307ae1303 add base64encode and base64decode builtins. Allow the second arg of registercommand builtin to specify a description for that command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:04 +00:00
Spoike df6b651eeb Better compat with QE. EX_PROMPT now supported serverside (emulated for non-qe clients). Per-client localisation now works. Scoreboards are now a little nicer when running mods with well-defined teams (eg NQ ssqc).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:34 +00:00
Spoike 2e84a3b96a Fix up some docs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:17 +00:00
Spoike 16c8e521ef Protocol compat with the Rerelease Update 4, at the expense of earlier versions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-19 13:30:16 +00:00
Spoike a0f2ffda90 Try to fix up some ICE quirks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-07 23:49:33 +00:00
Spoike 5d0dd2ef8f Make sure infokey(ent,"protocol") reports something unique for qex-protocol clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6292 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:11 +00:00
Spoike c4b043d39f Fix some missing ambient sounds on large bloated maps/mods (this really should have been fixed years ago).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-29 07:20:24 +00:00
Eukara ad03c1f6a6 Add missing check for QUAKESTATS being defined in pr_cmds.qc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-27 18:28:43 +00:00
Spoike 304079e1dc Add a variation of the addentity builtin, for explicit light levels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-26 08:08:50 +00:00
Spoike 81ab9277ac Make the various build config defines a little more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-26 08:08:43 +00:00
Spoike d41ca13562 Fix fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-20 04:54:54 +00:00
Spoike c715171416 Fix some qcc bugs with large structs (reported by qqshka).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:14 +00:00
Spoike d7454f4f78 Add DP_SV_SHUTDOWN, for qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:54 +00:00
Spoike c39c4d0255 Make sure getmodelindex/modelnameforindex and sound equivelents are available in both ssqc and csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6265 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:41 +00:00
Spoike ce01181d88 wither reported that findkeysforcommandex wasn't present in menuqc. Fix that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:17:35 +00:00
Spoike 0f8d07b8e8 Add lerptime protocol extension. Still WIP, don't record to demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:26 +00:00
Spoike 4d8015d9cf Update QE compat a bit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:45 +00:00
Spoike 3ea2f04d90 Allow for better encoding of guarenteed-unsigned values.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:39 +00:00
Spoike dd03b69609 Move our gltf's json parser into the engine-proper, implement QC builtins to make json parsing available to qc. API defined by Joshua Ashton.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:48:40 +00:00
Spoike 73f6df016c A few minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:11 +00:00
Spoike c6e00068db Try to fix some qcc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:02 +00:00
Spoike 88858f7698 Bump ent counts by a smidge.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:33:56 +00:00
Spoike 42430d4712 Fix some misc memory leaks and a few other minor issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-30 05:55:01 +00:00
Spoike 578d12f254 Fix some updater issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-19 08:27:42 +00:00
Eukara 13b2a7935c Add support for HLMDL actions, and some builtins to interact with it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-07 03:18:00 +00:00
Spoike 423b549fa8 Support for qqshka's ktx api version 16.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:55 +00:00
Spoike 249b71bdc4 Allow ktx-like mods to send csqc ents too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-19 19:40:25 +00:00
Spoike 2b81527a69 Make our q2/q3 bsp code more modular, with q2/q3 gamecode treating it more generically.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6097 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:30:40 +00:00
Spoike d2937174bf Try to fix potential crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6094 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:38 +00:00
Spoike 23437fff01 Switch to supporting the october quake rerelease instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-09 07:58:17 +00:00
Spoike 8267939edb Misc tweaks, including a corrupt-bsp crash fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:43 +00:00
Spoike 7da9b4fcc4 Add setsendneeded builtin for setting per-player SendFlags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:04:59 +00:00
Eukara e69e81b9f5 input_sequence now formally added, will let the server know which input
sequence we're on when handling input_ globals.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-15 20:33:54 +00:00
Spoike 863e40d6f3 Fix Wastes builds to not crash on start.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-07 23:43:19 +00:00
Spoike 9741676e79 Try to fix some hexen2 saved game issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-01 07:30:48 +00:00
Spoike 01f6d7a75a Make sure filesystem depths are consistent between maplist.txt and hexen2's progs.dat. This should fix the base game failing on the first boss map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6053 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-01 03:54:47 +00:00
Spoike da46f65679 Fix misc rerelease issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-24 06:06:05 +00:00
Spoike c2d3d3a41b Fix up translations stuff with the rereleased version of quake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:37:21 +00:00
Spoike 634fd7cb7e Try to work around some remastered-quake compat issues. Still need to deal with the string non-concat issue properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-20 11:34:41 +00:00