Client should know when it loses online connection

Aperta
#707 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
lua
Ambito
backend

Direzione di ricerca

Read the client socket handling and connection-state code, along with the related issues #285 and #361. Reproduce a server crash or network drop and trace how repeated timeouts are handled. Done means the client notifies the player of a lost connection and, outside a game, returns to the main menu when reconnection fails.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Client-side enhancement priority: 1 - middle

When the server crashes or the network drops, the socket might not return "closed" - it might just keep returning "timeout" indefinitely, making the client think everything is fine.

We should recognize that and display a notification, then when outside a game, exit to main menu if we can't connect.

Similar to #285 and #361

Lingua principale
Lua
Stelle
30
Fork
20
Merge medio
4g 8h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di panel-attack/panel-game

Tutte le issue di panel-attack/panel-game

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.