Code Monkey home page Code Monkey logo

fgodailybonus's Introduction

FGODailyBonus

Fate/Go每日签到脚本,自2020/06/23以来稳定运行中。
但不排除有被封号的可能性,使用后果请自负。

使用

  1. 首先提取账号密码id,文件位于/sdcard/Android/data/com.aniplex.fategrandorder/files/data/54cc790bf952ea710ed7e8be08049531,用记事本打开,从字母Z复制到结尾 0

    然后搜索C# Online Compiler,比如这个网站,把CertificateExtractor.cs中的内容复制粘贴到编辑框,修改第九行YourCertificate为你从54cc790bf952ea710ed7e8be08049531复制的内容,点击Run 0-1

    输出的结果对应GAME_AUTHKEYSGAME_SECRETKEYSGAME_USERIDS所需要的值

  2. 创建一个名为FGODailyBonusLog的仓库,确保branchmain,点击creating a new file 1

  3. 新建cfg.json并复制粘贴

    {"global": {"appVer": "2.54.0", "assetbundleFolder": "trb3ulHJR4lI/", "dataServerFolderCrc": 610168911, "dataVer": 1419, "dateVer": 1655046000}}

    然后点击Commit new file 2

  4. 点击这个链接中Generate new tokenExpiration选择No expiration,并勾选repo,下滑点击Generate token创建一个token并记下来 3

    这里是新生成的token
    3-1

  5. fork这个repo,点击Settings->New repository secret来创建secrets。脚本需要的secrets参考secrets列表4

  6. 点击Actions并启用 5

  7. 最后,随意编辑一个文件 6

    (比如在.gitignore加一个空行)之后,点击Commit changes即可
    6-1

  8. 再次点击Actions查看运行结果 7

    还有telegram 通知
    7-1

    日志文件
    7-2

  9. 默认签到时间为每日UTC+0 19:30,即东京时间04:30,如果需要修改,请自行搜索cron 计算并设置.github/workflows/run.yml#L12

  10. 注意:每次提交commit都会触发Action

secrets列表

key value description
GAME_AUTHKEYS RaNdOmStRiNg1234:randomAAAAA=,RaNdOmStRiNg1235:randomAAAAA= 需要签到的账号,多个账号使用英文逗号","分隔
GAME_SECRETKEYS RaNdOmStRiNg1234:randomAAAAA=,RaNdOmStRiNg1235:randomAAAAA= 对应的密码,多个账号使用英文逗号","分隔
GAME_USERAGENT Dalvik/2.1.0 (Linux; U; Android 11; Pixel 5 Build/RD1A.201105.003.A1) 伪装UA,填入nullvalue使用默认值
GAME_USERIDS 60951234,60951235 账号id
GAME_VERCODE 48a1e86bdbb80b4795204d447cfc073ce21b132a5bd5b096cb919830b1d3b93e ←填这个就行
TELEGRAM_ADMIN_ID nullvalue 接收通知的telegram id,不需要就填nullvalue
TELEGRAM_BOT_TOKEN nullvalue 发送通知的bot token,不需要就填nullvalue
VERY_IMPORTANT_NAME your_github_name 填你的github name
VERY_IMPORTANT_TOKEN ghp_uCwPxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 第三步申请的access token

fgodailybonus's People

Contributors

ys2333 avatar hexstr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.