When you setup steam integration with unreal engine, do you need to manually handle the…
- User
When you setup steam integration with unreal engine, do you need to manually handle the case of a none steam client attempting to join a steam dedicated server ? Does it makes sense to check if the joining client/player is a valid steam client and if not then kick them ? Or is that handled automatically
Assistant
When you set up Steam integration with Unreal Engine, you need to handle the case of a non-Steam client attempting to join a Steam dedicated server manually. It does make sense to check if the joining client/player is a valid Steam client and if not, then kick them.
The Steamworks API provides a way to check if a client is a valid Steam client by checking their Steam ID. You can use the ISteamGameServer interface to get the Steam ID of the connecting client and compare it to the Steam ID of the player who owns the game. If they don't match, then the client is not a valid Steam client and you can choose to kick them from the server.
Alternatively, you can use the Steamworks API to check if the client has the correct Steam game license before allowing them to join the server. This can be done by checking the Steam API for the game's license key and comparing it to the client's Steam ID. If the client does not have the correct license key, then they will not be allowed to join the server.
In summary, you need to manually handle the case of a non-Steam client attempting to join a Steam dedicated server. It is a good idea to check if the joining client/player is a valid Steam client and if not, then kick them from the server.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.