Some of the information in this video is no longer accurate.
This video discusses the MMR system in Hunt: Showdown and the attributes.xml file. I think there are some misconceptions around this file and I wish to clear it up.
This is a very different kind of video than what I usually make. I found that there isn't many videos talking about this and breaking it down, so I though it might be interesting or useful to some of you.
Please let me know what you think about this video format in the comments. Thanks.
The Python script if you are interested:
k = 32
player_1 = 3000 # Sweatlord
player_2 = 2500 # Memer
rating_1 = 10 ** (player_1 / 400)
rating_2 = 10 ** (player_2 / 400)
Calculate chance to win
estimate_1 = rating_1 / (rating_1 + rating_2)
estimate_2 = rating_2 / (rating_1 + rating_2)
print()
print('Player 1 MMR:', player_1, '| Chance to win:', round(estimate_1 * 100))
print('Player 2 MMR:', player_2, '| Chance to win:', round(estimate_2 * 100))
print()
Who won?
score_1 = 0
score_2 = 0
user_input = int(input('Who won? (1/2): '))
if user_input == 1:
score_1 += 1
elif user_input == 2:
score_2 += 1
else:
print('Invalid Input')
raise Exception
Calculate new rating
new_rating_1 = player_1 + k * (score_1 - estimate_1)
new_rating_2 = player_2 + k * (score_2 - estimate_2)
mmr_exchange = player_1 - new_rating_1
print()
print('Player 1 new rating:', round(new_rating_1))
print('Player 2 new rating:', round(new_rating_2))
print()
print('MMR Exchanged:', round(mmr_exchange))
print()
21 авг 2024