Пример #1
0
def A(n):
    if n < 0:
        return
    lockA.acquire()
    chushi()
    str = 'nongsuode'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(1)
    str = 'yj'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 11000 < a <= 110000:
        denter()
        print("浓缩的异界精华", a)
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(2)
        directkeys.esc()
        time.sleep(3)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(2)

    time.sleep(1)
    lockB.release()
    time.sleep(1)
    A(n - 1)
Пример #2
0
def C(n):
    if n < 0:
        return
    lockC.acquire()
    chushi()
    str = 'qiangliezhi'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(1)
    str = 'henji'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 17000 < a <= 170000:
        print("强烈之痕", a)
        denter()
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)

    time.sleep(3)
    lockD.release()
    time.sleep(1)
    C(n - 1)
Пример #3
0
def B(n):
    if n < 0:
        return
    lockB.acquire()
    chushi()
    str = 'xingkong'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(1)
    str = 'shenyuan'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 9000 < a <= 90000:
        print("星空原石", a)
        denter()
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(2)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(2)
    time.sleep(3)
    lockC.release()
    time.sleep(1)
    B(n - 1)
Пример #4
0
def F(n):
    if n < 0:
        return
    lockF.acquire()
    chushi()
    str = 'shangji'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    str = 'yuansu'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 40 < a <= 380:
        print("上级元素", a)
        denter()
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    time.sleep(3)
    lockG.release()
    time.sleep(1)
    F(n - 1)
Пример #5
0
def I(n):
    if n < 0:
        return
    lockI.acquire()
    chushi()
    str = 'danshengzhiy'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 90 < a <= 900:
        print("诞生之芽", a)
        denter()
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    time.sleep(3)
    lockJ.release()
    time.sleep(1)
    I(n - 1)
Пример #6
0
def H(n):
    if n < 0:
        return
    lockH.acquire()
    chushi()
    str = 'moshas'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 60 < a <= 450:
        print("魔刹石", a)
        denter()
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    time.sleep(3)
    lockI.release()
    time.sleep(1)
    H(n - 1)
Пример #7
0
def G(n):
    if n < 0:
        return
    lockG.acquire()
    chushi()
    str = 'shujuxinp'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 90 < a <= 900:
        print("数据芯片", a)
        denter()
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    time.sleep(3)
    lockH.release()
    time.sleep(1)
    G(n - 1)
Пример #8
0
def D(n):
    if n < 0:
        return
    lockD.acquire()
    chushi()
    str = 'maodun'
    time.sleep(0.1)
    input.key_autinput(str)
    time.sleep(1)
    directkeys.space()
    time.sleep(2)
    directkeys.enter()
    time_start = time.time()
    time.sleep(0.01)
    mouse.first()
    time.sleep(0.01)
    a = search.number()
    time.sleep(0.01)
    mouse.second()
    time.sleep(0.01)
    if 10000 < a <= 100000:
        print("矛盾", a)
        denter()
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    else:
        time_end = time.time()
        print(time_end - time_start)
        time.sleep(1)
        directkeys.esc()
        time.sleep(3)
    time.sleep(3)
    lockE.release()
    time.sleep(1)
    D(n - 1)
Пример #9
0
 input.key_autinput(str)
 time.sleep(1)
 directkeys.space()
 # time.sleep(1)
 # str = 'henji'
 # time.sleep(0.1)
 # input.key_autinput(str)
 # time.sleep(1)
 # directkeys.space()
 time.sleep(2)
 directkeys.enter()
 time_start =time.time()
 time.sleep(0.01)
 mouse.first()
 time.sleep(0.01)
 a=search.number()
 print(a)
 mouse.second()
 time.sleep(0.01)
 if 40 < a <=170000:
     denter()
     time_end = time.time()
     print(time_end-time_start)
     time.sleep(3)
     directkeys.esc()
     time.sleep(3)
 else:
     time_end = time.time()
     print(time_end - time_start)
     time.sleep(3)
     directkeys.esc()