[PR #685] [MERGED] Server: send tab-list latency every 601 ticks, as vanilla #2729

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

📋 Pull Request Information

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

Base: main ← Head: fix/latency-update-cadence


📝 Commits (1)

  • c3e5a20 Dedicated/LAN server: send tab-list latency every 601 ticks, as vanilla

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/lan/hub.rs (+3 -1)

📄 Description

Vanilla 26.3's PlayerList.tick broadcasts ClientboundPlayerInfoUpdatePacket(UPDATE_LATENCY) once ++sendAllPlayerInfoIn > 600, so on the 601st tick and then every 601. Horizon's hub (LAN host and dedicated server) sent it every 100 ticks: six times as many packets to every player, and a trace that differs from vanilla's.

Found while looking into today's dedicated_server parity failures on main. Three runs each failed on something different. One showed an extra play-respawn minecraft:player_info_update between the death entity_event 3 and remove_entities: a latency update that happened to land in the respawn window. The other two (an extra villager ambient sound, and one chunk's block hash at the view's edge) look like timing as well, and aren't addressed here.

  • cargo fmt --all --check and cargo clippy --workspace --all-targets -D warnings: clean.
  • Local parity on this branch: dedicated_server, tab_list and lan 3 passed, 0 failed (13.9 min, Mac mini under load).

🤖 Generated with Claude Code


🔄 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/685 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/17/2026 **Status:** ✅ Merged **Merged:** 10/17/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/latency-update-cadence` --- ### 📝 Commits (1) - [`c3e5a20`](https://github.com/horizon-rust/horizon/commit/c3e5a20488295b9a959883e73896a8021dd921d2) Dedicated/LAN server: send tab-list latency every 601 ticks, as vanilla ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/lan/hub.rs` (+3 -1) </details> ### 📄 Description Vanilla 26.3's `PlayerList.tick` broadcasts `ClientboundPlayerInfoUpdatePacket(UPDATE_LATENCY)` once `++sendAllPlayerInfoIn > 600`, so on the 601st tick and then every 601. Horizon's hub (LAN host and dedicated server) sent it every 100 ticks: six times as many packets to every player, and a trace that differs from vanilla's. Found while looking into today's `dedicated_server` parity failures on main. Three runs each failed on something different. One showed an extra `play-respawn minecraft:player_info_update` between the death `entity_event 3` and `remove_entities`: a latency update that happened to land in the respawn window. The other two (an extra villager ambient sound, and one chunk's block hash at the view's edge) look like timing as well, and aren't addressed here. - `cargo fmt --all --check` and `cargo clippy --workspace --all-targets -D warnings`: clean. - Local parity on this branch: `dedicated_server`, `tab_list` and `lan` 3 passed, 0 failed (13.9 min, Mac mini under load). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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:36 +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#2729
No description provided.