ArchiSteamFarm icon indicating copy to clipboard operation
ArchiSteamFarm copied to clipboard

Investigate possibility to log in as main account

Open JustArchi opened this issue 10 years ago • 24 comments

Background: Accidentally I found out today that I no longer receive EResult.LogonSessionReplaced when I'm using my account both on PC through steam client and in ASF at the same time, both on the same machine.

This is interesting because either Valve changed it very recently, or it was non-intended.

What we know so far:

  • For major portion of users, it's possible to use ASF and Steam Client for the same account, on same PC, and at the same time.
  • Some (unlucky) users are actually still not possible to do so, and they're getting LogonSessionReplaced in OnLoggedOff event. If we found out a reason for that, perhaps I could implement something that could fix that as well.

Please let us know if you find anything interesting regarding that thing. If it works good for you, if it doesn't, and if it doesn't, if you have any ideas why.

JustArchi avatar Dec 09 '15 18:12 JustArchi

I know you can use ASF with your main, while you are also using your main from the Steam client, but only if they don't share the same IP. You say you run ASF in your server, so maybe the server has a different IP from your computer that you use to run the Steam client?

Sighery avatar Dec 09 '15 19:12 Sighery

No, I tested it on the same PC as you can see in the screenshot, that's what made me curious.

JustArchi avatar Dec 09 '15 19:12 JustArchi

Hmmm... then that's interesting, maybe Volvo changed something. I will log in from one of my alts accounts and then run ASF and see if it let's me do stuff. I will also try the other way around (running ASF first and then the Steam client).

EDIT: Do I need a new version or the 0.8 works? I'm guessing the old one works

Sighery avatar Dec 09 '15 19:12 Sighery

I'd appreciate if you did, because I want to make sure it works for everybody before I jump onto conclusions. Personally I think it has to do something with recent escrow implemented by Valve, perhaps they needed to change some things to make mobile steam clients work at the same time (same IP), and that affected ASF as well.

JustArchi avatar Dec 09 '15 19:12 JustArchi

You don't need new (pre-release) version, V0.8 should work too, but if it doesn't, try V0.9 pre1.

JustArchi avatar Dec 09 '15 19:12 JustArchi

Just tried to start my main account in ASF with it logged in steam client. Account in ASF started and connected normally (I have nothing to farm, so it just checked badges and stay online). Even more, I have CS:GO stared while trying it (forgot about it). Seems like no interference between this two logins. Oh, to be precise - ASF is running on another PC, but with the same external IP (NAT on router).

Rudokhvist avatar Dec 09 '15 19:12 Rudokhvist

Doesn't seem to work for me, logged into my first alt account without having ASF open. As soon as I opened it, my Steam client went to the "Without connection" mode. Then I closed both, opened ASF first and then tried to log in, it allowed me to login in Online mode, but as soon as I was logged in I was without connection again (no access to friends, or store, or community features, etc).

In case it makes any difference, I'm using the pre-release V0.08, so maybe that's why.

Sighery avatar Dec 09 '15 19:12 Sighery

That's strange, perhaps you can try V0.9 then. For now everybody confirmed my theory that it works for them.

JustArchi avatar Dec 09 '15 19:12 JustArchi

Well, if you send me the V0.9 I will update the xml files and try it, but yep, it's weird.

Sighery avatar Dec 09 '15 19:12 Sighery

https://github.com/JustArchi/ArchiSteamFarm/releases

You don't need to update XML files anymore (since some time already), ASF uses defaults for missing fields.

JustArchi avatar Dec 09 '15 19:12 JustArchi

Nope, nothing. Tried first having the account opened and starting ASF. Then tried having ASF opened and starting the Steam client, neither of those worked.

EDIT: "Sin conexión" means "without connection", meaning that I'm not in Offline mode, but in Online mode but without connection.

Sighery avatar Dec 09 '15 19:12 Sighery

Strange, I have no idea why it doesn't work properly for you then.

JustArchi avatar Dec 09 '15 19:12 JustArchi

Maybe Steam just hates me xD Either way, will keep an eye on the people that say it's working, maybe I can see some difference between them and me and figure out why is not working for me.

Sighery avatar Dec 09 '15 19:12 Sighery

I released a pre-release 2, and encouraged more users to test it.

It doesn't have any crucial fixes yet, because I don't know the reason behind it, but if more users start getting similar issues, perhaps we can use common sense and find out the potential reason.

JustArchi avatar Dec 09 '15 20:12 JustArchi

And... nothing with my main either. I tried with the pre-release2 V0.9 and still doesn't work. Maybe I'm wrong about the IP thing, I mean, it's not something official, just something that I guessed, because a friend of mine lets me use his account to farm games, and while I'm running ASF in my computer he can log in and play and do whatever, that is why I guessed that if you don't have the same IP then you can have the same account opened.

But anyway, as I said, I will keep an eye on this and make a few more tests some of these days to see if using something like Sandboxie works.

Sighery avatar Dec 09 '15 21:12 Sighery

Hey Archi, nice program. You actually can login from the same account on different PCs in one network with steam option called in-home streaming. It can be enabled in steam client preferences.

v3rg avatar Dec 11 '15 18:12 v3rg

@v3rg In-home streaming is only useful to run a game into one of the computers and stream the image to the other computer. It has nothing to do with this. And yes, you can log in from different computers in the same network, but that's not the point either, what we are trying to figure out is logging into the same account two times using the same computer.

Sighery avatar Dec 11 '15 18:12 Sighery

If everything fails, just use sandboxie as an alternative. The free version let you set up exactly one sandbox but it would be enough for this case.

Pandiora avatar Dec 11 '15 19:12 Pandiora

I have in-home streaming turned off, so it's not that which is causing problems for people around here.

@Sighery nailed it. This is exactly what we're trying to do here, as it magically works for some people out of the box (e.g. me), and some people are still receiving LogonSessionReplaced error.

If we could find the exact reason behind that, we could also find the solution and make ASF working for all accounts and for all users, instead of it's current state of "try, perhaps you're lucky and it works, if not, ASF was not created to work with primary accounts anyway".

JustArchi avatar Dec 11 '15 21:12 JustArchi

@JustArchi this ?

Ne3tCode avatar Dec 11 '15 23:12 Ne3tCode