Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config option for sending different rating values to SPADS #512

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

bigbluejay9
Copy link
Contributor

Addresses #149

@@ -1030,6 +1030,61 @@ defmodule Teiserver.Account do
Repo.delete(rating)
end

@doc """
Returns the player's rank when compared to other players by rating.

Copy link
Member

Choose a reason for hiding this comment

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

In teiserver "rank" means their chevron level indexed at 0. So we have to be careful here since you are using the term "rank" in a different way. Perhaps add a comment that this is ranking relative to other players completely unrelated to chevron levels. In teiserver db, the rank of a user relates to chev levels.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Used "position" instead. It's a struggle coming up with the best name - let me know if you can think of any better alternatives.

@jauggy
Copy link
Member

jauggy commented Oct 20, 2024

Currently with this PR, it is up to the Admin to change the config and this would affect all lobbies. I have a feeling that you'd get pushback from some people to hide the rating in all lobbies. I think it's worth discussing in discord to see how receptive people would be to this option. Should it affect all lobbies? Or just some where the boss wants it? If the latter would that cause confusion?

Showing someone's relative position to others also means you have to sort the rating table which is an additional cost that wasn't there before. Was Teifion's intention to show a number based on relative position in lobby or relative to the playerbase as a whole? Because the latter is a much bigger sort. Showing position relative to the lobby is much more anonymous which I believe is the intention. If you're showing the relative position compared to the whole playerbase you might as well just show the rating.

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