辉鸭蛋
|
d71ff06868
|
fix domain and map retry
|
2024-12-29 20:54:31 +08:00 |
|
辉鸭蛋
|
6127fab70b
|
auto domain retry
|
2024-12-29 17:10:02 +08:00 |
|
辉鸭蛋
|
9d807e1e42
|
1. walk to F 2. auto music
|
2024-12-29 16:02:35 +08:00 |
|
辉鸭蛋
|
dffccd0740
|
fix auto domain camera bug
|
2024-12-02 23:40:54 +08:00 |
|
辉鸭蛋
|
e2a25e4492
|
new camera orientation algorithm by https://github.com/Limint
|
2024-12-02 22:53:40 +08:00 |
|
辉鸭蛋
|
2083caa9d7
|
one dragon: params opt
|
2024-11-26 23:47:40 +08:00 |
|
辉鸭蛋
|
d7302b65c3
|
auto domain: tp & switch party & artifact salvage
|
2024-11-24 17:48:23 +08:00 |
|
辉鸭蛋
|
74acb4eb1c
|
0.37.1
|
2024-11-24 11:35:21 +08:00 |
|
辉鸭蛋
|
026dcd4488
|
auto domain: tp & switch party
|
2024-11-24 02:45:49 +08:00 |
|
辉鸭蛋
|
382f31bbe7
|
auto domain: fix ocr region
|
2024-11-22 22:52:22 +08:00 |
|
辉鸭蛋
|
d34d24cd5e
|
fix auto domain skip
|
2024-11-21 23:41:32 +08:00 |
|
辉鸭蛋
|
ef20a5448b
|
fixed the issue where the pathing cannot be used properly when the resolution is below 1920x1080
|
2024-11-10 13:13:10 +08:00 |
|
辉鸭蛋
|
7c96adb591
|
improve low hp detection and resurrection logic
改进低血量检测和复活逻辑
在 `BetterGenshinImpact.csproj` 文件中,将 `<AssemblyVersion>` 从 `0.35.1` 更新为 `0.35.2`。
在 `AutoDomainTask.cs` 文件中:
- 添加了 `using BetterGenshinImpact.GameTask.Common.BgiVision;` 引用。
- 将 `IsLowHealth` 方法替换为 `Bv.CurrentAvatarIsLowHp(CaptureToRectArea())` 方法。
- 在 `catch` 语句中添加了异常日志记录 `Logger.LogDebug(e, "红血自动吃药检测时发生异常")`。
- 删除了 `IsLowHealth` 方法的实现。
在 `Avatar.cs` 文件中:
- 修改了 `using` 引用,添加了 `BetterGenshinImpact.Core.Recognition`。
- 在 `ThrowWhenDefeated` 方法中,将 `region.Find(AutoFightContext.Instance.FightAssets.ConfirmRa)` 替换为 `Bv.IsInRevivePrompt(region)` 方法,并添加了复活逻辑。
在 `PathExecutor.cs` 文件中:
- 在 `foreach` 循环中添加了 `await RecoverWhenLowHp();` 方法调用。
- 添加了 `RecoverWhenLowHp` 方法,用于检测并处理低血量恢复。
在 `TpTask.cs` 文件中:
- 添加了 `ReviveStatueOfTheSevenPointX` 和 `ReviveStatueOfTheSevenPointY` 静态变量,用于复活点的坐标。
在 `BvStatus.cs` 文件中:
- 添加了多个 `using` 引用。
- 在 `Bv` 类中添加了 `IsInRevivePrompt` 和 `CurrentAvatarIsLowHp` 方法,用于检测复苏提示和当前角色是否低血量。
|
2024-10-25 23:49:07 +08:00 |
|
辉鸭蛋
|
a4bc632ae7
|
ui test
新增任务类属性和配置页面,优化日志记录
在 `BetterGenshinImpact.csproj` 文件中,添加了两个新文件夹路径 `GameTask\OneDragon\` 和 `User\AutoPathing\`。
在多个任务类文件中(如 `AutoDomainTask.cs`、`AutoFightTask.cs`、`AutoGeniusInvokationTask.cs`、`AutoMusicGameTask.cs`、`AutoWoodTask.cs`),新增了 `Name` 属性。
在 `PickAroundHandler.cs` 文件中,优化了 `RunAsync` 方法的日志记录,并添加了超时检查。
在 `ISoloTask.cs` 文件中,新增了 `Name` 属性和 `Start` 方法的接口定义。
在 `OneDragonTaskItem.cs` 文件中,新增了 `ViewModel` 属性。
在 `OneDragonFlowPage.xaml` 文件中,右侧配置部分从 `StackPanel` 改为 `ContentControl`,并添加了 `DataTemplate` 以支持不同任务类型的配置页面。
在 `IViewModel.cs` 文件中,将 `IViewModel` 接口的访问修饰符从 `internal` 改为 `public`。
在 `OneDragonFlowViewModel.cs` 文件中,初始化了任务项的 `ViewModel` 属性。
在 `ScriptControlViewModel.cs` 文件中,移除了构造函数的 `HomePageViewModel` 参数。
新增了 `LoginConfigViewModel.cs` 和 `MailConfigViewModel.cs` 文件,定义了相应的 ViewModel 类。
新增了 `LoginConfigPage.xaml` 和 `MailConfigPage.xaml` 文件,定义了相应的 XAML 布局及其交互逻辑。
|
2024-10-19 17:42:58 +08:00 |
|
辉鸭蛋
|
11ec9bc45d
|
refactor: CancellationTokenSource -> CancellationToken
|
2024-10-19 01:50:21 +08:00 |
|
ema
|
335b053b32
|
change: moved image assets to new folder
|
2024-09-30 10:12:13 +08:00 |
|
辉鸭蛋
|
7df330a9fb
|
低分辨率缩放
|
2024-09-24 01:18:26 +08:00 |
|
辉鸭蛋
|
d51139025b
|
便携营养袋 的判断进行前置,减少无意义的性能损耗
|
2024-09-23 22:21:12 +08:00 |
|
何杰泽
|
ff969abbc7
|
自动吃药 添加了是否携带食物的检测
|
2024-09-23 21:18:24 +08:00 |
|
辉鸭蛋
|
5a0f7226ed
|
update ISoloTask
更新 Start 方法以接受 CancellationTokenSource 参数
这些更改主要是为了使 `Start` 方法能够接受 `CancellationTokenSource` 参数,从而更好地控制任务的取消操作。通过传递 `CancellationTokenSource`,可以在需要时取消正在运行的任务,提高了代码的灵活性和可控性。
具体更改包括:
- 将 `Start` 方法的签名从无参数更改为接受 `CancellationTokenSource` 参数。
- 在多个任务类(如 `AutoDomainTask.cs`、`AutoFightTask.cs`、`AutoGeniusInvokationTask.cs`、`AutoMusicGameTask.cs`、`AutoWoodTask.cs`)中,更新 `Start` 方法以接受并使用传入的 `CancellationTokenSource`。
- 在 `Duel.cs` 中,更新 `RunAsync` 和 `Run` 方法的参数以接受 `CancellationTokenSource`,并将 `Cts` 赋值为传入的 `cts`。
- 在 `ISoloTask.cs` 接口中,更新 `Start` 方法的签名以接受 `CancellationTokenSource` 参数。
- 在 `TaskRunner.cs` 中,调用 `soloTask.Start` 时传入 `CancellationContext.Instance.Cts` 作为参数。
|
2024-09-23 00:04:09 +08:00 |
|
辉鸭蛋
|
8bb1d728ff
|
refactor: solo task
|
2024-09-22 23:56:39 +08:00 |
|
辉鸭蛋
|
8e44643a51
|
auto eat #649
|
2024-09-21 23:41:20 +08:00 |
|
何杰泽
|
d3f0f89da1
|
添加autoEat功能。
|
2024-09-19 08:24:41 +08:00 |
|
何杰泽
|
98da4e072c
|
Merge remote-tracking branch 'origin/main' into iris-dev
|
2024-09-17 22:24:44 +08:00 |
|
何杰泽
|
a2adfe5b6f
|
修改自动秘境战斗策略,添加自动吃药任务。但是没进行判断。
|
2024-09-17 22:18:00 +08:00 |
|
辉鸭蛋
|
121bfbaa8e
|
fix #608
|
2024-09-11 21:50:17 +08:00 |
|
qhy040404
|
c490d29aa1
|
code cleanup
|
2024-08-14 18:01:02 +08:00 |
|
辉鸭蛋
|
059e21775f
|
unified capture image method
|
2024-07-21 20:38:06 +08:00 |
|
辉鸭蛋
|
b1534a612c
|
new BaseTaskThread
|
2024-07-15 22:15:26 +08:00 |
|
辉鸭蛋
|
347e42bab9
|
update dependency library version
|
2024-07-01 00:51:28 +08:00 |
|
辉鸭蛋
|
d77bb68066
|
auto domain: switch roles in advance #463
|
2024-06-23 15:58:48 +08:00 |
|
辉鸭蛋
|
889955389b
|
use DML
|
2024-05-28 11:42:54 +08:00 |
|
辉鸭蛋
|
08fbd6e2a2
|
+main
|
2024-05-28 10:28:16 +08:00 |
|
ema
|
9378a134bd
|
remove: package H.InputSimulator #154
|
2024-05-12 05:16:27 +08:00 |
|
辉鸭蛋
|
87cb044947
|
fix bug & edit tip
|
2024-05-04 13:30:03 +08:00 |
|
辉鸭蛋
|
667043594c
|
refactor: remove ClickOffset
|
2024-05-04 12:33:27 +08:00 |
|
辉鸭蛋
|
b1e33a6339
|
refactor: QuickSereniteaPotTask
|
2024-05-04 11:49:22 +08:00 |
|
辉鸭蛋
|
7953a76b3d
|
refactor: auto domain
|
2024-05-03 22:22:42 +08:00 |
|
辉鸭蛋
|
c2d3e132e8
|
refactor: RectArea -> Region compilation passed
|
2024-05-02 14:45:07 +08:00 |
|
辉鸭蛋
|
18c1e9f978
|
automatically restart the dispatcher when the game window size changes
|
2024-04-28 00:01:04 +08:00 |
|
辉鸭蛋
|
f1ac26155a
|
auto select strategy based on team avatars
|
2024-04-14 01:31:59 +08:00 |
|
辉鸭蛋
|
034d695bf8
|
all use gpu
|
2024-04-06 02:43:43 +08:00 |
|
辉鸭蛋
|
4b41fdcecc
|
test gpu
|
2024-04-06 00:26:55 +08:00 |
|
辉鸭蛋
|
bdc99e9e06
|
all assets to singleton
|
2024-04-04 14:38:04 +08:00 |
|
辉鸭蛋
|
f41cbcdab4
|
pick assets
|
2024-04-04 14:10:15 +08:00 |
|
Mr-Quin
|
97f2dc4550
|
Small refactor to NotificationHelper
|
2024-03-30 15:23:53 -07:00 |
|
Mr-Quin
|
63bec641af
|
Simplify notification creation
|
2024-03-30 13:57:03 -07:00 |
|
Mr-Quin
|
04ce508efd
|
Slightly simplify call to NotifyAllNotifiersAsync
|
2024-03-30 13:57:03 -07:00 |
|
Mr-Quin
|
8c025feaba
|
Remove taskParams fom serialization
|
2024-03-30 13:57:03 -07:00 |
|
Mr-Quin
|
911ee49083
|
Refactor notification
|
2024-03-30 13:57:02 -07:00 |
|