ysdragon
7ba29029e1
Add support for additional BSD platforms in platform detection
2025-01-08 11:26:54 +02:00
smallmodel
9427137dbd
Properly increment the packet number before sending the gamespy reply
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 32s
Some programs parse the packet number and stop working properly if the packet number is an incorrect value
2025-01-04 19:43:47 +01:00
smallmodel
387ccd5cc3
Bump the minimum CMake version to 3.12
2024-11-30 00:36:33 +01:00
smallmodel
f1e5d02169
Fix insecure printf format
2024-11-29 21:48:56 +01:00
smallmodel
d01fa33e46
Use 0.31 for Breakthrough demo
...
This makes the Breakthrough demo client compatible with Breakthrough demo servers
2024-11-13 00:07:07 +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
Sébastien Noel
a010e648ee
Fix a few typos
2024-09-19 10:52:47 +02:00
smallmodel
874b034698
Corrected some compilation warnings
2024-06-11 21:24:01 +02:00
smallmodel
74ccb03e54
Reduced compilation warnings
2024-06-07 20:34:13 +02:00
smallmodel
05a6b43e08
Check for __APPLE__ to detect MacOS
2024-04-30 19:25:02 +02:00
smallmodel
53c6224ed0
Set ENGINE_VERSION to 3.0
2023-08-30 21:53:40 +02:00
smallmodel
92fdfe3f35
Moved MIN_HEARTBEAT_TIME and MAX_HEARTBEAT_TIME to sv_gqueryreporting.h
2023-08-29 18:45:46 +02:00
smallmodel
8b563e5232
Fixed heartbeat being always sent every frame
2023-08-29 08:17:23 +02:00
smallmodel
aeb4875fa5
Commented out call to WSACleanup() (as it is already handled by the engine)
2023-08-29 01:08:33 +02:00
smallmodel
c95a6ee3fd
Cleaned code up
2023-08-26 21:13:14 +02:00
smallmodel
10b954cb1a
Added MAX_KEYVALUES_LENGTH
2023-08-26 21:12:32 +02:00
smallmodel
317aead26d
Replaced 1350 with MAX_INFO_STRING
...
Fixed wrong gamespy query being processed
2023-08-26 18:17:55 +02:00
smallmodel
e93780c66c
Fixed players_callback always returning players when there are none
...
Fixed gcd_think() crashing if it wasn't initialized
2023-08-26 18:17:28 +02:00
smallmodel
0209e8f782
Fixed call to GSICancelAvailableCheck() causing socket 0 (STDIN) to be closed, any read() afterwards would hang
2023-08-26 16:18:57 +02:00
smallmodel
5c9fceea2c
Use sizeof sockaddr_in instead of 16
2023-08-25 22:55:22 +02:00
smallmodel
c6ae5ed551
Added gamespy cd key authorization code (mohaas/mohaab only)
2023-08-24 23:19:21 +02:00
smallmodel
0f86a5ee8a
Fixed "gamename" on mohaab
...
Use GS_GetCurrentGameName() and GS_GetCurrentGameVersion() in basic_callback
Using DF_ALLOW_LEAN_MOVEMENT instead of raw dmflags
2023-08-23 23:50:40 +02:00
smallmodel
803e53869b
Set qr_custom_handler to NULL instead of 0
2023-08-23 23:49:25 +02:00
smallmodel
a5259ebc05
Using MASTER_SERVER_HOST macro
2023-07-29 19:30:39 +02:00
smallmodel
10981f706f
Added functions to get game key, game name and game ID
2023-07-28 21:45:07 +02:00
smallmodel
d61218d7e2
Fixed const parameters
2023-07-28 21:44:43 +02:00
smallmodel
615032bc25
Fixed cross-platform errors
2023-07-27 23:13:57 +02:00
smallmodel
1884d3d23c
Using a const char* for ServerListAuxUpdate
2023-07-27 23:00:27 +02:00
smallmodel
3f036cca5e
Added GameSpy server list
2023-07-27 22:43:51 +02:00
smallmodel
13828994fb
Used clang-format on gamespy files
2023-07-05 21:24:14 +02:00
OM
668f74ffc0
Set the game name depending on com_target_game
2023-07-02 20:10:38 +02:00
OM
4841d8026f
Allow gamespy to run on the 3 different games at runtime
2023-07-02 20:07:15 +02:00
OM
1ee8463ff5
Arithmetic operations fixes
2023-06-22 18:32:15 +02:00
OM
ed330e63fe
Commented out unused gamespy libraries
2023-06-18 19:11:05 +02:00
OM
5b97245dd1
Reworked CMakeLists
2023-06-17 01:44:38 +02:00
OM
ba881b768d
Added _LINUX define for gamespy
2023-06-17 01:43:42 +02:00
OM
c287638f99
Reworked file inclusion (using relative path)
2023-06-17 01:24:20 +02:00
OM
03100b47c1
Set the project name to openmohaa
2023-05-18 20:24:09 +02:00
L
6f325cb294
Useless comments removed
2023-02-08 13:56:20 +01:00
L
31bd29b92b
Project can now be compiled using CMake 3.5
2023-02-07 21:18:17 +01:00
L
bf02aee57d
Reduced C++ standard requirement down to C++11
...
Requires pthreads in *NIX (because of gamespy)
Using CMake 3.12 instead (required because of *add_compile_definitions* command)
2023-02-07 20:52:08 +01:00
L
de40d640d5
Set minimum cmake version to 3.5
2023-02-07 19:38:31 +01:00
L
0d2eb7f693
Added OPM header
2023-02-05 13:27:22 +01:00
L
29061bea50
Fixed send_heartbeat sending to the wrong address
2023-02-05 02:08:47 +01:00
L
5fecffc451
Fixed wrong client ping value in gamespy players callback
2023-02-05 01:58:52 +01:00
L
8ec6fcd9fe
Added old qr gamespy implementation
2023-02-05 01:40:14 +01:00
L
296e0c271b
Fixed gamespy compilation error on unix
2023-02-05 01:38:42 +01:00
L
dd44f78fc5
Added gamespy SDK
2023-02-04 21:00:01 +01:00