Closed JustArchi closed 1 year ago
It seems like the URL has to be checkout.steampowered.com, the session id has to be the same as on store.steampowered.com, and very importantly, it has to be added as a cookie to the request.
EDIT: (untested) Maybe something like this would work: Add
WebBrowser.CookieContainer.Add(new Cookie("sessionid", sessionID, "/", $".{SteamCheckoutURL.Host}"));
to Init()
And change the base uri in AddFreeLicense()
Fixed in #2927
@JustArchi I'm getting the same error despite using the latest version
@LORD47 About 9 hours ago a new fix was merged over in #2983 . Next release should fix it once again.
Checklist
ASF version
Latest stable release
ASF variant
generic (with latest .NET runtime)
Bug description
addlicense
command with subs is currently not working due to Steam breaking changes.Expected behavior
Should work like before.
Actual behavior
Fail/Timeout
status code.Steps to reproduce
addlicense sub/861909
Possible reason/solution
https://github.com/SteamDatabase/BrowserExtension/commit/27da70af9391026ef194b09e70aaf2bbb302e067
Can you help us with this bug report?
Yes, I can code the solution myself and send a pull request
Full log.txt recorded during reproducing the problem
Global ASF.json config file
No response
BotName.json config of all affected bot instances
No response
Additional info
If somebody has time, feel free to dig into it for me.