代码拉取完成,页面将自动刷新
import os
import time
def runZhuLongDian():
# 执行一个shell命令
command = "adb devices"
# command = "adb shell am broadcast -a ADB_INPUT_TEXT --es msg '测试 '"
os.system(command)
# 点击地图
#clickArea()
#time.sleep(1)
#clickSearch()
#time.sleep(1)
#inputName("余半仙")
#time.sleep(10)
#goyangning()
#time.sleep(3)
#gokuaisu()
#time.sleep(3)
#qyfw()
#time.sleep(15)
#zidonggongji() #打开自动攻击
#time.sleep(60)
#zidonggongji() #关闭自动攻击
#xz()
#dfyx()
#lws()
#lce()
#sde()
#yy()
#leishen()
jilongtanxunshou()
#wumenggui()
return "执行完成"
# 点击地图
def clickArea():
command = "adb shell input tap 1395 100"
os.system(command)
time.sleep(1)
return "点击了地图"
def zidonggongji():
clickgongji = "adb shell input tap 1320 250"
os.system(clickgongji)
# 点击搜索框
def clickSearch():
search = "adb shell input tap 1320 30"
os.system(search)
time.sleep(1)
command = "adb shell input tap 1130 30"
os.system(command)
time.sleep(1)
return ""
# 点击搜索框
def inputName(text):
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format(text)
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
goYuBanXian = "adb shell input tap 1294 130"
os.system(goYuBanXian)
time.sleep(1)
zidongxunlu = "adb shell input tap 1120 650"
os.system(zidongxunlu)
time.sleep(1)
dianjirenwu = "adb shell input tap 1180 250"
os.system(dianjirenwu)
time.sleep(1)
qianchenmijin = "adb shell input tap 1200 460"
os.system(qianchenmijin)
time.sleep(1)
bashufengyun = "adb shell input tap 1260 280"
os.system(bashufengyun)
# 滑动到最下面
scrollTobottom = "adb shell input swipe 1400 650 1400 100 3000"
os.system(scrollTobottom)
time.sleep(1)
# 点击烛龙殿
dianjizhulongdian = "adb shell input tap 1300 630"
os.system(dianjizhulongdian)
time.sleep(1)
# 点击重置秘境
chongzhimijing = "adb shell input tap 930 550"
os.system(chongzhimijing)
time.sleep(60)
return ""
def goyangning():
# 找杨宁
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("杨宁")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
clickynresult = "adb shell input tap 1150 130"
os.system(clickynresult)
time.sleep(1)
clickynArea = "adb shell input tap 1060 370"
os.system(clickynArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 930 380"
os.system(zidongxunlu)
time.sleep(10)
duihuayangning = "adb shell input tap 1160 250"
os.system(duihuayangning)
time.sleep(1)
gongdadadian = "adb shell input tap 1150 465"
os.system(gongdadadian)
return
def gokuaisu():
# 找地字玖陆伍
clickArea()
inputEnter = "adb shell input tap 1050 350"
os.system(inputEnter)
time.sleep(1)
zidongxunlu = "adb shell input tap 1280 665"
os.system(zidongxunlu)
time.sleep(15)
clicdizinresult = "adb shell input tap 1170 245"
os.system(clicdizinresult)
time.sleep(1)
zhixiangzhandou = "adb shell input tap 1140 390"
os.system(zhixiangzhandou)
time.sleep(1)
# 点击取消地字玖陆伍最后的对话
zidongxunlu = "adb shell input tap 1100 400"
os.system(zidongxunlu)
return
def qyfw():
# 寻找青翼蝠王
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("武逸青")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenwyx = "adb shell input tap 1150 130"
os.system(querenwyx)
time.sleep(1)
wyxArea = "adb shell input tap 1000 370"
os.system(wyxArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 860 390"
os.system(zidongxunlu)
def xz():
# 寻找玄正
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("玄正")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenxz = "adb shell input tap 1150 130"
os.system(querenxz)
xzArea = "adb shell input tap 960 580"
os.system(xzArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 830 600"
os.system(zidongxunlu)
time.sleep(100)
zidonggongji() #打开自动攻击
inputEnter = "adb shell input swipe 300 470 300 570 5000"
os.system(inputEnter)
time.sleep(3)
zidonggongji() # 关闭自动攻击
def dfyx():
# 寻找东方宇轩
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("东方宇轩")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querendfyx = "adb shell input tap 1150 130"
os.system(querendfyx)
dfyxArea = "adb shell input tap 718 567"
os.system(dfyxArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 970 590"
os.system(zidongxunlu)
time.sleep(200)
zidonggongji()
inputEnter = "adb shell input swipe 300 480 200 480 6000"
os.system(inputEnter)
time.sleep(3)
zidonggongji()
def lws():
# 寻找李忘生
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("李忘生")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenlws = "adb shell input tap 1150 130"
os.system(querenlws)
lwsArea = "adb shell input tap 725 178"
os.system(lwsArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 980 200"
os.system(zidongxunlu)
time.sleep(140)
zidonggongji()
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("李忘生")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenlws = "adb shell input tap 1150 130"
os.system(querenlws)
lwsArea = "adb shell input tap 725 178"
os.system(lwsArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 980 200"
os.system(zidongxunlu)
time.sleep(400)
zidonggongji()
def lce():
# 寻找李承恩
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("李承恩")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenlws = "adb shell input tap 1150 130"
os.system(querenlws)
lceArea = "adb shell input tap 994 192"
os.system(lceArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 857 210"
os.system(zidongxunlu)
time.sleep(20)
inputEnter = "adb shell input swipe 480 480 480 680 10000"
os.system(inputEnter)
time.sleep(10)
inputEnter = "adb shell input swipe 300 480 300 280 10000"
os.system(inputEnter)
inputEnter = "adb shell input tap 1178 250"
os.system(inputEnter)
time.sleep(1)
duihuaqueren = "adb shell input tap 1178 455"
os.system(duihuaqueren)
time.sleep(1)
def sde():
# 寻找李承恩
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("索笛尔")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenlws = "adb shell input tap 1150 200"
os.system(querenlws)
sdeArea = "adb shell input tap 915 170"
os.system(sdeArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 780 195"
os.system(zidongxunlu)
zidonggongji()
time.sleep(130)
zidonggongji()
def yy():
# 寻找叶英
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("叶英")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenlws = "adb shell input tap 1150 130"
os.system(querenlws)
sdeArea = "adb shell input tap 900 370"
os.system(sdeArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 776 395"
os.system(zidongxunlu)
time.sleep(200)
zidonggongji()
def leishen():
# 寻找雷神
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("南之雷神")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
querenlws = "adb shell input tap 1150 130"
os.system(querenlws)
sdeArea = "adb shell input tap 850 370"
os.system(sdeArea)
time.sleep(1)
zidongxunlu = "adb shell input tap 1120 395"
os.system(zidongxunlu)
zidonggongji()
time.sleep(60)
zidonggongji()
def jilongtanxunshou():
#开乌蒙贵剧情
clickArea()
dengdaiyeyin = "adb shell input tap 760 368"
os.system(dengdaiyeyin)
time.sleep(1)
xunlunzhengdian = "adb shell input tap 1230 670"
os.system(xunlunzhengdian)
time.sleep(50)
clickArea()
zhengdianxunshou = "adb shell input tap 725 360"
os.system(zhengdianxunshou)
time.sleep(1)
xunlunzhengdian = "adb shell input tap 1230 670"
os.system(xunlunzhengdian)
#time.sleep(50)
#zidonggongji()
#time.sleep(60)
#clickArea()
#clickSearch()
#inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("祭龙潭巡守")
#os.system(inputText)
#time.sleep(1)
#inputEnter = "adb shell input tap 1550 230"
#os.system(inputEnter)
#time.sleep(1)
#querenlws = "adb shell input tap 1150 130"
#os.system(querenlws)
#firstXunshou = "adb shell input tap 660 410"
#os.system(firstXunshou)
#zidongxunlu = "adb shell input tap 900 440"
#os.system(zidongxunlu)
#time.sleep(60)
#zidonggongji() #关闭自动攻击
#secondXunshou = "adb shell input tap 660 325"
#os.system(secondXunshou)
#zidongxunlu = "adb shell input tap 900 340"
#os.system(zidongxunlu)
#time.sleep(30)
#zidonggongji() #打开自动攻击
#time.sleep(3)
#zidonggongji() #关闭自动攻击
def wumenggui():
clickArea()
clickSearch()
inputText = 'adb shell am broadcast -a ADB_INPUT_TEXT --es msg {}'.format("乌蒙贵")
os.system(inputText)
time.sleep(1)
inputEnter = "adb shell input tap 1550 230"
os.system(inputEnter)
time.sleep(1)
xuanzhongwmg = "adb shell input tap 1150 245"
os.system(xuanzhongwmg)
querenwmg = "adb shell input tap 575 367"
os.system(querenwmg)
zidongxunlu = "adb shell input tap 830 385"
os.system(zidongxunlu)
xunzhaomasuo = "adb shell input swipe 300 480 200 480 2000"
zidonggongji()
time.sleep(2)
zidonggongji()
xiakegensui = "adb shell input tap 115 544" #侠客跟随
time.sleep(60)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。