Matchmaking button#974
Conversation
- Add `btnMatchmaking` toggle button in CnCNet lobby with state tracking. - Implement Queue System: * Users enter queue via MatchmakingService socket server for specific mode. * Server triggers MatchFound event specifying channel, host and player list. * Ensures fully automated room creation for Host and joint transitions for Guest. - Support Multiple Matchmaking Modes: * 1v1: Strictly filters 2-player maps with preset fair 1v1 starting options. * 2v2/2v2v2v2: Dynamic options configured by server setups supporting groups. - General Fixes: * Fix LeaveGameLobby NullReference inside BroadcastGame triggers. * Disable instant instant triggers/countdown on creation setup. * strict backend Map MaxPlayers filter logic during room creations.
- Implement fuzzy map name matching in CnCNetGameLobby to ignore player count prefixes - Highlight auto-selected matchmaking map dynamically via RefreshMapSelectionUI - Add '#nullable enable' annotations to all core matchmaking components - Replace implicit 'var' declarations with explicit types across the solution - Enforce strict block spacing and formatting rules per project guidelines
|
Nightly build for this pull request:
|
|
Thanks for contributing, iDRXG. I've only had a quick squizz through the code and there's a few issues that stick out:
I suggest you come into xna-client-chat on Mod Haven on Discord and have a chat about your idea. What are you trying to achieve, how you see it working - not just for the players, but behind the scenes with the code too. We can let you know if you're going down the right path or not. Also have a look through the PR that kerbiter linked you on Discord. |
|
CnCNet also has a quick match API. Might be better to hook the client to that instead. |
|
This is what #336 was doing, but it's unfortunately abandoned |
|
where
…On Mon, 6 Apr 2026 at 21:12, Rami Pasanen ***@***.***> wrote:
*Rampastring* left a comment (CnCNet/xna-cncnet-client#974)
<#974 (comment)>
CnCNet also has a quick match API. Might be better to hook the client to
that instead.
—
Reply to this email directly, view it on GitHub
<#974 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDZYRVYAI6I5JB2EKKN5DL4UP6QLAVCNFSM6AAAAACXOLSQECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCOJUGQZTAMJZGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
and hide the room and auto launch
…ate room with matchmaking
|
I am done I hope u try it and tell me if there any bugs CnCNet/cncnet-yr-client-package#882 is connected to this |
|
@11EJDE11 can u check now |
I have added a new Matchmaking button to the client. This feature allows players to enter a queue after selecting a game mode. Once another player is found in the queue, the system automatically creates a room, assigns one player as the host, and prepares to start the game.
Currently, the room are visible . I need to make it hidden so the game just start without see the room and inside the room
Closes #987