Giter Site home page Giter Site logo

Comments (22)

vogler avatar vogler commented on May 22, 2024 2

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.

Underestimated avatar Underestimated commented on May 22, 2024 1

Thanks! That’s awesome, it’s gonna make it easier on me too, much appreciated.

from free-games-claimer.

Izanagi52 avatar Izanagi52 commented on May 22, 2024 1

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.

kennymc-c avatar kennymc-c commented on May 22, 2024 1

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.

Izanagi52 avatar Izanagi52 commented on May 22, 2024 1

@vogler Yes, I can confirm it works perfectly now!

from free-games-claimer.

vogler avatar vogler commented on May 22, 2024 1

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.

EQUALIT-CG avatar EQUALIT-CG commented on May 22, 2024

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.

EQUALIT-CG avatar EQUALIT-CG commented on May 22, 2024

from what i can tell this has be resolved case close

I can't close this support ticket

from free-games-claimer.

vogler avatar vogler commented on May 22, 2024

No, the issue was about claiming keys on external stores.

from free-games-claimer.

Underestimated avatar Underestimated commented on May 22, 2024

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.

vogler avatar vogler commented on May 22, 2024

Yes, I wanted to add https://github.com/caronc/apprise, but haven't gotten around to it.

from free-games-claimer.

vogler avatar vogler commented on May 22, 2024

Notifications merged with #49.

Screenshot 2023-01-25 at 20 01 04

from free-games-claimer.

vogler avatar vogler commented on May 22, 2024

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.

vogler avatar vogler commented on May 22, 2024

@Izanagi52 Thanks, undefined reason fixed. Was the game claimed afterwards?

from free-games-claimer.

Izanagi52 avatar Izanagi52 commented on May 22, 2024

No it wasn't.
I have claimed it manually

from free-games-claimer.

Izanagi52 avatar Izanagi52 commented on May 22, 2024

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.

Izanagi52 avatar Izanagi52 commented on May 22, 2024

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.

vogler avatar vogler commented on May 22, 2024

@Izanagi52 The timeout was due to a debugging pause, should be fixed with a90f90a (fixup: 22f6732).

from free-games-claimer.

Paffnsn avatar Paffnsn commented on May 22, 2024

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.

vogler avatar vogler commented on May 22, 2024

@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.

kennymc-c avatar kennymc-c commented on May 22, 2024

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.

lostb1t avatar lostb1t commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.