Coder Social home page Coder Social logo

priconne-automaton's Introduction

Priconne Automaton

公主连结 Re:Dive 自动机。使用 OpenCV 图像识别来读取屏幕上的控件,通过 UIAutomator2 来实现模拟触控的操作。

本项目重构于 SimonShi1994 / Princess-connection-farm,目前还在测试阶段中。

特点

  • 准确的图像识别和完善的逻辑。
  • 更强大的扫荡模版,可以自由配置每个账号扫荡的关卡。
  • 更清晰且易用的 API,方便用户实现自己的脚本。
  • 支持多开。全局延迟参数收纳,提升多开的容错性。

脚本功能

  • 农场日常:领取礼物、扫荡、地下城使用支援、捐赠。
  • 农场捐赠:单独完成捐赠请求。
  • 农场初始:新号从新手教程到 N3-2 开放行会的脚本。
  • 29to1 农场管理:
  • 40to1 农场管理:

API 功能

  1. 批量登录和切换账号。
  2. 扫荡模版,支持如 N1-1*100H10~H12*3N11-4~N12-3 等灵活的刷图配置。
  3. 收取任务、礼物、公会之家。
  4. 购买体力、玛那、经验药剂。
  5. 行会点赞、捐赠。
  6. 角色自动强化。
  7. 地下城使用支援。

环境

  • Python >= 3.6。

    Python 需要的包已经定义在 requirements.txt 中,请使用指令 pip install requirements.txt 安装。

  • 安卓模拟器,推荐使用 雷电模拟器

    模拟器分辨率设置为 960*540,网络设置为桥接模式,并打开 USB 调试。安装 公主连结 Re:Dive,并下载好全部游戏数据。

使用方法

  1. accounts_demo.txt 复制一份,命名为 accounts.txt,按照格式填写好账号的信息。

  2. (可选)编辑要运行的脚本(例如 农场日常.py),根据自身需求对脚本进行修改。

  3. 启动安卓模拟器的多开器,根据电脑性能情况确定多开的数量,复制模拟器后批量启动。

  4. 打开终端,切换该项目文件夹目录下。

    cd D:\
    cd D:\priconne-automaton\
    
  5. 运行脚本。

    python 农场日常.py
    

priconne-automaton's People

Contributors

nilcric avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar NPG 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.