Opened 8 years ago

Last modified 19 months ago

#3787 new enhancement

Network window

Reported by: elexis Owned by:
Priority: Should Have Milestone: Work In Progress
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 5 years ago.
example

Download all attachments as: .zip

Change History (15)

comment:1 by elexis, 8 years ago

Component: UI & SimulationNetwork

(changed component to network)

comment:2 by elexis, 8 years ago

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 5 years ago by elexis (previous) (diff)

comment:3 by Imarok, 8 years ago

Description: modified (diff)

comment:4 by elexis, 8 years ago

Keywords: rfc removed
Milestone: Alpha 21Backlog

comment:5 by elexis, 7 years ago

Description: modified (diff)

comment:6 by elexis, 6 years ago

Description: modified (diff)

comment:7 by elexis, 6 years ago

Owner: set to elexis

I wrote a new patch for this.

comment:8 by elexis, 5 years ago

Description: modified (diff)

comment:9 by elexis, 5 years ago

Description: modified (diff)

comment:10 by elexis, 5 years ago

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 5 years ago by elexis (previous) (diff)

by elexis, 5 years ago

Attachment: screenshot0227.png added

example

comment:11 by elexis, 5 years ago

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 by elexis, 5 years ago

Patch: Phab:D1746

comment:13 by Stan, 3 years ago

Milestone: Alpha 24Work In Progress

Could have been useful, but no one is actively working on it ATM.

comment:14 by Stan, 19 months ago

Owner: elexis removed

Backlogging due to lack of progress, lack of review, or users going MIA.

Note: See TracTickets for help on using tickets.