find-INetworkGameServer_GetGameServerSteamID
Skill67 starsChanged 59 days agoMITView on GitHub
Final-guarantee fallback for the find-INetworkGameServer_GetGameServerSteamID preprocessor. Recovers INetworkGameServer::GetGameServerSteamID (a virtual function of the INetworkGameServer interface) in CS2 client.dll / libclient.so by decompiling its known predecessor GetRichPresenceStatusString and identifying the vtable-slot fetch made on the network game server. Use this skill only when the deterministic/LLM preprocessor (ida_preprocessor_scripts/find-INetworkGameServer_GetGameServerSteamID.py) could not resolve the target. Trigger: INetworkGameServer_GetGameServerSteamID
In this repository91 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-CEngineClient_DumpNetStatsSkill
- find-CEngineClient_FindOrCreateWorldSessionSkill
- find-CEngineClient_GetStatsAppIDSkill
- find-CEngineClient_IsPlayingDemoSkill
- find-CEngineServer_GetAchievementMgrSkill
- find-CEngineServer_GetFrameTimeAmnesty-inlinedSkill
- find-CEngineServer_IsDedicatedServerSkill
- find-CEngineServer_IsLogEnabledSkill
- find-CEngineServer_KickClientSkill
- find-CEngineServer_ServerCommandSkill
- find-CEngineServer_SynchronizeAndBlockUntilLoadedSkill
- find-CEngineServiceMgr_GetAddonCountSkill
- find-CEngineServiceMgr_GetEngineWindowSkill
- find-CEngineServiceMgr_GetEventDispatcherSkill
- find-CEngineServiceMgr_RegisterPrerequisiteSkill
- find-CEntitySystem_Init-decompilesSkill
- find-CEntitySystem_m_EntityList-AND-CEntityIdentity_m_pInstance-AND-CEntityIdentity_m_EHandleSkill
- find-CEntitySystem_m_entityNamesSkill
- find-CGlobalVarsBase_realtime-AND-CGlobalVarsBase_curtimeSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState_AcquireSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState-decompilesSkill
- find-CLoopTypeClientServer_RefreshNetworkGameStateSkill
- find-CNetChan_CanPacketSkill
- find-CNetChan_ProcessMessagesSkill
- find-CNetChan_SendMessages-inlinedSkill
- find-CNetChan_UpdateMessageStatsSkill
- find-CNetworkClientService_m_pGameClientSkill
- find-CNetworkGameServerBase_CheckTimeouts-decompilesSkill
- find-CNetworkGameServerBase_CreateFakeClientSkill
- find-CNetworkGameServerBase_GetChallengeTypeSkill
- find-CNetworkGameServerBase_ReplyChallenge-decompilesSkill
- find-CNetworkGameServerBase_ServiceQueueSkill
- find-CNetworkGameServer_GetFreeClientSkill
- find-CNetworkMessages_dtorSkill
- find-CNetworkMessages_FindOrCreateNetMessage-14197Skill
- find-CNetworkMessages_GetIsForServerSkill
- find-CNetworkMessages_LookupNetworkSerializationContextDataIdSkill
- find-CNetworkMessages_UnserializeMessageInternalSkill
- find-CNetworkMessages_vtable-decompilesSkill
- find-CNetworkStringTableContainer_RemoveAllTablesSkill
- find-CNetworkSystem_RemoveNetChannel-14197Skill
- find-CNetworkSystem_RemoveNetChannelByAddress-14197Skill
- find-CServerSideClientBase_GetUserIDStringSkill
- find-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-GetCSWeaponDataFromKey-inlinedSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Read the platform-relevant reference YAMLs before searching in IDA.
- Very specific: line 31
ALWAYS: Use SKILL /get-func-from-yaml with func_name=GetRichPresenceStatusString to obtain its func_va.
- Very specific: line 70
ALWAYS: Use SKILL /generate-signature-for-vfuncoffset for the vfunc at the resolved offset to obtain a validated vfunc_sig.
- Very specific: line 72
ALWAYS: Use SKILL /write-vfunc-as-yaml with:
- Very specific: line 92
If the predecessor GetRichPresenceStatusString YAML is missing -> STOP and report to user.
- Distinctive: line 93
If the target slot fetch 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 408,460 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 INetworkGameServer_GetGameServerSteamID (final-guarantee fallback)
Recover the virtual function INetworkGameServer::GetGameServerSteamID in CS2 client.dll /
libclient.so using IDA Pro MCP tools. This is the Agent fallback for the
find-INetworkGameServer_GetGameServerSteamID 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. Treat their addresses as reference-build values only; verify against the current binary.
- Windows baseline:
ida_preprocessor_scripts/references/client/GetRichPresenceStatusString.windows.yaml - Linux baseline:
ida_preprocessor_scripts/references/client/GetRichPresenceStatusString.linux.yaml
Step 1. Load and decompile the predecessor
ALWAYS Use SKILL /get-func-from-yaml with func_name=GetRichPresenceStatusString 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="<GetRichPresenceStatusString.func_va>"Step 2. Locate the vtable-slot reference to the target
The predecessor resolves the network game server through a second interface hop and then fetches the steam id from that object's vtable. Anchor by the semantic fingerprint, not a fixed offset:
- Windows:
mov rax, [rcx]->call qword ptr [rax+0B8h]->test rax, rax->mov rcx, [rax]->mov r8, [rcx+1E8h]->mov rcx, rax->call r8 - Linux:
mov rax, [rdi]->call qword ptr [rax+0C0h]->test rax, rax->mov rax, [rax]->call qword ptr [rax+1E8h]
Important: on Windows the compiler hoists the slot into a register instead of calling it in
place, so the reference is a mov, not a call. Searching only for call qword ptr [reg+...] will
find nothing there.
Reference build vtable offset (verify, do not hardcode): vfunc_offset = 0x1E8 (488),
vfunc_index = 61 on both platforms.
Do not confuse this slot with IVEngineServer2
0x1E8 is INetworkGameServer index 61. IVEngineServer2::GetGameServerSteamID is a different
symbol at index 85 (0x2A8); IVEngineServer2 index 61 is SetSpawnGroupDescription (a tiny
forwarder into the spawn-group manager global, next to MakeSpawnGroupActive at index 64 / 0x200).
Claiming IVEngineServer2_GetGameServerSteamID at 0x1E8 makes cpp_tests/ivengineserver2.cpp
fail with an index-61 name mismatch.
Step 3. Resolve the vfunc slot and write the YAML
- From the resolved
vfunc_offset, rename the reference toINetworkGameServer_GetGameServerSteamIDwithmcp__ida-pro-mcp__rename. - ALWAYS Use SKILL
/generate-signature-for-vfuncoffsetfor the vfunc at the resolved offset to obtain a validatedvfunc_sig. - ALWAYS Use SKILL
/write-vfunc-as-yamlwith:func_name:INetworkGameServer_GetGameServerSteamIDvtable_name:INetworkGameServervfunc_sig: the validated signature from step 2vfunc_offset/vfunc_index: the resolved values
INetworkGameServer is an abstract interface with no vtable in the client module, so this YAML is
slot-only: do not attempt to emit func_va. The concrete implementation address is resolved
separately in the engine module by find-CNetworkGameServerBase_GetGameServerSteamID, which inherits
this slot.
Output YAML filenames
Written beside the binary by the writer skill, one file per platform:
- Windows (
client.dll):INetworkGameServer_GetGameServerSteamID.windows.yaml - Linux (
libclient.so):INetworkGameServer_GetGameServerSteamID.linux.yaml
Failure handling
- If the predecessor
GetRichPresenceStatusStringYAML is missing -> STOP and report to user. - If the target slot fetch 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.

