You are viewing a potentially older version of this package. View all versions.
randomuserfood-Netstat-1.0.2 icon

Netstat

Host-Independent Advanced Network Statistics

Date uploaded a day ago
Version 1.0.2
Download link randomuserfood-Netstat-1.0.2.zip
Downloads 16
Dependency string randomuserfood-Netstat-1.0.2

This mod requires the following mods to function

BepInEx-BepInExPack_GTFO-3.2.2 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.2

README

Netstat Icon

Netstat

Host-Independent Network Statistics

For feedback, suggestions, and issues, message @uwufood/@randomuserhi on the GTFO Modding Server on Discord

Overview

Netstat provides methods of measuring network performance and latency in GTFO in a host-independent manner (i.e. no mods etc. are required for other players in session). Both a visual layer and an API layer are available. The visual layer is toggleable and hot-adjustable.

The position, size, order of the graphs and the visibility of individual graphs can be customized in the config.

Graphs

Ping ping

Ping Graph

The ping graph shows the current roundtrip time to the host.

Two methods of measurements are available:

  1. Chat (works universally in lobby, might create error messages on host)
  2. NavMarker (only works in-game, unavailable when player pinging)

Rx/Tx rxtx

Rx/Tx Graph

The Rx/Tx graph shows the current data transfer rates (Rx: receive, Tx: transmit) in bytes per second.

Rx Channel rxchan

Rx Channel Graph

The Rx Channel graph shows breakdown of incoming data in 6 different SNet channel types

  1. SC: SessionOrderCritical
  2. SM: SessionMigration
  3. CR: GameOrderCritical
  4. RC: GameReceiveCritical
  5. NC: GameNonCritical
  6. BC: BotCommands

Tx Channel txchan

Tx Channel Graph

Similar to the Rx Channel graph, but for outgoing data.

CTT/STT cstt

CTT/STT Graph

The CTT/STT graph shows the current estimated Client Tick Time (CTT) and Server Tick Time (STT) in milliseconds. This is based on player locomotion.

API

For details, see NetstatAPI.cs

CHANGELOG

v1.0.6

  • Optimize graph stack hot-reload updates

v1.0.5

  • Fix STT and CTT spiking when leaving ladders.

v1.0.4

  • Fix vanilla bug where chat does not work for clients waiting to drop while host is in-game. This fix requires host to have the mod.

v1.0.3

  • Added details view separate from the graphs.
  • Fixed toggle graph key not respecting focus state and chat mode.

v1.0.2

  • Large values now abbreviate with SI suffixes (e.g. 1.5k, 2.3M, 4.1G) for better readability

v1.0.1

  • Fix log spam in console

v1.0.0

  • Initial release