-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
TypeError in getOffer #134
Comments
how to fix this problem? |
Maybe you're running on DeviceAuth 1.1.0? There's a fix on a fork for 1.1.1 xMistt/DeviceAuthGenerator#3 (comment) |
Ah, yeah didn't notice the fork. Let me give that a shot. |
I think the problem not from DeviceAuth problem from the epic store |
Yup, the 1.1.1 release was able to generate a |
This bug is not related to device auth, just wait for a fix. |
2 problems:
Calling API to receive info as bundle or product will both fail:
It's an addon but I cannot find the correct API for it. |
I think those endpoints can be replaced with https://www.epicgames.com/graphql?operationName=getMappingByPageSlug&variables=%7B%22pageSlug%22:%22paladins--paladins-epic-pack%22%7D&extensions=%7B%22persistedQuery%22:%7B%22version%22:1,%22sha256Hash%22:%225a08e9869c983776596498e0c4052c55f9e54c79e18a303cd5eb9a46be55c7d7%22%7D%7D But here the problem is calculating the hash, which I am currently looking into. |
Nice find. I don't think we need to calculate the hash, try another addon: This is for https://www.epicgames.com/store/en-US/p/horizon-chase-turbo--horizon-chase-turbo-rookie-series I think the hash is for the query itself, so we can reuse the hash. Btw how did you find this query lol. |
Yeah, I was thinking that too. I found it by just sniffing http traffic. |
Hmm I'm also sniffing the traffic, from the addon page, but I didn't find that one. What action do you do (or visit which page) to get that one? |
When visiting https://www.epicgames.com/store/en-US/p/paladins--paladins-epic-pack |
Ok, so seems even epic uses different endpoints for different category types. For example, the other freebie will not return an offer: When visiting the freebie page, epicgames will use the product slug endpoint. |
Yeah, we can handle it by checking |
Anyone want to test/review my PR? |
It complains about a character |
worked after downloading V1.5.5 |
When will the docker image be updated? Does it happen automatically? |
@jackblk is in charge of the docker image. |
Docker image is updated. Sorry for the delay, it was 2AM at my timezone when v1.5.5 was released lol. |
No worries! Thank you for updating it, it works perfectly now! |
Actual Behavior
Steps to Reproduce the Problem
docker-compose run epic_free
Specifications
Running using docker-compose instructions, pulled latest image
Notes
This was working previously, stopped working today.
The text was updated successfully, but these errors were encountered: