Steamworks getAuthTicketForWebApi

Not favoritedFavorited Favorited 0 favourites
  • Maybe you can try SteamUser()->GetSteamID().ConvertToUint64();? My only theory is that nothing comes up when I search GetStaticAccountKey, but when I search ConvertToUint64 I do see documentation--particularly around Authentication and Ownership.

  • Well, I don't know what the correct code is, so you should ask Valve. It's their software so they must know the answer.

    GetStaticAccountKey() also returns a uint64 and its description says "Converts the static parts of a steam ID to a 64-bit representation." So it looks like there are two methods that could be a 64-bit Steam ID. I don't know which is the right one and I don't want to just change the existing implementation without knowing why, especially as that may be a breaking change. So please ask Valve to clear up the confusion!

  • Still waiting for a reply. But I did ask them.. Hopefully this can be resolved next week—as I'm getting very close to the launch date.

  • I guess we can just make the plugin return both values, and then you can use whichever is appropriate. I just released v1.4.4 of the Steamworks plugin that adds the expressions SteamID64Bit and AppOwnerSteamID64Bit, which each return the ID via ConvertToUint64(), so if that's the one that works you can use it. However it would still be good to hear back from Valve to confirm that's the intended value to use (and not some other kind of ID - there's already 3 variants of the user ID and it wouldn't surprise me if there was a 4th!)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Haha yeah for real. Well, I can happily say SteamID64Bit worked! Thanks so much for the support. I will def update you here once I hear back from Steam :)

Jump to:
Active Users
There are 1 visitors browsing this topic (1 users and 0 guests)