HANDZCZ / genshin-stats

Repository that host code to show my genshin stats. Claims daily reward and active primo codes.
https://genshin.handz.us.to/
15 stars 5 forks source link

should i paste the whole cookies on GAME_UID #4

Closed tehrzky closed 2 years ago

tehrzky commented 2 years ago

mi18nLang=en-us; _MHYUUID=xxx; ltoken=xxx; ltuid=xxx; G_ENABLED_IDPS=google; DEVICEFP_SEED_ID=xxx; DEVICEFP_SEED_TIME=xxx; DEVICEFP=xxx; G_AUTHUSER_H=0

this one? ty

HANDZCZ commented 2 years ago

The config vars on Heroku should look something like this:

Key Value
GAME_UID your UID in genshin impact game (eg. 746745754)
COOKIE cookie you copy from hoyolab (eg. _MHYUUID=xxx; ltoken=xxx; ltuid=xxx; ...)
WEB_KEY some key you generated (must be the same in index.php and config vars) (eg. dauhbdahikjdhnkajjdkaskskndv)
WEB_URL URL of the website where you uploaded index.php (eg. https://genshin.handz.us.to/)

GAME_UID contains your UID in-game. You obtain it by going to the profile tab and clicking copy.

image

tehrzky commented 2 years ago

ok got it, but my heroku app says https://genshinstat.herokuapp.com/

"Not yet"

HANDZCZ commented 2 years ago

I assume you didn't run it between 16:10 UTC and 16:40 UTC. That's the only time the app updates your stats. Its setup that it will run a few minutes after reset and only once a day.