Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate_emu_config: fixed steam auth 2fa and connection to tcp cm servers #57

Closed
wants to merge 3 commits into from

Conversation

Sak32009
Copy link
Contributor

@Sak32009 Sak32009 commented Oct 13, 2024

I just want to point out that the code needs improvement and i haven't fully tested it.

@alex47exe
Copy link

alex47exe commented Oct 13, 2024

these lines:

else:
        webauth = WebAuth()

should be:

else:
        webauth = WebAuth(USERNAME, PASSWORD)

otherwise you get TypeError: WebAuth.__init__() missing 1 required positional argument: 'username' when running the uncompiled script

@Sak32009
Copy link
Contributor Author

@alex47exe strange, did you recreate the venv before running the script?

@alex47exe
Copy link

Yes, I did. The compiled generate_emu_config doesn't have this issue.
As far as I see, it happened because the global python packages weren't yet updated with your new version of steam [client]
Fixed it by running this .bat script before generate_emu_config.py:

@echo off 
pip install -U git+https://github.com/Sak32009/steam_py_fork.git@fix-cm-servers
pip install pyinstaller 
pip install requests
pip install certifi
pip install configobj

@itsFaizan49
Copy link

itsFaizan49 commented Oct 21, 2024

@Sak32009 Can you share the compiled generate_emu_config package, i don't use github much so it will be greatly appreciated. idk why Detanup didn't merge this PR with the latest release. Anyways please do share the compiled generate emu config archive!

@Detanup01
Copy link
Owner

@Sak32009 Can you share the compiled generate_emu_config package, i don't use github much so it will be greatly appreciated. idk why Detanup didn't merge this PR with the latest release. Anyways please do share the compiled generate emu config archive!

Because this:
#58 (comment)
Moving out generate emu to 3rd party. Easier to update and currently even Steam has issues with itself!

@itsFaizan49
Copy link

@Detanup01 Oh nice, i will keep an eye out :)

@Sak32009
Copy link
Contributor Author

Now everything seems fine even without this PR.
Closed.

@Sak32009 Sak32009 closed this Oct 26, 2024
@Sak32009 Sak32009 deleted the patch-generate-emu-config branch October 26, 2024 08:17
@God-damnit-all
Copy link

In the latest gbe_fork I'm getting:

Unknown exception: HTTPSConnectionPool(host='api.steampowered.com', port=443): Max retries exceeded with url: /IAuthenticationService/GetPasswordRSAPublicKey/v1?account_name=IRemovedMyAccountNameFromThisException (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002D6B8E0BBF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')), maybe some account info is wrong?
Unexpected error:
name 'exit' is not defined

But yours is still working just fine.

@DogancanYr
Copy link
Contributor

In the latest gbe_fork I'm getting:

Unknown exception: HTTPSConnectionPool(host='api.steampowered.com', port=443): Max retries exceeded with url: /IAuthenticationService/GetPasswordRSAPublicKey/v1?account_name=IRemovedMyAccountNameFromThisException (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002D6B8E0BBF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')), maybe some account info is wrong?
Unexpected error:
name 'exit' is not defined

But yours is still working just fine.

Because this pull request was not merged because suddenly started to work normally.

@God-damnit-all
Copy link

In the latest gbe_fork I'm getting:

Unknown exception: HTTPSConnectionPool(host='api.steampowered.com', port=443): Max retries exceeded with url: /IAuthenticationService/GetPasswordRSAPublicKey/v1?account_name=IRemovedMyAccountNameFromThisException (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002D6B8E0BBF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')), maybe some account info is wrong?
Unexpected error:
name 'exit' is not defined

But yours is still working just fine.

Because this pull request was not merged because suddenly started to work normally.

And I'm saying it's not working "normally" for me on the latest version, but this PR patch still makes it work normally.

@God-damnit-all
Copy link

And it looks like Sak32009 deleted their steam_py_fork repo, so I can't do a new compile. Fuck.

@God-damnit-all
Copy link

God-damnit-all commented Nov 5, 2024

It's now suddenly working even though I didn't change anything. I think whatever @Sak32009 altered in the steam_py fork made it work more consistently.

@Sak32009 What had been changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants