Commit Graph

769 Commits

Author SHA1 Message Date
辉鸭蛋
1f798b9a3a auto hangout: fix 班尼特+重云 #581
更新班尼特和重云结局中的对话和标题

修改了“班尼特结局6:辛运的可能性”中的一行对话,从“怎么能让你承担危险呢”改为“承担危险”。
修改了“重云结局4”的标题,从“试菜员罗伊斯”改为“一无所获”。
2024-09-08 10:26:53 +08:00
辉鸭蛋
1fd5320df2 auto pathing: update
- 移除了不必要的 `using` 语句,添加了新的 `using` 语句。
- 将 `Waypoints` 属性重命名为 `Positions`。
- 更新了 `BuildFromFilePath` 方法中的 `JsonOptions` 引用。
- 将 `Waypoint` 类移到单独的文件中,并添加了相关属性和注释。
- 添加了 `SaveToFile` 方法,用于将 `PathingTask` 对象保存到文件。
- 更新了 `PathExecutor` 中的 `TaskControl` 引用,简化了代码。
- 更新了 `PathRecorder` 的属性和方法,使用私有字段 `_pathingTask`。
- 更新了 `MapPathingPage.xaml` 的命令绑定。
- 更新了 `HotKeyPageViewModel` 和 `MapPathingViewModel` 的逻辑。
- 添加了新的 `PathingTaskConfig` 类,用于配置路径任务。
2024-09-08 02:23:45 +08:00
辉鸭蛋
5818bcd7ed refactor the path task-related code, using the new enum class
在 `PathingTask.cs`、`PathExecutor.cs` 和 `PathRecorder.cs` 中,删除了 `WaypointType`、`MoveType`、`ActionType` 和 `PathingTaskType` 枚举,并将其替换为 `Enum` 命名空间中的类。更新了 `PathingTaskInfo` 类的属性默认值和新增属性。在 `PathExecutor.cs` 中,使用 `.Code` 属性进行比较,并优化了 `prevPositions` 列表的索引。在 `HotKeyPageViewModel.cs` 中,重命名了变量并更新了回调函数。在 `ActionEnum.cs`、`MoveStatusType.cs`、`PathingTaskType.cs` 和 `WaypointType.cs` 中,定义了新的枚举类及其静态实例和相关方法。
2024-09-07 14:53:25 +08:00
辉鸭蛋
e6aa70a74c add pick black list 2024-09-06 00:06:25 +08:00
辉鸭蛋
c90fb15557 add 5.0 tp pos 2024-09-03 01:05:37 +08:00
辉鸭蛋
5d70782c49 auto pick: hard-coding #573 2024-09-02 23:25:24 +08:00
辉鸭蛋
3430e116e3 auto tp: retry after failed map recognition 2024-09-02 01:38:01 +08:00
辉鸭蛋
139b2089d5 fix _submitGoodsEnabled & _closePopupPagedEnabled not vaild 2024-09-01 20:48:45 +08:00
辉鸭蛋
0056dcfc11 #558 2024-09-01 20:46:34 +08:00
辉鸭蛋
c5d5ccab0e fix: trigger may not obtain the latest screenshot 2024-09-01 20:23:10 +08:00
辉鸭蛋
7c1febf307 add pathing ui 2024-09-01 20:15:47 +08:00
辉鸭蛋
5955f90c03 update pathing page 2024-09-01 02:10:13 +08:00
辉鸭蛋
c9f7b3a14b auto wood: automatically disable logging function upon initial failure 2024-09-01 00:22:08 +08:00
辉鸭蛋
181b486db7 update avatar to 5.0 2024-08-31 14:17:28 +08:00
辉鸭蛋
36da78cb78 update map data to 5.0 2024-08-31 13:22:05 +08:00
haokaiyang
201ac734cb auto tcg: update character card config to v5.0 2024-08-30 11:23:39 +08:00
ema
24d798d6b2 UI/UX: use MessageBox from Violeta 2024-08-20 23:46:29 +08:00
lwh9346
622a4d5fde allow adding target points 2024-08-19 11:25:55 +08:00
lwh9346
fb0c63f8a8 optimize fly mode and path recording 2024-08-19 11:14:37 +08:00
lwh9346
1610f1cd31 remove redundant screen capture 2024-08-18 22:47:23 +08:00
lwh9346
ab2d6c1de4 copy when transforming coordinate 2024-08-18 21:55:08 +08:00
lwh9346
8f64c0ca4e remove unnecessary task run 2024-08-18 21:28:03 +08:00
lwh9346
9393b0cb24 test and make "move to" functional 2024-08-17 19:16:26 +08:00
ema
9b874d3747 small trial with using Toast instead of MessageBox 2024-08-16 00:43:32 +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
辉鸭蛋
6651ec7d9f attempt to correct coordinates 2024-08-15 00:00:12 +08:00
辉鸭蛋
d4fe1f2ab0 add BfMatch instead of FlannMatch 2024-08-14 23:21:03 +08:00
辉鸭蛋
4e1a0673c9 fix GetMiniMapPositionByFeatureMatch = 0 2024-08-14 22:25:15 +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
lwh9346
8a5d1d5f64 add path executor 2024-08-14 15:08:37 +08:00
lwh9346
cc245b0e8a change file structure 2024-08-14 14:01:21 +08:00
lwh9346
f82e35382c add UNTESTED path executor 2024-08-14 10:17:16 +08:00
lwh9346
224fc9917a add walk and swim to "move to" function 2024-08-14 01:39:27 +08:00
lwh9346
eb0b681b9d Merge branch 'main' of github.com:lwh9346/better-genshin-impact 2024-08-14 00:37:46 +08:00
lwh9346
f61a7c32d4 add basic code for auto pathing 2024-08-14 00:36:57 +08:00
辉鸭蛋
bc6ef4fa49 add comment 2024-08-14 00:15:25 +08:00
辉鸭蛋
eef5ff32cb add CameraOrientation.ComputeMiniMap(mat) 2024-08-14 00:14:04 +08:00
辉鸭蛋
644cdea7ee fix the accuracy issue of feature matching 2024-08-13 23:05:53 +08:00
辉鸭蛋
e1097199c4 map feature clear up 2024-08-13 01:07:53 +08:00
辉鸭蛋
b07f2ec839 more crystalfly position 2024-08-11 23:21:55 +08:00
辉鸭蛋
ed9a47a3a1 fix dispather thread safe 2024-08-11 20:14:32 +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
辉鸭蛋
a7153a47f6 auto crystalfly init 2024-08-11 02:32:00 +08:00
辉鸭蛋
26aa811e97 add script group runner 2024-08-11 00:09:25 +08:00
辉鸭蛋
00f822c49d switch to ground when big map in underground 2024-08-10 23:14:08 +08:00
ema
fe418e7bc4 update server b login pos #495 2024-08-04 15:21:51 +08:00