Giter VIP home page Giter VIP logo

blfresh's Introduction

blfresh (碧蓝航线自动刷战斗脚本)

目录

0. 环境
1. 初始化
........1.1. 匹配模拟器窗口
........1.2. 匹配按钮位置
................1.2.1. 主界面四大按钮
................1.2.2. 确认舰队按钮
................1.2.3. 出击按钮
................1.2.4. 结算按钮
........1.3. 设定战斗等待时长
2. 使用

0 环境

这里列出开发所用Python版本与相关PIP包版本

程序名 版本
Python 3.6.6
pywin32 225

(CMD:那我呢?明明是我先来的!)

1 初始化

  1. 进入游戏,进入“特别作战”画面
  2. 打开CMD,进入脚本所在目录,输入python3 blfresh.py check(这里不需要管理员权限)
  3. 根据提示操作

1.1 匹配模拟器窗口

  1. 根据提示,选中模拟器窗口,复制以下内容到 blconf.py 中的 窗口标题
    窗口句柄不是必要的,当窗口标题变化时才需要填写

(选择窗口提示与信息)

1.2 匹配按钮位置

1.2.1 主界面四大按钮

根据提示,将鼠标指针置于四大按钮上,并在CMD中按回车键输出按钮位置信息


(主界面四大按钮)

将信息连同括号复制到 blconf.pymode 的各个难度中

1.2.2 确认舰队按钮

根据提示,将鼠标指针置于确认舰队按钮上,在CMD中按回车键输出按钮位置信息,并复制内容连同括号到 blconf.py 中的 选择舰队


(确认舰队按钮)

1.2.3 出击按钮

根据提示,将鼠标指针置于出击按钮上,在CMD中按回车键输出按钮位置信息,并复制内容连同括号到 blconf.py 中的 确认出击


(出击按钮)

1.2.4 结算按钮

根据提示,将鼠标指针置于结算按钮上,在CMD中按回车键输出按钮位置信息,并复制内容连同括号到 blconf.py 中的 战斗结算


(结算按钮)

1.3 设定战斗等待时长

blconf.pymode 的各个难度中输入等待时间(秒),需要确保在这个时间内战斗能进行到结算页面

2 使用

blfresh.py (难度) (次数) (这里需要管理员权限,用于win32api.mouse_event)

刷困难: python3 blfresh.py Hard 15
刷普通: python3 blfresh.py Normal 15
刷简单: python3 blfresh.py Easy 15
(或者输入自己改mode里面的名字)

blfresh's People

Contributors

boringcat avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

zsjsts

blfresh's Issues

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.