Skip to content

Khs khook fix - #1417

Open
kodrian wants to merge 3 commits into
roflmuffin:mainfrom
kodrian:khs-khook-fix
Open

Khs khook fix#1417
kodrian wants to merge 3 commits into
roflmuffin:mainfrom
kodrian:khs-khook-fix

Conversation

@kodrian

@kodrian kodrian commented Sep 10, 2026

Copy link
Copy Markdown

No description provided.

Replace SourceHook registrations and callbacks with Metamod-owned KHook virtual hooks. Preserve existing managed APIs, gamedata and gameplay behavior; pin Metamod 1466 and add Linux compatibility tests and an API metadata probe.

Validation: Linux Release build and API 18 probe pass; managed solution build and publish pass; 84 KHook/migration tests and 24 managed unit tests pass. The unchanged DynoHook test executable still crashes in the local baseline environment; in-server tests require CS2. See KHOOK-MIGRATION.md for details.
Localize bundled library symbols, mark the stack non-executable and guard invalid CheckTransmit offsets. Build in pinned SteamRT4 with an older Steam Runtime sysroot to avoid the server's missing GLIBC_2.38 error.

Linux build succeeds; ELF requires GLIBC 2.29 and GLIBCXX 3.4.26, exports CreateInterface/InvokeNative, and has no build RPATH. Real CS2 runtime remains unverified. The SDK-stub dlopen probe aborts for both this binary and the reference release.
Record Metamod API 18 compatibility and 29 managed plugins loaded on K0di's server. Update package requirements and preserve upstream credits.
@kodrian
kodrian requested a review from roflmuffin as a code owner September 10, 2026 14:50
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