Player Unique Identifier

  • Hi,

    I was wondering if there is a way to identify a player uniquely and globally programatically. I’m looking into implementing a database connection via UnrealScript, and would like to be able to recognize a player when he/she returns. Is there an established way of doing this?

    I know I’ve seen other games in the past generate a sort of “Public CD Key”, which is generated from the game key (hashed or some other algorithm) so that its globally unique, but safe to distribute.

    Thanks in advance!

  • That would be the Steam ID

  • Developer

    PlayerController.PlayerReplicationInfo.UniqueID contains the SteamID (a 64-bit integer). This is the best value to use to uniquely identify players.

  • Great, that’s what I figured, thanks!

Log in to reply