xna-cncnet-client icon indicating copy to clipboard operation
xna-cncnet-client copied to clipboard

Add lobby settings update window

Open 11EJDE11 opened this issue 1 month ago • 4 comments

Adds a new button and window to the CnCNetGameLobby where the host can change the room name, max players, and skill level, and password. Non-host players are notified of any changes. You can't make MaxPlayers less than the amount of players currently in the room.

Lobby name validation has been moved to NameValidator.cs

INI Changes required for YR:

CnCNetGameLobby.ini Add to the existing MultiplayerGameLobby section:

[MultiplayerGameLobby]
$CCMP100=btnGameLobbySettings:XNAClientButton

Then add the section:

[btnGameLobbySettings]
Text=Lobby Settings
Location=0,0
Size=133,23
DistanceFromBottomBorder=13
DistanceFromRightBorder=300
Visible=false
Enabled=false
image

11EJDE11 avatar Oct 28 '25 19:10 11EJDE11