Skip to content

Include rank and sigma in the initial matchmaking lobby status - #548

Open
LiquidPL wants to merge 2 commits into
ppy:masterfrom
LiquidPL:rp-rank-sigma
Open

LiquidPL wants to merge 2 commits into
ppy:masterfrom
LiquidPL:rp-rank-sigma

Conversation

@LiquidPL

@LiquidPL LiquidPL commented Oct 9, 2026

Copy link
Copy Markdown
Member

Requires ppy/osu#39009.

Rank is being displayed in the Lustrous tier badges, and we also want to display the progress towards calibrating ranks, so both of these need to be provided to the client on lobby join.

Requires ppy/osu#39009.

Rank is being displayed in the Lustrous tier badges, and we also want to
display the progress towards calibrating ranks, so both of these need to
be provided to the client on lobby join.
string variantString = string.Empty;

if (withRank)
variantString = ", (SELECT COUNT(*) FROM `matchmaking_user_stats` AS `mus` WHERE `plays` > 0 AND `sigma` < 100 AND `rating` > `matchmaking_user_stats`.`rating` AND `pool_id` = `matchmaking_user_stats`.`pool_id`) AS `rank`";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be SELECT COUNT(*) + 1, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, good catch.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants