Netstat
Host-Independent Advanced Network Statistics
模組介紹 作者原文
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.
NOTE on Default Hybrid Network Pinger Mode (!!)
With the addition of the Hybrid pinger (default), the mod now uses the NavMarker pinger when in-level.
This is preferable because it wouldn't cause error messages for the host without the mod.
However, this means the ping graph will not be available when pinging objects in-game.
As a result, you might see plateaus in the ping graph while you have an active ping in level,
and the ping will not be accurate during that time. See the screenshot below for an example of this.
ONLY the ping metric is affected by this
If you would rather spam your host to obtain a continuous ping graph, you can change the pinger mode to "Chat" in the config.
Do so mindfully.
Details Bar
The details bar shows current network statistics (most of what Graphs provide) in a
compact form under the player health bar.
The bar can be turned off in the config under "Details Bar," attributes shown can be selectively enabled.
Graphs
Ping ping
The ping graph shows the current roundtrip time to the host.
Three methods (2 effective) of measurements are available:
- Hybrid (default, uses NavMarker when in-level, Chat otherwise -- the case when in lobby and others.)
- Chat (works universally in lobby, might create error messages on host)
- NavMarker (only works in-game, unavailable when player pinging)
Rx/Tx rxtx
The Rx/Tx graph shows the current data transfer rates (Rx: receive, Tx: transmit) in bytes per second.
Rx Channel rxchan
The Rx Channel graph shows breakdown of incoming data in 6 different SNet channel types
- SC: SessionOrderCritical
- SM: SessionMigration
- CR: GameOrderCritical
- RC: GameReceiveCritical
- NC: GameNonCritical
- BC: BotCommands
Tx Channel txchan
Similar to the Rx Channel graph, but for outgoing data.
CTT/STT cstt
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.
Measures the time between player position updates which can be used to spot lag spikes on host (a large gap between
position updates).
A major limitation is that locomotion is only updated 20 times a second and while the player is moving, so the
resolution is poor, and it has to extrapolate
during periods when host is not moving.
API
For details, see NetstatAPI.cs
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: