铁匠铺2.4.0更新 (#2426)

* 铁匠铺2.4.0更新

### 2.4.0`(2025-11-29)`
- **优化**:纳塔铁匠铺路线可能出现跑过头的问题
- **新增**:
  1. 支持月国铁匠铺,矿石虹滴晶的使用
  2. 重构全新的矿石使用排序方式
  3. 选择矿石排序为0时,可以排除对应矿石

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

修复背包界面内矿物识别不到的问题

* Add files via upload
This commit is contained in:
呱呱z
2025-12-11 16:33:57 +08:00
committed by GitHub
parent 97f3cc9e59
commit 3acc288d37
8 changed files with 709 additions and 402 deletions

View File

@@ -53,9 +53,10 @@ BGI 0.48.2 版本
```json
{
"smithyName": "枫丹铁匠铺",
"ore": "水晶块",
"secondaryOre": "晶块",
"tertiaryOre": "萃凝晶",
"CondessenceCrystal": "萃凝晶",
"CrystalChunk": "晶块",
"AmethystLump": "紫晶块",
"RainbowdropCrystal": "虹滴晶",
"notice": true,
"forgedOrNot": "是",
"model": "模式一"
@@ -68,9 +69,13 @@ BGI 0.48.2 版本
- 水晶块
- 紫晶块
- 萃凝晶
- 虹滴晶
**扩展矿石配置**
如需使用"星银矿石"、"白铁块"或"铁块",请在 `settings.json` 中取消对应矿石前的注释(`//`),保存后即可生效
**矿石优先级说明**
- 每种矿石的优先级可在 `settings.json` 中配置,数值范围为 `0-4`
- **优先级为 0**:表示不使用该矿石,脚本会自动排除。
- **优先级为 1-4**:数值越小,优先级越高。
- **优先级相同时**:按照矿石的默认顺序(萃凝晶 > 水晶块 > 紫晶块 > 虹滴晶)决定使用顺序。
## ⚙️ 功能详解
@@ -87,6 +92,7 @@ BGI 0.48.2 版本
- **智能兜底**:自动模式识别失败时,自动切换到手动优先级模式
- **通知与日志**:支持桌面通知和详细日志,便于追踪脚本执行状态
- **异常处理**:多次识别失败、材料不足等情况均有详细提示和自动处理
- **优先级排序**:脚本会根据用户配置的矿石优先级进行排序,优先级为 0 的矿石会被自动排除。
## 📋 使用注意事项
@@ -94,6 +100,7 @@ BGI 0.48.2 版本
2. **窗口状态**:运行脚本时请保持游戏窗口处于前台且未被遮挡
3. **权限设置**:确保已授予脚本必要的系统权限
3. **权限设置**:部分模块由于使用了快捷键,请确保快捷键为默认值。例如纳塔铁匠铺以及仅领取锻造前检查,使用地图快捷键"M";模式一矿物识别部分,使用背包快捷键"B"。因为模式一调用了OCR数字识别部分可能出现错误
4. **矿石优先级配置**:请确保至少有一种矿石的优先级大于 0否则脚本将停止运行并提示错误。
## ❓ 常见问题
@@ -114,6 +121,12 @@ QOCR识别矿石数量不准确怎么办
## 📜 更新日志
### 2.4.0`(2025-11-29)`
- **优化**:纳塔铁匠铺路线可能出现跑过头的问题
- **新增**
1. 支持月国铁匠铺,矿石虹滴晶的使用
2. 重构全新的矿石使用排序方式
3. 选择矿石排序为0时可以排除对应矿石
### 2.3.1`(2025-08-30)`
- **修复**
@@ -163,7 +176,9 @@ QOCR识别矿石数量不准确怎么办
---
**最后更新**2025 年 830
**最后更新**2025 年 1129
**维护者**@呱呱z
> 💡 提示:建议定期检查更新以获取最佳体验和最新功能
> 💡 提示:建议定期检查更新以获取最佳体验和最新功能
**矿石优先级说明**

View File

@@ -0,0 +1,67 @@
{
"info": {
"authors": [
{
"links": "",
"name": "呱呱z"
}
],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1759332476359,
"map_match_method": "",
"map_name": "Teyvat",
"name": "挪德卡莱铁匠铺",
"tags": [],
"type": "collect",
"version": "1.0"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "teleport",
"x": 9458.0341796875,
"y": 1660.6650390625
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "fly",
"type": "path",
"x": 9448.4970703125,
"y": 1651.05859375
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "run",
"type": "path",
"x": 9419.3515625,
"y": 1640.990234375
},
{
"action": "",
"action_params": "",
"id": 4,
"move_mode": "run",
"type": "path",
"x": 9412.615234375,
"y": 1642.33447265625
},
{
"action": "",
"action_params": "",
"id": 5,
"move_mode": "dash",
"type": "target",
"x": 9410.013671875,
"y": 1643.15771484375
}
]
}

View File

@@ -1,40 +1,49 @@
{
"info": {
"authors": [
{
"links": "",
"name": "呱呱z"
}
],
"bgi_version": "0.48.2",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1756367298175,
"map_match_method": "",
"map_name": "Teyvat",
"name": "纳塔铁匠铺",
"tags": [],
"type": "collect",
"version": "1.0"
"info": {
"authors": [
{
"links": "",
"name": "呱呱z"
}
],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1759332274135,
"map_match_method": "",
"map_name": "Teyvat",
"name": "纳塔铁匠铺",
"tags": [],
"type": "collect",
"version": "1.1"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "run",
"type": "path",
"x": 9025.548828125,
"y": -1913.60009765625
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "path",
"x": 9025.55078125,
"y": -1913.60107421875
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "dash",
"type": "target",
"x": 9036.7490234375,
"y": -1939.0771484375
}
]
}
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "run",
"type": "path",
"x": 9033.8525390625,
"y": -1938.1494140625
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "dash",
"type": "target",
"x": 9035.6044921875,
"y": -1938.7529296875
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "自动锻造魔矿(识图版)",
"version": "2.3.2",
"version": "2.4.0",
"bgi_version": "0.48.2",
"description": "自动选择铁匠铺和使用矿物去锻造精锻矿。\n \n使用前请阅读“readme”文件以获取更多详细信息。 \n---更新说明--- \n- 请查阅readme",
"tags": [
@@ -27,4 +27,4 @@
],
"settings_ui": "settings.json",
"main": "main.js"
}
}

View File

@@ -7,7 +7,7 @@
{
"name": "model",
"type": "select",
"label": "模式选择(默认:模式一)\n【模式一】自动模式自动选择数量最多的矿石锻造\n【模式二】手动模式依次尝试主选及备选矿石\n注模式一可能会因OCR识别数量不准导致选择错误",
"label": "模式选择(默认:模式一)\n【模式一】自动模式\n自动选择数量最多的矿石锻造\n【模式二】手动模式\n依次按照矿石定义顺序尝试\n注:模式一可能会因OCR识别数量不准导致选择错误",
"options": [
"模式一",
"模式二"
@@ -24,7 +24,8 @@
"稻妻铁匠铺",
"须弥铁匠铺",
"枫丹铁匠铺",
"纳塔铁匠铺"
"纳塔铁匠铺",
"挪德卡莱铁匠铺"
],
"default": "蒙德铁匠铺"
},
@@ -35,45 +36,59 @@
"options": [
"是",
"否"
]
],
"default": "是"
},
{
"name": "ore",
"name": "CondessenceCrystal",
"type": "select",
"label": "当矿石未能识别/模式二时依次使用\n锻造用矿默认水晶块",
"label": "【锻造用矿排序】\n1.当矿石未能识别或处于模式二时,按照定义顺序使用\n2.设置为0的矿石自动排除\n3.相同排序时,按照定义框从上至下优先\n\n萃凝晶",
"options": [
"水晶块",
"萃凝晶",
//"星银矿石",
//"白铁块",
//"铁块",
"紫晶块"
]
"0",
"1",
"2",
"3",
"4"
],
"default": "1"
},
{
"name": "secondaryOre",
"name": "CrystalChunk",
"type": "select",
"label": "备用矿石1默认萃凝晶",
"label": "水晶块",
"options": [
"水晶块",
"萃凝晶",
//"星银矿石",
//"白铁块",
//"铁块",
"紫晶块"
]
"0",
"1",
"2",
"3",
"4"
],
"default": "2"
},
{
"name": "tertiaryOre",
"name": "AmethystLump",
"type": "select",
"label": "备用矿石2默认紫晶块",
"label": "紫晶块",
"options": [
"水晶块",
"萃凝晶",
//"星银矿石",
//"白铁块",
//"铁块",
"紫晶块"
]
"0",
"1",
"2",
"3",
"4"
],
"default": "3"
},
{
"name": "RainbowdropCrystal",
"type": "select",
"label": "虹滴晶",
"options": [
"0",
"1",
"2",
"3",
"4"
],
"default": "4"
}
]