Commit Graph

1947 Commits

Author SHA1 Message Date
辉鸭蛋
600b7aeaa4 清除所有 DispatcherTimerOperationEnum 内容 2025-03-15 10:46:05 +08:00
辉鸭蛋
302aff9216 队伍中没有对应元素角色修复日志问题 2025-03-15 02:32:38 +08:00
辉鸭蛋
0257d548f2 dwm加锁并返回mat 2025-03-15 02:23:17 +08:00
辉鸭蛋
6e80999817 使用读写锁重构 Windows.Graphics.Capture,删除BGI自己命名的缓存设置 2025-03-15 01:48:17 +08:00
辉鸭蛋
8db7183488 BitBlt 加锁 2025-03-14 23:37:25 +08:00
辉鸭蛋
1cc889c6f2 to mat init 2025-03-14 01:57:54 +08:00
辉鸭蛋
616293432d Update README.md 2025-03-14 00:39:59 +08:00
辉鸭蛋
7250ef111d Update README.md 2025-03-14 00:37:23 +08:00
辉鸭蛋
19fb0022c1 Merge remote-tracking branch 'origin/main' 2025-03-14 00:26:45 +08:00
辉鸭蛋
f284a5331a 0.43.2 2025-03-14 00:23:27 +08:00
FishmanTheMurloc
29a2c0069e bug fix:拉条过程中内存没有及时释放 (#1266)
* bug fix:拉条过程中内存没有及时释放

* 新增LiftAndHold行为用于举竿、检测预抛竿时鼠标左键是否被意外松开、终止任务;抛竿开始后5秒内如从未找到落点,则返回失败,并配有单元测试;添加抛竿时无鱼饵适用鱼的单元测试;调整变量名

* 新增一个钓鱼昼夜设置枚举DontChange及其逻辑(枚举值为3),表示不调整时间直接开钓

* 针对可能是游戏中的雾气/滤镜/小黄鸭之类不明原因干扰了钓鱼拉条框的识别,修改了CV算法,使其不严格按照黄色(255,255,192)找矩形,而是按一定HSV范围寻找,并加强过滤;添加上述不明原因案例的测试用例

* 将MySimpleParallel改造为支持两个以上子行为;将“检查抛竿结果”行为合并到“下杆中”并行节点,以去除检查的等待时间,由此希望能应对鱼过快上钩的情况
2025-03-14 00:17:37 +08:00
秋云
22fe431880 feat: add action_params(StopFlyingWaitTime) to stop_flying (#1277)
* feat: add action_params(StopFlyingWaitTime) to stop_flying;
fix: ensure next step only proceeds after stop_flying.

* add StopFlyingHandler

* use int.TryParse

---------

Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2025-03-14 00:15:17 +08:00
DR-lin-eng
a172ba6941 修正bark推送参数和前端 (#1289)
* feat: add email and websocket notification

* fix typos.

* refactor(notifiers): 重构邮件和 WebSocket 通知器

- 提升 EmailNotifier 中的 SmtpClient 为类的成员变量,并在构造函数中初始化,优化资源使用
- 改进 WebSocketNotifier 的连接和重连逻辑,提高稳定性
- 优化通知器的错误处理和日志记录,增强可维护性

* Create BarkNotifier.cs

* Update NotificationConfig.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/Notifier/BarkNotifier.cs

* Add files via upload

* Update BarkNotifier.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/BarkNotifier.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* fix: 回退部分代码,修复了程序崩溃的错误

* fix: remove api.day.app

* Update CommonSettingsPageViewModel.cs

* Update CommonSettingsPage.xaml

* Update CommonSettingsPage.xaml

* Update CommonSettingsPageViewModel.cs

* Update EmailNotifier.cs

* Update EmailNotifier.cs

* Update BarkNotifier.cs

* 修正并更新前端介绍

* Revert "1"

* 修正公益服务器请求兼容性

* Revert "Revert "1""

This reverts commit 8c6effb1

---------

Co-authored-by: 秋云 <physligl@gmail.com>
Co-authored-by: 禹仔二号 <87601913+wy3057@users.noreply.github.com>
Co-authored-by: yuzai <3020834774@qq.com>
Co-authored-by: DR-lin-eng <@DR-lin-eng>
Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2025-03-14 00:04:58 +08:00
禹仔二号
80b8c968d4 校对修复所有邀约文本 (#1290)
* feat: add email and websocket notification

* fix typos.

* refactor(notifiers): 重构邮件和 WebSocket 通知器

- 提升 EmailNotifier 中的 SmtpClient 为类的成员变量,并在构造函数中初始化,优化资源使用
- 改进 WebSocketNotifier 的连接和重连逻辑,提高稳定性
- 优化通知器的错误处理和日志记录,增强可维护性

* Create BarkNotifier.cs

* Update NotificationConfig.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/Notifier/BarkNotifier.cs

* Add files via upload

* Update BarkNotifier.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/BarkNotifier.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* fix: 回退部分代码,修复了程序崩溃的错误

* fix: remove api.day.app

---------

Co-authored-by: 秋云 <physligl@gmail.com>
Co-authored-by: DR-lin-eng <52230594+DR-lin-eng@users.noreply.github.com>
2025-03-13 22:48:02 +08:00
辉鸭蛋
bad6db6e8a WPF-UI.Violeta 4.0.0 2025-03-13 22:44:20 +08:00
辉鸭蛋
46ebdfc452 wpfui 4.0.0 (#1255)
* new INavigationAware, remove PageService

* fix run

* fix title bar

* override OnNavigatedTo

* try fix WindowStartupLocation
2025-03-13 00:33:31 +08:00
禹仔二号
6becb9dd5a 添加websocket和smtp通知方法,添加bark通知,websocket为qq机器人预留。 (#1254)
* feat: add email and websocket notification

* fix typos.

* refactor(notifiers): 重构邮件和 WebSocket 通知器

- 提升 EmailNotifier 中的 SmtpClient 为类的成员变量,并在构造函数中初始化,优化资源使用
- 改进 WebSocketNotifier 的连接和重连逻辑,提高稳定性
- 优化通知器的错误处理和日志记录,增强可维护性

* Create BarkNotifier.cs

* Update NotificationConfig.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/Notifier/BarkNotifier.cs

* Add files via upload

* Update BarkNotifier.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/BarkNotifier.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* fix: 回退部分代码,修复了程序崩溃的错误

* fix: remove api.day.app

---------

Co-authored-by: 秋云 <physligl@gmail.com>
Co-authored-by: DR-lin-eng <52230594+DR-lin-eng@users.noreply.github.com>
2025-03-13 00:06:09 +08:00
辉鸭蛋
3312837129 Merge pull request #1274 from MisakaAldrich/main
小改正则表达以支持JS脚本统计
2025-03-13 00:02:10 +08:00
起个名字好难
5272c44a44 Mining新增凝光平A 2025-03-12 23:16:44 +08:00
起个名字好难
61d635d2e2 日志分析:小改正则表达以支持JS脚本统计 2025-03-11 23:53:26 +08:00
辉鸭蛋
8298e5f827 0.43.1 0.43.1 2025-03-11 23:07:37 +08:00
辉鸭蛋
51ee8dc54e 修复地图追踪中的 up_down_grab_leaf 四叶印 action 不生效的问题 2025-03-11 23:04:55 +08:00
辉鸭蛋
b0c12d567b 暴力GC 2025-03-11 22:12:29 +08:00
辉鸭蛋
14a55c1204 Revert "添加暴力GC"
This reverts commit 203ae22e7b.
2025-03-11 21:16:49 +08:00
辉鸭蛋
9724b158a7 Merge pull request #1263 from Takaranoao/main-fix1262
修复 #1262 自动拾取按文档指引改键无效
2025-03-11 21:11:14 +08:00
Takaranoao
a01cc93ba7 Merge branch 'main' of https://github.com/babalae/better-genshin-impact 2025-03-11 20:14:23 +08:00
Takaranoao
40f8f191a0 格式化代码 2025-03-11 20:13:18 +08:00
辉鸭蛋
4cf2085e90 Merge pull request #1267 from physligl/main
fix: move mouse to center after adjust zoom level
2025-03-11 15:42:39 +08:00
辉鸭蛋
5bfbe7f8a2 Merge pull request #1269 from Daydreamer114/patch-1
docs(fix): readme 中失效链接、跳转链接;自动钓鱼拆分
2025-03-11 15:39:23 +08:00
晓丶梦丶仁
99a769f3fc docs(fix): 失效链接、拆分(半|全)自动钓鱼 2025-03-11 13:57:22 +08:00
晓丶梦丶仁
7a9f0c68bc fix: readme 中 自动秘境 链接失效 2025-03-11 13:47:46 +08:00
秋云
54e3db9228 fix: move mouse to center after adjust zoom level 2025-03-11 11:57:03 +08:00
辉鸭蛋
203ae22e7b 添加暴力GC 2025-03-11 02:18:08 +08:00
Takaranoao
f3e0c68f3e fix: update pick button names binding and initialize pick button list 2025-03-11 02:02:56 +08:00
辉鸭蛋
807dd28c04 Merge pull request #1252 from FishmanTheMurloc/main
咬钩后拉扯框识别的优化,以及着手优化抛竿
2025-03-10 20:12:40 +08:00
FishmanTheMurloc
c5dd67e854 bug fix 严重的内存占用暴涨 2025-03-10 18:54:00 +08:00
FishmanTheMurloc
79257b3d3a Merge branch 'babalae:main' into main 2025-03-10 18:34:55 +08:00
FishmanTheMurloc
699ed8fc0b 选择鱼饵失败超限后不再直接判定没有鱼;抛竿逻辑不再使用prevTargetFishRect设计,改为直接取离落点最近的鱼,并由此通过了先前的三条炮鲀鱼单元测试;抛竿也采取在无目标鱼时记录失败鱼饵的设计;获取鱼群时,忽略选择鱼饵失败超限及抛竿无目标鱼超限的鱼,配有忽略时的单元测试 2025-03-10 18:25:46 +08:00
FishmanTheMurloc
34e6f4741a 钓鱼添加逻辑:选择鱼饵失败2次后,忽略该种鱼饵,且如果鱼塘中所有鱼的鱼饵被忽略就当没有鱼退出任务;并配有单元测试 2025-03-10 09:59:22 +08:00
辉鸭蛋
ad5aa1b118 fix script bug 2025-03-10 02:15:44 +08:00
辉鸭蛋
94ae0e216f update ui 0.43 2025-03-09 22:53:20 +08:00
辉鸭蛋
991da1cb69 fix fish js object 2025-03-09 22:14:27 +08:00
辉鸭蛋
fe8aeb610d fix js fish anonymous class input 2025-03-09 21:31:46 +08:00
辉鸭蛋
60b4d65f21 0.43.0 2025-03-09 20:34:59 +08:00
辉鸭蛋
abfddea2e5 暴露钓鱼的参数给脚本 2025-03-09 20:33:51 +08:00
辉鸭蛋
366e5d140a add WelcomeDialog 2025-03-09 18:55:25 +08:00
辉鸭蛋
4fc2417f26 增加自动钓鱼的提示 2025-03-08 23:57:30 +08:00
辉鸭蛋
7d0649b358 一些自动钓鱼的优化 2025-03-08 23:41:48 +08:00
FishmanTheMurloc
5bb0144c30 由于偶尔观测到抛竿时“摇摆”行为的出现,设计了一种单元测试来为修改算法做准备。此commit中,改新添加的单元测试是通过不了的。 2025-03-08 23:28:04 +08:00
辉鸭蛋
df9c4e106e 修改shell的部分内容 2025-03-08 21:55:24 +08:00