free-games-claimer icon indicating copy to clipboard operation
free-games-claimer copied to clipboard

[EPIC STORE] age confirmation with age dropdown

Open Blazzycrafter opened this issue 1 year ago • 14 comments

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

Blazzycrafter avatar Dec 24 '23 03:12 Blazzycrafter

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 avatar Dec 24 '23 09:12 vogler

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.

vogler avatar Dec 24 '23 12:12 vogler

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

And just now as well...

voruti avatar Dec 24 '23 12:12 voruti

HasAcceptedAgeGates seems a likely cookie

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

yoshimo avatar Dec 24 '23 12:12 yoshimo

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

vogler avatar Dec 24 '23 14:12 vogler

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

damiantrx avatar Dec 25 '23 21:12 damiantrx

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

yobson1 avatar Dec 26 '23 06:12 yobson1

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 avatar Dec 26 '23 15:12 vogler

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 avatar Dec 26 '23 21:12 yobson1

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

yobson1 avatar Dec 31 '23 04:12 yobson1

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

yoshimo avatar Dec 31 '23 09:12 yoshimo

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 avatar Dec 31 '23 15:12 vogler

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.

vogler avatar Dec 31 '23 16:12 vogler

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.

yobson1 avatar Dec 31 '23 16:12 yobson1