Table of Contents

Class ConnectionTrouble

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

Explains a sign-in connection that failed before the login server answered, and links the player to the connection help page.

public static class ConnectionTrouble
Inheritance
ConnectionTrouble
Inherited Members

Remarks

The game connects only over QUIC (WebTransport), with no fallback. Players whose security software or network blocks it otherwise see a generic "could not sign in". The transport records how the attempt went (FishNet.Transporting.WebTransport.ClientConnectDiagnosis), and this turns that into an explanation.

An open time under LocalOpenMilliseconds cannot be a real server: a QUIC handshake plus the WebTransport request is at least one round trip. The confirmed case (ESET, 2026-11-12) answered in about 1 ms. A player on the same machine or network as the server can also open that fast; they see this only if that server then says nothing.

Fields

HelpButtonLabel

The accept button's label on a trouble notice.

public const string HelpButtonLabel = "Get help"

Field Value

string

HelpPath

The help page, relative to the play host.

public const string HelpPath = "/help/connection.html"

Field Value

string

LocalOpenMilliseconds

An open faster than this is taken to be local interception.

public const double LocalOpenMilliseconds = 3

Field Value

double

Methods

Classify(ClientConnectDiagnosis)

Classifies a diagnosis. Pure, for tests.

public static ConnectionTroubleKind Classify(ClientConnectDiagnosis diagnosis)

Parameters

diagnosis ClientConnectDiagnosis

Returns

ConnectionTroubleKind

HelpUrl(string, ConnectionTroubleKind, string)

The help-page link for kind, pointing at the product's section when one is known.

public static string HelpUrl(string playHost, ConnectionTroubleKind kind, string productAnchor)

Parameters

playHost string
kind ConnectionTroubleKind
productAnchor string

Returns

string

Message(ConnectionTroubleKind, string, bool)

The player-facing explanation. productName is the detected antivirus, or null.

public static string Message(ConnectionTroubleKind kind, string productName, bool helpLink = true)

Parameters

kind ConnectionTroubleKind

What went wrong.

productName string

The detected antivirus, or null.

helpLink bool

Whether the notice carries the help button the text refers to.

Returns

string

TryMatchProduct(IReadOnlyList<string>, out string, out string)

The first recognised antivirus product among names, as its help-page anchor and display name.

public static bool TryMatchProduct(IReadOnlyList<string> names, out string anchor, out string displayName)

Parameters

names IReadOnlyList<string>
anchor string
displayName string

Returns

bool

Remarks

Microsoft Defender is skipped: it registers alongside every other product and does not inspect connections. Pure, for tests.

TryNotify(NetworkManager, out ConnectionTroubleKind)

Explains the client's last connection attempt if it failed before the server answered.

public static bool TryNotify(NetworkManager networkManager, out ConnectionTroubleKind kind)

Parameters

networkManager NetworkManager

The client's network manager.

kind ConnectionTroubleKind

What went wrong, or None.

Returns

bool

True when a notice with a help link was queued.