Finally got around to finishing the Splatfest implementation. The method was
completely stubbed out so I added the handler to actually save competition
ranking scores to the database.
Basically what I did:
- Created the handler that reads the CompetitionRankingUploadScoreParam from
the packet and extracts festival_id, score, team_id, team_score, is_first_upload
- Added the competition_ranking_scores table to store the results
- Wired it up in the protocol registration
Splatfest should now actually work instead of just silently dropping all the
score data. Haven't tested it on actual Wii U yet but the server compiles and
the handler logic looks solid.
* chore: update grpc bits and add local auth mode
* chore: library updates and token validation
* fix: small things
* feat: use secret unreleased protocols
* chore: update go modules
* chore: bump golang version
* feat(secure): Mark Splatfest sessions as OpenParticipation
Bit of a hack but good enough to make things work for now
* feat(secure): Add stubbed Splatoon Ranking protocol
Fixes freezes related to Splatfest results upload
* feat: matchmaking rewrite implementation
* feat(secure): attempt to fix index bugs
* fix: merge issue
* fix(secure): forgot to change the import name
* fix(secure): remove old index ignore
* fix(secure): misspelling
* fix(secure): remove unused var
* fix(secure): revert previous fix
* fix(secure): using another function
* fix(secure): using another function
* working on it
* fix(secure): i hate these variable names
* fix(secure): misspelled again
* debug(secure): adding debugging
* fix(secure): hopefully fix the error (thanks dani)
* std(secure): standardize variable names
* fix(secure): fix string issue
* fix(secure): oops
* fix(secure): remove attribute 1
* fix(secure): final fixups
* fix(secure): final fixups
* feat(secure): try fixing fest rooms
* feat(secure): implement postgresql fix
* merge
* fix(secure): try once again to fix fests
* fix(secure): ignore first param
* fix: bump library versions and remove override
* chore: go fmt all files
* chore: Remove unused code
* chore: Explicitly ignore error in criteria cleanup
It's fine we just won't mm into this room
---------
Co-authored-by: Ash Logan <ash@heyquark.com>