-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Purchase is not completed #172
Comments
yea, got the same problem |
Damn, sorry, I thought it was working as I actually already own it when I tested it. |
I think that it is the same as # 115 |
Pretty sure I have the same issue, although I only have 3 accounts, my main, a friend's account and my nephew's account, my main already had it, so I assumed it had worked, however checking my friend and nephew's account and it didn't claim it correctly, just get the message "Remnant: From the Ashes was already claimed for this account" |
Different reason but the same issue with #115 I'll take a look |
I tested the However, for mystery games, it will require a param |
@rospod This game has been handed out before. I took it. Yesterday, when I was taken by hand, I was asked for some kind of confirmation, but I do not remember which one. Perhaps they are giving out something in addition, which cannot be determined from |
@jackblk Even for one account? |
yeah, for all freebies |
Picked up manually there was no hCaptcha |
hCaptcha can be bypassed by providing an accessibility cookie: https://dashboard.hcaptcha.com/welcome_accessibility |
Because hCaptcha sees you as a normal person on a normal browser, not a bot. We purchase by requesting directly to server. Now all freebies need |
I don't see any captcha on my end. I tried both browser and EFC. But I still don't know why I get I ruled out user-agent detection. |
Wait, I just discovered the browser request had indeed a captcha result in it. I didn't see any captcha prompts, so must be invisible. |
For freebies, it requires you to have a captcha token when confirming order. In normal browser, hCaptcha will see that you're a normal user, so it will bypass the captcha automatically. Then it will pass the captcha token to the Placing Order request. If you try to place order multiple times, you will see the captcha. Try this link to test: |
Yes, can confirm. |
So is there any solution? |
Ain't that the question. There are a few less-appealing ones:
I am also investigating the store cart feature more. Perhaps that's a way to avoid captcha still. For some reason, I am having severe issues even browsing epicgames store now. |
As I noticed before, when adding one of the weekly free games to your cart, it adds a captcha step when checking out, unfortunately :( |
Is it not possible to use cookies to bypass hCaptcha? (as i mentioned before) |
No |
hCaptcha specifically provides cookies that can skip authentication. |
I didn't know you meant it like that. I wouldn't bypass captcha, it would just trick hcaptcha into giving you a valid response without having to do a challenge (I assume). |
https://blog.skk.moe/post/bypass-hcaptcha/ This article can be referenced.
Is this worth a try? I'm not really sure. |
I am well aware of how AHK works, as I have done this alot myself. Which is also why I am not a particular fan on using it. It's fine, that you want to spend the time on setting up AHK to do this for multiple things. I respect that. Dockers do not add any unnecessary complexity. It does the straight opposite, as you can standardize templates for everything and make sure that its updated and created from scratch each time if needed. The only thing dockers are bad at, is emulating Windows using Wine. I would still rather wait for a docker based solution to run on linux, than going to have to setup and install AHK ever again. I am sure, that Revadike is creating this to achieve the same thing. |
I'm not trying to sell you on AHK or anything, but your arguments are confusing. You've said a few times that you don't want to keep your PC running for AHK, yet your PC will be running Docker and most likely other things in the background. Ironically, Docker actually use more resource than AHK. Here's a screenshot of my AHK resource usage and it never uses more than 1% CPU and more than 1MB of RAM: You seem to have the misconception that AHK take up a lot of system resources. You could run AHK on a super low spec machine and it would still be more efficient than running Docker. Regardless if you're running a VM or a container, you'd still have to have certain dependencies running in an isolated environment, in an additional layer above OS level. Probably even need Docker Swarm to manage multiple Docker containers if you want to run this for multiple Epic Games accounts. Not to mention keeping the image up to date with the Docker registry, etc. How are doing those things not more complicated, compared to just double clicking on a script to run it? With AHK, you just have a single script. Double click script to run, done. Uses 0% CPU and 1MB of RAM. You need to update the script to fix something? Easy, done within 5 minutes and you're back working again. There's no messing about with updating your Docker image, no waiting on developers to release a new image update, etc. That's the complexity difference that I'm talking about. I'm literally running a working solution atm, while you are still working for a Docker solution. It's your choice and I'm not trying to persuade you or anything, but some of your points are rather contradicting. The only point I get is that you don't want to run Windows and want to run Linux, but everything else is literally just sandboxing an app (and dependencies) in an additional layer, whether that layer be a Docker container or a VM. Those in itself add complexity. They're great for work production environments with a lot of moving pieces, but sometimes people over-engineer and over-complicate things unnecessary and they don't see that. I would be all for Docker, if the project is something that will always be supported by 1st party. For example, I use the NGINX Docker image and there is no cat and mouse game involved here. I don't have to worry about my NGINX breaking randomly one day, so it makes sense to use Docker for that. With projects created by 3rd parties, you're relying on the developers coming up with a fix. This hCaptcha thing has already been broken for at least 2 weeks now and you're still waiting for a Docker solution. Compared to Heroku, Docker isn't even a good solution. There was a project that uses Heroku to claim Epic Games for you and it was working great, I was using Heroku free tier plans and didn't have to pay for any compute resources and didn't have to run anything on my PC. It was also self-updated as well, because the Heroku apps were deployed via Github Actions (i.e DevOps) and so any changes pushed to the author's master repo will automatically be updated in my forked repo, which then pushes the change to Heroku. It's all done automatically. Well guess what? Epic Games released an update and broke that and the project was still running into issues (also captcha related). Lastly, just get a thin client and run Windows on it. I've used both Linux and Windows and they each have their Pros and Cons, which is why I still use both. I'm running most of my Windows specific apps on my laptop, which averages about 10-15W when I'm using it. When I'm playing games on it, it uses slightly more up to around 20-25W. Maximum wattage it'll go up to is 45W, but I never reach above 25W anyway. Undervolt the CPU using Throttlestop (or whatever tool of your choice) and you should be all good. I'm able to run a lot of stuff on my machines at home and I don't have to worry about power cost. Everything is running on low power and super efficient and my power bill has always been a low usage one. If you're too concerned about this, then you really need to measure how much power you're using vs how much you're acutally paying. If at the end of the day, using Windows somehow makes you pay $5 more every month, so what? |
Could you guys maybe move this discussion to #179 ? |
@Revadike I doubt that they will remove captcha in the future. Well, either we discontinue this project or we find a way to avoid the captcha. I think that @vogler 's approach is a good one. We use playwright/puppeteer to claim the game. Not really ideal but that's the only way now. Drawbacks:
It's pretty sad because this is the only project that uses API call, so it's small and nice to use. |
Following this issue for a while and I'm wondering if using another service like FlareSolverr can be a solution (as other projects like Jackett or Invidious use) ? 🤔🤔🤔 |
I agree, that was the main identity/attraction of this project. I won't be discontinuing this project as long as there is enough interest in it, which definitely seems to be the case. |
022-01-11 | 16:57:23.705 | ERROR | Failed to claim Gods Will Fall (Error: We could not confirm your purchase at this time. Please try again later.) Got that error and when i claim the game manually it ask me to solve a captcha |
@Revadike Just wanted to let you know, that the latest game was claimed by your project today. I wanted to manually claim it after I got a notification that it was failed. But I saw that it was already in the library. (And I never owned this game) - So, it must work sometimes i guess ;) |
Actually, if you claimed all the free games, you just got today's game. Maybe you forgot you claimed this game before. Just check your order list to mark it sure. I stopped crontab for this script and checked the game in epic web page to get today's game manully, just found I got this game already. |
I never claimed it and this is the log. It's no longer working because of the captcha, it was good while it lasted. user@pi4: /usr/local/bin/node /root/epicgames-freebies-claimer/claimer.js I deleted the history entry for that game and ran it again: user@pi4: /usr/local/bin/node /root/epicgames-freebies-claimer/claimer.js |
Renamed the repo above since I added a script for Amazon Prime Gaming as well: https://github.com/vogler/free-games-claimer |
So there is one fix to "Error: We could not confirm your purchase at this time. Please try again later." ? |
@Nicklordzero Working on it! You can track my progression here: #184 |
@Nicklordzero In the future, try to not sound that condescending when asking for support or help in an free and open source community/project... |
Sad. easy way is not found to slove it. |
https://github.com/FlareSolverr/FlareSolverr This may be useful |
So i don't know what to make of this, but, i did notice when I have 2 games to claim (as in today i just claimed them), I held ctnl and clicked to open in a new tab. Then I alternate between pressing GET on each tab just to claim them faster and noticed that one requested a captcha and the other didn't. For the one that did request the captcha, i simply refreshed the page, pressed GET again and it claimed it. Somehow, I was able to get both games without filling in captcha (even getting prompted for one of them but refreshing bypassed it?) So again, I am not sure what to make of this or if this is helpful info for anyone, but I did think it was interesting. |
@raycekar part of the heuristics whether to give you a captcha challenge is whether the tab is visible. |
use firefox extension nocaptchaai, it's free daily |
Expected Behavior
No error, purchase should be completed.
Actual Behavior
No error, purchase is not completed. EFC will say it is claimed.
Steps to Reproduce the Problem
Some debugging, seems like a bug on the
epicgames-client
.Specifications
epicgames-freebies-claimer
Version: 1.5.8The text was updated successfully, but these errors were encountered: