Skip to content

[Enhancement Request] nclapi_log #25

@GLoOoccK

Description

@GLoOoccK

Current log format:
https://github.com/CS-NextClient/NextClientServerApi/blob/main/src/services/NextClientApi.cpp#L138-L163

Suggested log format:
https://github.com/rehlds/ReHLDS/blob/master/rehlds/engine/sv_main.cpp#L2540

L 06/01/2026 - 03:00:00: [nclapi] "NextClient<1><STEAM_0:1:0123456789><The unique hash ID of client>" connected, address "127.0.0.1:27005", version "<2.4.0><beta><branch>"

The <1> value is not intended to represent host_client->userid. Instead, it should be a sequential counter representing how many NextClient instances have connected to the server since startup.
<The unique hash ID of client> should contain the client's unique hash ID if available, otherwise, use <>.
<beta> only if the player is using the beta version, otherwise, use <>.
<branch> should display the player's current name branch if available, otherwise, use <>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions