Lycan1003

Results 1 comments of Lycan1003

@qilishidai 优化了一下您的修改,注释原有的`def start_fishing`函数,复制以下代码替换就ok了 1、现在只需要抛竿后,按r就行了,不需要等待鱼上钩,剩下的步骤可以自动进行。钓上后等待系统蜂鸣器响后再次抛竿按r,重复下去即可实现半自动钓鱼。 2、一般来说,上钩后200个step内一定能钓上,所以直接设置max_step=200 3、由于是手动抛竿,所以就不用考虑抛竿位置不对,鱼长时间不上钩的问题,所以调整bite_timeout=300 4、如果遇到IndexError: list index out of range的bug,可以参考https://github.com/7eu7d7/genshin_auto_fish/pull/145/commits/3e24afadd7dd60be19f58399eb027a47644fcd41 进行修复 ``` def start_fishing(predictor, agent, bite_timeout=300): ff = FishFind(predictor) env = Fishing(delay=0.1, max_step=200, show_det=False) # winsound.Beep(500, 500) #...