













def wait_until_room_ready(wait_sec=50): for i in range(wait_sec): pyautogui.click(686,575)#shengji tongzhi pix = pyautogui.pixel(*pop_consts.UI_POS_ROOM_READY) if pix==pop_consts.UI_POS_ROOM_READY_COLOR: print('play is ready') return True time.sleep(1) return False def auto_start(running_sec=120): if not wait_until_room_ready(): print('room is not ready, return') return False mykb.press(SC_F5) print('start running, hold up') time.sleep(running_sec) print('checking result') return wait_until_rush_finish() if __name__ == "__main__": time.sleep(5) # Time to switch to the game window #runLvZhou_blind() for i in range(10): auto_start()
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。