[DiscordArchive] someone can explain me that?
[DiscordArchive] someone can explain me that?
Archived author: Kraft • Posted: 2018-06-06T18:41:48.353000+00:00
Original source
correction, it isn't random. Here is the method that sets the chance:
Archived author: Kraft • Posted: 2018-06-06T18:41:52.155000+00:00
Original source
```float ArenaTeam::GetChanceAgainst(uint32 ownRating, uint32 opponentRating)
{
// Returns the chance to win against a team with the given rating, used in the rating adjustment calculation
// ELO system
return 1.0f / (1.0f + exp(log(10.0f) * (float)((float)opponentRating - (float)ownRating) / 650.0f));
}```
Archived author: phulo84 • Posted: 2018-06-06T18:42:19.048000+00:00
Original source
?
Archived author: Kraft • Posted: 2018-06-06T18:43:19.290000+00:00
Original source
I think you might be asking this in the wrong room. I assume you have an understanding of c++ and can look at the methods inside of ArenaTeam.cpp
Archived author: Kraft • Posted: 2018-06-06T18:43:49.916000+00:00
Original source
This is a developer room. If you're just looking for support you should probably check with support-general
Archived author: phulo84 • Posted: 2018-06-06T18:45:17.137000+00:00
Original source
yes i have a knowledge of c++
Archived author: Kraft • Posted: 2018-06-06T18:46:53.725000+00:00
Original source
Ok, well the methods you are looking for are wonAgainst and lostAgainst in the ArenaTeam.cpp file.
Archived author: Kraft • Posted: 2018-06-06T18:47:02.246000+00:00
Original source
You can see all of the calculations that are done in there.
Archived author: Zeeg • Posted: 2018-06-06T20:26:50.495000+00:00
Original source
that's the ELO system
Archived author: Zeeg • Posted: 2018-06-06T20:27:00.970000+00:00
Original source
google it and your doubts will be clarified