EOS_AntiCheatClient_BeginSession returns EOS_NotImplemented (16) on consoles

When creating a new session on an AntiCheat-enabled server, consoles fail with the following log entry:

`[LogEOSAntiCheat] [AntiCheatClient] EOS_AntiCheatClient_BeginSession: Client/Server mode is only supported on platforms with client anti-cheat protection.`

This is when we call EOS_AntiCheatClient_BeginSession which returns EOS_NotImplemented (16) on consoles

Is this expected behavior on XSX and PS5?

EOS SDK version is 16.3

Hello, Anti-Cheat protection is NOT offered on consoles. You can play with protected PC clients by having your server register the clients as unprotected. See Console Support in our documentation.

In Client-Server Mode, to create/join a protected session from console, we should EOS_AntiCheatClient_BeginSession with the null anticheat client? Or should we call something else entirely?

There is no client protection on console. You can call EOS_AntiCheatClient_BeginSession passing in EOS_ACCM_PeerToPeer in the options. In the documentation under Console Support this is mentioned: “The Anti-Cheat Client interface in Peer-to-Peer mode can be used to support cross-platform play.” We’re not making it explicitly clear that consoles won’t work in a Listen Server setup (client-player hosted server). I’m double-checking with our anti-cheat team to confirm listen server won’t work, and if so I’ll update the documentation to make that clear.

I understand that AntiCheat is not supported on consoles. I’m not trying to make it work on consoles.

In our use case, we want to support cross-platform play in Client-Server Mode with a dedicated server. We will not have player-hosted sessions.

I’m just looking at how to create a protected session so that PC clients use AntiCheat. And consoles are registered as unprotected clients.

You don’t need to create a protected session on the console client. Your should call EOS_AntiCheatServer_BeginSession and when the console client joins, call EOS_AntiCheatServer_RegisterClient passing in the ProductUserId of the console player and EOS_ACCCT_UnprotectedClient.

To send the ProductUserId from client to server, you should use EOS_Connect_CopyIdToken on the client, pass the token to the server and on the server call EOS_Connect_VerifyIdToken. The callback of EOS_Connect_VerifyIdToken will have the ProductUserId and the DeviceType to confirm the client is on a console.

Let me know if you have any follow-up questions. Sorry for the confusion here, your first messages led me to assume you were trying to use client-server in a listen server setup with the console player hosting the session.

No worries. Thank you for all the help. Hopefully this is enough to get it done.