Forum Discussion
3 years ago
If I were coding this I would probably create a compound key for ranking.
MatchMaker Ranking =
(SR * 10,000,000,000,000)+(GP*1,000,000)+Ally Code
So for example
Skill Rating: 3610
GP: 10,000,000
Ally code: 018,675,309
MMR: 361,010,000,018,675,309
Which would fit in an unsigned 64-bit integer
uint64 max: 18,446,744,073,709,551,615
* Skill Rating remains the first order sort
* GP as the second order sort increases the chances of players fighting opponents with comparable GP
* player ID as the third order sort removes any chance of duplicate values
MatchMaker Ranking =
(SR * 10,000,000,000,000)+(GP*1,000,000)+Ally Code
So for example
Skill Rating: 3610
GP: 10,000,000
Ally code: 018,675,309
MMR: 361,010,000,018,675,309
Which would fit in an unsigned 64-bit integer
uint64 max: 18,446,744,073,709,551,615
* Skill Rating remains the first order sort
* GP as the second order sort increases the chances of players fighting opponents with comparable GP
* player ID as the third order sort removes any chance of duplicate values
About SWGOH General Discussion
Discuss and share your feedback on Star Wars: Galaxy of Heroes with fellow players.81,238 PostsLatest Activity: 15 minutes ago
Community Highlights
- CG_Meathead3 months ago
Capital Games Team
- CG_Meathead2 years ago
Capital Games Team
Recent Discussions
- 19 minutes ago
Fix your game
Solved42 minutes ago- 2 hours ago
- 2 hours ago