辉鸭蛋
|
f713847df2
|
add missing tp points #630 #603 #586
|
2024-09-17 16:29:47 +08:00 |
|
辉鸭蛋
|
c39a882272
|
auto tp: shrink big map #604
|
2024-09-17 15:24:09 +08:00 |
|
辉鸭蛋
|
5f9ca6b399
|
auto pathing: add force tp for tp point
|
2024-09-17 15:06:32 +08:00 |
|
辉鸭蛋
|
962d47722d
|
tp with retry
将 `Tp` 方法重命名为 `TpOnce`,以便区分新的 `Tp` 方法。
新增了一个 `Tp` 方法,该方法会重试调用 `TpOnce` 方法最多三次,如果三次都失败则抛出异常。
修改了一个重试机制的时间间隔,从 500 毫秒重试 10 次改为 500 毫秒重试 5 次。
|
2024-09-15 19:44:44 +08:00 |
|
辉鸭蛋
|
89079f74d8
|
if the current map location recognition fails, the national location will be directly used for large-scale map positioning
重构大地图中心点位置获取逻辑
在 `TpTask.cs` 文件中,添加了一个新的方法 `GetPositionFromBigMapNullable`,该方法在调用 `GetBigMapCenterPoint` 时使用了 `try-catch` 结构来捕获异常,并在发生异常时返回 `null`。
修改了原有代码中获取大地图中心点位置的逻辑。原先直接调用 `GetPositionFromBigMap` 方法,现在改为调用新的 `GetPositionFromBigMapNullable` 方法,并在获取到非空值时计算距离和记录日志。
将计算 `minDistance` 的逻辑从直接计算改为在获取到有效的大地图中心点位置后再进行计算。
|
2024-09-15 19:37:11 +08:00 |
|
辉鸭蛋
|
a06f0fcdb2
|
auto pathing: fix not releasing the mouse and keyboard when stopping tasks
更新日志和黑名单
移除 `PathExecutor.cs` 中的无用引用,重构 `Pathing` 方法,添加 `InitializePathing` 和 `ConvertWaypoints` 方法,提取传送点处理逻辑到 `HandleTeleportWaypoint` 方法。修改 `TpTask.cs` 中的日志格式为浮点数格式。将 `TaskRunner.cs` 中的 `FireAndForgetAsync` 方法重命名为 `RunThreadAsync`,并在 `ScriptService.cs` 中相应替换调用。为 `DpiHelper.cs` 中的 `ScaleY` 属性添加注释。更新 `pick_black_lists.json`,添加新的黑名单项 `"摆放巧像"`。在 `MapPathingViewModel.cs` 中添加 `_mapViewer` 字段,并在 `OnOpenMapViewer` 方法中使用。
|
2024-09-09 21:57:48 +08:00 |
|
辉鸭蛋
|
4276957837
|
tp opt & F11 can cancel script task
优化日志记录和任务取消逻辑
在 `PathExecutor.cs` 中添加了 `using System.Diagnostics;` 语句。
注释掉了 `PathExecutor` 类中的部分日志信息。
将 `MoveTo` 和 `MoveCloseTo` 方法中的日志记录改为使用 `Debug.WriteLine`。
修改了 `MoveTo` 和 `MoveCloseTo` 方法中的循环条件,改为 `while (!cts.IsCancellationRequested)`。
将 `MoveTo` 方法中的超时时间从 30 秒改为 60 秒。
在 `TpTask.cs` 中增加了对配置项的最小值检查。
在 `MapAssets.cs` 中添加了新的地图坐标 `{ "纳塔", [8973.5, -1879.1] }`。
在 `HomePageViewModel.cs` 中添加了 `using BetterGenshinImpact.Core.Script;` 语句。
在 `HomePageViewModel` 类的 `Stop` 方法中,添加了取消独立任务的逻辑。
|
2024-09-08 19:44:34 +08:00 |
|
辉鸭蛋
|
a0691f1c19
|
auto pathing: add mapper viewer
|
2024-09-08 19:08:46 +08:00 |
|
辉鸭蛋
|
cb09a369c2
|
auto pathing: fix jump and fly
|
2024-09-08 12:33:58 +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 |
|
辉鸭蛋
|
3430e116e3
|
auto tp: retry after failed map recognition
|
2024-09-02 01:38:01 +08:00 |
|
qhy040404
|
c490d29aa1
|
code cleanup
|
2024-08-14 18:01:02 +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 |
|
辉鸭蛋
|
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 |
|
辉鸭蛋
|
65f2aad4c2
|
add tp click & fix mask window display
|
2024-07-31 23:44:25 +08:00 |
|
辉鸭蛋
|
917df88099
|
add cancel task hotkey #501
|
2024-07-30 00:12:18 +08:00 |
|
辉鸭蛋
|
059e21775f
|
unified capture image method
|
2024-07-21 20:38:06 +08:00 |
|
辉鸭蛋
|
076a7596a0
|
refactor some code
|
2024-07-21 19:21:01 +08:00 |
|
辉鸭蛋
|
4243972eeb
|
script async test
|
2024-07-21 12:42:39 +08:00 |
|
辉鸭蛋
|
b1534a612c
|
new BaseTaskThread
|
2024-07-15 22:15:26 +08:00 |
|
辉鸭蛋
|
6c1314cc4d
|
add listview for KeyMouseRecordPage
|
2024-07-01 00:13:18 +08:00 |
|
辉鸭蛋
|
2cd71ff4a1
|
improve the speed of matching bigmap
|
2024-06-30 17:12:50 +08:00 |
|
辉鸭蛋
|
8469f6c37e
|
test map track
|
2024-06-23 22:17:32 +08:00 |
|
辉鸭蛋
|
1097cc3eb8
|
auto track: more controller
|
2024-06-16 23:28:29 +08:00 |
|
辉鸭蛋
|
1f0bf59ca7
|
opt track
|
2024-06-16 16:42:08 +08:00 |
|
辉鸭蛋
|
577abec2d2
|
simple auto tracking
|
2024-06-10 13:52:12 +08:00 |
|
辉鸭蛋
|
fc5d37670c
|
auto map test
|
2024-06-06 00:44:52 +08:00 |
|
辉鸭蛋
|
d016e59eb4
|
add map country switch
|
2024-06-02 01:57:38 +08:00 |
|
辉鸭蛋
|
19f2956633
|
add map tp
|
2024-06-02 01:09:57 +08:00 |
|
辉鸭蛋
|
cb106db75f
|
use 2048 block map
|
2024-05-22 15:38:13 +08:00 |
|
辉鸭蛋
|
92be667328
|
big map tp
|
2024-05-21 00:18:44 +08:00 |
|
辉鸭蛋
|
5797c716dc
|
auto music game
|
2024-05-08 01:59:30 +08:00 |
|
辉鸭蛋
|
c544c18b07
|
test map tp
|
2024-05-05 19:12:01 +08:00 |
|