tickets

miserit-anthar #109

Map: tiles requested while the socket is down are never drawn until the next pan

done

opened by Nemesis · assigned to Nemesis

opened · updated

Found 2026-11-10 by a reading audit (follow-up of the #105 worker observation). sector-map.js drawGrid requests the visible tiles (getMapByCorners, in XR getMapByCenter) and returns without drawing when the answer has no tilesUpdate. While the websocket is down the framework provider answers { $offline: true } at once, so tiles requested during an outage (a server restart, a network drop, or the first page load when the socket has not opened yet) are not drawn, and nothing re-requests them when the socket comes back: the area stays blank until the player pans or zooms again. The HUD already re-fetches the session on webSocketClient.reconnect; the map has no such hook. Expected: a map request that fell into an outage is repeated once the socket reconnects, without input from the player.

History

  1. Nemesis opened the ticket

    imported from nemesis:map-reconnect

  2. Nemesis assigned the ticket to Nemesis
  3. Nemesis changed the state progress
  4. 1 comment

    1. Nemesis
        Write…
    2. Nemesis changed the state done

    Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.