代码拉取完成,页面将自动刷新
import sys
import time
from libs.action import WebDriverAction
from libs.game import Game
from libs.image import ImageTool
from libs.log import Log
from libs.movement import Movement
from libs.scheduler_v2 import SchedulerV2
from libs.task_helper import TaskHelper
from libs.trade_helper import TradeHelper
from libs.window import AdsWindow
from silk_slug_3450 import make_rope
# scheduler = SchedulerV2()
# task_id = scheduler.get_task_id(1, 'silk_slug_3450')
# last_finish_tiem = scheduler.get_last_finish_time(task_id)
# print(last_finish_tiem)
# for user_id in [
# 4, 8, 11 ,12 ,13, 14, 15, 16, 21, 22, 23, 24, 25, 26, 27, 28, 29
# , 138, 101
# ]:
# TaskHelper(user_id).silk_slug(2783)
# for user_id in [
# 1, 2, 3
# ]:
# TaskHelper(user_id).silk_slug(3450)
#
TaskHelper(105).add_task('collect.py', 0, False, False)
TaskHelper(101).add_task('collect.py', 0, False, False)
sys.exit()
# print(SchedulerV2().list_running_windows())
# sys.exit()
user_id = 13
log = Log(user_id)
driver = AdsWindow(user_id).open(False)
game = Game(driver, user_id)
action = WebDriverAction(driver)
movement = Movement(driver)
image_tool = ImageTool(driver)
trade_helper = TradeHelper(driver, user_id)
game.enter_game()
tex_loc = action.goto_textile_station()
make_rope(tex_loc)
sys.exit()
# accounts = config.get_accounts()
#
# for user_id in accounts:
# if config.is_vip(user_id):
# TaskHelper(user_id).stone()
# TaskHelper(user_id).wine()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。