osuthailand / Ragnarok

/web/ and bancho emulator
GNU Affero General Public License v3.0
2 stars 0 forks source link

implement proper client version check and speed up startup a bit #21

Closed jeenyuhs closed 10 months ago

jeenyuhs commented 10 months ago

closes #17

Before we checked which year the build was from (were "b2023"), which is not sustainable as it'd need to be updated every year. On top of that, client as old as up to 11 months were allowed in, which shouldn't in my opinion. This change looks at the osu api and takes the 2 latests build from the allowed streams (stable and cutting edge).