BATTLEOPENED sends channel as a sentence. In all channel-related commands, it's handled as a word.
Also JOINBATTLE is sending the channel argument, even though it appears undocumented in the protocol.
A couple other protocol anomalies that should be fixed…
Moderators: Moderators, Lobby Developers
Re: A couple other protocol anomalies that should be fixed…
Transition to JSON?
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: A couple other protocol anomalies that should be fixed…
Please use the issue tracker of the lobby protocol docs in future. https://github.com/spring/LobbyProtocol
Fixed the docs, thanksJOINBATTLE is sending the channel ... undocumented
This doesn't cause any issue/inconsistency, channel names are not permitted to contain whitespaces. The reason is historical.BATTLEOPENED sends channel as a sentence.