FishmanTheMurloc
|
939c0a5106
|
添加了一个开关来控制是否在钓鱼的关键帧上保存截图
|
2025-03-05 21:32:43 +08:00 |
|
FishmanTheMurloc
|
e634a54913
|
钓鱼任务添加整个任务的超时参数、昼夜参数
|
2025-03-04 21:06:16 +08:00 |
|
辉鸭蛋
|
b63ceaa88a
|
refactor: duplicated code
|
2025-02-23 18:21:43 +08:00 |
|
Ayu0K
|
7abd066b15
|
feat: 全局按键映射支持 (#1159)
* 更改了按键绑定UI的相关文本,增加通用设置项“启用全局按键映射”
* 全局改键功能实现
|
2025-02-17 22:02:39 +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 |
|
Houning_YA
|
3053e1aeb3
|
支持鼠标虚拟键代码 (#1124)
|
2025-02-08 20:42:38 +08:00 |
|
zjl
|
1a0d61ac94
|
路径追踪增加 允许在jsScript脚本中启用此路径追踪配置、覆盖JS中的自动战斗配置 。默认为否,开启后可以使JS脚本中的路径追踪和自动战斗,使用该调度器所配置的参数运行
|
2025-01-16 23:53:17 +08:00 |
|
mfkvfhpdx
|
81a7518f72
|
暂停后按下的键会释放,增加战斗检查偏色配置,由于跟队伍无关,只在独立任务,自动战斗处设置。
|
2024-12-28 17:12:47 +08:00 |
|
辉鸭蛋
|
2383761b5d
|
more js methods to expose
|
2024-12-01 16:43:42 +08:00 |
|
辉鸭蛋
|
9c9bd7d138
|
js: extend click time
修改了 `GlobalMethod` 类中的 `Click` 方法,现在调用 `LeftButtonClick` 方法而不是 `Simulation.SendInput.Mouse.LeftButtonClick`。
修改了 `GlobalMethod` 类中的 `LeftButtonClick` 方法,现在使用 `Simulation.SendInput.Mouse.LeftButtonDown().Sleep(60).LeftButtonUp()` 代替 `Simulation.SendInput.Mouse.LeftButtonClick`。
修改了 `GlobalMethod` 类中的 `RightButtonClick` 方法,现在使用 `Simulation.SendInput.Mouse.RightButtonDown().Sleep(60).RightButtonUp()` 代替 `Simulation.SendInput.Mouse.RightButtonClick`。
|
2024-11-05 22:00:16 +08:00 |
|
辉鸭蛋
|
2545581807
|
new pathing config
|
2024-11-02 19:49:38 +08:00 |
|
辉鸭蛋
|
4725af5491
|
impl js run task
|
2024-11-01 21:37:44 +08:00 |
|
辉鸭蛋
|
11ec9bc45d
|
refactor: CancellationTokenSource -> CancellationToken
|
2024-10-19 01:50:21 +08:00 |
|
辉鸭蛋
|
c4a7823c83
|
fix js pathingScript
|
2024-10-13 22:58:42 +08:00 |
|
辉鸭蛋
|
bb18350457
|
fix mouse move for js
|
2024-10-11 03:12:38 +08:00 |
|
辉鸭蛋
|
876a833590
|
fix: js script bug
|
2024-10-04 19:04:32 +08:00 |
|
辉鸭蛋
|
389dac879b
|
js: add CaptureGameRegion
|
2024-10-03 16:24:56 +08:00 |
|
辉鸭蛋
|
8b6351cbd6
|
update: simulator for js
|
2024-10-03 00:40:07 +08:00 |
|
辉鸭蛋
|
ca126e0d66
|
js: +func
|
2024-10-02 19:20:25 +08:00 |
|
辉鸭蛋
|
6c0b293328
|
js: add solo task
|
2024-10-01 21:34:33 +08:00 |
|
辉鸭蛋
|
8de5bcf987
|
auto pick: ForceInteraction
|
2024-10-01 20:10:46 +08:00 |
|
辉鸭蛋
|
8bb1d728ff
|
refactor: solo task
|
2024-09-22 23:56:39 +08:00 |
|
辉鸭蛋
|
7c1febf307
|
add pathing ui
|
2024-09-01 20:15:47 +08:00 |
|
辉鸭蛋
|
461b0b00d1
|
add JS script dynamic settings
|
2024-08-24 02:13:46 +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
|
49bc6befb7
|
add script support
|
2024-08-14 14:00:56 +08:00 |
|
lwh9346
|
f61a7c32d4
|
add basic code for auto pathing
|
2024-08-14 00:36:57 +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 |
|
辉鸭蛋
|
a7153a47f6
|
auto crystalfly init
|
2024-08-11 02:32:00 +08:00 |
|
辉鸭蛋
|
308d398036
|
script group ui
|
2024-08-10 13:37:29 +08:00 |
|
辉鸭蛋
|
c1072d0574
|
script: support running macros
|
2024-08-07 01:07:58 +08:00 |
|
辉鸭蛋
|
4610c9e7ca
|
add script engine
|
2024-08-03 19:41:48 +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 |
|