Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Technical Proposal: Persistent Hardware Identification System (HWID) v2
Overview
The goal is to implement a robust Hardware ID (HWID) system for Counter-Strike 1.6 by extending the NextClient (Client-side) and NextClientServerApi (Server-side). This ensures a player’s identity is tied to their physical machine, effectively preventing identity spoofing, bypassing bans via IP/SteamID rotation, and improving community integrity.
1. Client-Side Collection (NextClient)
Objective: Generate a unique, anonymized, and highly resilient hardware fingerprint.
IOCTL_STORAGE_QUERY_PROPERTYcalls to bypass WMI corruption.HKCU\Software\NextClientif all hardware probes fail.2. Synchronization (NCLM Protocol)
Objective: Securely transmit the HWID during the initial connection handshake.
src/common/nclm_proto.h:NCLM_C2S_HARDWARE_ID: Sent immediately after the version check and before entering the game.3. Session Management (Server Module)
Objective: Bind the HWID to the active player session for lookups.
NCLM_C2S_HARDWARE_IDopcode withinnclm_server.cpp.CPlayerobject insideplayer_manager.cpp.4. AMX Mod X Interface (API Layer)
Objective: Expose the HWID to Pawn scripts (e.g., Zombie Plague, Anti-Cheat, or Rank systems).
ncl_get_hardware_idto the NextClient API.Expected Repository Structure
Client Repository (
nextclient)Server Repository (
NextClientServerApi)Reference: Resolves architectural requirements for advanced ban management and identity validation. Fixes Issue #100.