-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Redeem keys on external stores (GOG, Microsoft, Legacy Games) #5
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
The screenshots are just a fallback. The keys are also stored in Example: "Doors: Paradox": {
"title": "Doors: Paradox",
"time": "2022-12-29 14:27:59.367",
"store": "internal"
},
"Dishonored 2": {
"title": "Dishonored 2",
"time": "2022-12-29 14:28:01.425",
"store": "gog.com",
"code": "NNEK0987AB20DFBF8F",
"url": "https://gaming.amazon.com/loot/dishonored2?ingress=amzn&ref_=SM_D2F_P1_CRWN"
},
"Quake": {
"title": "Quake",
"time": "2022-12-29 14:28:12.829",
"store": "epic games store",
"url": "https://gaming.amazon.com/loot/quake?ingress=amzn&ref_=SM_Q01F_P1_CRWN"
}, |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Known responses (missing unused key): - GOG: `Invalid or no captcha`, `code_used`, `code_not_found` - microsoft games: `NotFound`
I added a WIP option |
Hello, here is my contribution:
|
@Izanagi52 Thanks, undefined reason fixed. Was the game claimed afterwards? |
No it wasn't. |
Just tried it with but got no response code at all after waiting several minutes. It just stops and doesn't continue with GOG. The key wasn't claimed on Legacy Games and had to be manually redeemed afterwards.
|
Same logs as above, and the script doesn't continue after that too (even after almost 30 minutes). I closed the legacy game tabs via VNC, and the script resumed, and successfully finished without error. |
For Legacy Games, the game is redeemed, but the script stop and doesn't continue automatically (so notification are not send, and it doesn't continue to GOG) |
@Izanagi52 The timeout was due to a debugging |
@vogler Yes, I can confirm it works perfectly now! |
What do I need to set instead of a "0" as a default entry to redeem for example games on the epic store? |
@Paffnsn There's just 0 and 1 which will try to redeem games for all external stores. For epic-games you just need to have your account linked on prime-gaming. |
I noticed that when an external (Epic) account is not linked (anymore) the script doesn't recognizing this and treats every try to claim an external game as a successful claim although the game has not been claimed. |
bit if the same for gog. When a redeem is unsuccesfull (gog captcha for example) then it will never retry. |
That is true, prime-gaming.js just checks for unclaimed games, and after getting the key, it's claimed on prime-gaming. Could maybe add some option to retry keys in |
What if I have a different E-Mail for legacy games which is not the same as my amazon mail? |
TODO for prime-gaming: redeem shown game keys on external stores:
Known responses:
Invalid or no captcha
,code_used
,code_not_found
Missing: unused key + not logged in
Known responses:
NotFound
Missing: unused key
Always succeeds for same email (using
PG_EMAIL
), even if key was already used.From README:
The text was updated successfully, but these errors were encountered: