vogler / free-games-claimer

Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG.
GNU Affero General Public License v3.0
2.46k stars 149 forks source link

[Epic-Games] Parental PIN being asked twice #276

Open djmulder opened 9 months ago

djmulder commented 9 months ago

Hey there,

I don't know why epic does this for my kid, but I have 2 prompts for parental pin.

One before the page of the free game loads and another when claiming the free game (so placing the order).

Today I already claimed (forgot to take page source sorry >.< will update ticket once a new game shows with pin)

Also I'm running fgc on an rpi4 without docker (for Captcha purposes). I have trouble getting apprise to send messages to discord. Is there a guide somewhere? I'm using the discord webhook string I used in the past on the docker version and that works still.. so it's not the string.

Installing apprise gives the error:

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

I did install --break-system-packages and didn't do anything, also tried as root same result.

vogler commented 9 months ago

Python packaging is such a mess 🙈 Installing via apt should still work, but maybe you have some conflict. It's easiest to use pipx to install it, then you don't need the whole dance around creating/activating a venv.

djmulder commented 9 months ago

ah thanks, going to try pipx.

Ps just for clarity, my RPi4 is installed with a clean Raspberry Pi OS, fresh of the press.

vogler commented 9 months ago

Ps just for clarity, my RPi4 is installed with a clean Raspberry Pi OS, fresh of the press.

Yes, this is expected as of https://peps.python.org/pep-0668/. If you need more confusion: https://chriswarrick.com/blog/2023/01/15/how-to-improve-python-packaging/ 😄

djmulder commented 9 months ago

Thx the pipx worked. The double parental pin didn't show up with this game tho >.< oh well I'll keep an eye on it.

There's another issue which I want to fully log for you and create a ticket.. what is the best course of action? (it's to do with unrealengine.js it hangs when arriving at check out? (an hour later I have to shutdown node entirely, I just cron'd that part) Similar actually with the parental pin, what steps gives you the most feedback?

djmulder commented 9 months ago

Ok more information, tho I still don't know how to log.

Here's what happens:

fgc goes to https://store.epicgames.com/en-US/free-games, which is normal

then it goes to: https://store.epicgames.com/en-US/p/marvels-guardians-of-the-galaxy

here it shows the age popup: image

This is the inspect of those fields: image

After manually entering code it just happily resumes it's journey to claim the game, even entering parental pin the second time it pops up