SENPAY98K Posted November 29, 2021 Report Posted November 29, 2021 (edited) 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... Edit: CSteamUser works with steamcommunity module √ Edited November 30, 2021 by SENPAY98K Solution Quote
Dr. McKay Posted November 30, 2021 Report Posted November 30, 2021 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. SENPAY98K 1 Quote
SENPAY98K Posted November 30, 2021 Author Report Posted November 30, 2021 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 I guess other CSteamUser function works with community as well since its contained inside steamcommunity module, am i wrong? Quote
Dr. McKay Posted November 30, 2021 Report Posted November 30, 2021 I'm not really sure what you're asking, but CSteamUser stuff does work. SENPAY98K 1 Quote
SENPAY98K Posted November 30, 2021 Author Report Posted November 30, 2021 1 minute ago, Dr. McKay said: I'm not really sure what you're asking, but CSteamUser stuff does work. Its okay all good Quote
Recommended Posts
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.