maaxyz / maabh3 Goto Github PK
View Code? Open in Web Editor NEW《崩坏3》小助手 | A one-click tool for the daily tasks of Honkai Impact.
License: GNU Affero General Public License v3.0
《崩坏3》小助手 | A one-click tool for the daily tasks of Honkai Impact.
License: GNU Affero General Public License v3.0
提示如下
MAA BH3 CLI,
Github: https://github.com/MaaAssistantArknights/MAABH3
Usage: MAABH3_CLI.exe [adb_path] [adb_address] [task_name]...
Modify config.json to configure tasks.
Welcome to come and create a GUI for us! :)
MaaFramework Version: v1.1.0
MAABH3 Version: v0.4.5
Scanning for Devices...
No Devices Found
执行完成不会自己停止,是我操作的问题吗
直接桌面的崩坏可以用吗
我的是wegame端,要改那些源码,怎么找到这个版本的启动指令
本人在下载0.5.0版本的MAABH3后执行CLI,在扫描设备的时候发现无法找到我所需要控制的模拟器,以下为CMD截图:
下面这个图是MUMU12 ADB点开后的设备地址图,我需要控制的是16480,但MAA无法搜索到该设备,只弹出了其他2个我不需要控制的设备地址:
TODO:
需要解决MUMU12无法扫描到所控制的模拟器
RESULT:
解决以上问题并能开始运行自动化脚本
EXTRA:
附加几个图片说明:
1.
证明我在非中文文件夹内运行该程序并按照README说法进行操作
2.
证明模拟器已经打开并安装好了BH3
3.
证实所使用的模拟器为MUMU12
4.
该设备内还运行着ALAS和SRC2个自动化脚本
目前maa设置的是运行完成后关闭模拟器,这样会导致运行脚本时直接模拟器就关闭了,BH3脚本无法正常运行。
设置为关闭明日方舟后,发现仍然会有问题,长时间无人值守的情况下,会因为没有关闭BH3,上方会提示“已在线XXX小时请注意休息“,会导致识别出错,目前观察一键减负页面会因这个提示框不能正常运行,而是退出当前页面并进入材料远程,不断循环。
最简单的解决方案大概就是增加一个运行完成后关闭模拟器或者关闭bh3的选项,应该就不会出现这个问题;或者是加一个出现提示框的时候先点掉提示框的逻辑。
maa.log
启动MAABH3_CLI.exe时报错,错误信息与日志如上。
根据输入的连招字段生成对应的json
name | default pre delay | default post delay |
---|---|---|
Forward | 0 | 50 |
Backward | 0 | 50 |
Left | 0 | 50 |
Right | 0 | 50 |
LeftForward | 0 | 50 |
RightFofward | 0 | 50 |
LeftBackward | 0 | 50 |
RightBackward | 0 | 50 |
BasicATK | 0 | 200 |
BasicATKCharge | 0 | 100 |
Evade | 0 | 150 |
Ultimate | 0 | 150 |
UltimateCharge | 0 | 100 |
WeaponSkill | 0 | 150 |
ELFSkill | 0 | 150 |
ExtraSkill | 0 | 100 |
QTE1 | 0 | 200 |
QTE2 | 0 | 200 |
{
"type": "[关卡类型]",
"role": "[女武神名称]",
"version": "[版本]",
"combat": [
"[Combat Action]",
{"[Combat Action]": ["[pre delay]","[post delay]"]},
"..."
]
}
prefix
: [type]Combat[role]
{
"[prefix]Preheat": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "BasicATK",
"pre_delay": 500,
"post_delay": 1500,
"next": [
"[type]CombatFinish",
"[prefix]_001"
]
},
"[prefix]_001": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "[Combat Action]",
"pre_delay": "[pre delay]",
"post_delay": "[post delay]",
"next": [
"[type]CombatFinish",
"[prefix]_002"
]
},
"..."
}
{
"type": "UniversalMirage",
"role": "MissPinkElf",
"version": "1.0",
"combat": [
"Forward",
"Backward",
"Left"
"Right",
"BasicATK",
{
"BasicATK": [0, 30]
},
{
"ExtraSkill": [30, 0]
},
"Ultimate"
]
}
UniversalMirageCombatMissPinkElf
{
"UniversalMirageCombatMissPinkElfPreheat": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "BasicATK",
"pre_delay": 500,
"post_delay": 1500,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_001"
]
},
"UniversalMirageCombatMissPinkElf_001": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "Forward",
"pre_delay": 0,
"post_delay": 50,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_002"
]
},
"UniversalMirageCombatMissPinkElf_002": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "Backward",
"pre_delay": 0,
"post_delay": 50,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_003"
]
},
"UniversalMirageCombatMissPinkElf_003": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "Left",
"pre_delay": 0,
"post_delay": 50,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_004"
]
},
"UniversalMirageCombatMissPinkElf_004": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "Right",
"pre_delay": 0,
"post_delay": 50,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_005"
]
},
"UniversalMirageCombatMissPinkElf_005": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "BasicATK",
"pre_delay": 0,
"post_delay": 200,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_006"
]
},
"UniversalMirageCombatMissPinkElf_006": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "BasicATK",
"pre_delay": 0,
"post_delay": 30,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_007"
]
},
"UniversalMirageCombatMissPinkElf_007": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "ExtraSkill",
"pre_delay": 30,
"post_delay": 0,
"next": [
"UniversalMirageCombatFinish",
"UniversalMirageCombatMissPinkElf_008"
]
},
"UniversalMirageCombatMissPinkElf_008": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "Ultimate",
"pre_delay": 0,
"post_delay": 150,
"next": [
"UniversalMirageCombatFinish"
]
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.