辉鸭蛋
|
54eecbe046
|
ui & log
|
2024-12-29 16:20:27 +08:00 |
|
mfkvfhpdx
|
81a7518f72
|
暂停后按下的键会释放,增加战斗检查偏色配置,由于跟队伍无关,只在独立任务,自动战斗处设置。
|
2024-12-28 17:12:47 +08:00 |
|
mfkvfhpdx
|
bb7d84ffe3
|
战斗配置增加超时,调度器增加清空功能
|
2024-12-27 23:47:58 +08:00 |
|
zjl
|
a63ed2f2d2
|
路径追踪支持可配置
|
2024-12-27 21:46:52 +08:00 |
|
辉鸭蛋
|
88110a21cc
|
ui: more script repo button
|
2024-12-24 01:33:28 +08:00 |
|
辉鸭蛋
|
d7302b65c3
|
auto domain: tp & switch party & artifact salvage
|
2024-11-24 17:48:23 +08:00 |
|
辉鸭蛋
|
3c2739c5c5
|
add GoToAdventurersGuildTask
优化项目结构并新增任务和路径文件
主要更改:
- 在 `BetterGenshinImpact.csproj` 文件中,添加了对 `GameTask\Common\Element\Assets\Json\**` 目录的处理,并确保其内容始终复制到输出目录。
- 在 `RecognitionObject.cs` 文件中,新增了多个静态方法 `Ocr` 和一个静态实例 `OcrThis`。
- 在 `PathExecutor.cs` 文件中,优化了路径执行逻辑,新增 `GetPosition` 方法,并调整了超时判断。
- 在 `AutoPickAssets.cs` 文件中,添加了多个 `using` 语句,新增 `_logger` 和 `PickRo` 字段,并在构造函数中添加了自定义拾取按键的处理逻辑。
- 在 `AutoPickTrigger.cs` 文件中,移除了自定义拾取按键的初始化逻辑。
- 在 `OneKeyExpeditionTask.cs` 文件中,注释掉了 `Cv2.ImWrite` 方法的调用。
- 在 `TpTask.cs` 文件中,添加了点位很近时不切换的判断逻辑。
- 在 `BvSimpleOperation.cs` 文件中,新增了多个点击按钮的方法和 `FindF`、`FindFAndPress` 方法。
- 在 `BvStatus.cs` 文件中,新增了多个方法用于判断是否在对话界面并等待对话界面加载完成。
- 在 `GameTaskManager.cs` 文件中,添加了 `MapAssets.DestroyInstance` 方法的调用。
- 在 `HotKeyPageViewModel.cs` 文件中,注释掉了 `ElementalCollectHandler` 的测试代码,并添加了 `GoToAdventurersGuildTask` 的测试代码。
- 在 `TaskSettingsPageViewModel.cs` 文件中,更新了 `OnGoToAutoGeniusInvokationUrlAsync` 方法中的 URL。
- 添加了 `BetterGenshinImpact - Backup.csproj` 文件,配置了项目属性、资源文件和包引用。
- 添加了 `冒险家协会_枫丹.json`、`合成台_枫丹.json` 和 `合成台_璃月.json` 文件,定义了前往相应地点的路径和动作。
- 添加了 `ChooseTalkOptionTask.cs` 文件,实现了选择对话选项的任务。
- 添加了 `GoToAdventurersGuildTask.cs` 文件,实现了前往冒险家协会领取奖励的任务。
|
2024-11-10 22:49:55 +08:00 |
|
辉鸭蛋
|
c5de098865
|
new doc url
|
2024-11-03 22:26:14 +08:00 |
|
辉鸭蛋
|
4725af5491
|
impl js run task
|
2024-11-01 21:37:44 +08:00 |
|
辉鸭蛋
|
876a833590
|
fix: js script bug
|
2024-10-04 19:04:32 +08:00 |
|
qhy040404
|
41c5f4c226
|
fix wrong state
|
2024-10-01 00:04:35 +08:00 |
|
辉鸭蛋
|
c15cb33c2c
|
rename variables and properties, refactor code, add new configuration options
重命名变量和属性,重构代码,添加新配置选项
主要更改:
* 将 `AutoFightConfig` 和 `AutoFightParam` 类中的字段和属性重命名,以提高名称的清晰度和一致性。
* 移除不必要的 `using` 语句,并调整顺序。
* 重构 `AutoFightTask` 和 `AutoFightHandler` 类中的条件判断和方法逻辑。
* 调整 `CameraRotateTask` 类中的参数值。
* 在 `PathExecutor` 类中添加 `_rotateTask` 字段,并修改相关方法调用。
* 在 `TaskSettingsPage.xaml` 中添加新的配置选项。
* 在 `HotKeyPageViewModel` 类中添加 `using` 语句,并修改热键回调逻辑。
* 修改 `TaskSettingsPageViewModel` 类中 `AutoFightParam` 的初始化。
|
2024-09-30 13:42:11 +08:00 |
|
辉鸭蛋
|
d9e5f2f1dd
|
add rotate task
在 `BgiYoloV8Predictor.cs` 文件中,添加了 `System.Diagnostics`、`System.Drawing.Imaging` 和 `System.IO` 的引用,并在 YOLOv8 识别结果返回前,添加了调试输出,使用 `JsonSerializer` 序列化识别结果并输出到调试窗口。
在 `AutoFightTask.cs` 文件中,添加了 `System.Collections.Generic` 和 `BetterGenshinImpact.GameTask.AutoPathing` 的引用,修改了 `combatScenes.BeforeTask` 方法的调用,使用新的取消令牌 `cts2`。在战斗操作的 `Task.Run` 中添加了 `try-catch` 块,以捕获并忽略异常。修改了战斗结束检测线程,使用 `async` 和 `await` 关键字,并在检测战斗结束时添加了 `try-catch` 块。修改了 `CheckFightFinish` 方法,改为异步方法 `CheckFightFinish`,并在检测战斗结束时添加了旋转视角的逻辑。
在 `PathExecutor.cs` 文件中,添加了关于 DPI 和分辨率影响转动速度的注释。
在 `TaskSettingsPageViewModel.cs` 文件中,在获取战斗策略后,创建了 `AutoFightParam` 对象,并设置了 `EndDetect` 和 `AutoPickAfterFight` 参数。修改了 `RunSoloTaskAsync` 方法的调用,传入了新的 `AutoFightParam` 对象。
在 `CameraRotateTask.cs` 文件中,添加了新的 `CameraRotateTask` 类,用于处理相机视角的旋转,实现了 `RotateToApproach` 方法,用于将视角旋转到接近目标角度,实现了 `WaitUntilRotatedTo` 异步方法,用于等待视角旋转到目标角度。
|
2024-09-30 00:10:08 +08:00 |
|
辉鸭蛋
|
8bb1d728ff
|
refactor: solo task
|
2024-09-22 23:56:39 +08:00 |
|
辉鸭蛋
|
010beebcb6
|
add open fight script command #569
|
2024-09-06 00:35:31 +08:00 |
|
ema
|
24d798d6b2
|
UI/UX: use MessageBox from Violeta
|
2024-08-20 23:46:29 +08:00 |
|
qhy040404
|
c490d29aa1
|
code cleanup
|
2024-08-14 18:01:02 +08:00 |
|
辉鸭蛋
|
92be667328
|
big map tp
|
2024-05-21 00:18:44 +08:00 |
|
辉鸭蛋
|
65acb852f3
|
add enable switch for #398
|
2024-05-19 20:59:54 +08:00 |
|
Atiasn
|
fb1eeed107
|
wood count
|
2024-05-13 16:40:04 +08:00 |
|
辉鸭蛋
|
790c30183b
|
edit ui
|
2024-05-10 21:07:30 +08:00 |
|
辉鸭蛋
|
5797c716dc
|
auto music game
|
2024-05-08 01:59:30 +08:00 |
|
辉鸭蛋
|
c2d3e132e8
|
refactor: RectArea -> Region compilation passed
|
2024-05-02 14:45:07 +08:00 |
|
辉鸭蛋
|
f1ac26155a
|
auto select strategy based on team avatars
|
2024-04-14 01:31:59 +08:00 |
|
辉鸭蛋
|
e408750d09
|
auto track mission
|
2024-04-05 19:54:37 +08:00 |
|
Lightczx
|
1c97b425f4
|
refine
|
2024-03-28 14:00:29 +08:00 |
|
辉鸭蛋
|
037d4dadff
|
add lock for independent task
|
2024-03-16 15:20:01 +08:00 |
|
Mr-Quin
|
961e73880b
|
Change method to private
|
2024-03-07 00:24:35 -08:00 |
|
Mr-Quin
|
60117666a7
|
Change object type to string
|
2024-03-06 19:51:47 -08:00 |
|
Mr-Quin
|
fd47761f7f
|
Fix event handler missed #294
|
2024-03-06 18:27:48 -08:00 |
|
Mr-Quin
|
31d7e4c94b
|
Load strategy files when dropdown opens
|
2024-03-06 13:08:32 -08:00 |
|
huiyadanli
|
9c1c283576
|
add more auto fight strategy
|
2024-03-02 20:14:31 +08:00 |
|
huiyadanli
|
ed1fe39360
|
fix 惊喜牌组 order
|
2024-01-07 20:02:17 +08:00 |
|
huiyadanli
|
64bee42794
|
add auto fight task
|
2024-01-07 11:18:15 +08:00 |
|
huiyadanli
|
f992b87acb
|
add combat strategy ui and test it
|
2024-01-06 23:44:13 +08:00 |
|
huiyadanli
|
3f76d8dbc9
|
optimization task termination and team identification
|
2023-12-31 19:06:31 +08:00 |
|
huiyadanli
|
7965dd15e5
|
walk to start domain
|
2023-12-27 00:05:33 +08:00 |
|
huiyadanli
|
4a255ac1bd
|
upgrade prompt to add options that will no longer be prompted
|
2023-11-25 23:47:39 +08:00 |
|
huiyadanli
|
408e372481
|
auto wood
|
2023-11-25 22:30:18 +08:00 |
|
qhy040404
|
920e0fb4df
|
Set btn text after exiting duel
|
2023-11-22 18:58:13 +08:00 |
|
huiyadanli
|
4e2bd0372e
|
update Yap model and black list & update icon and urls
|
2023-11-18 13:44:57 +08:00 |
|
huiyadanli
|
333d692237
|
refactor: add model in preject
|
2023-11-03 00:44:14 +08:00 |
|
huiyadanli
|
5dd048fdea
|
add url jump
|
2023-10-22 16:08:43 +08:00 |
|
huiyadanli
|
bda00ad054
|
AutoGeniusInvokation: add entry
|
2023-10-21 18:48:36 +08:00 |
|