# Endfield Auto Daily Check In Today's check in status: [![If you see this text, chances are the automation hasn't run. Do your setup below!](https://git.fdvky.me/Fd/endfield-auto-daily/actions/workflows/login-gitea-runner.yml/badge.svg?branch=master)](https://git.fdvky.me/Fd/endfield-auto-daily/actions/workflows/login-gitea-runner.yml) Repository version: [![Do your setup!](../../actions/workflows/version.yml/badge.svg)](../../actions/workflows/version.yml) > [!NOTE] > The script might stop working after a few months, there is currently no way of knowing when it will definitely break. > If the status failed several times, try to redo your setup again before reporting it as an issue. ## Table of Contents - [Getting your account token](#getting-your-account-token) - [Usage](#usage) - [Discord Webhook](#discord-webhook) - [FAQ](#faq) - [Is this safe?](#is-this-safe) - [How to update my (fork) repository version?](#how-to-update-my-fork-repository-version) - [I have other issues](#i-have-other-issues) ## Getting your account token You have to check in manually first to get your account token, follow these steps (click to open screenshot): 1. Open [SKPORT Arknights: Endfield Daily Sign In](https://game.skport.com/endfield/sign-in) and login if you haven't (obviously) 2.
Open dev tool (Ctrl+Shift+I or right click anywhere > Inspect) image
4.
For Chromium users, click on the Application tab -> Cookies, click on ACCOUNT_TOKEN, and check Show URL-encoded. image
For Firefox/Gecko-based browsers, click on the Storage tab -> Cookies, and copy ACCOUNT_TOKEN value. image
5. That's your account token, keep it save and do NOT share it with anyone! ## Usage 1. [Fork this repo](../../fork) 2. Open your fork repository 3.
Go to Settings > Secrets and variables > Actions, Click on New repository secrets image
5.
Insert the name ACCOUNT_TOKEN and the secret of your account token from before, then click Add secret. You can input as many accounts, separate it with a new line (Enter). image
6.
Here is the example secret value for multiple accounts. image
7.
For the first day, you have to trigger this manually. Simply go HERE and click on Run workflow
9.
Refresh the page, wait for 15-25 secs, and see if it ran successfully. You should now see the check in status on top of README.
10. You're set! Hop on your game the next day and see if you got the rewards ## Discord Webhook You may use Discord webhook to send notifications to your channel! 1.
Go to channel settings
2.
Go to Integrations and click Create Webhook
3.
You can edit the name and picture freely, then Copy Webhook URL image
4.
Create a new repository variable named DISCORD_WEBHOOK with value of the webhook URL image
6. You may trigger the check in manually and see if the messages got sent ## FAQ ### Is this safe? It is still unknown whether automated daily log in is bannable for Arknights Endfield since its just a few days after release, use at your own risk! I won't be responsible if anything happens with your account. ### How to update my (fork) repository version?
Go to your repository and click Sync fork
### I have other issues To the [Issues page](https://github.com/sglkc/endfield-auto-daily/issues)