smallmodel
5ee7948071
Add more sound-related commands
2025-03-15 19:43:23 +01:00
smallmodel
f653317e5b
Add the reason parameter to banaddr documentation
Build branch / build-all (push) Failing after 57s
CodeQL / Analyze (push) Has been cancelled
2025-03-13 23:57:45 +01:00
smallmodel
de43299841
Add a note about updates
2025-03-13 23:57:08 +01:00
smallmodel
e6f5d76abe
Set the appropriate headers to use API versioning
2025-03-13 23:42:50 +01:00
smallmodel
fecd1eb505
Preallocate and set the maximum buffer size to receive the request
2025-03-13 23:37:20 +01:00
smallmodel
9536a8ec64
Specify a small timeout for each request
2025-03-13 22:41:01 +01:00
smallmodel
06a12246f5
Notify the request thread of shutdown only if it's waiting
...
This avoids a deadlock that would occur if notify_all() is called before the thread is waiting
2025-03-13 22:37:21 +01:00
smallmodel
456b660b2a
Improve the update checker so it can be opt-out ( #696 )
...
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
5b81f6a977
Merge pull request #695 from smallmodel/update_fix
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 43s
Fix the update code
2025-03-13 00:13:38 +01:00
smallmodel
c854df8ffa
Don't start the update thread if it shouldn't be active or if the network doesn't work
2025-03-12 23:58:24 +01:00
smallmodel
22a34d8d68
Fix compile error when libcurl is not installed
2025-03-12 23:18:11 +01:00
smallmodel
0f8969e076
Merge pull request #693 from ysdragon/ban-kick-with-reason
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 44s
Kick/Ban with/no reason
2025-03-12 18:20:48 +01:00
ysdragon
f164e889cc
Add optional reason to kick/ban commands
...
And enhance `SV_IsBanned` to return ban reason and update `SV_DirectConnect` to display it
2025-03-12 07:30:40 +02:00
ysdragon
1e2a331518
Add reason field to serverBan structure with defined maximum length
2025-03-12 07:30:22 +02:00
smallmodel
158ff62aaa
Fix small typo
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 59s
2025-03-12 00:02:44 +01:00
smallmodel
79af8a46d1
Increase update thread sleep time
...
This prevents wasting time in scheduling the thread
2025-03-11 23:57:40 +01:00
smallmodel
200bf3229c
Merge pull request #692 from smallmodel/update_notification
...
Add a client-side update notification
2025-03-11 23:53:51 +01:00
smallmodel
e0b7d4cc60
Display a message box to the client when a new update is available
2025-03-11 23:37:51 +01:00
smallmodel
4fe11b5ea9
Always return false for CheckNewVersion() if libcurl is not used
2025-03-11 23:37:34 +01:00
smallmodel
0b590ab147
Add a way to create a message box
2025-03-11 23:32:22 +01:00
smallmodel
7a20bb4deb
Add a new method that return version numbers
2025-03-11 23:32:18 +01:00
smallmodel
c87c242098
Add a getter for m_font
2025-03-11 23:31:16 +01:00
smallmodel
eb92182230
Split OS builds between different workflow files
Build branch / build-all (push) Failing after 43s
CodeQL / Analyze (push) Has been cancelled
2025-03-08 16:19:08 +01:00
smallmodel
5b9efaa2a0
Remove cpp-httplib
Build branch / build-all (push) Failing after 23s
CodeQL / Analyze (push) Has been cancelled
2025-03-06 20:21:23 +01:00
smallmodel
58f7e6f1fe
Use cURL instead of cpp-httplib
2025-03-05 23:40:05 +01:00
smallmodel
9538dcb6e7
Print network name change
Build branch / build-all (push) Failing after 26s
CodeQL / Analyze (push) Has been cancelled
2025-03-03 22:36:46 +01:00
smallmodel
0080f55ef8
Round to integer to avoid blurry text
Build branch / build-all (push) Failing after 20s
CodeQL / Analyze (push) Has been cancelled
2025-03-02 14:12:54 +01:00
smallmodel
aac91e8763
Refactor and simplify Alias_ListSort
2025-03-02 13:55:44 +01:00
smallmodel
5c0adf9a28
Refactor Alias_FindRandomRange
2025-03-02 13:49:01 +01:00
smallmodel
9963a99868
Fix a stack overflow issue ( #686 )
...
The length check now include the null-terminated character
2025-03-02 13:40:36 +01:00
smallmodel
515a531abf
Use the length returned by Com_sprintf
2025-03-02 13:26:47 +01:00
smallmodel
d3d16ab7b6
Use the index of the entry in the player list, rather than the client number
2025-03-02 13:24:08 +01:00
smallmodel
d08027360f
Formatting
2025-03-01 23:34:24 +01:00
smallmodel
70f6ede7b8
Add GAMESPY_PORT environment variable
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
2025-03-01 00:09:33 +01:00
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
c1a66bf9e7
Update README
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
2025-02-24 23:08:13 +01:00
smallmodel
e98c725043
Fix player having no damage alpha in mohaas and mohaab ( #678 )
2025-02-24 22:11:41 +01:00
smallmodel
ad527a7033
Use ubuntu-22.04-arm OS for GitHub Actions to improve build time
2025-02-24 21:42:42 +01:00
smallmodel
59706d4698
Cache third-party packages to optimize the build time
2025-02-24 20:05:55 +01:00
smallmodel
7addef4f5f
Use Windows Server 2025 to compile Windows binaries
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2025-02-24 16:44:00 +01:00
smallmodel
08d0a378f8
Fix compilation fail when DEBUG_MEM is set ( #677 )
2025-02-24 13:38:33 +01:00
smallmodel
01381ed084
Add HTTP support and update checking
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-02-24 02:20:31 +01:00
smallmodel
2c72908f76
Use the correct allocator when archiving a con_set object
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
The default c++ allocator was be used to allocate an array of pointers, but then when destroying the array, Z_Free was called which would throw an error
2025-02-22 23:31:20 +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