find-CServerSideClientBase_GetUserIDString
Skill67 starsChanged 58 days agoMITView on GitHub
Final-guarantee fallback for CServerSideClientBase_GetUserIDString when its deterministic string-xref preprocessor cannot resolve the function. Locate the concrete user-ID formatting helper in engine2.dll / libengine2.so and write the semantic artifact for the active platform. Trigger: CServerSideClientBase_GetUserIDString
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-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-GetCSWeaponDataFromKey-inlinedSkill
- find-INetworkGameServer_GetGameServerSteamIDSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use this fallback only after ida_preprocessor_scripts/find-CServerSideClientBase_GetUserIDString.py fails.
- Very specific: line 19
If CServerSideClientBase_GetUserIDString.<platform>.yaml already exists as a non-empty mapping in the active artifact module directory, …
- Distinctive: line 25
Search the current binary for exact string literals matching the user-ID fallback values:
- Distinctive: line 54
Write only the active platform output:
- Very specific: line 63
If no candidate combines the identity fallbacks with CServerSideClientBase receiver semantics, stop and report the ambiguity rather than …
- Distinctive: line 65
Never emit a Windows result while analyzing Linux, or vice versa.
- Distinctive: line 66
If the output cannot be uniquely signed, retain only fields accepted by the analyzer's schema and report why the signature was omitted.
≈ “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 CServerSideClientBase_GetUserIDString (Agent fallback)
Use this fallback only after ida_preprocessor_scripts/find-CServerSideClientBase_GetUserIDString.py fails.
The target is the CServerSideClientBase member that returns/formats a client's user-ID string; it is not the
nearby network-ID helper, HLTV/replay formatter, or a console command.
Step 0. Skip an existing output
If CServerSideClientBase_GetUserIDString.<platform>.yaml already exists as a non-empty mapping in the active
artifact module directory, skip it. Never derive the artifact path from bin or write into checkout expected
artifacts while analyzing.
Step 1. Locate the target in IDA
Search the current binary for exact string literals matching the user-ID fallback values:
STEAM_ID_LANSTEAM_ID_PENDINGHLTVREPLAYUNKNOWN
Enumerate code xrefs and decompile candidate functions. Prefer the function whose first argument is the
CServerSideClientBase object (rcx on Windows, normally rdi on Linux) and which returns or writes the
formatted user ID. The deterministic finder intentionally excludes unrelated matches such as %.3f min,
for %.2f minutes, removeid: couldn't find %s, FULLMATCH:%s %s, and banid 0 %s.
Confirm the candidate's semantics: it reads the client's identity/auth state, selects a fallback such as
STEAM_ID_LAN, STEAM_ID_PENDING, HLTV, REPLAY, or UNKNOWN, and returns the resulting string (or a
pointer to it). Reject functions that only produce the network ID, register a command, or log a diagnostic.
The old build-14167 values are orientation only; do not copy an address without checking the current binary.
Step 2. Generate and write the artifact
Rename the verified function with IDA MCP. Use /generate-signature-for-function to generate a unique
signature from the current function body, then use /write-func-as-yaml with:
func_name=CServerSideClientBase_GetUserIDString- verified current
func_addr func_rvarelative to the current image base- current
func_size - validated
func_sig
Write only the active platform output:
CServerSideClientBase_GetUserIDString.windows.yamlbesideengine2.dllCServerSideClientBase_GetUserIDString.linux.yamlbesidelibengine2.so
The trusted analyzer performs final canonical serialization; this skill supplies semantic fields only.
Failure handling
- If no candidate combines the identity fallbacks with
CServerSideClientBasereceiver semantics, stop and report the ambiguity rather than guessing from reference addresses. - Never emit a Windows result while analyzing Linux, or vice versa.
- If the output cannot be uniquely signed, retain only fields accepted by the analyzer's schema and report why the signature was omitted; do not invent a signature.
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.

