[PR #594] [MERGED] Show live packet rates and server brands in F3 #2660

Closed
opened 2026-11-02 15:58:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/594
Author: @Online5277
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/17/2026
Merged by: @ludovic111

Base: main ← Head: fix/debug-packet-rates


📝 Commits (1)

  • a024409 Show live connection packet rates and server brands in F3

📊 Changes

6 files changed (+131 additions, -18 deletions)

View changed files

📝 crates/horizon-client/src/debug_chart.rs (+39 -0)
📝 crates/horizon-client/src/game/debug_keys.rs (+30 -15)
📝 crates/horizon-client/src/game/integrated.rs (+11 -1)
📝 crates/horizon-client/src/game/remote.rs (+7 -0)
📝 crates/horizon-client/src/net.rs (+42 -2)
📝 crates/horizon-protocol/src/connection.rs (+2 -0)

📄 Description

F3 now displays the connection's actual sent/received packet rates in single player and multiplayer. Rates use vanilla 26.3's first-tick/every-20-tick sampling and smoothing. Multiplayer shows the server brand received during configuration or play; the integrated-server line also reads its tick timing from the server thread.

Fixes #564.

Validation: debug-chart regressions cover sampling, smoothing, idle decay and reset; a network regression checks valid, unrelated and malformed brand payloads; the existing in-memory connection test checks sent/received packet totals. Client and protocol all-target Clippy, formatting and diff checks passed.

Manual F3 checks on an integrated world and a remote server remain pending, so this PR is a draft. Move and interact to vary traffic, check the remote server brand, and leave/rejoin to check rates reset. No client window was launched. Broader tick-rate/freeze-status parity is outside this change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/594 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/17/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/debug-packet-rates` --- ### 📝 Commits (1) - [`a024409`](https://github.com/horizon-rust/horizon/commit/a024409a1a66e99ee335622d0943b9e78aae9e7d) Show live connection packet rates and server brands in F3 ### 📊 Changes **6 files changed** (+131 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/debug_chart.rs` (+39 -0) 📝 `crates/horizon-client/src/game/debug_keys.rs` (+30 -15) 📝 `crates/horizon-client/src/game/integrated.rs` (+11 -1) 📝 `crates/horizon-client/src/game/remote.rs` (+7 -0) 📝 `crates/horizon-client/src/net.rs` (+42 -2) 📝 `crates/horizon-protocol/src/connection.rs` (+2 -0) </details> ### 📄 Description F3 now displays the connection's actual sent/received packet rates in single player and multiplayer. Rates use vanilla 26.3's first-tick/every-20-tick sampling and smoothing. Multiplayer shows the server brand received during configuration or play; the integrated-server line also reads its tick timing from the server thread. Fixes #564. Validation: debug-chart regressions cover sampling, smoothing, idle decay and reset; a network regression checks valid, unrelated and malformed brand payloads; the existing in-memory connection test checks sent/received packet totals. Client and protocol all-target Clippy, formatting and diff checks passed. Manual F3 checks on an integrated world and a remote server remain pending, so this PR is a draft. Move and interact to vary traffic, check the remote server brand, and leave/rejoin to check rates reset. No client window was launched. Broader tick-rate/freeze-status parity is outside this change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:58:00 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2660
No description provided.