smallmodel
689da52ddf
Master server address update
...
This uplinks directly with 333networks instead of using a domain as an alias
2025-04-17 22:55:31 +02:00
smallmodel
2a1e2d7d6c
Check for valid scoreboard menu
...
Build branch / build-all (push) Failing after 1m11s
CodeQL / Analyze (push) Has been cancelled
Under rare circumstances, the scoreboard menu can be NULL and would cause a crash. This was fixed in mohaab 2.30
2025-04-15 18:37:35 +02:00
smallmodel
c9ff941600
Implement Instant Action from Breakthrough ( #712 )
...
This adds a feature that makes it easy to join a populated low-ping server (matching criteria from configuration file). This feature has been available since MOHAA Breakthrough 2.30.
2025-04-15 00:31:34 +02:00
smallmodel
3074494131
Convert the game version to number once
Build branch / build-all (push) Failing after 44s
CodeQL / Analyze (push) Has been cancelled
2025-04-04 22:53:06 +02:00
smallmodel
f9db0ab8f9
Fix an access violation that would occur when opening the logfile before com_version is created ( #708 )
2025-04-01 22:07:05 +02:00
smallmodel
94cc77b848
Set cmake version to 3.5 minimum for libmad
2025-04-01 21:33:16 +02:00
smallmodel
f16bec1e0a
Remove #pragma once from uimessage
Build branch / build-all (push) Failing after 1m13s
CodeQL / Analyze (push) Has been cancelled
2025-03-24 22:16:53 +01:00
smallmodel
e2c24abf62
Move alext functions out of qal.h ( #706 )
...
qal.h should contain core/required functions. To get functions from extensions, alGetProcAddress should be used, so they can be optional
2025-03-24 22:16:43 +01:00
smallmodel
50e3aa1f61
Fix compilation errors with AL local headers ( #705 )
...
Build branch / build-all (push) Failing after 48s
CodeQL / Analyze (push) Has been cancelled
* Remove alext inclusion as it's included by qal.h already
* Update local AL headers
2025-03-22 23:45:41 +01:00
Sébastien Noel
fdab158290
fix build on Debian mips64el ( #700 )
...
Build branch / build-all (push) Failing after 59s
CodeQL / Analyze (push) Has been cancelled
Co-authored-by: smallmodel <15067410+smallmodel@users.noreply.github.com>
2025-03-19 15:26:26 +01:00
Sébastien Noel
921726e0b8
Fix a few typos ( #699 )
...
Co-authored-by: smallmodel <15067410+smallmodel@users.noreply.github.com>
2025-03-19 15:03:01 +01:00
Sébastien Noel
b5e49df180
fix build with shared jpeg library ( #701 )
2025-03-19 14:46:12 +01:00
smallmodel
49fd4acef8
Wrap WriteCallback around HAS_LIBCURL define
Build branch / build-all (push) Failing after 48s
CodeQL / Analyze (push) Has been cancelled
2025-03-17 11:50:41 +01:00
smallmodel
73aa377264
Fix hit/kill notify being swapped ( #698 )
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 42s
2025-03-17 00:19:40 +01:00
smallmodel
74e909d17f
Add echo
2025-03-15 19:48:17 +01:00
smallmodel
4b3c150004
Add cg_cameraverticaldisplacement
2025-03-15 19:47:35 +01:00
smallmodel
5ee7948071
Add more sound-related commands
2025-03-15 19:43:23 +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
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
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
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
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
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
e98c725043
Fix player having no damage alpha in mohaas and mohaab ( #678 )
2025-02-24 22:11:41 +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