Network graph improvements
An integral part of the net3-base branch's networking goals is to provide better diagnostic information concerning network conditions, allowing both developers and players an opportunity to see a correlation between network conditions and gameplay issues. As such, a compact on-screen display is probably the best way to convey network conditions.
Most modern FPS games include some manner of network graph. Below are a list of features I feel would be essential to include in Odamex's network graph:
- Graphical depiction of round-trip-time for recent packets. This will show instantaneous latency at past moments in time, showing latency spikes or can indicate a trend of worsening network conditions.
- Graphical depiction of the size of each received packet. Different colors can be used to indicate which portion of the packet was dedicated to the transmission of certain types of messages (player replication, game events, etc). This can be used to tune the fixed-sized packets and their composition.
- Running average of kilobits per second for packets received and sent.
- Weighted average of packet-loss. Rather than displaying the percentage of the total packets that have been lost, the weighted average displays the percentage of RECENT packets that have been lost. This can indicate worsening network conditions.
- Graphical depiction of jitter. This will show the variance in the round-trip-time for recent packets and can indicate the level of stability of the network conditions.
- Graphical depiction of how many tics of interpolation or extrapolation are being used for recent frames. When there are latency spikes or dropped packets, extrapolation may be used instead of interpolation.