find-INetworkServerService_IsActiveInGame
Skill67 starsChanged 58 days agoMITView on GitHub
Final-guarantee fallback for the find-INetworkServerService_IsActiveInGame preprocessor. Recovers INetworkServerService::IsActiveInGame (a virtual function of the CNetworkServerService vtable) in CS2 engine2.dll / libengine2.so by decompiling its known predecessor CSteam3ServerS1_InitGameServer and identifying the virtual call on g_pNetworkServerService. Use this skill only when the deterministic/LLM preprocessor (ida_preprocessor_scripts/find-INetworkServerService_IsActiveInGame.py) could not resolve the target. Trigger: INetworkServerService_IsActiveInGame
In this repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cleanup-workspaceSkill
- convert-finder-skill-to-preprocessor-scriptsSkill
- create-agent-skill-fallbackSkill
- create-cpp-testsSkill
- create-preprocessor-scriptsSkill
- create-prSkill
- dump-vtablesSkill
- find-CBaseEntity_GetChangeAccessorPathInfo_1Skill
- find-CCSBotManager_AddBot_BotNavIgnoreSkill
- find-CCSGameRules__sm_mapGcBanInformationSkill
- find-CCSPlayer_MovementServices_CheckJumpButton_WaterPatchSkill
- find-CCSPlayer_MovementServices_FullWalkMove_SpeedClampSkill
- find-CEntitySystem_Init-decompilesSkill
- find-CEntitySystem_m_entityNamesSkill
- find-CNetworkGameServerBase_CheckTimeouts-decompilesSkill
- find-CNetworkGameServerBase_CreateFakeClientSkill
- find-CNetworkGameServerBase_GetChallengeTypeSkill
- find-CNetworkGameServer_GetFreeClientSkill
- find-CNetworkMessages_dtorSkill
- find-CNetworkMessages_GetIsForServerSkill
- find-CNetworkMessages_GetNetworkSerializationContextDataSkill
- find-CNetworkMessages_vtable-decompilesSkill
- find-CServerSideClientBase_GetUserIDStringSkill
- find-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-INetworkServerService_GetServerSerializersCRCSkill
- find-INetworkServerService_IsServerRunningSkill
- find-IVEngineServer2_GetClientSteamIDSkill
- find-OnServerVoiceData_IsPlayingDemo_CalleeSkill
- fix-cppheadersSkill
- generate-reference-yamlSkill
- generate-signature-for-functionSkill
- generate-signature-for-globalvarSkill
- generate-signature-for-patchSkill
- generate-signature-for-structoffsetSkill
- generate-signature-for-vfuncoffsetSkill
- get-func-from-yamlSkill
- get-vtable-addressSkill
- get-vtable-from-yamlSkill
- get-vtable-indexSkill
- init-gamebinSkill
- rename-preprocessor-scriptsSkill
- resolve-pr-conflictSkill
- run-validation-until-no-failureSkill
- run-vcall-finderSkill
- trigger-release-buildSkill
- write-func-as-yamlSkill
- write-globalvar-as-yamlSkill
- write-patch-as-yamlSkill
- write-structoffset-as-yamlSkill
- write-vfunc-as-yamlSkill
- write-vtable-as-yamlSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Read the platform-relevant reference YAMLs before searching in IDA.
- Very specific: line 32
ALWAYS: Use SKILL /get-func-from-yaml with func_name=CSteam3ServerS1_InitGameServer to obtain its func_va.
- Very specific: line 68
ALWAYS: Use SKILL /generate-signature-for-vfuncoffset for the vfunc at the resolved address/offset to obtain a validated vfunc_sig.
- Very specific: line 70
ALWAYS: Use SKILL /write-vfunc-as-yaml with:
- Very specific: line 85
If the predecessor CSteam3ServerS1_InitGameServer YAML is missing → STOP and report to user.
- Distinctive: line 86
If the target virtual call cannot be located even after inspecting the predecessor → STOP and report so the user can extend the references.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Find INetworkServerService_IsActiveInGame (final-guarantee fallback)
Recover the virtual function INetworkServerService::IsActiveInGame in CS2 engine2.dll /
libengine2.so using IDA Pro MCP tools. This is the Agent fallback for the
find-INetworkServerService_IsActiveInGame skill: it runs only when the preprocessor script returned
failure (almost always a transient LLM error, or the predecessor's call structure moved).
Realworld Function References
Read the platform-relevant reference YAMLs before searching in IDA. They contain the annotated virtual
call site (; 0x0C0/0x0C8 = ... = INetworkServerService_IsActiveInGame). Treat their addresses as
reference-build values only; verify against the current binary.
- Windows baseline:
ida_preprocessor_scripts/references/engine/CSteam3ServerS1_InitGameServer.windows.yaml - Linux baseline:
ida_preprocessor_scripts/references/engine/CSteam3ServerS1_InitGameServer.linux.yaml
Step 1. Load and decompile the predecessor
ALWAYS Use SKILL /get-func-from-yaml with func_name=CSteam3ServerS1_InitGameServer to obtain its
func_va. If it returns an error, STOP and report to user (this fallback cannot run without the
predecessor).
Decompile it:
mcp__ida-pro-mcp__decompile addr="<CSteam3ServerS1_InitGameServer.func_va>"Step 2. Locate the virtual call to the target
INetworkServerService::IsActiveInGame(this) is an indirect virtual call on the global
g_pNetworkServerService. Anchor by its semantic fingerprint, not a fixed offset:
- It is the
call qword ptr [reg + <off>]wherereg = *g_pNetworkServerService(load the vtable from the global, then call through it). - It returns a boolean (
al) that selects between two 16-bit values which are then stored to a member of theCSteam3Serverthis(*(this + 0x114/*win*/ or + 0x13C/*linux*/) = ...). - It sits immediately after two
g_pNetworkSystemvirtual calls (+0x118and+0x110on Windows;+0x118and+0x110on Linux) whose results are the two 16-bit candidates. - It sits immediately before the
LoggingSystem_IsChannelEnabled/"SteamGameServer_Init()\n"logging block.
Reference build vtable offsets (verify, do not hardcode):
- Windows:
call qword ptr [rdx+0C0h]->vfunc_offset = 0xC0(192),vfunc_index = 24 - Linux:
call qword ptr [rax+0C8h]->vfunc_offset = 0xC8(200),vfunc_index = 25
The vtable offset differs per platform; derive it from the located call instruction on the current binary.
Step 3. Resolve the vfunc body, generate the signature, and write the YAML
- From the resolved
vfunc_offset, read the vtable slot ofCNetworkServerService_vtableto obtain the concrete function address, and rename it toINetworkServerService_IsActiveInGamewithmcp__ida-pro-mcp__rename. - ALWAYS Use SKILL
/generate-signature-for-vfuncoffsetfor the vfunc at the resolved address/offset to obtain a validatedvfunc_sig. - ALWAYS Use SKILL
/write-vfunc-as-yamlwith:func_name:INetworkServerService_IsActiveInGamevtable_name:CNetworkServerService_vtablevfunc_sig: the validated signature from step 2vfunc_offset/vfunc_index: the resolved values
Output YAML filenames
Written beside the binary by the writer skill, one file per platform:
- Windows (
engine2.dll):INetworkServerService_IsActiveInGame.windows.yaml - Linux (
libengine2.so):INetworkServerService_IsActiveInGame.linux.yaml
Failure handling
- If the predecessor
CSteam3ServerS1_InitGameServerYAML is missing → STOP and report to user. - If the target virtual call cannot be located even after inspecting the predecessor → STOP and report so the user can extend the references.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

