GithubHelp home page GithubHelp logo

Comments (1)

JustArchi avatar JustArchi commented on June 19, 2024

This is actually not possible because regardless of what steamguard code you enter, flow is then continued to OnDisconnected() callback, which initiates reconnecting through SteamClient.Connect().

new SteamClient -> Connect -> OnConnected -> Login(without code) -> OnLoggedOn -> EResult.AccountLogonDenied -> OnDisconnected -> Connect -> OnConnected -> Login(with code) -> OnLoggedOn -> EResult.OK

This doesn't work like typical steam client, we actually initiate second Login, just with same steam client so code is not being sent twice. The only thing I could do is spawning totally new steam client if your AuthCode is empty, but then again, it doesn't fix your situation in any way, as new client will once again try to login, get AccountLogonDenied, then do it twice. You're not saving a request here, but complicating things further.

Trimming sounds like a good idea.

from archisteamfarm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.