Skip to content

[Netcode] Matches at 100–300 ms ping end early much more often #118

Done

Description

@Greevee

Source: anonymous network statistics from players who opted in (first data since 0.6.0, Nov 25–26 – small sample).

What the numbers say

  • In client match reports, matches with 100–300 ms ping ended early in 13 of 16 cases.
  • Below 100 ms: 1 of 2 (too few games yet to compare properly).
  • The game logic itself is stable: 0 desyncs, about 0.36 rollbacks per second on average. The aborts come from connections, not from the simulation.

Goal
Matches between players far apart (e.g. Europe ↔ America) should finish just as reliably as local ones.

To do

  • Break down the early ends at high ping: peer lost, player quit, host lost.
  • Check timeouts and buffers for high-latency links.
  • Re-check once fixes for host loss and reconnect are in, since many of these aborts likely come from there.

Activity

  1. added
    enhancement
    game: LoC
    fixed-0.6.3
    on Nov 26, 2026
  2. Greevee commented on Nov 26, 2026

    @Greevee
    ContributorAuthor

    I went through the anonymous network statistics again, this time broken down by what actually ended each match.

    What I found

    Lab test (0.6.3)

    I ran full 10-minute matches with three players (Europe, US, Australia, simulated on one machine) at 100, 200 and 300 ms ping with jitter and bursts of packet loss. Every match reached the debriefing: no player dropped out, no desync, no errors – before and after this update. High ping on its own does not end matches; the game simply adds a little more input delay as the ping grows.

    What changes in 0.6.3

    • Reports now tell the different endings apart: the host ended the session, another player closed their game, or your own server connection dropped. They also count switches between relay and direct connections. All of these are plain numbers, with no names and no addresses.
    • I fixed a case where two players could not connect at all when only one of them could reach the other directly (details in [Netcode] Direct connections (NAT punching) fail often, players fall back to relays #119).

    I'll look at the numbers again after 0.6.3 has been out for a few days and post them here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfixed-0.6.3game: LoC

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions