Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4035 closed enhancement (fixed)

Multiplayer join dialog - retry instead of close on disconnect

Reported by: elexis Owned by: elexis
Priority: Nice to Have Milestone: Alpha 21
Component: UI & Simulation Keywords:
Cc: Patch:

Description

When trying to connect to a multiplayergame by IP, establishing the connection and then being disconnected (due to a kick/ban, wrong protocol version or the server being in the loading state), it will show the disconnect reason and then return back to the main menu.

Instead the join dialog should be kept open so one can retry.

Relevant code can be found in gamesetup_mp.js and xml.

Change History (3)

comment:1 by elexis, 8 years ago

Owner: set to elexis
Resolution: fixed
Status: newclosed

In 18371:

Implement multiplayer dialog retries, fixes #4035, refs #3575.

Cleanup:
Move all code to hide elements to switchSetupPage.
Remove nasty second argument from switchSetupPage by just hiding every page.
To avoid another state variable, immediately set g_IsConnecting to true by calling startConnectionStatus when trying to host.
Use .some instead of a loop.

comment:2 by elexis, 8 years ago

Keywords: simple removed

comment:3 by elexis, 8 years ago

Milestone: BacklogAlpha 21
Note: See TracTickets for help on using tickets.