Skip to content

Remove woldata.key serial verification - #120

Merged
ZivDero merged 2 commits into
OpenTS-Developers:mainfrom
Belonit:remove-woldata-key-verification
Oct 26, 2026
Merged

ZivDero merged 2 commits into
OpenTS-Developers:mainfrom
Belonit:remove-woldata-key-verification

Conversation

@Belonit

@Belonit Belonit commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Removes the obsolete woldata.key serial-number verification path from the LAN/IPX lobby flow.

The multiplayer packet layout remains compatible with existing clients, the former serial field is retained as reserved padding.

@Belonit
Belonit marked this pull request as draft September 3, 2026 12:55
@Belonit

Belonit commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

I think this change needs testing, which I haven't done yet, so I'll mark PR as Draft

@ZivDero

ZivDero commented Sep 3, 2026

Copy link
Copy Markdown
Member

Do we have solid reaso to preserve GPacket size?

Comment thread code/session.h Outdated
NetCommandType Command; // One of the enum's defined above
char Name[MPLAYER_NAME_MAX]; // Player or Game Name
char Serial[SERIAL_MAX]; //
char Reserved[GLOBAL_PACKET_RESERVED_SIZE]; // Reserved for global packet compatibility.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every join packet zero-initializes this field, all clients from this branch present the same empty serial. A base-head host still counts that field and rejects the third matching guest. May want to populate the bytes with a unique value for old-compatible joins, or explicitly drop and document mixed-version compat.

@Belonit
Belonit force-pushed the remove-woldata-key-verification branch from d1d22ce to 84fec2c Compare October 8, 2026 03:11
@Belonit
Belonit force-pushed the remove-woldata-key-verification branch 2 times, most recently from 23c59bf to aed0c6a Compare October 22, 2026 19:01
@ZivDero
ZivDero force-pushed the remove-woldata-key-verification branch from aed0c6a to 4b36209 Compare October 26, 2026 18:26
@ZivDero
ZivDero marked this pull request as ready for review October 26, 2026 18:27
@ZivDero
ZivDero merged commit cbbb385 into OpenTS-Developers:main Oct 26, 2026
9 of 10 checks passed
@Belonit
Belonit deleted the remove-woldata-key-verification branch October 27, 2026 15:00
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.

3 participants