Skip to content

Fix proxy switch handshake: send valid GetSection packet (include tea…#142

Merged
popstarfreas merged 1 commit intopopstarfreas:devfrom
TerraZ-Team:patch-2
Feb 22, 2026
Merged

Fix proxy switch handshake: send valid GetSection packet (include tea…#142
popstarfreas merged 1 commit intopopstarfreas:devfrom
TerraZ-Team:patch-2

Conversation

@Xekep
Copy link
Contributor

@Xekep Xekep commented Feb 21, 2026

…m byte)

Root cause: GetSectionOrRequestSync (packet 8) built with invalid length during server switch (11 instead of 12). Added missing team byte (packByte(0)) in handleWorldInfo. This prevents TShock EndOfStream in HandleGetSection and eliminates kick: Your client didn't send the right connection information. Removed temporary chat-drop workaround used during debugging.

…m byte)

Root cause: GetSectionOrRequestSync (packet 8) built with invalid length during server switch (11 instead of 12).
Added missing team byte (packByte(0)) in handleWorldInfo.
This prevents TShock EndOfStream in HandleGetSection and eliminates kick:
Your client didn't send the right connection information.
Removed temporary chat-drop workaround used during debugging.
@popstarfreas popstarfreas merged commit 2d45525 into popstarfreas:dev Feb 22, 2026
4 checks passed
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