辉鸭蛋
1097d5a27f
update ux
2025-04-13 21:43:51 +08:00
辉鸭蛋
9f3915d748
默认使用旧版截图器
2025-04-11 00:18:32 +08:00
辉鸭蛋
1df15bb83c
提供老版本的稳定 BitBlt 功能
2025-04-11 00:11:42 +08:00
Qian23333
cf9c964c7c
添加OneBot通知 ( #1418 )
2025-04-08 21:31:19 +08:00
辉鸭蛋
f5509dd540
关闭截图器 切换分辨率 开启截图器 后分辨率不正常的问题
2025-04-06 12:35:41 +08:00
FishmanTheMurloc
fce70c0e96
分解5星圣遗物 ( #1383 )
...
* 分解圣遗物基础设施建设
* 分解圣遗物独立任务基本功能完成:单独的启动按钮,正则表达式逐一筛选;代码文件整理到单独的文件夹
* 自动分解5星圣遗物功能初步完成
* 修复上次修改快速分解产生的问题,主要点击分解按钮时的bug,还有与五星分解步骤衔接的问题
* 针对切换队伍时,多语言识别效果不佳的情况,将用户设定的队伍名作为正则表达式进行模糊匹配,并在LogInfo输出相关提示;传送任务对任务取消进行单独的异常处理
* 一个便于测试分解圣遗物OCR识别和正则匹配结果的弹窗
2025-04-05 19:53:52 +08:00
秋云
ffd7cfabbc
feat: js 通知支持 ( #1376 )
...
* feat: js 通知支持
* feat: 添加全局或者在配置组中单独禁用js的通知功能
2025-04-02 21:40:14 +08:00
辉鸭蛋
535e879446
调度器设置中的战斗配置,如果开启则自动开启上面的地图追踪配置
2025-03-29 14:32:36 +08:00
FishmanTheMurloc
2cfaf9335e
多语言下拉框挪到其他设置下 ( #1362 )
2025-03-28 14:01:38 +08:00
FishmanTheMurloc
6d4f8b80e8
Feat/multi lan ( #1336 )
...
* 记录一次对hutaofisher的访谈,帮助开发者理解其算法
* 本地化HelloWorld
* .csproj取消windows版本号,此处导致了IDE在新建代码文件和自动生成代码时,默认命名空间丢失的问题。已知VisualStudio和ReSharper存在这个问题。
* 优化扩展方法写法,改为从localizer扩展;Converter优化写法,避免冲突;新增两种语言,待测试ocr效果
* Revert ".csproj取消windows版本号,此处导致了IDE在新建代码文件和自动生成代码时,默认命名空间丢失的问题。已知VisualStudio和ReSharper存在这个问题。"
This reverts commit 8bd7ee74c5 .
* localizer改为由构造函数传入以支持单元测试;一个英语上钩的单元测试
* 传送任务支持英语游戏界面;本地化参数挪至OtherConfig类下,但界面位置暂不挪动,待定
* 调整resx位置风格,放在直接使用字符串的类下;一条龙合成树脂及领取每日奖励支持游戏内中英双语
* 删除无用碎片文件
* 删去两个不必要的Sdcb包引用
* Paddle服务类去掉分类模型;检测和识别新增支持繁中和法语,配有单元测试;因小语种识别效果不理想,使用正则匹配替换多处识别文本相等或包含判断;钓鱼、一条龙合成树脂及领取每日奖励支持游戏内繁中和法语;
* 检查今日奖励任务的多语言化;右侧联机的P图标检测区域宽度缩减,避免英语角色名被误识别成P
* AutoDomainTask的游戏多语言化,由于我的游戏账号无法测试,仅配一些测试用例
* 修复有3个Mizuki导致异常的bug,临时用拼音代替新角色英文名,并为该数据初始化方法添加单元测试
* 瓦雷莎删去别名“牛牛”,因荒泷一斗已占用此别名;别名加载和读取优化
* 加个锁避免单元测试中多线程初始化paddle崩溃
2025-03-28 11:00:08 +08:00
辉鸭蛋
892f0f0fa6
ui: 迁移按键绑定页面到设置中
2025-03-27 01:03:19 +08:00
辉鸭蛋
d000981be5
about page #317
2025-03-27 00:15:19 +08:00
秋云
c79e919d17
fix: 日志分析修改namespace,修改配色,code clean。 ( #1346 )
2025-03-25 21:01:22 +08:00
秋云
ad3f4c3915
feat: 日志分析界面添加排序逻辑,添加单个任务拾取物显示,添加表头锁定,更换现代化配色方案 ( #1341 )
...
* feat: 添加排序逻辑,添加单个任务拾取物显示
* feat: 表头锁定
* feat: 优化样式,修改排序
* feat: 文件过大时会进行保存,并提示保存的路径
* fix: 错误的弹窗
* fix: 修复表头固定
* feat: 修改配色
* fix: 优化显示
* fix: 删除重复分析。
* add: 增加单日分析
2025-03-23 21:12:59 +08:00
辉鸭蛋
cbcd9a114e
fix NPE
2025-03-19 23:34:51 +08:00
禹仔二号
929f4a30b3
添加dingding通知 ( #1312 )
...
* 新增图片作为email附件发送功能
* feat(notification): 为 WebhookNotifier 添加 send_to 功能
- 在 WebhookNotifier 类中添加 send_to 属性
- 修改 TransformData 方法,增加 send_to 字段
- 在 NotificationConfig 中添加 webhook_endpoint 和 websocket_endpoint 属性
* refactor(WebhookNotifier): 添加 send_to 属性并调整访问修饰符
* refactor(notification): 重构 WebhookNotifier 并更新 NotificationConfig
- 在 NotificationConfig 中添加 WebhookSendTo 属性
- 重构 WebhookNotifier 构造函数,使用 NotificationConfig 对象进行初始化
- 更新 WebhookNotifier 发送逻辑,使用新的配置属性
* feat: add webhook ui.
* refactor(WebhookNotifier): 重构 TransformData 方法以优化数据结构- 将 notification_data 的内容合并到外层字典,以便于 webhook 接收端获取数据- 新增 event、result、timestamp 等字段,使数据结构
* fix(WebSocketNotifier): 添加消息发送后关闭连接的功能
- 在 SendAsync 方法中添加了 CloseAsync() 调用,确保消息发送后关闭 WebSocket 连接
- 此修改解决了消息发送后未关闭连接的问题,提高了资源利用率和系统稳定性
* fix: implement unified webhook ui
* fix: typos.
* 优化通知前端显示
* feat(notification): 添加钉钉 Webhook 通知支持
- 实现了钉钉 Webhook 通知的发送功能
- 在通知配置中添加了钉钉 Webhook URL 和密钥的设置选项
- 在通知服务中集成了钉钉通知的初始化和注册
- 优化了 WebhookNotifier 类的代码结构
* 新增钉钉通知ui
Signed-off-by: DR-lin-eng <@DR-lin-eng>
* 修正图标
Signed-off-by: DR-lin-eng <@DR-lin-eng>
---------
Signed-off-by: DR-lin-eng <@DR-lin-eng>
Co-authored-by: DR-lin-eng <@DR-lin-eng>
Co-authored-by: 秋云 <physligl@gmail.com >
Co-authored-by: DR-lin-eng <52230594+DR-lin-eng@users.noreply.github.com >
Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com >
2025-03-16 03:18:02 +08:00
DR-lin-eng
8d3acfc668
优化通知前端显示 ( #1311 )
...
Co-authored-by: DR-lin-eng <@DR-lin-eng>
2025-03-16 01:18:57 +08:00
Takaranoao
a9150054c4
从命令行启动调度器,暂不支持URL(--startGroups 组1 组2 ...) ( #1309 )
...
* 从命令行启动调度器,暂不支持URL(--startGroups 组1 组2 ...)
* 修改:log&执行顺序和传入顺序相同
2025-03-16 00:20:33 +08:00
Takaranoao
315318e2fe
配置组增加ShellTask配置的UI ( #1308 )
...
* Shell抽象成为一个Task,并抽出Config
* 代码格式化
* 格式化代码
* 配置组增加ShellTask配置的UI
2025-03-15 20:35:53 +08:00
DR-lin-eng
6eb1d33965
新增xxtui通知方法 ( #1305 )
...
Co-authored-by: DR-lin-eng <@DR-lin-eng>
2025-03-15 20:06:28 +08:00
辉鸭蛋
807288ab90
重构底层截图器,大幅提升截图器耗时 ( #1302 )
...
* to mat init
* BitBlt 加锁
* 使用读写锁重构 Windows.Graphics.Capture,删除BGI自己命名的缓存设置
* dwm加锁并返回mat
* 队伍中没有对应元素角色修复日志问题
* 清除所有 DispatcherTimerOperationEnum 内容
* 修复单测的编译错误
* HDR Support
* 清理无用的截图器模式
2025-03-15 13:18:19 +08:00
禹仔二号
f7903f8e9b
webhook添加了sendto发送对象,修复了webhook通知ui显示错误问题,修复了websocket服务端错误关闭链接问题 ( #1300 )
...
* 新增图片作为email附件发送功能
* feat(notification): 为 WebhookNotifier 添加 send_to 功能
- 在 WebhookNotifier 类中添加 send_to 属性
- 修改 TransformData 方法,增加 send_to 字段
- 在 NotificationConfig 中添加 webhook_endpoint 和 websocket_endpoint 属性
* refactor(WebhookNotifier): 添加 send_to 属性并调整访问修饰符
* refactor(notification): 重构 WebhookNotifier 并更新 NotificationConfig
- 在 NotificationConfig 中添加 WebhookSendTo 属性
- 重构 WebhookNotifier 构造函数,使用 NotificationConfig 对象进行初始化
- 更新 WebhookNotifier 发送逻辑,使用新的配置属性
* feat: add webhook ui.
* refactor(WebhookNotifier): 重构 TransformData 方法以优化数据结构- 将 notification_data 的内容合并到外层字典,以便于 webhook 接收端获取数据- 新增 event、result、timestamp 等字段,使数据结构
* fix(WebSocketNotifier): 添加消息发送后关闭连接的功能
- 在 SendAsync 方法中添加了 CloseAsync() 调用,确保消息发送后关闭 WebSocket 连接
- 此修改解决了消息发送后未关闭连接的问题,提高了资源利用率和系统稳定性
* fix: implement unified webhook ui
* fix: typos.
---------
Co-authored-by: DR-lin-eng <@DR-lin-eng>
Co-authored-by: 秋云 <physligl@gmail.com >
2025-03-15 10:33:33 +08:00
DR-lin-eng
a662791b6b
Tgbot推送机器人 ( #1296 )
...
* 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
* 新增tg推送但是有发送问题?(疑似我的电脑问题,稍后解决)
Signed-off-by: DR-lin-eng <@DR-lin-eng>
* feat: Telegram notification and ui.
* 修正tgbot推送,修正变量
Signed-off-by: DR-lin-eng <@DR-lin-eng>
---------
Signed-off-by: DR-lin-eng <@DR-lin-eng>
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 19:39:16 +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
Takaranoao
40f8f191a0
格式化代码
2025-03-11 20:13:18 +08:00
Takaranoao
f3e0c68f3e
fix: update pick button names binding and initialize pick button list
2025-03-11 02:02:56 +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
辉鸭蛋
df9c4e106e
修改shell的部分内容
2025-03-08 21:55:24 +08:00
辉鸭蛋
4c820d09c5
replace: 路径追踪 -> 地图追踪
2025-03-08 20:56:36 +08:00
Takaranoao
90590b68b8
给配置组增加执行shell的功能,可以调用外部程序实现复杂调度
2025-03-07 16:39:21 +08:00
辉鸭蛋
785f5b7903
fix MessageBox ui location
2025-03-06 01:02:46 +08:00
辉鸭蛋
e602995b07
缩减单个脚本解析异常产生的影响 #1235
2025-03-06 00:54:31 +08:00
FishmanTheMurloc
939c0a5106
添加了一个开关来控制是否在钓鱼的关键帧上保存截图
2025-03-05 21:32:43 +08:00
FishmanTheMurloc
e634a54913
钓鱼任务添加整个任务的超时参数、昼夜参数
2025-03-04 21:06:16 +08:00
辉鸭蛋
052d8f095a
fix bug
2025-03-02 13:11:46 +08:00
辉鸭蛋
ec9c17209f
Merge remote-tracking branch 'origin/main'
2025-03-02 12:36:01 +08:00
辉鸭蛋
e96214f5c4
新增结束后的操作
2025-03-02 12:35:48 +08:00
秋云
1adad8149b
Fix: Update tp.json configuration and fix _selectedArea update ( #1227 )
...
* fix: new tp.json
* fix: _selectedArea only update when _selecteCountry change.
* fix(config): Change default _shouldMove from true to false
2025-03-02 09:41:31 +08:00
辉鸭蛋
62c4d3e54e
新增检查每日奖励任务
2025-03-02 01:47:44 +08:00
辉鸭蛋
9c55a929ef
调度器清空所有任务添加提示
2025-03-01 23:06:59 +08:00
秋云
62da52d5d8
feat: add configurable HP restoration options at Statue of the Seven ( #1223 )
...
* feat: add configurable HP restoration options at Statue of the Seven
* fix: Create GiTpPosition as subclass of GiWorldPosition
* fix: Update teleport point selection logic in ViewModel
* fix: Change log info
2025-03-01 22:04:16 +08:00
辉鸭蛋
56d0463510
fishing: UI调整与优化
...
1. 实时任务只支持半自动
2. 半自动钓鱼恢复自动提杆的能力
3. UI调整
4. 添加自动钓鱼独立任务快捷键
2025-02-23 20:33:16 +08:00
辉鸭蛋
b63ceaa88a
refactor: duplicated code
2025-02-23 18:21:43 +08:00
辉鸭蛋
2135189bf6
新版本自动钓鱼 @FishmanTheMurloc ( #1176 )
...
* Revert "Revert #1059 "
This reverts commit 4b65370e9f .
* natlan fish model
* 新增调整时间的功能
* test
* Feat/new fishing (#1060 )
* 没有找到鱼饵时不再抛异常而是返回行为失败;细小优化;测试分支是否配置正确
* 恢复半自动钓鱼功能(仅自动拉条);将CheckFishingUserInterface方法添加到行为树,使其直接控制启停;PutRects方法增加筛选,避免画出没有高度的框框导致残留红点在画布上;去掉局部变量_currContent;钓鱼结束不再依据_noRectsCount判断
* 添加一步抛竿后检查,避免往红色靶点抛竿导致失败
* 大家终于炼出了好用的适用纳塔版本的鱼模型;实现注释描述的“选择最多鱼吃的饵料”;添加koihead鱼类,进入抛竿时忽略koi,只看koihead;Fishpond.TargetRect补上空值处理;去掉_switchBaitContinuouslyFrameNum,目前该段代码有时候会导致发呆;钓鱼结束时多等5秒,避免“获得鱼”的提示图被错误地计入下一次抛竿找鱼的预测
* 注释了AutoFishingTrigger中,FishBite和Fishing方法中的一些代码,解除了对CaptureContent.FrameRate的引用以方便开新坑;开了个新坑AutoFishingTask
* 新增全自动钓鱼独立任务的ui界面
* 封装了所有钓鱼行为,消灭了AutoFishingTrigger中大部分私有变量,剩余一些用来在行为之间传递信息的变量被丢到Blackboard中
* 代码清理:删除AutoFishingTrigger中被注释的私有变量;行为树扩展方法移动到单独的文件中
* 封装好的行为都搬家到Behaviours.cs去了;钓鱼独立任务基本完成;Blackboard添加chooseBaitUIOpening字段以避免在选择鱼饵界面时因图标被灰色遮罩而影响图像匹配;抛竿行为添加OnTerminate方法修复合并预抛竿和抛竿行为时产生的bug
* 优化VisionContext框框的代码
* AutoFishingTask加了个转圈圈找鱼的动作
* 钓鱼任务时如果有F键以及确认键,就交互一下进入钓鱼模式
* 添加供js调用的钓鱼任务方法
* 调整视角时也调整游戏角色的朝向;因为错误率较高,抛竿前找鱼时不再对右下角图标进行模板匹配检查
* 把MoveViewpointDown封装成行为了,黑板新增字段pitchReset,改进了流程中调整视角俯仰的部分;钓鱼任务中为了避免人物待机动作吃掉钓鱼F键,ChangeView方法改成始终都按S和W键
* ThrowRod行为删去对鱼群位置的校验,该段校验经常导致发呆;并将该行为更名为GetFishpond
* 对EnterFishingMode行为进行优化并修复bug;钓鱼循环修正
* 将螺旋视角找鱼的行为简化为低头转圈找,以适应路径任务完成时经常无法朝向鱼的情况;按下钓鱼键后等待界面出现时间延长至2秒
* 添加js独立任务调用自动钓鱼
* 新增`fishing`的Action用于触发钓鱼
* AutoFishingTask删去右下角ExitFishingButtonRo的模板匹配校验,因为错误的未识别有点多;添加当前焦点窗口校验
* AutoFishingTask增加设置昼夜功能,在7点和19点各钓一轮
---------
Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com >
---------
Co-authored-by: FishmanTheMurloc <162452111+FishmanTheMurloc@users.noreply.github.com >
2025-02-17 11:36:10 +08:00
辉鸭蛋
bb49feb19e
offline package
2025-02-06 02:38:46 +08:00
起个名字好难
2c59fe70ad
Merge branch 'babalae:main' into main
2025-02-05 00:10:12 +08:00
起个名字好难
184d186c9c
添加企业微信通知
2025-02-04 23:10:58 +08:00