自动委托0.96 (#964)

* 自动委托0,96

* Update repo/js/AutoEntrust/assets/丘丘人的一小步/苍风高地-1.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: 秋云 <physligl@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
LX666-666
2025-06-02 01:00:37 +08:00
committed by GitHub
parent 453234d00c
commit 3644c8362d
12 changed files with 879 additions and 749 deletions

View File

@@ -7,11 +7,21 @@
- 自动识别每日委托内容
- OCR技术识别委托地点和状态
- 自动追踪委托路径
- 智能对话选项处理
- 自动完成对话类委托
## 更新日志
### 当前版本0.95
- 完成了对话委托
### 当前版本0.96
- 优化对话委托处理逻辑
- 优化战斗委托处理逻辑
- 增强NPC对话选项智能识别
- 支持自定义对话优先选项
- 新增NPC白名单功能提高交互精确度
- 完善对话委托文档增加JSON和简易格式说明
### 上一版本0.95
- 完成了对话委托功能实现
### 上一版本0.94.1
- 修复攀高危险问题
@@ -40,18 +50,15 @@
- 基础的委托路径追踪功能
## 使用说明
1. 确保已安装BetterGI并正确配置,推荐在自动战斗中关闭拾取掉落物,因为会浪费大量时间。
1. 确保已安装BetterGI并正确配置可参考AutoEntrust/配置组配置参考.png,推荐在自动战斗中关闭拾取掉落物,因为会浪费大量时间。
2. 在脚本设置中可配置以下选项:
- 跳过识别直接从Data文件夹加载委托数据进行追踪
- 最小文本长度(小于此长度的文本将被过滤)
- 调试模式(输出更多日志信息)
- 战斗的队伍名称
3. 常见问题:1.Q:明明这个地方没有委托却跑回去打怪。A:脚本是这样写的未来会增加检测功能优化脚本。2.Q:为什么有的蒙德打怪委托未完成A:因为请将脚本data/文件夹下面的数据,log/日志下今日日志每日委托任务截图。反馈给3302871403
- 跳过识别直接从Data文件夹加载委托数据进行追踪为关闭
- 战斗的队伍名称为您日常打怪的队伍名称
3. 常见问题:1.Q:明明这个地方没有委托却跑回去打怪此问题已经解决。A:未来会增加检测功能优化脚本。2.Q:为什么有的蒙德打怪委托未完成A:因为请将脚本data/文件夹下面的数据,log/日志下今日日志,每日委托任务截图。反馈给作者
## 主要功能
- 1.加3302871403QQ好友
## 反馈方法
- 1.加群1053392753反馈
- 2.发送截图,日志给3302871403@qq.com
- 3.加bgi v8群@星野bgi v7群也可以
## 注意事项
- 部分委托可能无法正确识别或追踪,遇到问题请手动完成

View File

@@ -5,35 +5,36 @@
"author": "LX666-666",
"version": "1.0",
"description": "",
"bgi_version": "0.42.3"
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"x": -1332,
"y": 2559.5,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -1332.0,
"y": 2559.5,
"action_params": ""
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": -1296.5,
"y": 2549,
"action": "",
"move_mode": "fly",
"type": "path",
"x": -1296.5,
"y": 2549.0,
"action_params": ""
"action_params": "",
"type": "path"
},
{
"id": 3,
"action": "fight",
"move_mode": "run",
"type": "path",
"x": -1108.62,
"y": 2459.38,
"action_params": ""
"action": "fight",
"move_mode": "dash",
"action_params": "",
"type": "path"
}
]
}

View File

