Git Product home page Git Product logo

fgojp's Introduction

FGO日服脱机

如果使用方法看不懂,有不明白的地方我也不想解答,我是菜批就写着玩玩的,真有问题我立马删库告辞。
目前可以用来批量签到、领取礼物盒、抽卡等。(关于进入副本和战斗胜利结束可以参考cn/mcfun/api/Battle.java

登录方式

1.存档登录,直接使用即可。
2.引继码登录,参考cn/mcfun/utils/ContinueKeyLogin.java类,自己把存档登录改为引继码登录。(不推荐!数据处理不当有丢号风险!)

使用方法

1.使用jp_gacha.sql创建库和表。
2.运行程序,会生成一个config.properties文件,打开并正确填写数据库信息。
3.重新运行程序,点击获取版本信息,成功后即可使用。
4.该程序会自动领取礼物盒内的石头、苹果、友情点,会自动卖掉部分重复的低星从者,如不需要可以自行修改代码。
5.线程数量是同时执行的账号数量,卡池id和从者id为必填,宝具数量填0则仅登录领取礼物盒和卖掉低星从者,不抽卡。

数据库说明

order表必填字段user_idauth_keysec_key,获取方式可由存档文件解密获取(下面会提到)。
proxy表可不填,如需批量跑号,ip被屏蔽之后可再次添加代理ip,格式为123.123.123.123:1634(IP:端口号)。

存档获取及解密

存档文件在设备的位置/sdcard/Android/data/com.aniplex.fategrandorder/files/data/54cc790bf952ea710ed7e8be08049531, 用记事本或者文本浏览功能的软件打开,可看到加密后的字符串,从ZSv开始复制到最后,ZSv/WkOGiQ......2A/xc2oyX/Bw==
使用下面代码即可在控制台打印出带有user_idauth_keysec_key的json。

import cn.mcfun.utils.TripleDES;

public class test {
    public static void main(String[] args) {
        TripleDES des = new TripleDES();
        String data = des.decryptMode("ZSv/WkOGiQ......2A/xc2oyX/Bw==");
        System.out.println(data);
    }
}

卡池和从者id查询

参考项目:FGOData
卡池id看这里:mstGacha.json
从者id看这里:mstSvt.json

fgojp's People

Contributors

xiaoheimaoo 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.