f4044af503
Fix compilation of the 'nocompat' build config.
2023-06-23 15:06:54 -07:00
erysdren
8482809f18
Fix compilation on Haiku OS ( #183 )
...
* add haiku defines in q_platform.h and sys_sdl.c
* linuxisms in sys_sdl.c and sv_sys_unix.c
* more linuxisms in sv_sys_unix.c
2023-06-11 23:14:36 -07:00
Shpoike
75c6527893
csaddon can now create/edit patches.
2023-04-17 03:58:21 +01:00
Shpoike
2b17f90b28
Fix some issues with csprogs embedded inside mvd files.
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
1ce399e969
Fix up some obscure builds.
2023-04-17 03:58:21 +01:00
Shpoike
cae062b142
Make updates menu searchable, make qi plugin a little more friendly.
2023-04-17 03:58:21 +01:00
Shpoike
6f61af8ee9
Cvar description tweaks.
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
2c8c9b615f
Fix some bugs.
2023-04-17 03:58:20 +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
1fe478dfa1
Add basic support for ktx's 'mapname#modifier' ent stuff.
2023-04-17 03:58:20 +01:00
Shpoike
e8fb813b4b
Add sv_nqplayerphysics 2 setting, so both old+new qw protocols get the same prediction-disable hints.
2023-04-17 03:58:20 +01:00
Shpoike
22533dfab8
Fix up some minor portability issues.
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
990066dea1
Add pm_bunnyfriction cvar to better mimic nq player physics with predictable QW physics.
2023-04-17 03:58:20 +01:00
Shpoike
f54b9b8459
Fix up the web build's text+touch input a little. Make its webrtc cvars more consistent with desktop builds.
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
86453332af
Auto value for sv_demo_write_csqc now writes the csprogs into mvds, to hopefully reduce playback issues. the lazy record commands should be favouring .mvd.gz at least.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:23 +00:00
Spoike
c7e9f8631c
Try to support DP mods a bit better.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:18 +00:00
Spoike
268b28a25d
Fix up the penalty system. stealth mutes are now actually stealthed properly, user bans no longer confuse removeip. Added stealthmute command for convienience.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:33 +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
6abd0f75bf
ezquake clients were all being treated as version 0, instead of our version-dependant workarounds disabling when ezquake bugs got fixed.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:22 +00:00
Spoike
c769e6fa01
Fix Q2 saved-game crash.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:17 +00:00
Spoike
407c4eca8b
Rework gamepad menu bindings, should be more intuitive now.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:59 +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
c2f7a7b2d0
Fix some issues from last commit.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-19 13:29:27 +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
89fde9c5e4
Some more ICE polish.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:18:05 +00:00
Spoike
4fc23b4f4d
Make the frametime graph a bit more pretty.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:45 +00:00
Spoike
62e8bb5774
Prevent FTE servers from getting mistreated as NQ servers, this should restore the 'observe' option.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:27 +00:00
Spoike
ce8155f8a1
Only default to sv_listen_nq when running q1.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6293 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:16 +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
4fce9e090d
Fix up vrinputs frame times.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:54 +00:00
Spoike
217a49c08d
Commit 6276 was bad (reproted by qqshka).
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:37 +00:00
Spoike
3f85c9793c
Add TURN support to our ICE implementation, along with a few fixups. Must be configured with 'net_ice_servers turn:foo?user=foo?auth=bar'. space-separated list, can also accept additional 'stun:' servers.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6285 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:31 +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
dae4ad6ed6
Fix up internal client/spec counters so servers don't incorrectly enter idle modes.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-26 08:08:36 +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