Skip to content

v1.3 - Flag and Rating Fixes

Compare
Choose a tag to compare
@Askaholic Askaholic released this 19 Jan 00:04
· 263 commits to develop since this release
5a7f8bc

Summary

Flags are back! Maxmind, the company that distributes our GeoIP database for free, changed the way the database is downloaded due to recent privacy legislation being passed in California (CCPA). The server is now able to handle the new URL and more importantly the new data format.

Less immediately noticeable (but still important) are the changes to the game rating code. Games should now either be rated correctly or not at all, fixing a bug where the winning team could sometimes be given a loss depending on how the ACU kills played out. Custom 1v1 games ending in mutual ACU explosion are now correctly counted as a draw (just like in ladder).

This version also finally stops sending the list of featured mods on log in. It is the client's responsibility to fetch the featured mod list from the API. The latest versions of both the official and legacy clients already use the API, but older versions of the legacy client will no longer be able to host games. Go update!

Other noteworthy changes:

  • Added tests for admin/moderator commands. Kicking, banning, joining IRC channels, and sending broadcasts are supported.
  • Bans are checked when hosting or joining a game, meaning players can no longer circumvent a ban by staying logged in forever.
  • Added a command for requesting matchmaker info. This means new versions of the client will show the remaining ladder queue time immediately after opening the ladder1v1 tab.

Deployment Notes

  • New environment variable GEO_IP_LICENSE_KEY.

Pull Requests

  • Fixed some more places where coroutines were not awaited (#516)
  • Refactor Game.compute_rating (#496) [contributed by UmbraSolis]
  • Await async sending functions in command_admin (#515)
  • Issue/#513 New geoip database download URL (#514)
  • General code cleanup (#507) [contributed by Raider61]
  • Refactor message sending interface to be a coroutine (#497)
  • Issue/#503 contact policy server (#510)
  • Clean up game outcome handling (#495) [contributed by MazorNoob]
  • Let client do localization for Close FA message (#502)
  • Don't echo DB operations to log (#504) [contributed by MazorNoob]
  • Check ban when hosting and joining a game (#461) [contributed by Louvegarde]
  • Add test for receiving matchmaker updates after queue cancel (#498)
  • Add endpoint for requesting matchmaker info (#489)
  • Don't send mod list to the client (#464)
  • Install aiomysql from git and re-enable warnings (#493)
  • Auto-rollback DB changes after every test (#494) [contributed by MazorNoob]