Opened 5 years ago

Last modified 22 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 22 months ago.
example

Download all attachments as: .zip

Change History (13)

comment:1 by elexis, 4 years ago

Component: UI & SimulationNetwork

(changed component to network)

comment:2 by elexis, 4 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.

Version 0, edited 4 years ago by elexis (next)

comment:3 by Imarok, 4 years ago

Description: modified (diff)

comment:4 by elexis, 4 years ago

Keywords: rfc removed
Milestone: Alpha 21Backlog

comment:5 by elexis, 4 years ago

Description: modified (diff)

comment:6 by elexis, 2 years ago

Description: modified (diff)

comment:7 by elexis, 2 years ago

Owner: set to elexis

I wrote a new patch for this.

comment:8 by elexis, 2 years ago

Description: modified (diff)

comment:9 by elexis, 2 years ago

Description: modified (diff)

comment:10 by elexis, 23 months 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 23 months ago by elexis (previous) (diff)

by elexis, 22 months ago

Attachment: screenshot0227.png added

example

comment:11 by elexis, 22 months 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, 22 months ago

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