yuanninesuns/AutoHS

{求助}每次对战结束后就卡在结束的界面是什么情况,不再继续之后的脚本工作了

Opened this issue · 5 comments

我也有这个问题,不过我看源代码有关于时间的设定:

if FSM_state=="Quitting Battle" and ((datetime.now().hour>=12) or (datetime.now().hour<=6)):
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            system_exit()
            #sys.exit(0)

应该是打一把之后检测到这个时间限制了,于是就结束了
所以可以删去或者修改and ((datetime.now().hour>=12) or (datetime.now().hour<=6))这部分来变更时间限制

我也有这个问题,不过我看源代码有关于时间的设定:

if FSM_state=="Quitting Battle" and ((datetime.now().hour>=12) or (datetime.now().hour<=6)):
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            system_exit()
            #sys.exit(0)

应该是打一把之后检测到这个时间限制了,于是就结束了 所以可以删去或者修改and ((datetime.now().hour>=12) or (datetime.now().hour<=6))这部分来变更时间限制

最后你的问题靠删除时间的设定解决了吗

我也遇到了这种情况,可以通过在程序结束后加loop解决,我加了两次,目前没有出过问题,已经猛猛刷了1500金,可以的话我可以把那几个修改的地方上传一下,你们拿去替换就好了

我也有这个问题,不过我看源代码有关于时间的设定:

if FSM_state=="Quitting Battle" and ((datetime.now().hour>=12) or (datetime.now().hour<=6)):
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            print("555555555555555555555555555555555555555555555555555555555555555")
            system_exit()
            #sys.exit(0)

应该是打一把之后检测到这个时间限制了,于是就结束了 所以可以删去或者修改and ((datetime.now().hour>=12) or (datetime.now().hour<=6))这部分来变更时间限制

最后你的问题靠删除时间的设定解决了吗

我在使用中测试,能够解决该问题