- FindPic hyzdx,hyzdy+5,1366,768,"Attachment:\砸蛋标志.bmp",0.6,hyzdx,hyzdy //以上次的坐标为远点检测标志
- 如果表达式 (hyzdX > 0 And hyzdy > 0 Then //有,进入) 为真,则
- 鼠标移到 hyzdx , hyzdy
- 延时500 //点击延时毫秒
- 左键单击
- 延时1000 //网络延时毫秒
- Call ksq() //跳转到子程序开始敲蛋
- 否则如果(hyzdx < 0 and hyzdy < 0 Then)为真,则
- 跳转到标记 f
- End If
- end if
- 如果表达式 (var1 = 0 Then //用户允许敲蛋) 为真,则
- 延时1000 //循环延时毫秒
- FindPic hyzdx,hyzdy+5,1366,768,"Attachment:\砸蛋标志.bmp",0.6,hyzdx,hyzdy //以上次的坐标为远点检测标志
- 如果表达式 (hyzdX > 0 And hyzdy > 0 Then //有,进入) 为真,则
- 鼠标移到 hyzdx , hyzdy
- 延时500 //点击延时毫秒
- 左键单击
- 延时1000 //网络延时毫秒
- Call ksq() //跳转到子程序开始敲蛋
- 否则如果(hyzdx < 0 and hyzdy < 0 Then)为真,则
- 跳转到标记 f
- End If
- end if
- 如果表达式 (var1 = 0 Then //用户允许敲蛋) 为真,则
- 延时1000 //循环延时毫秒
- FindPic hyzdx,hyzdy+5,1366,768,"Attachment:\砸蛋标志.bmp",0.6,hyzdx,hyzdy //以上次的坐标为远点检测标志
- 如果表达式 (hyzdX > 0 And hyzdy > 0 Then //有,进入) 为真,则
- 鼠标移到 hyzdx , hyzdy
- 延时500 //点击延时毫秒
- 左键单击
- 延时1000 //网络延时毫秒
- Call ksq() //跳转到子程序开始敲蛋
- 否则如果(hyzdx < 0 and hyzdy < 0 Then)为真,则
- 跳转到标记 f
- End If
- end if
- 如果表达式 (var1 = 0 Then //用户允许敲蛋) 为真,则
- 延时1000 //循环延时毫秒
- FindPic hyzdx,hyzdy+5,1366,768,"Attachment:\砸蛋标志.bmp",0.6,hyzdx,hyzdy //以上次的坐标为远点检测标志
- 如果表达式 (hyzdX > 0 And hyzdy > 0 Then //有,进入) 为真,则
- 鼠标移到 hyzdx , hyzdy
- 延时500 //点击延时毫秒
- 左键单击
- 延时1000 //网络延时毫秒
- Call ksq() //跳转到子程序开始敲蛋
- 否则如果(hyzdx < 0 and hyzdy < 0 Then)为真,则
- 跳转到标记 f
- End If
- end if
- 如果表达式 (var1 = 0 Then //用户允许敲蛋) 为真,则
- 延时1000 //循环延时毫秒
- FindPic hyzdx,hyzdy+5,1366,768,"Attachment:\砸蛋标志.bmp",0.6,hyzdx,hyzdy //以上次的坐标为远点检测标志
- 如果表达式 (hyzdX > 0 And hyzdy > 0 Then //有,进入) 为真,则
- 鼠标移到 hyzdx , hyzdy
- 延时500 //点击延时毫秒
- 左键单击
- 延时1000 //网络延时毫秒
- Call ksq() //跳转到子程序开始敲蛋
- 否则如果(hyzdx < 0 and hyzdy < 0 Then)为真,则
- 跳转到标记 f
- End If
- end if
- //------------------是否进入下一页判断----------------
- 标记 f
- 如果表达式 (var5 > w Then) 为真,则
- 如果表达式 (i > 0 and S < 2 Then) 为真,则
- 跳转到标记 a
- 否则如果(i = 0 and s >= 2 Then)为真,则
- 鼠标移到 1000 , 700
- 延时1000毫秒
- Call xyy()
- End If
- 否则
- Call Plugin.Msg.Tips("用户设置偷好友资源页数已到") //用户提示
- Call jss()
- End If
- End If
- End If
- 子程序 hqjd() //子程序-收获鸡蛋(自己农场)
- 延时300毫秒
- Call Plugin.Msg.Tips("开始收获鸡蛋") //用户提示
- FindPic 0,0,1366,768,"Attachment:\jidansh.bmp",0.7,jdsX,jdsY
- 如果表达式 (jdsX > 0 And jdsY > 0 Then) 为真,则
- 鼠标移到 jdsx , jdsy
- 延时200毫秒
- 左键单击
- Call Plugin.Msg.Tips("收获鸡蛋成功")//用户提示
- 否则
- Call Plugin.Msg.Tips("没鸡蛋可收获") //用户提示
- End If
- End Sub
- End Sub
- 子程序 js() //子程序-浇水
- 延时500 //延时执行子程序毫秒
- Call Plugin.Msg.Tips("开始浇水") //用户提示
- FindPic 0,0,1366,768,"Attachment:\点浇水.bmp",0.6,jsx,jsy //判断是否需要浇水
- 如果表达式 (jsx > 0 And jsy > 0 Then //发现目标) 为真,则
- 鼠标移到 jsx+1 , jsy+1
- 延时200//浇水延时毫秒