Skip to content
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

[EPIC STORE] age confirmation with age dropdown #275

Open
Blazzycrafter opened this issue Dec 24, 2023 · 14 comments
Open

[EPIC STORE] age confirmation with age dropdown #275

Blazzycrafter opened this issue Dec 24, 2023 · 14 comments

Comments

@Blazzycrafter
Copy link

if the store wants an birthday then this does NOT enable the "confirmation"....

i must use the Show env to set the birthday

image

but after the set per dropdown the confim butten got detected as enabled and continued as normal

@vogler
Copy link
Owner

vogler commented Dec 24, 2023

I don't remember seeing this. Is this a one time prompt or does it appear every time?
I've also already claimed Fallout 3, so can't really inspect it.
Can you add some screenshots of the DOM (right click > Inspect)?

@vogler
Copy link
Owner

vogler commented Dec 24, 2023

Ok, no, I get it too if I open the page in incognito mode:
image
Sadly no input element but some custom element.
Maybe we can set some cookie to not show it. If I'm logged in in Chrome, I don't get it.

@voruti
Copy link

voruti commented Dec 24, 2023

I got it yesterday within the Epic Games Launcher (where I'm logged in).

And just now as well...

@yoshimo
Copy link

yoshimo commented Dec 24, 2023

HasAcceptedAgeGates seems a likely cookie

HasAcceptedAgeGates
EPIC SUGGESTED RATING:18,USK:9007199254740991```

@vogler vogler closed this as completed in 68b6644 Dec 24, 2023
@vogler
Copy link
Owner

vogler commented Dec 24, 2023

Should be fixed. Luckily the USK value doesn't seem to matter.

@damiantrx
Copy link

Unlucky, looks like it still exists after previously running with a date of birth setting.

Free games: [
  'https://store.epicgames.com/en-US/p/the-outer-worlds-spacers-choice-edition'
]
  This game contains mature content recommended only for ages 18+
  Got "To continue, please provide your date of birth" - This shouldn't happen due to cookie set above. Please report to https://github.com/vogler/free-games-claimer/issues/275
--- Exception:
page.click: Timeout 60000ms exceeded.
Call log:
  - waiting for locator('button:has-text("Continue")')
  -   locator resolved to <button disabled class="css-1c0mm3y" aria-disabled="true…>…</button>
  - attempting click action
  -   waiting for element to be visible, enabled and stable
  -     element is not enabled - waiting...

    at /fgc/epic-games.js:155:18

@yobson1
Copy link

yobson1 commented Dec 26, 2023

Also still having this issue

Free games: [
  'https://store.epicgames.com/en-US/p/the-outer-worlds-spacers-choice-edition'
]
  This game contains mature content recommended only for ages 18+
  Got "To continue, please provide your date of birth" - This shouldn't happen due to cookie set above. Please report to https://github.com/vogler/free-games-claimer/issues/275
Current free game: The Outer Worlds: Spacer's Choice Edition
  Not in library yet! Click GET.
  Claimed successfully!

Continued successfully after I manually input a DoB

@vogler
Copy link
Owner

vogler commented Dec 26, 2023

Ok, strange, setting the cookie worked fine for 'Fallout 3' for me and 'The Outer Worlds' is USK 16 for me, so no problem.
For Fallout, it did show the age confirmation box, but then immediately closed it again. However, logic-wise it shouldn't be a timing issue.
Can you please post the value of your HasAcceptedAgeGates cookie? Mine is still the one from Fallout:
image

For 'The Outer Worlds' I'm not even getting the mature content message, so the age rating probably depends on the region of your account (mine is DE).

$ node epic-games.js
2023-12-26 16:20:54.555 started checking epic-games
startup: 3.360s
Signed in as ...
login: 3.635s
Free games: [
  'https://store.epicgames.com/en-US/p/the-outer-worlds-spacers-choice-edition'
]
Current free game: The Outer Worlds: Spacer's Choice Edition
  Not in library yet! Click GET.
  Claimed successfully!
claim game: 13.278s
claim all games: 13.842s

@vogler vogler reopened this Dec 26, 2023
@yobson1
Copy link

yobson1 commented Dec 26, 2023

What it's set as while claiming today's game, Human Resource Machine:
image

What it's set as in my own browser after confirming a DoB on The Outer Worlds store page:
image

@yobson1
Copy link

yobson1 commented Dec 31, 2023

Having the same issue again today with the Saints Row game being claimed

@yoshimo
Copy link

yoshimo commented Dec 31, 2023

egs_age_gate_dob contains the date of birth
EGS_VAULT_UNLOCK is also a cookie that might play into it.

@vogler
Copy link
Owner

vogler commented Dec 31, 2023

Strange, for me, for Saints Row, the cookie that's already set is enough and only when I comment it out, I get the age confirmation.

@vogler
Copy link
Owner

vogler commented Dec 31, 2023

It will now enter a date of birth if the age confirmation pops up.
Maybe we can still figure out which cookies prevent this afterwards.

@yobson1
Copy link

yobson1 commented Dec 31, 2023

I think it's region specific like you suggested before. I believe USK is the ratings board in Germany, right? PEGI is the ratings board in most of Europe. I'm in the UK and when I entered a DoB HasAcceptedAgeGates had PEGI: 18 instead of a USK value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants