易水之畔 自动刷冒险任务 刷金币 安卓模拟器 手机助手

 

下载个按键精灵手机助手

下载一个 蓝叠安卓模拟器

 

脚本下载

https://files.cnblogs.com/files/xe2011/yszbsjzs.rar

 

'易水之畔 大师难度 每次+33个金币 +88经验 大概2分钟刷完一次,金币刷完了仍然会有经验
'点冒险模式,点挑战,灭国的战场,易水之畔 大师难度,下一步

1 模拟器设置好后,分辨率 800 * 600

2 选好角色,

3 连接模拟器

4 点击调试

当金币刷完后脚本 自动停止

 

模拟器 分辨率真 设置为 800*600

 

 

Import "Xml.lua"


'手机屏幕 800 * 600
Dim rl,rt,rw,rh,screenX,screenY,intX,intY

rl = 0
rt = 0
rw = GetScreenX()
rh = GetScreenY()


Dim count

count = 0
 

KeepScreen True

 
Do
    '---------------------------------------------------
    
    '拒绝好友组队
    
    '挑战结束收益为0
    FindPic rl,rt,rw,rh,"Attachment:end.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 挑战结束收益为0"
        Delay 5000
        ShowMessage "金币已达上限 脚本停止"
        Delay 5000
        EndScript
        'Tap 36 + intX, 14 + intY
    End If
    
    '呵护双眼 请您 休息一下
    FindPic rl,rt,rw,rh,"Attachment:eyerest.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "呵护双眼 请您 休息一下 单击 确定"
        Delay 1000
        Tap 33 + intX, 17 + intY
    End If

    '与服务器连接丢失,将重新与服务器建立连接
    FindPic rl,rt,rw,rh,"Attachment:ok.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "与服务器连接丢失,将重新与服务器建立连接"
        Delay 2000
        Tap 53 + intX, 22 + intY
    End If    
    '---------------------------------------------------
    
    
    '1 单击 王者荣耀 游戏图标  !!!游戏一旦退出就和模拟器断开了
    FindPic rl,rt,rw,rh,"Attachment:startGame.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "打开 王者荣耀"
        Delay 2000
        Tap 20 + intX, 20 + intY
        
        ShowMessage "等待游戏加载..."
        Delay 1000*20
    End If
    
    '2 单击开始游戏按钮
    FindPic rl,rt,rw,rh,"Attachment:loadbtn.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击开始游戏按钮"
        Delay 2000
        Tap 50 + intX, 20 + intY
        
        ShowMessage "等待游戏加载..."
        Delay 1000*20
    End If
    
    '3 关闭广告 共4个
    FindPic rl,rt,rw,rh,"Attachment:addx.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "关闭广告X"
        Delay 2000
        Tap 19 + intX, 23 + intY
        
        Delay 2000
    End If
    '日常
    FindPic rl,rt,rw,rh,"Attachment:x2.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "关闭广告X"
        Delay 2000
        Tap 21 + intX, 23 + intY
        
        Delay 2000
    End If
    
    '3 单击冒险模式
    FindPic rl,rt,rw,rh,"Attachment:maoxian.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 冒险模式"
        Delay 2000
        Tap 48 + intX, 18 + intY
    End If    
    
    '3 单击 最高:堕落的祸源
    FindPic rl,rt,rw,rh,"Attachment:duoluo.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 最高:堕落的祸源"
        Delay 2000
        Tap 50 + intX, 20 + intY
    End If        
    
    '4 单击灭国的战场
    FindPic rl,rt,rw,rh,"Attachment:mg.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 灭国的战场"
        Delay 2000
        Tap 51 + intX, 21 + intY
    End If
    
     '5 单击 易水之畔
    FindPic rl,rt,rw,rh,"Attachment:yszb.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 易水之畔"
        Delay 1000
        Tap 51 + intX, 21 + intY
    End If   
    
    
    
    '---------------------------------------------------
    '---------------------------------------------------
    '---------------------------------------------------
    '单击下一步1
    FindPic rl,rt,rw,rh,"Attachment:next.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 下一步"
        Delay 1000
        Tap 40 + intX, 20 + intY
        
    End If

    
    '闯关2
    FindPic rl,rt,rw,rh,"Attachment:chuanguan.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 闯关"
        Delay 2000
        Tap 38 + intX, 16 + intY
        
    End If

    '自动3
    FindPic rl,rt,rw,rh,"Attachment:zhidong.png","000000",0,0.6,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 自动"
        Delay 2000
        Tap 9 + intX, 9 + intY
        
    End If

    '点击屏幕继续4
    FindPic rl,rt,rw,rh,"Attachment:jixu.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 点击屏幕继续"
        Delay 1000
        Tap 64 + intX, 13 + intY
    End If

    '再次挑战5
    FindPic rl,rt,rw,rh,"Attachment:zctz.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
       
        Delay 2000
        Tap 50 + intX, 15 + intY
         ShowMessage "单击 再次挑战"
         Delay 4000
        
        count = count + 1
        ShowMessage "刷关卡次数:" & count & ""
        TracePrint "刷关卡次数:" & count & ""
        If count * 33 > 3900 Then 
            ShowMessage "金币已达上限 脚本停止"
            TracePrint "金币已达上限 脚本停止"

            EndScript
        End If
    End If
    
    '跳过6
    FindPic rl,rt,rw,rh,"Attachment:tg.png","000000",0,0.9,intX,intY
    If intX > -1 And intY > -1 Then
        ShowMessage "单击 跳过"
        Delay 1000
        Tap 35 + intX, 11 + intY
    End If
Loop
脚本

 

posted @ 2017-12-13 20:17 XE2011 阅读(...) 评论(...) 编辑 收藏