Add ability for host to change game name
Adds the ability for the host to change a game's lobby name from within the lobby itself. The host can type:
/gamename <newname>
The new name is validated, then broadcast to all online players, and all players in the channel.
I've moved the lobby name validation checks to the NameValidator.cs file.
Nightly build for this pull request:
- artifacts-Ares.zip
- artifacts-TS.zip
- artifacts-YR.zip This comment is automatic and is meant to allow guests to get latest automatic builds without registering. It is updated on every successful build.
yeah, the CnCNet lobby is different from a game (game room)
please double check the lobby stuffs in the git diff. I saw this word again in the XML comment.
I just tested this locally, there is a problem:
As player 1 (Host)
- Create a game
- Change the game room name
As player 2
- Do not join the game, wait for the game room name to change
- Attempt to join the room. You will see an error saying "Incorrect password"
I just tested this locally, there is a problem:
Fixed now.
Closing as I'll do a new PR with a GUI and more options.