Commit Graph

77 Commits

Author SHA1 Message Date
辉鸭蛋
c75dbbc241 add script repo downloader 2024-10-13 13:36:06 +08:00
ema
7b51c018a7 feat: ExceptionReport 2024-09-11 22:28:59 +08:00
辉鸭蛋
220d6a4f9b fix multi thread ui bug & rotate with dpi
优化 DPI 处理和异步任务执行

在 `PathExecutor.cs` 中,添加了对 `BetterGenshinImpact.Helpers` 的引用,并引入了 `DpiHelper` 来调整 `_dpi` 变量。
在 `PathExecutor` 类中,添加了 `_dpi` 变量,并在 `Pathing` 方法中初始化 `_dpi` 为 `DpiHelper.ScaleY`。
修改了 `RotateTo` 方法的 `controlRatio` 参数类型,从 `int` 改为 `double`,并在调用 `Simulation.SendInput.Mouse.MoveMouseBy` 时乘以 `_dpi` 进行 DPI 缩放。
在 `TaskRunner.cs` 中,添加了 `FireAndForgetAsync` 方法,用于异步执行任务。
在 `ScriptService.cs` 中,添加了对 `BetterGenshinImpact.Helpers` 的引用。
修改了 `ScriptService` 类中调用 `TaskRunner` 的方式,从 `RunAsync` 改为 `FireAndForgetAsync`。
在 `ScriptControlViewModel.cs` 中,简化了调用 `_scriptService.RunMulti` 的方式,去掉了多余的 `Task.Run` 包装。
2024-09-09 00:44:24 +08:00
辉鸭蛋
d6860d5294 0.34.0 2024-09-08 23:36:53 +08:00
辉鸭蛋
3430e116e3 auto tp: retry after failed map recognition 2024-09-02 01:38:01 +08:00
辉鸭蛋
461b0b00d1 add JS script dynamic settings 2024-08-24 02:13:46 +08:00
辉鸭蛋
447fd103de support high dpi keyboard and mouse recording 2024-08-20 23:40:25 +08:00
辉鸭蛋
98b1376111 0.33.1 2024-08-19 23:14:55 +08:00
辉鸭蛋
b62e4a7425 add script group editor 2024-08-18 21:41:12 +08:00
辉鸭蛋
c486b860d0 0.32.6 2024-08-16 00:11:53 +08:00
辉鸭蛋
4b4ef25ede 0.32.5 2024-08-13 23:09:14 +08:00
辉鸭蛋
ad288c60cc script group ui 2 2024-08-10 19:16:35 +08:00
辉鸭蛋
308d398036 script group ui 2024-08-10 13:37:29 +08:00
辉鸭蛋
96a56ac4b8 fix stop when recorder starting #501 2024-07-29 23:59:22 +08:00
辉鸭蛋
9980576083 edit ui 2024-07-28 12:34:25 +08:00
辉鸭蛋
d77bb68066 auto domain: switch roles in advance #463 2024-06-23 15:58:48 +08:00
辉鸭蛋
6327fbc690 0.31.1 2024-06-08 17:55:48 +08:00
辉鸭蛋
e5b9639dec 0.31.0 2024-06-08 09:49:17 +08:00
辉鸭蛋
ce8b8687f4 keyboard monitor hotkey support space #416 2024-05-28 22:23:04 +08:00
辉鸭蛋
594b517936 0.30.2 2024-05-25 11:00:56 +08:00
辉鸭蛋
b8e5c179fc fix the performance of mask windows at different resolutions - 0.30.1 2024-05-24 12:13:51 +08:00
辉鸭蛋
c5d9930a3d 0.30.0 2024-05-23 17:51:36 +08:00
辉鸭蛋
790c30183b edit ui 2024-05-10 21:07:30 +08:00
辉鸭蛋
f8ad1bd8e3 0.29.3 2024-05-09 23:39:09 +08:00
辉鸭蛋
8fe59842c6 update music game 2024-05-09 21:56:56 +08:00
辉鸭蛋
ee154da3c3 music game: Gdi32.GetPixel 2024-05-09 02:46:33 +08:00
辉鸭蛋
e250498c57 quick tp : eliminate interference from place names on the map 2024-05-04 15:55:00 +08:00
辉鸭蛋
cf8ab82043 0.28.0 2024-05-03 00:17:02 +08:00
辉鸭蛋
7dda27c59b benchmark for #358 2024-04-23 00:45:17 +08:00
辉鸭蛋
643a5b0262 fix json editor save 2024-04-20 14:56:56 +08:00
辉鸭蛋
4354ca5900 0.27.0 2024-04-20 12:34:06 +08:00
辉鸭蛋
a36c283784 fix genshin start WorkingDirectory 2024-03-22 22:58:02 +08:00
辉鸭蛋
1d645b1565 catch exception get game path 2024-03-17 21:55:15 +08:00
辉鸭蛋
0d6ad22a22 fix Monitor.Exit() throw exception when use "async" worker functions 2024-03-17 00:15:26 +08:00
辉鸭蛋
29e679d1fd GC for #311 2024-03-16 21:13:59 +08:00
辉鸭蛋
22ea2c2576 clean up code by ReSharper and CodeMaid [\Core] 2024-03-10 12:55:11 +08:00
辉鸭蛋
006c7a71cc 0.26.0 2024-03-09 16:36:05 +08:00
huiyadanli
6b4de6da19 auto enter game: use postmessage instead of sendinput 2024-03-04 22:49:03 +08:00
ema
da353a9472 update: version comparison method 2024-02-29 17:33:16 +08:00
huiyadanli
ca00c3dfd7 update auto fish model 2024-02-25 18:15:34 +08:00
huiyadanli
bd366503cf auto fish: support Sumeru and Fontaine fish 2024-02-14 19:07:17 +08:00
huiyadanli
9d6d621b75 revert wgc 2024-02-14 15:46:48 +08:00
huiyadanli
0b2541ac3a version 0.24.1 2024-02-10 22:36:27 +08:00
huiyadanli
06a46533d0 version 0.24 2024-02-10 15:39:19 +08:00
huiyadanli
7ac890e43f view model for #245 @Lightczx 2024-02-03 14:00:55 +08:00
huiyadanli
ae4eb6a7f4 fix inoperative short move & add auto domain config 2024-01-24 23:40:04 +08:00
huiyadanli
215bd3e81f version 0.23 2024-01-21 23:00:41 +08:00
huiyadanli
61e72330c6 auto fight: continuous operations will no longer be cancelled 2024-01-15 22:52:07 +08:00
huiyadanli
6130852d4b version 0.22 2024-01-15 21:50:57 +08:00
huiyadanli
9a0fa23451 add alias support 2024-01-14 00:08:59 +08:00