-
Notifications
You must be signed in to change notification settings - Fork 27
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
Steam login error #43
Comments
Can you share the edits you made? Haven't seen an update or a response to your issue. Thanks! |
Sure, I use the code from here and added the sleep that was commented in there just so you have time to react with steam guard. You need to import sleep also on row 58 Then I changed steam_login() in humblesteamkeysredeemer.py so it looks like this.
|
So you just added this @ line 144? Overwriting it, or just adding it there?
and obviously the import section too |
yup, just adding, _startSessionWithCredentials should look like this.
|
I think I'm missing a step, my webauth.py doesn't even have that function at all. I know I'm running 1.4.4 of the module... |
Oh but have you added the whole WebAuth2 part? |
I have not... Do you care to just share your webauth.py on pastebin or
something like that for me?
If not no big deal!
…On Mon, Dec 11, 2023 at 9:25 AM Nionor ***@***.***> wrote:
Oh but have you added the whole WebAuth2 part?
—
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFC2D3MPFAE3IOCBNDAPDYTYI4JUNAVCNFSM6AAAAAA7F3BMCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJQGE4DIOBUGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Just take the whole file from here and add the sleep part to it. |
well alright! Got it to work. Does this mean I'm a hacker now :D
Thanks a ton for all your help! Now to wait for 8 hours to get all my keys
redeemed lol
…On Mon, Dec 11, 2023 at 9:31 AM Nionor ***@***.***> wrote:
Just take the whole file from here
<https://github.com/ValvePython/steam/blob/9b8eb33b4793b2c6cfcd2601e8b538065701b6ff/steam/webauth.py>
and add the sleep part to it.
—
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFC2D3M4EWZOZB56XJQ4LL3YI4KKVAVCNFSM6AAAAAA7F3BMCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJQGE4TKOJUGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks @Nionor you got me up and working as well! |
@Nionor I got the humble login to work but once i get to steam i've had two experiences. Either it asks me for my 2FA code and then says "press enter to exit console" or it doesnt ask for my code and then just says the same thing. Any ideas? |
@Astreo80 did you try with the new WebAuth class that was talked about here above? |
Thart part im not sure. I downlaoded the file you linked, added the lines you said but i dont know what to do with that after. |
@Astreo80 Ok, well that should be enough, did you change the parts in humblesteamkeysredeemer.py too? |
Sorry i didnt make myself clear. i did edit both files. I have the WebAuth file edited as you said but its just sitting in the same folder as the redeemer. Do i run it somewhere or put in in a folder? the redeemer has only ever asked me for the 2FA, never prompted me to just hit yes or accept on steamguard. |
@Astreo80 Oh ya that's the problem then, the WebAuth file need to be where the original is, that depends a bit how you have python installed and what OS you are on. |
I installed it with windows 10 and regular C drive location. |
Then it should be in %appdata%\Python\Python38\site-packages\steam |
I think i made it worse. Now when i run the bat it says "no module named steam.webauth. |
Not sure what you managed then, seems like the webauth.py file is missing/corrupt. |
Thanks for the comments here, I also got it to work. Here are the steps as I did them: 1. New webauth
2. Edit webauth.py
3. Edit humblesteamkeysredeemer.py
Done :) (If you are not familiar with Python, make sure everything has correct indentation. @Astreo80 maybe you want to try again :)? |
This got it working! Not only did i realize i moved the web.auth file away from the redeemer but it got the steamguard working. thank you! |
Hi there all! I've made a fork of the steam python library that implements the relevant fixes here and makes it a little better integrated with Steam Auth. You can use email codes, device codes, OR device-based authentication (approve/deny on Steam app) I do want to add QR codes, mostly for the fun of it, as well as making people feel more confident in logging in (you directly get an authentication token, no credentials required), but that's later down the line. You can find it here at https://github.com/FailSpy/steam-py-lib I've also made requirements.txt use that repo instead, so if you do If you run into issues, if it seems like an issue with the Steam login specifically, rather than this repo's particular functionality, it would be great if they could be filed to my forked repo just to have the separation and to refer people to where the issue actually lies. |
Just a heads up, the WebAuth class from steam is not working, it is know ValvePython/steam#450
I solved it by editing the the webauth.py file and some small changes to this script but I would recommend waiting for an official steam update.
The text was updated successfully, but these errors were encountered: