Skip to content

Splatoon splatfest ranking functions and improve matchmake reliability - #22

Open
RusticMaple wants to merge 7 commits into
PretendoNetwork:masterfrom
RusticMaple:master
Open

Splatoon splatfest ranking functions and improve matchmake reliability#22
RusticMaple wants to merge 7 commits into
PretendoNetwork:masterfrom
RusticMaple:master

Conversation

@RusticMaple

Copy link
Copy Markdown

Resolves #6 and #3

Changes:

  • implemented GetCompetitionRankingScore

  • implemented UploadCompetitionRankingScore

  • switched stationurls arround so that the public one is first

  • I have read and agreed to the Code of Conduct.

  • I have read and complied with the contributing guidelines.

  • What I'm implementing was an approved issue.

  • I have tested all of my changes.

@ashquarky ashquarky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good stuff overall, just a couple notes on the DB handling since this game has a lot of custom tools people throw at it

Comment thread nex/ranking/database/setup.go Outdated
Comment thread nex/ranking/types/competition_ranking_upload_score_param.go Outdated
Comment thread nex/ranking/get_competition_ranking_score.go Outdated
Comment thread nex/ranking/get_competition_ranking_score.go Outdated
Comment thread nex/register_common_secure_server_protocols.go Outdated
@RusticMaple

Copy link
Copy Markdown
Author

i adjusted the commit just now, i wasnt able to find the code which is responsible for deserializing the CompetitionRankingUploadScoreParam but i applied the change to make it match with the wiki anyways so that instead of being held up by that we can just figure out wether or not that is correct when we do the testing.

Comment thread nex/ranking/types/competition_ranking_upload_score_param.go Outdated
@RusticMaple

Copy link
Copy Markdown
Author

i made the change which you suggested

@DaniElectra DaniElectra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The logic looks good, only some formatting changes

Comment thread nex/ranking/types/competition_ranking_get_param.go Outdated
Comment thread nex/ranking/database/get_vote_and_win_count.go Outdated
Comment thread nex/ranking/types/competition_ranking_score_info.go Outdated
Comment thread nex/ranking/types/competition_ranking_upload_score_param.go Outdated
Comment thread nex/ranking/types/competition_ranking_upload_score_param.go Outdated
Comment thread nex/ranking/get_competition_ranking_score.go Outdated
Comment thread nex/ranking/get_competition_ranking_score.go Outdated
Comment thread nex/ranking/upload_competition_ranking_score.go Outdated
@RusticMaple

Copy link
Copy Markdown
Author

i made the requested changes

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.

[Feature]: Splatfest results upload

4 participants