Current Games thing
Moderator: Oversight Staff
Current Games thing
Change it so it's easier to see who is on what team? Possibly be able to click on someone's name to see their stats page?
Would also be nice to see teams' average Elo, and possibly difference?
Would also be nice to see teams' average Elo, and possibly difference?
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Current Games thing
Nice, looks good! Only other thing (to make it look better) might be to to have +/- Elo thing next to team's average, instead of next to everyone's Elo. Also, instead of:
avg_elo=1000)
Maybe:
Average Elo: 1000 | +17.5 / -14.5
avg_elo=1000)
Maybe:
Average Elo: 1000 | +17.5 / -14.5
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Current Games thing
Yeah, actually just changed it
I had it the other way before because when someone's ELO is over 2000 it changes differently (different K value for them for some reason). But since there's not too many it doesn't matter much.
Edit: ok, I'll change the text to Average elo and stuff
Edit2: nevermind, that'll take up too much space
I had it the other way before because when someone's ELO is over 2000 it changes differently (different K value for them for some reason). But since there's not too many it doesn't matter much.
Edit: ok, I'll change the text to Average elo and stuff
Edit2: nevermind, that'll take up too much space
dWFrZi5i -- 'cause I'm cool like Agreements
Re: Current Games thing
Out of curiosity, how is the average calculated when there are less than 5 players on the team? Does it average the 4 players' Elo (add up 4 Elo's and divide by 4), or does it add in an extra 1k (add up 4 Elo's, add 1000, divide by 5) ? Just curious.
edit: Hmm....what's the K value for Elo? The win loss between 0-30 and not 0-32?
edit: Hmm....what's the K value for Elo? The win loss between 0-30 and not 0-32?
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Current Games thing
Average: just average of the four players. (edit: actually you're right, I guess it's average of five because of how I implemented it )
K value: using the same as GHost's (update_dota_elo):
K value: using the same as GHost's (update_dota_elo):
Code: Select all
/* Calculate new ratings for all players. */
for (i = 0; i < num_players; i++) {
int team = num_teams > 0 ? player_teams[i] : i;
float K, diff;
/* FIXME: this is the chess distribution; games should be
able to set their own. */
if (player_ratings[i] < 2000)
K = 30.0;
else if (player_ratings[i] > 2400)
K = 10.0;
else
K = 130.0 - player_ratings[i] / 20.0;
diff = K * (team_winners[team] - team_probs[team]);
player_ratings[i] += diff;
/* dbg_msg(GGZ_DBG_STATS,
"Player %d has new rating %f (slope %f).", i,
player_ratings[i], K); */
}
dWFrZi5i -- 'cause I'm cool like Agreements
- adventureclub
- Treant Protector
- Posts: 930
- Joined: Fri Apr 20, 2012 10:53 am
Re: Current Games thing
^ So it does or doesn't fill open slots with "1000 Elo's" ?
And ya, GHost++ was written in C++
And ya, GHost++ was written in C++
Re: Current Games thing
Notice: Undefined offset: 5 in /var/www/ent/forum/slots_fast.php on line 176 Notice: Undefined offset: 5 in /var/www/ent/forum/slots_fast.php on line 176
Return to “Suggestion Archive”
Who is online
Users browsing this forum: No registered users and 64 guests