Commit Graph

28 Commits

Author SHA1 Message Date
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
辉鸭蛋
c63439bb29 fix #1131 2025-03-06 00:35:52 +08:00
Ayu0K
68d6cb18ef mod: 替换为使用扩展方法,不直接调用SimulateKeyHelper 2025-01-06 22:55:07 +08:00
Ayu0K
6d430429f7 add: 为GIActions扩展转换为KeyId的方法 2025-01-06 22:55:07 +08:00
Ayu0K
19558c9c53 add&mod: 将SimulateAction改为扩展方法,不再继承PostMessageSimulator和InputSimulatorExtension;对于部分不支持的按键和功能(如PostMessageSimulator中的鼠标侧键)予以忽略处理 2025-01-06 22:55:07 +08:00
Ayu0K
b183762df7 行尾字符标准化 2025-01-06 22:55:07 +08:00
Ayu0K
daf2b3d1ba add: 添加Simulation2用于根据需要的操作进行按键 2025-01-06 22:55:07 +08:00
辉鸭蛋
3c393087eb auto music opt 2025-01-01 19:34:39 +08:00
qhy040404
c490d29aa1 code cleanup 2024-08-14 18:01:02 +08:00
辉鸭蛋
cfe963dcae auto skip: backgroud click 2024-06-01 18:09:34 +08:00
辉鸭蛋
95757a5ed6 test PostMessage 2024-05-26 19:14:44 +08:00
ema
9378a134bd remove: package H.InputSimulator #154 2024-05-12 05:16:27 +08:00
辉鸭蛋
5797c716dc auto music game 2024-05-08 01:59:30 +08:00
辉鸭蛋
22ea2c2576 clean up code by ReSharper and CodeMaid [\Core] 2024-03-10 12:55:11 +08:00
huiyadanli
4b5b8f9b88 more combat script 2024-01-14 21:30:54 +08:00
huiyadanli
954fea6bbe optimize domain tree pathfinding #203 2024-01-13 16:24:13 +08:00
huiyadanli
87df7297e1 support Neuvillette charge and more command 2024-01-07 16:46:16 +08:00
huiyadanli
1c4c884096 finsh auto combat 2023-12-31 17:39:42 +08:00
huiyadanli
e2360ca2bd switch avatar 2023-12-31 14:37:44 +08:00
huiyadanli
7965dd15e5 walk to start domain 2023-12-27 00:05:33 +08:00
ema
c9b890536f fix override controller settings for auto wood #98 2023-12-11 05:07:16 +08:00
huiyadanli
030851ba3d add TurnAroundMacro and QuickEnhanceArtifactMacro 2023-10-14 18:11:40 +08:00
huiyadanli
b4d1942b99 optimize GC 2023-10-13 23:26:59 +08:00
huiyadanli
cfd03833ab add task page 2023-10-12 00:15:36 +08:00
huiyadanli
c3f0c85f43 Add script 2023-10-04 18:01:58 +08:00
huiyadanli
bbd8ed5067 refactor: use Fischless 2023-10-02 18:00:14 +08:00
huiyadanli
cbaf1afdfc refactor: Identification Method Replacement and Packaging 2023-10-02 15:07:28 +08:00
huiyadanli
8bc4237b32 refactor: Add RectArea 2023-10-01 00:27:43 +08:00