v1.14.0 - Player disconnect updates
This release includes a few enhancements to existing messages as well as a number of bug fixes. The main new feature that's now available is the detection of when players go offline via the "state": "offline"
field in player_info
messages. This allows clients to update the chat list accurately without needing to rely on the IRC server. There is also a new hosted_at
field in the game_info
message that allows clients to display how long a game has been in lobby.
The major bugfix this time around has to do with how the server was tracking players state internally. Previously, it would allow you to host two games at the same time, or join the matchmaker and host a game at the same time if you tried to do those things in the wrong order. You could then get into a state where you'd get Cant xxx while in state xxx
messages that didn't seem to make sense. These situations should hopefully no longer happen, but we will continue to monitor the logs as the state tracking is a pretty complex and tricky thing to get right.
There were also a few smaller bug fixes:
- Single player games will now be marked as such instead of being marked as 'uneven teams'.
- Game titles can no longer be empty or contain only whitespace
- Bans now prevent you from logging in immediately rather than letting you log in until your token expired, and the ban message will include a note about where to send ban appeals.
What's Changed
- Adjust end to end tests to support websocket infrastructure by @Askaholic in #987
- Add
hosted_at
field to game_info message by @Askaholic in #986 - Issue/#890 Add 'flaky' package to rerun flaky tests by @Askaholic in #988
- Issue/#786 send player update on disconnect by @Askaholic in #832
- Issue/#789 Always compute team results for rabbitmq messages by @Askaholic in #991
- Refactor game options handling / Issue/#859 game title constraints by @Askaholic in #992
- Issue/#993 use single player validity state again by @Askaholic in #994
- Add ban appeal notice to ban messages by @Askaholic in #990
- Issue/#995 Improve player state tracking by @Askaholic in #997
- Update dependencies by @Askaholic in #996
Full Changelog: v1.13.4...v1.14.0