@@ -5,56 +5,58 @@
"author": "1",
"version": "1.0",
"description": "",
"bgi_version": "0.42.0"
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"x": -601.43,
"y": 1842.75,
"action": "",
"x": -601.430,
"y": 1842.750,
"type": "teleport",
"move_mode": "walk",
"type": "teleport"
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -627.88,
"y": 1820.25,
"x": -604,
"y": 1827.25,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
"action_params": ""
},
{
"id": 3,
"x": -645.52,
"y": 1810.12,
"x": -627.8799999999992,
"y": 1820.25,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
"action_params": ""
},
{
"id": 4,
"x": -656.0,
"y": 1801.0,
"x": -645.5200000000004,
"y": 1810.119999999999,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "run",
"type": "path"
"action_params": ""
},
{
"id": 5,
"x": -668.0,
"y": 1789.0,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"x": -656,
"y": 1801,
"action": "",
"move_mode": "dash",
"type": "path"
},
{
"id": 6,
"x": -673.44,
"y": 1782.56,
"x": -668,
"y": 1789,
"action": "fight",
"move_mode": "walk",
"action_params": "",
@@ -62,88 +64,8 @@
},
{
"id": 7,
"x": -688.0,
"y": 1783.75,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 8,
"x": -715.75,
"y": 1764.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 9,
"x": -732.0,
"y": 1752.5,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 10,
"x": -765.74,
"y": 1754.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 11,
"x": -795.49,
"y": 1752.75,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 12,
"x": -811.0,
"y": 1719.25,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 13,
"x": -815.01,
"y": 1684.25,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 14,
"x": -812.25,
"y": 1659.0,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 15,
"x": -793.64,
"y": 1651.5,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"x": -760.0,
"y": 1649.5,
"action": "fight",
"move_mode": "walk",
"type": "target"
},
{
"id": 17,
"x": -767.25,
"y": 1643.5,
"x": -673.4400000000005,
"y": 1782.5599999999995,
"type": "path",
"move_mode": "walk",
"action": "fight",

View File

@@ -5,145 +5,86 @@
"author": "1",
"version": "1.0",
"description": "",
"bgi_version": "0.42.0"
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"x": -601.43,
"y": 1842.75,
"action": "",
"x": -887.46875,
"y": 1679.154296875,
"type": "teleport",
"move_mode": "walk",
"type": "teleport"
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -627.88,
"y": 1820.25,
"x": -882.4853515625,
"y": 1682.982421875,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
"action_params": ""
},
{
"id": 3,
"x": -645.52,
"y": 1810.12,
"x": -868.8515625,
"y": 1684.669921875,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
"action_params": ""
},
{
"id": 4,
"x": -656.0,
"y": 1801.0,
"x": -853.2958984375,
"y": 1688.7705078125,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "run",
"type": "path"
"action_params": ""
},
{
"id": 5,
"x": -668.0,
"y": 1789.0,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
"x": -838.123046875,
"y": 1672.68896484375,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 6,
"x": -673.44,
"y": 1782.56,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
"x": -819.5341796875,
"y": 1665.2978515625,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 7,
"x": -688.0,
"y": 1783.75,
"x": -807.578125,
"y": 1655.23486328125,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "run",
"type": "path"
"action_params": ""
},
{
"id": 8,
"x": -715.75,
"y": 1764.0,
"x": -793.1875,
"y": 1650.57177734375,
"type": "path",
"move_mode": "dash",
"action": "",
"move_mode": "run",
"type": "path"
"action_params": ""
},
{
"id": 9,
"x": -732.0,
"y": 1752.5,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 10,
"x": -765.74,
"y": 1754.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 11,
"x": -795.49,
"y": 1752.75,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 12,
"x": -811.0,
"y": 1719.25,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 13,
"x": -815.01,
"y": 1684.25,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 14,
"x": -812.25,
"y": 1659.0,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 15,
"x": -793.64,
"y": 1651.5,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"x": -760.0,
"y": 1649.5,
"action": "fight",
"move_mode": "walk",
"type": "target"
},
{
"id": 17,
"x": -767.25,
"y": 1643.5,
"x": -780.1943359375,
"y": 1655.14013671875,
"type": "path",
"move_mode": "walk",
"action": "fight",

View File

@@ -0,0 +1,153 @@
{
"info": {
"name": "苍风高地-1",
"type": "collect",
"author": "1",
"version": "1.0",
"description": "",
"bgi_version": "0.42.0"
},
"positions": [
{
"id": 1,
"x": -601.43,
"y": 1842.75,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -627.88,
"y": 1820.25,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": -645.52,
"y": 1810.12,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": -656.0,
"y": 1801.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 5,
"x": -668.0,
"y": 1789.0,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 6,
"x": -673.44,
"y": 1782.56,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 7,
"x": -688.0,
"y": 1783.75,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 8,
"x": -715.75,
"y": 1764.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 9,
"x": -732.0,
"y": 1752.5,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 10,
"x": -765.74,
"y": 1754.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 11,
"x": -795.49,
"y": 1752.75,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 12,
"x": -811.0,
"y": 1719.25,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 13,
"x": -815.01,
"y": 1684.25,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 14,
"x": -812.25,
"y": 1659.0,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 15,
"x": -793.64,
"y": 1651.5,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"x": -760.0,
"y": 1649.5,
"action": "fight",
"move_mode": "walk",
"type": "target"
},
{
"id": 17,
"x": -7670.25,
"y": 1643.5,
"type": "path",
"move_mode": "walk",
"action": "fight",
"action_params": ""
}
]
}

View File

@@ -2,16 +2,17 @@
"info": {
"name": "坠星山谷-1",
"type": "collect",
"author": "1",
"author": "星野",
"version": "",
"description": "",
"bgi_version": "0.42.3"
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"x": -1536.75,
"y": 1978.66,
"y": 1978.6599999999999,
"action": "stop_flying",
"move_mode": "fly",
"action_params": "",
@@ -19,8 +20,8 @@
},
{
"id": 2,
"x": -1531.85,
"y": 1989.93,
"x": -1531.5419921875,
"y": 1990.71240234375,
"action": "stop_flying",
"move_mode": "fly",
"action_params": "",
@@ -28,77 +29,48 @@
},
{
"id": 3,
"x": -1518.41,
"y": 1993.52,
"x": -1505.109375,
"y": 1994.671875,
"action": "",
"move_mode": "run",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": -1506.54,
"y": 1996.81,
"x": -1482.9208984375,
"y": 1986.97314453125,
"action": "",
"move_mode": "walk",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": -1499.14,
"y": 1998.92,
"action": "",
"x": -1467.96484375,
"y": 1978.60009765625,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 6,
"x": -1492.21,
"y": 1999.46,
"action": "fight",
"move_mode": "walk",
"x": -1477.75,
"y": 1988.5,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 7,
"x": -1501.38,
"y": 1991.94,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 8,
"x": -1488.15,
"y": 1990.18,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 9,
"x": -1478.8,
"y": 1988.12,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 10,
"x": -1470.07,
"y": 1977.84,
"x": -1490.609375,
"y": 1996.587890625,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 11,
"x": -1471.99,
"y": 1998.49,
"action": "",
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -5,7 +5,8 @@
"author": "1",
"version": "",
"description": "",
"bgi_version": "0.42.3"
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
@@ -101,50 +102,26 @@
"x": -1086.32,
"y": 1849.53,
"action": "",
"move_mode": "walk",
"move_mode": "dash",
"type": "path"
},
{
"id": 13,
"x": -1099.39,
"y": 1843.03,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 14,
"x": -1106.38,
"y": 1846.4,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 15,
"x": -1103.79,
"y": 1859.5,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"id": 14,
"x": -1106.37,
"y": 1867.04,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 17,
"x": -1096.21,
"y": 1867.18,
"action": "",
"move_mode": "walk",
"type": "path"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,9 @@
{
"manifest_version": 1,
"name": "(Beta)全自动蒙德地区每日委托",
"version": "0.95",
"name": "(对话+成就)全自动蒙德地区每日委托",
"version": "0.96",
"bgi_version": "0.44.3",
"description": "基于BetterGI的原神自动化脚本可自动识别每日委托内容、OCR识别委托地点和状态、自动追踪委托路径。目前支持蒙德地区委托未来将支持全国家委托。使用前请阅读README.md可用记事本打开获取详细说明和常见问题解答。请关闭战斗后自动拾取不然部分委托会发生错误并且浪费过多时间。如果发生错误如不支持的战斗委托请将脚本data/文件夹下面的数据,log/日志下今日日志每日委托任务包含地点截图反馈给作者。反馈方法1.加3302871403QQ好友2.发送截图,日志给3302871403@qq.com。目前项目正处于开发阶段急需人手,有意者可私信作者(会在地图上标点即可)。感谢云闲vsv & 换苏伟u的共同开发",
"description": "(Beta)自动完成每日委托、自动识别委托内容、自动追踪委托路径、自动完成对话类委托。支持自动获得到隐藏成就。使用前请阅读README.md可用记事本打开获取详细说明和常见问题解答。目前项目正处于开发阶段急需人手,有意者可加1053392753会在地图上标点即可。每天只需花 5 ~ 10 分钟做一个蒙德城对话委托路径,就当是顺路补下成就。感谢云闲vsv & 换苏伟u的共同开发",
"authors": [
{
"name": "星野",

View File

@@ -14,10 +14,5 @@
"name": "team",
"type": "input-text",
"label": "战斗的队伍名称,不填表示不切换队伍"
},
{
"name": "fight",
"type": "input-text",
"label": "自定义战斗脚本(研究中)"
}
]

View File

@@ -0,0 +1,45 @@
对话委托制作方法可分为初始配置和制作过程加群看完整版1053392753 具体如下:
### 初始配置
- **绑定启动停止路径记录器**:设置添加路径点快捷键。
- **启动录制编辑器**:确保熟悉地图追踪制作,若不熟悉可参考相关教程。
### 制作过程
1. **查看委托信息**:了解当前对话委托的名称及地点。
2. **检查重复**:查看`AutoEntrust\assets\process\{委托名称}\{委托地点}`,若已有同名同地点的对话委托则无需重复制作。
3. **结合多种元素制作**:将地图追踪、对话和键鼠脚本结合,在流程文件中定义各步骤的类型、数据等。
4. **特定格式使用**不熟悉JSON时可使用简单版格式`XXX-1.json`表示地图追踪,`F`表示对话。
### 流程文件创建方法
- **文件位置**`\AutoEntrust\assets\process\{委托名称}\{委托地点}\process.json`
- **流程步骤定义**:包括地图追踪、对话、按键和传送等类型,每个步骤可按需设置属性。
### 示例
```json
[
{
"type": "地图追踪",
"data": "assets/process/example/tracking1.json",
"note": "执行第一个地图追踪步骤"
},
{
"type": "对话",
"data": {
"skipCount": 5,
"priorityOptions": ["同意", "接受委托", "我来帮忙"],
"npcWhiteList": ["派蒙", "凯亚", "安柏"]
},
"note": "执行对话步骤优先选择特定选项并与白名单NPC交互"
},
{
"type": "按键",
"data": "F",
"note": "按下F键"
},
{
"type": "tp",
"data": [100, 200, true],
"note": "传送到坐标(100, 200),强制传送"
}
]
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB