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:
parent
542b8a7171
commit
97586c317e
5 changed files with 41 additions and 30 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue