Further refinements to network balancing

- Added delay times of all players to the scoreboard
- Removed balancing from packet-server (tried it, didn't work)
- Calculations remove an extra tic to account for possible bias
This commit is contained in:
Edward Richardson 2014-08-18 21:08:17 +12:00
commit 97586c317e
5 changed files with 41 additions and 30 deletions

View file

@ -935,8 +935,8 @@ static void DrawLatency()
return;
}
int localdelay = (maketic - gametic) * (1000 / TICRATE);
int arbitratordelay = (arb_maketic * ticdup) * (1000 / TICRATE);
int localdelay = (netdelay[0] * ticdup) * (1000 / TICRATE);
int arbitratordelay = (ARBITRATOR_DELAY * ticdup) * (1000 / TICRATE);
int color = CR_GREEN;
if (MAX(localdelay, arbitratordelay) > 200)
{