Skip to content

bug: update linux ConnectClient signature - #188

Merged
lukepolo merged 1 commit into
mainfrom
bug/linux-connectclient-sig
Sep 24, 2026
Merged

lukepolo merged 1 commit into
mainfrom
bug/linux-connectclient-sig

Conversation

@lukepolo

@lukepolo lukepolo commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The latest CS2 build changed register allocation in the CNetworkGameServerBase::ConnectClient prologue, so the old Linux signature no longer matches libengine2.so
  • Regenerated with apps/swiftly/scripts/sigmaker.py from the "CNetworkGameServerBase::ConnectClient( name='%s', remote='%s' )" string xref
  • Updated everywhere the signature is hardcoded: shared gamedata, CounterStrikeSharp and Swiftly InitConnect.cs, and both utility plugins' PracticeConnect.cs
old: 55 48 89 E5 41 57 49 89 D7 41 56 41 89 CE 41 55 41 54 49 89 F4 53 48 89 FB 48 81 EC ? ? ? ?
new: 55 48 89 E5 41 57 49 89 D7 41 56 49 89 FE 41 55 41 54 53 89 CB 48 81 EC ? ? ? ?

The latest CS2 build changed register allocation in the
CNetworkGameServerBase::ConnectClient prologue, so the old Linux
pattern no longer matches libengine2.so. The Windows signature is
unchanged and still needs regenerating from engine2.dll.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@lukepolo
lukepolo merged commit 96bd0b6 into main Sep 24, 2026
3 checks passed
@lukepolo
lukepolo deleted the bug/linux-connectclient-sig branch September 24, 2026 03:57
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.

1 participant