Comments (22)
The screenshots are just a fallback. The keys are also stored in data/prime-gaming.json
(just search for "code").
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"
},
from free-games-claimer.
Thanks! That’s awesome, it’s gonna make it easier on me too, much appreciated.
from free-games-claimer.
Hello, here is my contribution:
Trying to redeem XXXXXXXXXXX on gog.com (need to be logged in)!
Response: {"code":"XXXXXXXXXXX","codeSeries":"ZUCM","expirationDate":1684598400,"codeType":"seriesCode","productsToSelect":1,"message":null,"discountAmount":null,"gifter":null,"products":[{"productId":"1353674058","title":"The Beast Inside - Amazon Prime","cover":"https://images.gog-statics.com/bfbbbd941e6ef18836ec1844c58d9317020a2495ff49c3ccb3398765f752e46e.jpg","image":"https://images.gog-statics.com/9d7844741c2e98d156d9c0b8b2b7b90e21a9c743fd962b4c00ea53b023dc221b_{formatter}.png","developers":["Illusion Ray Studio"],"storeUrl":"https://www.gog.com/en/game/the_beast_inside_amazon_prime","requiredProducts":[],"includedProducts":["1341028548"],"productType":"other","supportedOperatingSystems":["windows"],"extraInfo":[]}],"redeemPageUrl":"https://www.gog.com/redeem/XXXXXXXXXXX"}
TypeError: Cannot read properties of undefined (reading 'includes')
at file:///fgc/prime-gaming.js:176:24
from free-games-claimer.
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.
2023-04-27 19:32:24.451 started checking prime-gaming
Signed in as kennymc.c
Number of already claimed games (total): 14
Number of free unclaimed games (Prime Gaming): 0
Number of free unclaimed games (external stores): 1
Current free game: Looking for Aliens
External store: legacy games
Code to redeem game: xxx
URL to redeem game: https://promo.legacygames.com/looking-for-aliens-prime-deal
Trying to redeem xxx on legacy games (need to be logged in)!
Redeem on legacy games not yet tested!
Redeemed successfully? Please report problems in https://github.com/vogler/free-games-claimer/issues/5
from free-games-claimer.
@vogler Yes, I can confirm it works perfectly now!
from free-games-claimer.
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.
However, the notification should say that it failed and include the key and link to redeem it.
Could maybe add some option to retry keys in data/prime-gaming.json
that have been claimed from prime-gaming but not successfully redeemed on the external store.
from free-games-claimer.
I have that it takes a screen shot of the Redeem keys
I know this maybe a little bit more work but would be nice to name the Redeem keys as well as placing them in folder for the right month and what not reason have 100 or more Redeem keys would take time to go though each photo etc etc
I can tell you I never Redeem Epic games free games because i couldn't be stuffed logging in and clicking a button etc etc
some what same goes for Redeem keys on external stores etc etc
from free-games-claimer.
from what i can tell this has be resolved case close
I can't close this support ticket
from free-games-claimer.
No, the issue was about claiming keys on external stores.
from free-games-claimer.
In the meantime, would it be possible to make the script call an external notification service (like Pushover or a webhook) to notify the end user that there's something to claim?
Some of the external keys are time limited, and if they're not claimed within the month they expire.
By generating a notification if there's something new claimed that requires manual intervention, it would help with people like myself who are running the tool headless on a headless device.
It could also be used to notify the user if they need to update their passwords, or enter a captcha via VNC to keep the service running
from free-games-claimer.
Yes, I wanted to add https://github.com/caronc/apprise, but haven't gotten around to it.
from free-games-claimer.
Notifications merged with #49.
from free-games-claimer.
I added a WIP option PG_REDEEM
, but I can't test it further without unused keys to redeem.
The log will include a line Response: ...
. Please post yours if it is not already listed in the initial post above.
from free-games-claimer.
@Izanagi52 Thanks, undefined reason fixed. Was the game claimed afterwards?
from free-games-claimer.
No it wasn't.
I have claimed it manually
from free-games-claimer.
Same logs as above, and the script doesn't continue after that too (even after almost 30 minutes).
But for me, the key was successfully redeemed.
I closed the legacy game tabs via VNC, and the script resumed, and successfully finished without error.
from free-games-claimer.
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)
And after a while, it crash with this log :
unexpected EOF
from free-games-claimer.
@Izanagi52 The timeout was due to a debugging pause
, should be fixed with a90f90a (fixup: 22f6732).
from free-games-claimer.
What do I need to set instead of a "0" as a default entry to redeem for example games on the epic store?
from free-games-claimer.
@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.
from free-games-claimer.
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.
from free-games-claimer.
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.
from free-games-claimer.
Related Issues (20)
- Issue with automated log in
- epicgames captcha not working HOT 14
- apprise windows error HOT 1
- epic-games captch HOT 6
- Add an option to sign out
- Inquire about Available options/variables and their default values:
- Prime gaming error
- Change on epic? HOT 3
- Container starts for 5 sec then stops without explanation HOT 1
- probleme instalation HOT 1
- Epic Games and Unreal Engine login not working HOT 1
- Count DLC
- if epig games otp key isnt null check other auth ways on 2fa
- How to run "SHOW=1 node epic-games" on a Windows CMD HOT 1
- Stuck at "Current free game: Fallout 76 (XBOX)" HOT 2
- Epic-Games: failed: page.fill: Timeout 180000ms exceeded. HOT 1
- Exception when trying to claim games from Epic HOT 5
- Headless non docker - How do I login?
- Epic games failed to fetch game. Waiting for location error
- Cant login with epic games account on hassio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free-games-claimer.