find-CNetworkMessages_FindOrCreateNetMessage-14197
Skill67 starsChanged 59 days agoMITView on GitHub
Recover CNetworkMessages_FindOrCreateNetMessage in CS2 networksystem.dll or libnetworksystem.so when signature reuse and diagnostic-string preprocessing fail. Identify the registration vfunc through current CNetworkMessages vtable entries, string references, and message creation semantics.
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_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
- find-INetworkGameServer_GetGameServerSteamIDSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
Use the analyzer-reported active artifact module directory, exposed as CS2VIBE_ARTIFACT_DIR.
- Very specific: line 40
Search strings for CNetworkMessages::FindOrCreateNetMessage: and follow their code xrefs to containing functions.
- Distinctive: line 53
If a diagnostic belongs to a separate helper, inspect its callers in the vtable and follow callees from plausible registration entries.
- Distinctive: line 56
Read the current slot from the verified function pointer.
- Very specific: line 59
When registration is closed, this function logs a warning, sets the local non-networkable flag, sets the message ID to -1, and continues …
- Very specific: line 67
Use /get-vtable-index against the current CNetworkMessages vtable to obtain its index and byte offset.
- Very specific: line 68
Use /generate-signature-for-function on the verified entry point and confirm a unique match.
- Very specific: line 69
Write the result with /write-vfunc-as-yaml using the following parameters.
- Distinctive: line 78
Write only the active platform's required output under the active artifact module directory.
- Distinctive: line 83
If the prerequisite vtable is missing, report its exact path.
- Distinctive: line 84
If candidates remain ambiguous or the registration implementation cannot be confirmed, report the candidate addresses, diagnostic xrefs, …
≈ “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 CNetworkMessages_FindOrCreateNetMessage
Recover the concrete registration vfunc for the active platform using IDA Pro MCP.
The configured prerequisite is CNetworkMessages_vtable.<platform>.yaml.
Realworld Function References
bin_artifacts/14198/networksystem/CNetworkMessages_FindOrCreateNetMessage.windows.yamlbin_artifacts/14198/networksystem/CNetworkMessages_FindOrCreateNetMessage.linux.yamlbin_artifacts/14198/networksystem/CNetworkMessages_vtable.windows.yamlbin_artifacts/14198/networksystem/CNetworkMessages_vtable.linux.yaml
These are reference-build values. Confirm the function and its slot against the current binary.
Build 14198 places the function at vtable index 20, offset 0xA0, on both platforms.
In 14198b Linux, the body is at 0x2BB280, size 0xD18, with the same slot.
Output inventory
| Platform | Required output | Kind | Required fields |
| Windows | CNetworkMessages_FindOrCreateNetMessage.windows.yaml | Concrete vfunc | func_name, func_va, func_rva, func_size, func_sig, vtable_name, vfunc_offset, vfunc_index |
| Linux | CNetworkMessages_FindOrCreateNetMessage.linux.yaml | Concrete vfunc | Same fields |
Use the analyzer-reported active artifact module directory, exposed as CS2VIBE_ARTIFACT_DIR.
For the active platform, skip an existing output that parses as a non-empty mapping unless the analyzer
has reported that output as invalid. Resolve the corresponding prerequisite vtable YAML from this directory.
Identify the registration implementation
- Load the current
CNetworkMessagesvtable with/get-vtable-from-yaml. Search strings for
CNetworkMessages::FindOrCreateNetMessage:and follow their code xrefs to containing functions. Diagnostic suffixes vary across builds. Observed forms includeIt is illegal to register new net messages after serialization!Registering net message %s after registration closedMessage %s is expected to have already been registered!
- Intersect candidate function starts with the current vtable entries and decompile the survivors.
The implementation formats the message name and numeric ID using
%s [%d], looks up an existing registration under a lock, and returns the existing descriptor or creates and inserts a descriptor holding the message factory, ID, category, and flags. Additional anchors include category labels such asGeneric,Local Player,Voice,User Messages, and the diagnostic beginningNetMessage '%s' still using auto-assigned. - If a diagnostic belongs to a separate helper, inspect its callers in the vtable and follow callees from plausible registration entries. If diagnostic text is absent, inspect the reference slot and nearby entries, then expand through the vtable until the registration semantics identify one entry. Read the current slot from the verified function pointer.
In 14198b Linux the new diagnostic is at 0x1674C8, referenced at 0x2BBC38 inside 0x2BB280.
When registration is closed, this function logs a warning, sets the local non-networkable flag,
sets the message ID to -1, and continues descriptor creation. In 14197 and 14198, the corresponding
registration-closed branch logged the older diagnostic and returned a null descriptor. Check these
branches when identifying the implementation across builds.
Signature and YAML output
Rename the verified function to CNetworkMessages_FindOrCreateNetMessage.
Use /get-vtable-index against the current CNetworkMessages vtable to obtain its index and byte offset.
Use /generate-signature-for-function on the verified entry point and confirm a unique match.
Write the result with /write-vfunc-as-yaml using the following parameters.
func_nameandartifact_nameareCNetworkMessages_FindOrCreateNetMessage.func_addris the verified function entry point.func_sigis the validated unique function signature.vtable_nameisCNetworkMessages.vfunc_indexandvfunc_offsetcome from the current vtable, withvfunc_offset = vfunc_index * 8.vfunc_sigisNone.
Write only the active platform's required output under the active artifact module directory. The analyzer's trusted finalizer canonicalizes the semantic payload.
Failure handling
If the prerequisite vtable is missing, report its exact path. If candidates remain ambiguous or the registration implementation cannot be confirmed, report the candidate addresses, diagnostic xrefs, and unresolved output. Require a verified concrete implementation before writing the function fields.
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.

