Opened 9 years ago

Last modified 7 years ago

#3263 closed enhancement

Map & player info dialog — at Initial Version

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

Description

A new dialog should be added that displays information about the players and the map settings.

It should be accessible with a button at the top right (near the diplomacy & trade menu buttons) and contain the following information:

Player Info:

  • List of players and observers
  • FPS and ping of players (that is ping from server to client)
  • Connection state of players (to see who is disconnected)
  • Buttons for kicking / banning / muting players (see #3241)
  • Display which players are AI and their difficulty

Map & game settings:

  • Mapname, size & description
  • Population limit
  • Victory condition
  • Starting resources
  • Initial ceasefire time
  • Gamespeed
  • Weather or not cheats, ratings and locked teams are enabled

Besides the kick feature, only the FPS and ping of players data is not known to clients and must be broadcasted by the host. Not sure if the latency can be computed already from the existing packet exchange.

The FPS must be sent from the client to the host before it can broadcast that info. The frames per second value is available in c++ with g_frequencyFilter->StableFrequency(). Often the game is lagging because it waits for a single client to finish the computation of the current turn. By displaying the FPS of all players in that dialog it is possible to find out if there is a client that has way less FPS than other clients and is therefore likely to cause the lag (especially if it is less than 30 fps). If the processing of the current turn is so time consuming that multiple clients are lagging, then this situation can be identified too, so that no one will be accused of being the lagger without a reason.

Change History (0)

Note: See TracTickets for help on using tickets.