예제 #1
0
def long1_move():
    open_ditu()

    quyu_click(650, 430, 1458, 803)
    delay_sleep()
    sleep(1)

    quyu_click(1619, 66, 1658, 78)
예제 #2
0
def huaguoshan_move():
    new_sleep()
    open_ditu()

    quyu_click(742, 352, 1391, 846)
    delay_sleep()
    sleep(1)

    quyu_click(1575, 123, 1609, 136)

    new_sleep()
예제 #3
0
def huaguoshan_move():
    open_ditu()
    sleep(1)
    quyu_click(742, 352, 1391, 846)
    delay_sleep()
    sleep(1)

    # 判断地图是否打开着
    jiepin2()
    sleep(1)
    ditu_open = matchImg('home.jpg', './map_cunzai.jpg', 0.85)
    # print(zhandou)

    if (ditu_open[0]) > 0:
        #关闭地图
        quyu_click(1549, 121, 1609, 136)

    new_sleep()
예제 #4
0
def long3_move():
    open_ditu()
    sleep(1)
    quyu_click(391, 311, 1462, 842)
    delay_sleep()
    sleep(1)

    quyu_click(1619, 66, 1658, 78)
    # # 判断地图是否打开着 #~ 3,26注释掉, 直接点关闭地图的地方,不用判断地图是否打开
    # jiepin2()
    # sleep(1)
    # ditu_open = matchImg('saota_home.jpg','./map_cunzai.jpg',0.85)
    # # print(zhandou)

    # if(ditu_open[0])>0:
    #     #关闭地图
    #     quyu_click(1619,66,1658,78)

    new_sleep()
예제 #5
0
def beiju_move():
    open_ditu()
    sleep(1)
    quyu_click(677, 286, 1451, 880)

    delay_sleep()
    sleep(1)

    # 判断地图是否打开着
    jiepin2()
    sleep(1)
    ditu_open = matchImg('saota_home.jpg', './map_cunzai.jpg', 0.85)
    # print(zhandou)

    if (ditu_open[0]) > 0:
        #关闭地图
        # quyu_click(1549,121,1609,136)
        quyu_click(1560, 116, 1605, 157)

    new_sleep()
예제 #6
0
def T5_move():
    open_ditu()

    quyu_click(401, 320, 1498, 790)
    delay_sleep()
    sleep(1)