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

Spring Sale 2023 error #64

Closed
MonolithOrchids opened this issue Mar 16, 2023 · 5 comments
Closed

Spring Sale 2023 error #64

MonolithOrchids opened this issue Mar 16, 2023 · 5 comments

Comments

@MonolithOrchids
Copy link

MonolithOrchids commented Mar 16, 2023

[34m [Thu, 16 Mar 2023 20:21:13 GMT][00 - account] [36m     at module.exports.<anonymous> (xxx\the-steam-awards-2.0.0\lib\CoreSteam.js:98:18) [0m account

[34m [Thu, 16 Mar 2023 20:21:13 GMT][00 - account] [36m     at module.exports.<anonymous> (xxx\the-steam-awards-2.0.0\lib\CoreSteam.js:104:22) [0m Connected to Steam.

[34m [Thu, 16 Mar 2023 20:21:32 GMT][00 - xxxx - account] [36m     at module.exports.<anonymous> (xxx\the-steam-awards-2.0.0\lib\CoreSteam.js:202:18) [0m websession start

[44m [34m 🚩[Thu, 16 Mar 2023 20:21:34 GMT][00 - xxxx - account][FreeDailySticker] 
[36m     at module.exports (xxx\the-steam-awards-2.0.0\modules\events\FreeDailySticker.js:13:9) [0m failed to get authwgtoken, will try agirn

[44m [34m 🚩[Thu, 16 Mar 2023 20:21:34 GMT][00 - xxxx - account][FreeDailySticker] [36m     at module.exports (xxx\the-steam-awards-2.0.0\modules\events\FreeDailySticker.js:21:9) [0m error no authwgtoken

[34m [Thu, 16 Mar 2023 20:21:34 GMT][00 - xxxx - account][FreeDailySticker] [36m     at module.exports.onSteamLogOn (xxx\the-steam-awards-2.0.0\lib\CoreSteam.js:161:30) [0m Account Done!

[34m [Thu, 16 Mar 2023 20:21:34 GMT][00 - xxxx - account] [36m     at module.exports.onSteamLogOn (xxx\the-steam-awards-2.0.0\lib\CoreSteam.js:177:22) [0m Account disconnect
@quer
Copy link
Owner

quer commented Mar 21, 2023

hey, can i get you to validate that the account can se/use the point shop?
as it is getting the authwgtoken from there.

so just open https://store.steampowered.com/points/shop ( the point shop )
And paste this into the DevTool ( F12 )
JSON.parse(jQuery("#application_config").attr("data-loyaltystore")).webapi_token
It will print the key. if you are able to see a key, here. then there might be somefing wrong whit the module.
If you doent see the key, then you account is not activ Or valid to get the free sticket.

can i get you to validate the above ?

@MonolithOrchids
Copy link
Author

Hey,
Yeah it does validate with a key, account has over 10k games.

@quer
Copy link
Owner

quer commented Mar 21, 2023

Okay, then it shoud be all right.

did you only run it once or did you try multiple times?

what i need you to test, is logging what steam send as the container of the token

in file and line :
https://github.com/quer/the-steam-awards/blob/Master/modules/events/FreeDailySticker.js#L38
add the following under.

log(authwgtoken)

( so it look like this : )

var authwgtoken = JSON.parse($("#application_config").attr("data-loyaltystore"));
log(authwgtoken)
resolve(authwgtoken);

Then run it agirn. and it shoud print the same, that you did see in the devtool. Then you can see if the webapi_token is set in both places.

@MonolithOrchids
Copy link
Author

I tried multiple times on multiple accounts, accounts using 2FA and accounts using Email Login, all accounts that aren't limited.

I did what you said and got the same result.

@quer
Copy link
Owner

quer commented Mar 22, 2023

Then in basic, it shoud work. You have to send me the authwgtoken that is printet. for me to be able to help more.

@quer quer closed this as completed Mar 31, 2023
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

No branches or pull requests

2 participants