Genshin Login Helper

Wayscript setup guide


WayScript Genshin Login Helper Guide

Video Guide

IMAGE ERROR

1. Make a WayScript Account

https://wayscript.com/

2. Clone the Script

Go here and clone the script

https://wayscript.com/script/6lWu3rLN

3. Set up the time

4. Set up the secrets

Add the keys OS_COOKIE and USER_AGENT, the Discord webhook is optional, see at end of page for webhook instructions

Follow original taka guide to grab your cookie, use # to separate cookie for multi account, scroll further down to see cookie instructions.

Cookie guide

These secret values are auto saved, no need to look for a save button

You can get your user agent like so:

5. Run the script

Its stuck loading / Why does it take so long to run

It may take up to 5 minutes to run, there is a random sleep that is implemented on the script. If you wish to speed up testing or change this you can edit the value here, after you run and ensure it works you can change it back to the original value (300) or leave it as is, but its recommended to set it for 300.

Every time you change something on wayscript you will need to sync by running it, this is indicated by the orange dot next to it. After you change it back to 300, if you don’t want to wait possibly for 5 minutes to run, you can disable the script, run it, then enable it again

Keep in mind disabling and enabling step is just to sync, it will not run/test the login

Troubleshooting

If you get a failed sign-in or other error try these:

If all else fails, ask in #autocheckin-chat on Discord https://discord.com/invite/takagg

  1. Go to the Daily Check-In event website https://webstatic-sea.mihoyo.com/ys/event/signin-sea/index.html?act_id=e202102251931481&lang=en-us
  2. Log in with your MiHoYo/Genshin Impact account.
    If you have never checked in before, manually check in once to ensure that your cookies are set properly.
  3. Open the developer tools on your web browser (F12 on firefox/chrome)
  4. Click on the “Console” tab
  5. Type in document.cookie in the console
  6. Copy the text output from the console

Return to step 4

Multiple Accounts

Add a # immediately after the first cookie and paste the second cookie, no quotations and no spaces.

Do not log out of any account to grab another cookie, just open incognito and get cookie and close browser.

Multiple Accounts (Example)

You can see my first cookie is highlighted in yellow and second in green, there is a # between the cookies seperating them, do the same for adding more accounts, seperating with #

You can copy this and paste it into OS_COOKIE

Discord Webhooks

This is an OPTIONAL step to let the script send you a notification on Discord whenever it runs a check-in.

  1. Edit channel settings. (Create your own discord server or private channel for this)
  2. Go into Integrations and view webhooks.
  3. Create a new webhook and copy the URL.
  4. Go back to the “.secrets” tab and add a new secret called DISCORD_WEBHOOK.
  5. Run the script again and check for message in the channel you set the webhook in

To stop receiving Discord notifications, delete your DISCORD_WEBHOOK secret.