Commit graph

78 commits

Author SHA1 Message Date
smallmodel
456b660b2a
Improve the update checker so it can be opt-out (#696)
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 1m4s
* Add a cvar to enable/disable update checking

* Refactor update checker

This splits the thread part from the main part to clarify the code

* Move and update the configuration documentation, for a more general approach
2025-03-13 21:09:42 +01:00
smallmodel
01381ed084
Add HTTP support and update checking
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-02-24 02:20:31 +01:00
smallmodel
02fc573e31
Apply client and server config tweaks when loading the original config 2025-01-21 22:56:05 +01:00
smallmodel
3c26b98b65
Generate checksum with noncompat protocol 2025-01-04 17:55:33 +01:00
smallmodel
ac4138a763
Declare PID functions
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2024-12-15 00:20:31 +01:00
smallmodel
f684349c18
Make sure to pop the loading screen on error
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
This fixes the client getting stuck in the loading screen due to a drop error
2024-12-08 18:47:10 +01:00
smallmodel
333c452f44
Sanitize the name with a maximum buffer size limit 2024-12-08 12:51:14 +01:00
smallmodel
861338b0fc
Add support for smaller lightmaps
Large lightmap can be disabled for very low-end hardware. A BSP file with a smaller lightmap (_sml.bsp) will be used instead of the standard one if the map supports it
2024-12-02 20:36:45 +01:00
smallmodel
ab84a6ea58
Add support for the demo version of the game
This allows the demo version of the game to be used, both for playing on demo servers, or for hosting a demo server
2024-11-12 23:09:37 +01:00
smallmodel
1ef1bad9ae
Add network profiling tool from Spearhead and Breakthrough
Profiling can be enabled with `cl_netprofile` and `sv_netprofile`, the overlay can be shown using `cl_netprofileoverlay` and `sv_netprofileoverlay` and the server can dump network profile using the `netprofiledump` command
2024-11-09 21:38:16 +01:00
smallmodel
bf978256e9
Add changes from upstream, like pipefile, random number seed 2024-10-25 22:33:02 +02:00
smallmodel
5403577642
Fix the return value of FS_Seek
It returns a negative value on failure, so handle that properly
2024-09-25 21:04:55 +02:00
smallmodel
8f355fe188
Add Voip code from ioq3 2024-09-22 16:50:44 +02:00
smallmodel
f53fba082a
Improve memory for debugging purposes 2024-09-22 15:45:29 +02:00
smallmodel
e128c93ad9
Declare CL_FinishedStartStage 2024-09-13 21:25:41 +02:00
smallmodel
8a2e4ca470
Add Com_RandomBytes and Com_IsVoipTarget 2024-09-10 19:54:25 +02:00
smallmodel
11f5870a8b
Add ioq3 server fixes and improvement
- Add a rate limit to protect against DoS attacks
- Better IPv6 support
2024-08-31 21:04:10 +02:00
smallmodel
e3936f52a2
Move Com_SwapSaveStruct to a better place 2024-08-23 22:39:14 +02:00
smallmodel
8c59d6020e
Backported ioquake3 fixes for https://www.cvedetails.com/cve/CVE-2017-11721/ (Buffer overflow) 2024-08-18 13:35:59 +02:00
smallmodel
d22dea5e8e
Count renderer memory 2024-08-07 19:57:09 +02:00
smallmodel
7282426736
Improved the networking code for big-endian architectures 2024-06-09 00:02:00 +02:00
smallmodel
d3de937ee0
Added FS_CorrectCase 2024-01-10 19:45:53 +01:00
smallmodel
ea6920b711
Added CL_Key_ForceCommand 2023-12-31 15:34:45 +01:00
smallmodel
759dacd345
Added com_gamename 2023-12-30 21:36:54 +01:00
smallmodel
c4bcecf5e0
Added COM_IsMapValid 2023-12-29 21:24:23 +01:00
smallmodel
193cc9dc10
Added FS_FileTime (unimplemented) 2023-12-29 18:59:06 +01:00
smallmodel
770e832592
Added Com_strCompare and player name completion 2023-11-14 17:17:36 +01:00
smallmodel
128c8f3c06
Added Sys_DebugPrint 2023-09-17 19:31:37 +02:00
smallmodel
36aa9bd802
Don't replace Z_Malloc, Z_TagMalloc and Z_Free in debug memory mode 2023-09-07 19:48:08 +02:00
smallmodel
6d2d35e82d
Fixed compile errors on newer versions of clang 2023-09-05 19:39:57 +02:00
smallmodel
94ab4a5ac5
Moved MSG_ReadServerFrameTime and MSG_WriteServerFrameTime to qcommon/msg.cpp 2023-08-21 00:09:00 +02:00
smallmodel
2337f93df8
Added console_spam_filter 2023-08-15 19:28:38 +02:00
smallmodel
8e05347ba0
Moved CL_FinishedIntro and SV_CheckSaveGame to qcommon.h 2023-08-14 01:27:13 +02:00
smallmodel
dfd9afceba
Added Cvar_VariableFloatValue 2023-07-28 22:34:29 +02:00
smallmodel
134873cc51
Removed CL_Disconnect parameter
Added com_target_version
2023-07-21 20:32:33 +02:00
OM
17b63e56ca Set PROTOCOL_VERSION to 17 by default 2023-07-02 20:07:30 +02:00
OM
1947c30d3d Export MSG_IsProtocolVersion15 2023-07-02 18:30:52 +02:00
OM
75aeba31c6 Added com_target_game startup variable
FS_Startup now uses `fs_basegame` variable for mainta/maintt
2023-06-29 21:25:26 +02:00
OM
c83bbd6a58 Disabled pak files checking because it was causing trouble between languages 2023-06-27 21:05:38 +02:00
OM
f38645d19f Removed static variables from extern 2023-06-25 21:34:53 +02:00
OM
6134b150c1 ioq3 files backport 2023-06-25 20:26:47 +02:00
OM
02993eaa9b Backported ioq3 features 2023-06-25 19:35:41 +02:00
OM
8e04842a0b Added stuff from ioq3 2023-05-31 19:55:37 +02:00
OM
24cf12dd36 Fixed Linux compilation errors 2023-05-28 22:54:19 +02:00
OM
92a5883243 Networking fixes 2023-05-28 21:36:09 +02:00
OM
c1213e6027 Various fixes and additions 2023-05-28 20:19:35 +02:00
OM
f1f9ed744d Updates 2023-05-27 16:19:31 +02:00
OM
3d223f5a5d Updates 2023-05-27 15:36:19 +02:00
OM
f3be59f64d update 2023-05-26 23:32:27 +02:00
OM
dc45c33c79 ioq3 updates 2023-05-26 20:53:00 +02:00