Commit Graph

363 Commits

Author SHA1 Message Date
辉鸭蛋
e2a4383f2c tos init 2025-01-05 17:02:02 +08:00
辉鸭蛋
b1a59c47a3 version 2025-01-05 02:57:29 +08:00
辉鸭蛋
8f91858b8d new record 2025-01-05 02:38:41 +08:00
辉鸭蛋
1f7aee994e 1 2025-01-03 03:16:04 +08:00
辉鸭蛋
5ece7eaaee rename to video 2024-12-29 20:01:28 +08:00
辉鸭蛋
351a3cb270 utc+8 2024-12-29 18:30:48 +08:00
辉鸭蛋
9c93cb465d fix path 2024-12-29 14:07:45 +08:00
辉鸭蛋
ec56692f8a + 2024-12-28 18:03:05 +08:00
辉鸭蛋
cbd33a15ef obs 2024-12-28 14:11:16 +08:00
辉鸭蛋
03f0e46784 move pc.json 2024-12-28 10:53:36 +08:00
辉鸭蛋
a01f51b226 fixed 2024-12-27 02:11:01 +08:00
辉鸭蛋
6df528b142 pc info 2024-12-26 02:31:23 +08:00
辉鸭蛋
3ed01a5d46 pc info 2024-12-26 01:10:21 +08:00
辉鸭蛋
7af3833564 set dpi 2024-12-25 01:36:36 +08:00
辉鸭蛋
58019c428e ui 2024-12-25 00:52:12 +08:00
辉鸭蛋
839343cebf SysParams 2024-12-23 23:32:25 +08:00
辉鸭蛋
e36257e7b4 fix 2024-12-23 23:16:32 +08:00
辉鸭蛋
5ff8b30dc1 jsonl1 2024-12-23 22:29:10 +08:00
辉鸭蛋
da8fc4a89e 1222 2024-12-23 02:51:22 +08:00
辉鸭蛋
ef0ced332c params 2024-12-19 01:16:59 +08:00
辉鸭蛋
21dedd3ebf folder 2024-12-19 01:05:29 +08:00
辉鸭蛋
17f678294e use system tick count 2024-12-19 00:35:24 +08:00
辉鸭蛋
4f675068a9 new mouse key hook 2024-12-18 23:17:52 +08:00
辉鸭蛋
cc615a6d7a mouse move by 2024-12-18 02:34:09 +08:00
辉鸭蛋
b483ec2d84 play with merge event 2024-12-17 01:30:45 +08:00
辉鸭蛋
0d56fa6c7e fix bug 2024-12-17 01:05:24 +08:00
辉鸭蛋
83f8f78203 fix all 2024-12-16 23:56:30 +08:00
辉鸭蛋
e6bac7e72c add ffmpeg recorder 2024-12-16 08:55:08 +08:00
辉鸭蛋
fa3e7fccb0 add sharp avi 2024-12-15 17:48:30 +08:00
辉鸭蛋
ec8fa6e824 KeyDown -> KeyUp 2024-12-14 20:52:19 +08:00
辉鸭蛋
3266b63187 alt use sendInput 2024-12-14 19:56:38 +08:00
辉鸭蛋
294d096229 fixed Alt does not take effect when playing macros 2024-12-14 18:59:16 +08:00
辉鸭蛋
48b5ab8af6 macro: add mouse wheel 2024-12-14 18:40:14 +08:00
辉鸭蛋
11dda84592 pick drops 2024-12-09 00:57:17 +08:00
辉鸭蛋
6cfa4b27a6 Merge pull request #835 from babalae/feat/new-camera
new camera orientation algorithm
2024-12-02 22:55:21 +08:00
辉鸭蛋
e2a25e4492 new camera orientation algorithm by https://github.com/Limint 2024-12-02 22:53:40 +08:00
辉鸭蛋
2383761b5d more js methods to expose 2024-12-01 16:43:42 +08:00
辉鸭蛋
fa9eacf4ac divide the path by tp point 2024-11-25 22:27:04 +08:00
辉鸭蛋
1cad8c3a00 pathing: config ui 2024-11-24 01:10:30 +08:00
辉鸭蛋
84629942bc pathing: use gadget #799 2024-11-24 00:49:49 +08:00
辉鸭蛋
a6f6ce55dd pathing: add OnlyInTeleportRecover config #779 2024-11-24 00:32:41 +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
辉鸭蛋
648dfd3f41 ensure that the 'settings' object passed into JS is not empty 2024-11-10 13:22:56 +08:00
辉鸭蛋
435d04b52d pathing: add more settings 2024-11-10 00:51:47 +08:00
辉鸭蛋
19c7b10b01 fix repo update 2024-11-09 17:37:46 +08:00
辉鸭蛋
32bec1656b default pathing condition config 2024-11-05 22:50:34 +08:00
辉鸭蛋
003939bb94 js: fix no path pathing task
更新 PathingConditionConfig 和 PathingTask 方法以支持空值

将 PathingConditionConfig 类中的 FilterPartyName 方法的 materialName 参数类型从 string 改为 string?,以允许传入空值。增加了对 materialName 是否为空的检查,只有在 materialName 不为空时才进行条件匹配。将 PathingTask 类中的 GetMaterialName 方法的返回类型从 string 改为 string?,以允许返回空值。增加了对 FullPath 是否为空的检查,如果为空则返回 null。
2024-11-05 22:26:41 +08:00
辉鸭蛋
9c9bd7d138 js: extend click time
修改了 `GlobalMethod` 类中的 `Click` 方法,现在调用 `LeftButtonClick` 方法而不是 `Simulation.SendInput.Mouse.LeftButtonClick`。
修改了 `GlobalMethod` 类中的 `LeftButtonClick` 方法,现在使用 `Simulation.SendInput.Mouse.LeftButtonDown().Sleep(60).LeftButtonUp()` 代替 `Simulation.SendInput.Mouse.LeftButtonClick`。
修改了 `GlobalMethod` 类中的 `RightButtonClick` 方法,现在使用 `Simulation.SendInput.Mouse.RightButtonDown().Sleep(60).RightButtonUp()` 代替 `Simulation.SendInput.Mouse.RightButtonClick`。
2024-11-05 22:00:16 +08:00
辉鸭蛋
5b054bf31b 0.36.0 2024-11-04 21:33:07 +08:00
辉鸭蛋
a98934fc9a fix bug 2024-11-02 22:56:35 +08:00