Commit graph

19 commits

Author SHA1 Message Date
smallmodel
cce81cabff
Implement multi-master queries and heartbeats (#717)
Some checks are pending
Build branch / build-all (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Implement multi-master server list query and multi-master heartbeats. The server list is fetched from multiple masters to improve redundancy, reliability and performance. This improves multiplayer availability by implementing support for using multiple masters.
- The server sends an heartbeat to all masters at once
- The client can query up to 4 masters in parallel depending on their rate
2025-04-27 22:14:08 +02:00
smallmodel
881d7f2f51
Don't refresh the server list if it's not ready
The server list UI refresh the server list for the first time when drawing. In mohaa (not Spearhead nor Breakthrough), refreshserverlist is also called by clicking "browse internet servers" which causes the list to be queried twice
2025-04-21 21:03:42 +02:00
smallmodel
93335978ea
Code formatting 2025-04-21 20:40:55 +02:00
smallmodel
3074494131
Convert the game version to number once
Some checks failed
Build branch / build-all (push) Failing after 44s
CodeQL / Analyze (push) Has been cancelled
2025-04-04 22:53:06 +02:00
smallmodel
6fe1e86b31
Automatically scale UI elements for high resolutions
This fixes UI elements being tiny on high resolutions like 4K. Now most UI elements will scale automatically with resolutions above 1920x1080.
2024-11-30 22:40:00 +01:00
smallmodel
58f0245e83
Only add entries for servers that were queried successfully 2024-11-27 22:12:55 +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
e7499cca04
Also halt the secondary server list if it exists, when canceling refresh 2024-10-25 22:07:23 +02:00
smallmodel
ce0004a296
Use unsafe version of strcpy as the buffer length is unknown 2024-09-21 23:08:52 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
bfdd99a028
Added m_parent to get values from parent 2023-12-31 23:13:24 +01:00
smallmodel
e1706610c4
Fixed versions for mohaas server 2023-12-30 23:52:25 +01:00
smallmodel
cf7914b6f8
Fixed compiler warning about void* to int 2023-08-26 20:23:00 +02:00
smallmodel
9df0c023ed
Fixed the server list
Fully implemented the server list
Added support for mohaas/mohaab server list
2023-07-29 19:31:16 +02:00
smallmodel
118ce0d550
Implemented all unimplemented functions/methods 2023-07-29 00:47:05 +02:00
smallmodel
a5268cbd24
Implemented FAKKServerListItem class
Implemented UIFAKKServerList::RefreshServerList, UIFAKKServerList::RefreshLANServerList, UIFAKKServerList::NewServerList, UIFAKKServerList::ServerCompareFunction and UIFAKKServerList::SortByColumn
2023-07-28 21:51:37 +02:00
smallmodel
ea70be07a2
Added FAKKServerListItem class (with unimplemented methods) 2023-07-27 23:02:39 +02:00
smallmodel
3e02fe340b
Implemented UIFAKKServerList's constructor 2023-07-27 22:43:41 +02:00
Ley0k
09bed43f97 Hard reset 2016-03-27 11:49:47 +02:00