• Stars
    star
    466
  • Rank 93,476 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 3 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🐎🖥《赛马娘》(ウマ娘: Pretty Derby)辅助脚本

auto-derby

version python Join the chat at https://gitter.im/auto-derby/community Conventional Commits

自动化养马

脚本违反用户协议 请勿公开宣传
The script violates the user agreement, please do not publicize

FAQ

育成结果 Nurturing result

功能

  • 支持客户端
    • DMM (前台)
    • 实验性 安卓 ADB 连接(后台)开发基于 1080x1920 分辨率
  • 团队赛 (Team race)
    • 有胜利确定奖励时吃帕菲
  • 日常赛 (Daily race)
  • PvP 活动赛 (Champions meeting)
  • 传奇赛 (Legend race)
    • 自动领奖励
  • 活动抽奖转盘 (Roulette derby)
  • 自定义限时商店处理
    • 插件 limited_sale_buy_everything:自动买下所有物品
    • 插件 limited_sale_buy_first_3:自动买前 3 个物品
    • 插件 limited_sale_ignore:无视限时商店
  • 育成 (Nurturing)
    • 剧本适配
      • 新設!  URA ファイナルズ!!
      • アオハル杯~輝け、チームの絆~
      • Make a new track!! ~クライマックス開幕~
    • 自动选择训练
      • 基于当前属性
      • 基于训练效果
      • 基于训练等级
      • 基于精确体力消耗
      • 基于羁绊值获取量
      • 暑期集训保留体力
      • 年末抽奖前消耗体力
    • 遇到新事件选项请求人工处理,后续相同事件使用相同选择
    • 自动参加比赛
      • 预估比赛结果,如果不能仅靠属性拿冠军则暂停请求人工确认
      • 自动选择比赛跑法
        • 基于属性和适性
        • 基于对手跑法选择跑法(倾向人数少的跑法)
    • 支持友人卡
      • 基于友人卡事件效果主动外出
  • 支持 python 插件

使用方法

需求 DMM 版 和 python3.8

安装依赖

Shift + 右键 点击项目文件夹空白处 - 在此处打开命令窗口 在其中运行

py -3.8 -m pip install -r requirements.txt

启动

双击 launcher.cmd 可通过一个简单的 GUI 进行启动

或者手动调用模块:

py -3.8 -m auto_derby 工作名称

工作名称随便输入错误的名字会提示当前支持的工作

更新版本

用户数据默认储存在 data 文件夹下。

复制 data 文件夹到新版本项目文件夹即可继承数据。

问题反馈

通过 Github issues 提交反馈

启动器勾选 debug 时会在项目目录下生成相关调试信息,反馈时请将相关信息一同附上

反馈前请手动清理敏感信息(例如用户名、机器名)

launcher.log

启动器日志

auto_derby.log

运行日志,.1 .2 .3 后缀的文件为之前日志的备份

debug

调试数据,.1 .2 .3 后缀的文件夹为之前调试数据的备份。

last_screenshot.png 为脚本最后看到的游戏画面。 界面识别相关问题不要提供在出错后手动进行的截图。

log.jsonl 和 images 为网页日志内容和图片,可用 ./scripts/view_web_log.py 查看。 训练识别相关问题因为是异步处理的截图,光提供 last_screenshot 没有用。

贡献代码

PR 提到开发 (dev) 分支,CI 会自动跑测试。

一个 PR 只解决一个问题。

开发依赖在 dev-requirements.txt。

运行命令时候可用的环境变量见 .env.example,推荐用 godotenv 工具来执行命令。

如果 CI lint 阶段出错,运行 make format 应该能自动修复。

本地跑测试使用 make test

添加新图片模版后使用 make -C auto-derby/templates 生成索引。

限制图片模版位置使用 ./scripts/capture_template_position.py 或者用画图编辑。 画图编辑完后推荐运行 make -C auto-derby/templates {模版名称}.pos.png 来将图片转为 1bit 深度来减小体积。

More Repositories

1

holiday-cn

📅🇨🇳中国法定节假日数据 自动每日抓取国务院公告
Python
1,183
star
2

gfwlist.acl

🌐gfwlist in acl format, compatible with SSR, update daily by travis CI
Python
49
star
3

auto-dragalia

🐲📱《失落的龙约》 [Auto.js](https://github.com/hyb1996/Auto.js) 辅助脚本 因游戏将停止运营而归档 archived due to the game about to end of life
TypeScript
41
star
4

pixiv

Pixiv go 客户端, 使用 Pixiv 网页 API。
Go
30
star
5

bilibili-live-notification

B 站直播事件 webhook 和开播邮件提醒
Jupyter Notebook
30
star
6

nuke-docker

⚓The foundry nuke in docker container
Python
19
star
7

svg-variable-width-line

Create svg path with each point can have variable width.
TypeScript
15
star
8

NukeBatchRender

Nuke批渲染工具
Python
11
star
9

graphene-django-tools

Tools for use graphene with django. Use a explicit schema definition approach that different from graphene-django. Archived due to author has been switched to golang
Python
8
star
10

grindea-math-puzzle

Solve math puzzle from game《Secrets of Grindea》
TypeScript
6
star
11

user-scripts

浏览器用户脚本(GreaseMonkey, TamperMonkey)
TypeScript
5
star
12

qidian

起点中文网 go 客户端,基于网页版页面提取。
Go
4
star
13

Scripts

个人杂项脚本
Jupyter Notebook
4
star
14

mongo-operators

Utility functions to create mongodb operator.
Go
4
star
15

StarboundDashboard

Realtime starbound server status
TypeScript
4
star
16

base64-image-preview

TypeScript
3
star
17

ciweimao

刺猬猫 Go 客户端,使用安卓客户端 API。
Go
3
star
18

NateScarlet.Github.io

Github Pages
HTML
3
star
19

ziroom-ob

自如抢房监控
Go
2
star
20

npm-mirror-set

Set npm package mirrors.
JavaScript
2
star
21

cast-unknown

Cast unknown value to desired type with typescript support.
TypeScript
2
star
22

graphene-resolver

Using mongoose-like schema to write apollo-like resolver for graphene.
Python
2
star
23

Nuke

nuke plugins collection, daily use.
Python
1
star
24

cookiejar

A fork of `net/http/cookiejar` that saves cookie entries to a Repository.
Go
1
star
25

phrases-case

Convert phrases between different cases.
Python
1
star
26

auto-derby-plugin-generator

A web app to generate auto-derby plugin.
Vue
1
star