Jump to content
McKay Development

Logging into an account without interrupting existing Steam Network sessions


Arty

Recommended Posts

Hello, is it possible to login with node-steam-user without interrupting existing steam network sessions? To be more precise, whenever I login with my node-steam-user script, I can see steam notifying me about friends coming online, since I basically get disconnected from my established session and reconnected. This also seems to be causing other problems as well, which is not really ideal. As far as I'm concerned, this doesn't happen when logging from another location using the Steam Client. Although I haven't yet logged in twice from the same location, I'm pretty sure it happens even from other locations from my previous experiences.

EDIT Just did a quick test and yes, this behavior does in fact occur even when logging from a remote location, which means node-steam-user must have something to do with this. (Indeed, this behavior is tied to node-steam-user, since it does not happen when using Steam Client)

Edited by Arty
Updated to include results of my testing
Link to comment
Share on other sites

5 hours ago, Dr. McKay said:

If your remote location has the same public IP, then you'd need to change the logonID when you call logOn().

I might be just lost, but how should I do that?

user.logOn( {

  refreshToken,
  logonID: 123456789

} );

Such code doesn't work, is there anything else I need to do?

Link to comment
Share on other sites

Well, simply said, it doesn't solve the problem. Even with logonID in place, my existing session gets disrupted. To be clear, it isn't closed or anything like that, it's only doing weird stuff like not showing me my online friends etc.

 

Edited by Arty
Link to comment
Share on other sites

@Dr. McKay sorry for the delayed update on this matter. I decided the best course of action here is to just record what I mean on tape. On the video you can witness my code, but I did remove the account credentials for the duration of the recording. I'm using traditional accountName and password combination, since I figured a refreshToken might be tied to a specific machine. The code I ran is executed on a machine with a different public IP to mine, yet the disturbance still occurs.

Video: 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 6 months later...

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.

Guest
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.

Loading...
×
×
  • Create New...