smallmodel
c1c70a53be
Transition to idle after grouprooms or masterinfo requests are finished
2025-02-28 18:12:34 +01:00
smallmodel
f89bfba5dc
Replace tabs by spaces
2025-02-28 18:11:09 +01:00
smallmodel
32ba71693c
Remove some unnecessary endian swap
2025-02-22 22:56:57 +01:00
smallmodel
7fff3192a6
Fix server object mistakenly casted to int
2025-02-22 22:34:19 +01:00
smallmodel
83aa818c00
Don't add the same server twice
2025-02-22 22:24:19 +01:00
smallmodel
56d61bdef3
Implement support for parsing group rooms and master info
2025-02-22 22:13:23 +01:00
smallmodel
ebd86b32bd
Improve code clarity
2025-02-22 22:12:34 +01:00
smallmodel
08c718d232
Add support for server list encryption and tell the master server to return the server list encrypted
2025-02-22 20:39:10 +01:00
smallmodel
a36bbb0cda
Remove useless qr fields
Build branch / build-all (push) Failing after 39s
CodeQL / Analyze (push) Has been cancelled
2025-02-19 20:39:56 +01:00
smallmodel
8a9e0f0b01
Update master server address
...
It's now using master.openmohaa.org, which provides more flexibility for configuring the domain
2025-02-19 20:39:44 +01:00
ysdragon
38d9f98221
Update gsPlatformThread.h to include pthread for OpenBSD
2025-02-08 03:49:24 +02:00
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