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.2k stars 139 forks source link

Epic Store - Parental Pin #98

Closed nodiaque closed 11 months ago

nodiaque commented 1 year ago

Hello,

It would be great if we could set the parental code pin for store like epic game. I have an account for my kids and I would like to add the games he cannot play yet (but will someday). It's not a "risk" the fact that it's already in the account since it require the pin code to install afterward anyway. Currently, I just check the docker and input them (twice).

Thank you!

vogler commented 1 year ago

Check if the commit above is enough to make it work. When do you need to enter it a second time? Just tested it until the last click before 'I Agree' (EU account) and it only asked for it once.

nodiaque commented 1 year ago

Ok, I'll check on next free game cause it's already added now.

It prompt me once to view the store page and then when clicking add to cart. It's 2 different pin prompt page but for the same prompt

vogler commented 1 year ago

Using the following settings: image

I only get one prompt after clicking 'GET' image image

nodiaque commented 1 year ago

I get a prompt to view the page first: image Then the same prompt as you to actually add to cart.

Is the account you are trying a child account or a normal account that you enabled parental control pin? Because there's a difference. Epic detected after a while that my kid account was in fact a kid account (probably because of the age) and made me link the account with a parent account. Because of that, I have an ESRB rating page in settings. Also, I don't even have pin required to buy toggle on:

image image image image

vogler commented 1 year ago

Ok, I'll check on next free game cause it's already added now.

Same situation, I assume.

Is the account you are trying a child account or a normal account that you enabled parental control pin?

Normal account with enabled parental control pin. Don't want to change it to a child account.

Options:

  1. If you have some programming experience, you can try to make a PR.
  2. We can try to implement it remotely in a sep. branch. I just need to know what the DOM looks like to identify the inputs.
  3. You send me the login or create a new child account for me to test it.
nodiaque commented 1 year ago

yup, the first prompt stop it.

I'll check on creating a new child account and I'll get back to you. I can also record what's going on in the meantime

vogler commented 1 year ago

You'd need to have the dev tools open and inspect the input elements. You can also do that in your normal browser (e.g. 'right click > Inspect' in Chrome). Also need the english text for the first prompt or some identifier to check for it.

vogler commented 11 months ago

@nodiaque Any update? If not, I'll close this.