Skip to content

Some tweaks to anchor#6166

Merged
serprex merged 1 commit intoHarbourMasters:developfrom
garrettjoecox:anchor-compat-tweaks
Jan 19, 2026
Merged

Some tweaks to anchor#6166
serprex merged 1 commit intoHarbourMasters:developfrom
garrettjoecox:anchor-compat-tweaks

Conversation

@garrettjoecox
Copy link
Contributor

@garrettjoecox garrettjoecox commented Jan 19, 2026

Summary of changes

  • Change clientVersion to use gGitCommitHash instead of gBuildVersion. Tired of asking people to verify they are on the same commit.
  • PLAYER_UPDATE packets are now considered cross-version compatible, mainly for the global room
  • Queue PLAYER_UPDATE packets along with the rest. I thought I could get away with these ones not being queued but they touch memory that is touched by the game thread so I was wrong.
  • Added some safety checks around cross-version compatible packets and wrap all packet parsing in a try/catch. The player won't really know anything went wrong unless they look at their logs, but at least they won't crash.

Build Artifacts

@serprex serprex merged commit d7981bf into HarbourMasters:develop Jan 19, 2026
6 checks passed
@garrettjoecox garrettjoecox deleted the anchor-compat-tweaks branch January 19, 2026 04:41
Patrick12115 pushed a commit to Patrick12115/Shipwright that referenced this pull request Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants