Jump to content
McKay Development

Getting SteamID64 For The LoggedIn Account (steamcommunity)?


Recommended Posts

Hi, is there a possiblity to get steamId64 [76561198097242611] for the current loggedIn account with (steamcommunity) ?

Searched on the github for that and found that its used on CSteamUser, and other parts of the library together with `steamid` module.

Im using async in the script to loop many accounts for some actions, and cant there is no way to put id for each account.

Is there anything to replace '????' with current loggedIn account such as with sessionID or cookies...


CSteamUser works with steamcommunity module √


Edited by SENPAY98K
Link to comment
Share on other sites

  • SENPAY98K changed the title to Getting SteamID64 For The LoggedIn Account (steamcommunity)?
8 hours ago, Dr. McKay said:

Use community.steamID.getSteamID64(); no need to call getSteamUser to get your SteamID.

Logging into a different account with the same SteamCommunity instance that was previously logged in isn't really supported. You should create a new SteamCommunity each time.

Great, works exactly as expected :D

I guess other CSteamUser function works with community as well since its contained inside steamcommunity module,

am i wrong?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...