Opened 4 years ago

Last modified 9 months ago

#3787 new enhancement

Network window

Reported by: elexis Owned by: elexis
Priority: Should Have Milestone: Alpha 24
Component: Network Keywords: patch
Cc: Patch: Phab:D1746

Description (last modified by elexis)

There should be a network window listing all relevant information and giving access to hosting related actions. It should be accessible both from gamesetup and session (while #3263 only makes sense in the session, since the gameattributes are already listed in gamesetup).

  • List of players and observers
  • In the session: Connection state of players (see who is disconnected)
  • should show performance stats of the clients
    • meanRTT (#3264)
    • dropped packets?
    • average actual turn length to estimate individual cpu-performance-lag (i.e. the time a client needs to compute the next simulation-state) (#5323)
  • should allow the host to
    • kick/ban by clicking on a button (#3765)
    • editing banmasks for IPs and playername patterns
    • local mute by clicking on a button (#3380)
    • set maximum number of observers (#3671 and #3254)
    • Authorize other players to moderate
  • Show who hosts the game

example

Attachments (1)

screenshot0227.png (1.7 MB) - added by elexis 9 months ago.
example

Download all attachments as: .zip

Change History (13)

comment:1 Changed 3 years ago by elexis

Component: UI & SimulationNetwork

(changed component to network)

comment:2 Changed 3 years ago by elexis

Keywords: patch rfc added
Milestone: BacklogAlpha 21

https://github.com/elexis1/0ad/tree/3787-network-window

Implemented network window showing a sortable list of clients. The window can be opened from the session menu and a gamesetup button. It is reloaded if someone joins or leaves. It has a kick and ban button.

Unless someone argues that's not useful, the network code should be adapted so that we can see the latency of all players in that window, perhaps even lost packets.

Edit: The branch is not updated anymore.

Last edited 10 months ago by elexis (previous) (diff)

comment:3 Changed 3 years ago by Imarok

Description: modified (diff)

comment:4 Changed 3 years ago by elexis

Keywords: rfc removed
Milestone: Alpha 21Backlog

comment:5 Changed 3 years ago by elexis

Description: modified (diff)

comment:6 Changed 16 months ago by elexis

Description: modified (diff)

comment:7 Changed 16 months ago by elexis

Owner: set to elexis

I wrote a new patch for this.

comment:8 Changed 12 months ago by elexis

Description: modified (diff)

comment:9 Changed 12 months ago by elexis

Description: modified (diff)

comment:10 Changed 10 months ago by elexis

The updating mechanism is implemented with #5369 (or one would have to use the page reopning hack from r18078). New GUI code should be introduced with clean OOP, so the callback argument of PushGuiPage? used should be a function too, rather than the name of a global function Phab:D1684.

Last edited 10 months ago by elexis (previous) (diff)

Changed 9 months ago by elexis

Attachment: screenshot0227.png added

example

comment:11 Changed 9 months ago by elexis

Description: modified (diff)
Milestone: BacklogAlpha 24

Code released as a reward for fpre's donation to Wildfire Games.

https://github.com/0ad/0ad/compare/master...elexis1:network_dialog

comment:12 Changed 9 months ago by elexis

Patch: Phab:D1746
Note: See TracTickets for help on using tickets.