Skip to content

Remove woldata.key serial verification - #120

Draft
Belonit wants to merge 1 commit into
OpenTS-Developers:mainfrom
Belonit:remove-woldata-key-verification
Draft

Remove woldata.key serial verification#120
Belonit wants to merge 1 commit 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
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.

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