秋云
|
4e44bb0e78
|
fix: resolve mouse simulation issue due to resolution change on screen off (#1230)
* fix: resolve mouse simulation issue due to resolution change on screen off
* fix: typo
|
2025-03-05 00:30:35 +08:00 |
|
FishmanTheMurloc
|
aead279c78
|
单元测试HelloWorld (#1219)
* AutoFishing为单元测试重构;一个简单的单元测试GetFishpondTest
* 将鼠标操作的注入挪到DesktopRegion中;提供LoadAssetImage的一个不依赖配置的重载;ChooseBait的代码中将Bv的方法替换成不依赖配置的写法;完成ChooseBait的单元测试
* 使用TimeProvider改写ChooseBait以适用单元测试;添加假的绘图上下文类;添加抛竿行为的单元测试
* 选择鱼饵行为比对上次选择的鱼饵,如果相同则直接抛竿(之前的版本曾有此逻辑),但测下来有时会选错饵导致无限抛竿,调整了相关步骤的等待间隔,希望能简单地压制此bug
* 获取鱼群时过滤“获得”界面的鱼图标:1、在Fishpond构造函数中实现。2、配有此类情况的单元测试。3、并由此降低鱼钓上后的等待时间;
修复绘制鱼群时索引不正确导致遗漏的bug;获取鱼群时绘制鱼群供分析
|
2025-03-05 00:30:11 +08:00 |
|
辉鸭蛋
|
4cb5442161
|
add switch party task
在 `BetterGenshinImpact.csproj` 文件中,添加了两个新文件夹路径 `GameTask\OneDragon\` 和 `User\AutoPathing\`。
在 `BvStatus.cs` 文件中:
- 将 `WaitForMainUi` 方法的默认重试次数从 25 次减少到 10 次。
- 添加了 `IsInPartyViewUi` 和 `WaitForPartyViewUi` 方法。
在 `ElementAssets.cs` 文件中:
- 添加并初始化了 `PartyBtnChooseView` 和 `PartyBtnDelete` 两个新的识别对象。
在 `NewRetry.cs` 文件中:
- 添加了 `using System.Threading.Tasks;` 引用。
- 添加了 `WaitForAction` 方法。
在 `Region.cs` 文件中,添加了一个新的 `ClickTo` 方法,该方法接受 `double` 类型的参数。
在 `ReturnMainUiTask.cs` 文件中:
- 删除了旧的 `ReturnMainUiTask` 类。
- 添加了新的 `ReturnMainUiTask` 类,内容与旧的类似,但文件路径和命名空间有所变化。
在 `RunnerContext.cs` 文件中,移除了 `using BetterGenshinImpact.GameTask.OneDragon;` 引用,添加了 `using BetterGenshinImpact.GameTask.Common.Job;` 引用。
在 `HotKeyPageViewModel.cs` 文件中:
- 添加了多个 `using` 引用,包括 `using System.Threading.Tasks;` 和 `using BetterGenshinImpact.GameTask.Common.Job;`。
- 修改了多个方法的代码格式,使其更加简洁。
- 添加了多个新的快捷键设置。
添加了两个新的 PNG 图片文件 `party_btn_choose_view.png` 和 `party_btn_delete.png`。
在 `SwitchPartyTask.cs` 文件中,添加了新的 `SwitchPartyTask` 类,用于切换队伍。
|
2024-10-29 01:41:43 +08:00 |
|
辉鸭蛋
|
11ec9bc45d
|
refactor: CancellationTokenSource -> CancellationToken
|
2024-10-19 01:50:21 +08:00 |
|
辉鸭蛋
|
7df330a9fb
|
低分辨率缩放
|
2024-09-24 01:18:26 +08:00 |
|
辉鸭蛋
|
8bb1d728ff
|
refactor: solo task
|
2024-09-22 23:56:39 +08:00 |
|
辉鸭蛋
|
f904fe024b
|
Merge remote-tracking branch 'origin/main' into pr/522
|
2024-08-14 21:57:11 +08:00 |
|
qhy040404
|
c490d29aa1
|
code cleanup
|
2024-08-14 18:01:02 +08:00 |
|
lwh9346
|
d148014b7f
|
testing code
|
2024-08-14 16:11:13 +08:00 |
|
辉鸭蛋
|
8fa071722e
|
js : dispatcher.addTimer
|
2024-08-11 17:58:22 +08:00 |
|
辉鸭蛋
|
2c2e9c0303
|
supplement the mode of the runner
|
2024-08-11 10:41:01 +08:00 |
|
辉鸭蛋
|
076a7596a0
|
refactor some code
|
2024-07-21 19:21:01 +08:00 |
|
辉鸭蛋
|
9a76e5ad22
|
add common task runner
|
2024-07-20 21:57:39 +08:00 |
|
辉鸭蛋
|
d56b5efaa0
|
background click blessing of the welkin moon
|
2024-07-15 23:20:04 +08:00 |
|
辉鸭蛋
|
b1534a612c
|
new BaseTaskThread
|
2024-07-15 22:15:26 +08:00 |
|
辉鸭蛋
|
809f974cbb
|
auto hangout: auto press skip #335
|
2024-06-08 00:59:28 +08:00 |
|
辉鸭蛋
|
cfe963dcae
|
auto skip: backgroud click
|
2024-06-01 18:09:34 +08:00 |
|
辉鸭蛋
|
92be667328
|
big map tp
|
2024-05-21 00:18:44 +08:00 |
|
ema
|
9378a134bd
|
remove: package H.InputSimulator #154
|
2024-05-12 05:16:27 +08:00 |
|
辉鸭蛋
|
c27b5176e7
|
16:10 high dpi #373
|
2024-05-12 00:28:37 +08:00 |
|
辉鸭蛋
|
85e0c827ca
|
fix task not work in 16:10 #373
|
2024-05-11 23:41:07 +08:00 |
|
辉鸭蛋
|
ee154da3c3
|
music game: Gdi32.GetPixel
|
2024-05-09 02:46:33 +08:00 |
|
辉鸭蛋
|
5797c716dc
|
auto music game
|
2024-05-08 01:59:30 +08:00 |
|
辉鸭蛋
|
dabdfa51f4
|
fix boundary overflow after switching game resolution
|
2024-05-05 22:51:11 +08:00 |
|
辉鸭蛋
|
e250498c57
|
quick tp : eliminate interference from place names on the map
|
2024-05-04 15:55:00 +08:00 |
|
辉鸭蛋
|
87cb044947
|
fix bug & edit tip
|
2024-05-04 13:30:03 +08:00 |
|
辉鸭蛋
|
1f6d4a3346
|
refactor: QuickBuyTask
|
2024-05-04 11:57:58 +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 |
|
辉鸭蛋
|
be99fb3605
|
refactor: auto fish
|
2024-05-03 20:10:43 +08:00 |
|
辉鸭蛋
|
6bf73adce2
|
fix ra bug
|
2024-05-03 19:43:22 +08:00 |
|
辉鸭蛋
|
8acf23e9ce
|
refactor: quick tp & add: ra.ocr
|
2024-05-03 12:00:34 +08:00 |
|
辉鸭蛋
|
912d86ac33
|
refactor: auto hangout
|
2024-05-02 21:05:10 +08:00 |
|
辉鸭蛋
|
4fa718c6e0
|
refactor: auto skip
|
2024-05-02 19:06:10 +08:00 |
|
辉鸭蛋
|
c2d3e132e8
|
refactor: RectArea -> Region compilation passed
|
2024-05-02 14:45:07 +08:00 |
|
辉鸭蛋
|
f0bfdde4b8
|
初始化新的坐标系工具类
|
2024-05-02 12:16:36 +08:00 |
|
辉鸭蛋
|
f64e2f37c9
|
add feature matcher
|
2024-04-21 17:18:03 +08:00 |
|
辉鸭蛋
|
d917720c9e
|
delete boundary overflow judgment
|
2024-04-20 17:13:09 +08:00 |
|
辉鸭蛋
|
e408750d09
|
auto track mission
|
2024-04-05 19:54:37 +08:00 |
|
辉鸭蛋
|
8affeff26f
|
optimization
|
2024-04-04 22:35:36 +08:00 |
|
辉鸭蛋
|
9c5bc866f8
|
resolve conflicts
|
2024-04-04 20:40:04 +08:00 |
|
辉鸭蛋
|
e744aba880
|
add more recognition capabilities for RectArea
|
2024-04-04 20:35:42 +08:00 |
|
辉鸭蛋
|
f41cbcdab4
|
pick assets
|
2024-04-04 14:10:15 +08:00 |
|
huiyadanli
|
373b2fe61c
|
feat: adjustable parameters
|
2024-03-01 19:55:16 +08:00 |
|
huiyadanli
|
0d9cf01800
|
fix auto fight bug when all triggers close #203
|
2024-01-11 21:56:32 +08:00 |
|
huiyadanli
|
64bee42794
|
add auto fight task
|
2024-01-07 11:18:15 +08:00 |
|
huiyadanli
|
7965dd15e5
|
walk to start domain
|
2023-12-27 00:05:33 +08:00 |
|
huiyadanli
|
408e372481
|
auto wood
|
2023-11-25 22:30:18 +08:00 |
|
huiyadanli
|
92df6d8bb4
|
add 3-channel template match & can quickly exit during automatic pole throwing
|
2023-11-25 03:24:35 +08:00 |
|
huiyadanli
|
71eaecab0d
|
add OCR within 3s of auto skip button recognition failure
|
2023-11-11 20:26:29 +08:00 |
|