Commit Graph

147 Commits

Author SHA1 Message Date
辉鸭蛋
537f647ba7 fix auto skip plot when pathing 2024-12-21 15:19:01 +08:00
辉鸭蛋
3d63f18831 auto skip: background opt 2024-11-23 22:09:43 +08:00
辉鸭蛋
2a2acb5b0d auto skip: background skip use key (5.2) 2024-11-23 00:49:11 +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
辉鸭蛋
5f40e28332 修复后台自动剧情启用的情况下,自动领取探索奖励失效的问题 2024-10-27 22:18:32 +08:00
辉鸭蛋
11ec9bc45d refactor: CancellationTokenSource -> CancellationToken 2024-10-19 01:50:21 +08:00
辉鸭蛋
8bb1d728ff refactor: solo task 2024-09-22 23:56:39 +08:00
辉鸭蛋
535f6b4551 auto hangout: fix 诺艾尔第二幕 #581
更新诺艾尔第二幕结局对话内容

修改了多个结局的对话内容,删除了一些冗余语句,并新增了更简洁的表达:
- 结局1: 删除“换个地方,缓解一下紧张感吧”和“去港口吧,说不定能向千岩军请教”,新增“缓解一下紧张感吧”和“去港口吧”。
- 结局2: 删除“换个地方,缓解一下紧张感吧”和“去[三碗不过港]吧,然后再往前走走”,新增“缓解一下紧张感吧”和“三碗不过港”。
- 结局3: 删除“不要逃避,直面考试压力吧”,新增“直面考试压力吧”。
- 结局4: 删除“不要逃避,直面考试压力吧”,新增“直面考试压力吧”。
- 结局5: 删除“不要逃避,直面考试压力吧”和“可以成为琴那样的[代理团长]”,新增“直面考试压力吧”和“琴那样”。
- 结局6: 删除“不要逃避,直面考试压力吧”和“可以成为凯亚那样的[骑兵队长]”,新增“直面考试压力吧”和“凯亚那样”。
2024-09-08 12:33:30 +08:00
辉鸭蛋
1f798b9a3a auto hangout: fix 班尼特+重云 #581
更新班尼特和重云结局中的对话和标题

修改了“班尼特结局6:辛运的可能性”中的一行对话,从“怎么能让你承担危险呢”改为“承担危险”。
修改了“重云结局4”的标题,从“试菜员罗伊斯”改为“一无所获”。
2024-09-08 10:26:53 +08:00
辉鸭蛋
139b2089d5 fix _submitGoodsEnabled & _closePopupPagedEnabled not vaild 2024-09-01 20:48:45 +08:00
辉鸭蛋
c5d5ccab0e fix: trigger may not obtain the latest screenshot 2024-09-01 20:23:10 +08:00
ema
24d798d6b2 UI/UX: use MessageBox from Violeta 2024-08-20 23:46:29 +08:00
辉鸭蛋
4784551e10 expand the orange option recognition range 2024-08-16 00:11:20 +08:00
辉鸭蛋
030caec91f fix: auto skip ClosePopupPagedEnabled not effective 2024-08-16 00:02:20 +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
辉鸭蛋
349469250f auto skip: use new new icon 2024-07-17 23:13:14 +08:00
辉鸭蛋
b628ecc2a9 auto skip: use new playing icon 2024-07-17 22:23:10 +08:00
辉鸭蛋
36e0456061 auto skip: add more switch #464 2024-06-23 08:59:36 +08:00
辉鸭蛋
58bf183763 auto skip: random chat option click 2024-06-23 00:57:26 +08:00
辉鸭蛋
3e554d3bd8 auto skip: close popup page use post message 2024-06-23 00:07:03 +08:00
辉鸭蛋
75389d64f2 game loading in background 2024-06-08 17:53:23 +08:00
辉鸭蛋
809f974cbb auto hangout: auto press skip #335 2024-06-08 00:59:28 +08:00
辉鸭蛋
8aec2b18d9 auto hangout: add choose option sleep delay #440 2024-06-08 00:20:27 +08:00
辉鸭蛋
a141bf459c auto skip: backgroud fix 2024-06-02 17:07:01 +08:00
辉鸭蛋
283cdfbd1d fix merge hangout.json 2024-06-01 18:20:46 +08:00
辉鸭蛋
cfe963dcae auto skip: backgroud click 2024-06-01 18:09:34 +08:00
禹仔二号
d7e3fb01d8 Update hangout.json
托马邀约
2024-06-01 16:23:39 +08:00
辉鸭蛋
5c26287e51 #425 2024-06-01 12:55:41 +08:00
辉鸭蛋
7730b9b1de do not add click delay when claiming rewards #425 2024-06-01 10:07:48 +08:00
辉鸭蛋
e470d684ae auto skip: optimize chat option choose #422 2024-05-28 23:01:08 +08:00
辉鸭蛋
f3c17f7443 opt orange option OCR #409 2024-05-28 22:42:05 +08:00
辉鸭蛋
0baf176daa fix AutoGetDailyRewardsEnabled & AutoReExploreEnabled not working #417 2024-05-28 22:31:33 +08:00
ema
9378a134bd remove: package H.InputSimulator #154 2024-05-12 05:16:27 +08:00
辉鸭蛋
118307c562 Merge branch 'main' into main 2024-05-05 19:53:23 +08:00
禹仔二号
7096b9ed9e Update hangout.json 2024-05-05 19:46:32 +08:00
辉鸭蛋
85932c1040 auto hangout: fix 鹿野院平藏 2024-05-05 19:44:16 +08:00
禹仔二号
d90376461c Update hangout.json 2024-05-05 19:40:41 +08:00
禹仔二号
e7ef9dcd2f Update hangout.json
根据群友及issue修改了部分邀约文本,其他有可能存在问题
珐露珊结局1:过去的故事
五郎结局1:下,下次一定~
凝光结局1:趁着光景正好
重云结局5:告别    issue#377
重云结局6:小小的遗憾
鹿野院平藏结局1:不蒸发的回忆 issue#375
2024-05-05 18:55:01 +08:00
辉鸭蛋
b1e33a6339 refactor: QuickSereniteaPotTask 2024-05-04 11:49:22 +08:00
辉鸭蛋
9e01dbd88c #354 2024-05-03 21:21:48 +08:00
辉鸭蛋
be99fb3605 refactor: auto fish 2024-05-03 20:10:43 +08:00
辉鸭蛋
25ed398524 refactor: submit goods 2024-05-02 21:47:39 +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
辉鸭蛋
e8a781f040 edit click param 2024-04-29 22:57:27 +08:00
辉鸭蛋
18c1e9f978 automatically restart the dispatcher when the game window size changes 2024-04-28 00:01:04 +08:00
辉鸭蛋
45b5653b13 fix hangout bug 2024-04-27 16:45:56 +08:00
辉鸭蛋
c561da1892 narrowing down the recognition range of auto skip #354 2024-04-27 16:17:50 +08:00