为编程爱好者分享易语言教程源码的资源网
好用的代理IP,游戏必备 ____广告位招租____ 服务器99/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器
好用的代理IP,游戏必备 ____广告位招租____ 服务器低至38/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器

网站首页 > 脚本专栏 > 按键精灵相关 > 按键精灵Q语言 正文

按键精灵抗战种地脚本源码

三叶资源网 2019-03-13 11:05:12 按键精灵Q语言 1420 ℃ 0 评论

脚本附件:2.bmp, 4.bmp, 3.bmp, 5.bmp, 00.bmp, 1.bmp, 6.bmp

运行环境:分辨率:1024x768 色深:32位 操作系统:Microsoft Windows Server 2003 R2 按键精灵版本:7.31.6258

@ice8285336 2010/5/27

IfColor 267,133,111111,0  
    Gosub 种地过程  
Else   
EndIf   
IfColor 725,195,ffffff,0  
    Goto 开始  
Else   
    Gosub 种地  
EndIf   
Sub 种地  
    VBSCall FindPic(0,0,1024,768,"Attachment:\00.bmp",0.9,intX,intY)  
    If intX>0 and intY>0  
        MoveTo intX,intY  
        Gosub 找地  
    Else   
    EndIf   
Return 种地  
Sub 找地  
    LeftClick 1  
    Delay 500  
    Gosub 播种  
Return 找地  
Sub 播种  
    VBSCall FindPic(0,0,1024,768,"Attachment:\6.bmp",0.9,intX,intY)  
    If intX>0 and intY>0  
        MoveTo 230,210  
        Delay 200  
        LeftClick 1  
        Delay 200  
        MoveTo 309,184  
        Delay 200  
        LeftClick 1  
    Else   
    EndIf   
Return 播种  
Sub 种地过程  
    VBSCall FindPic(0,0,1024,768,"Attachment:\4.bmp",0.9,intX,intY)  
    If intX>0 and intY>0  
        Gosub 施肥  
    Else   
    EndIf   
    VBSCall FindPic(0,0,1024,768,"Attachment:\2.bmp",0.9,intX,intY)  
    If intX>0 and intY>0  
        Gosub 锄草  
    Else   
    EndIf   
    VBSCall FindPic(0,0,1024,768,"Attachment:\5.bmp",0.9,intX,intY)  
    If intX>0 and intY>0  
        Gosub 收获  
    Else   
    EndIf   
    VBSCall FindPic(0,0,1024,768,"Attachment:\1.bmp",0.9,intX,intY)  
    If intX>0 and intY>0  
        Gosub 杀虫  
    Else   
    EndIf   
    VBSCall FindPic(0,0,1024,768,"Attachment:\3.bmp",0.9,intX,intY)  
    If intX>0 and intY>0  
        Gosub 缺水  
    Else   
    EndIf   
Return 种地过程  
Sub 施肥  
    MoveTo 231,359  
    LeftClick 1  
Return 施肥  
Sub 锄草  
    MoveTo 230,329  
    LeftClick 1  
Return 锄草  
Sub 收获  
    MoveTo 230,243  
    LeftClick 1  
Return 收获  
Sub 杀虫  
    MoveTo 233,299  
    LeftClick 1  
Return 杀虫  
Sub 缺水  
    MoveTo 232,269  
    LeftClick 1  
Return 缺水


来源:三叶资源网,欢迎分享,公众号:iisanye,(三叶资源网⑤群:21414575

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

百度站内搜索
关注微信公众号
三叶资源网⑤群:三叶资源网⑤群

网站分类
随机tag
自动更新源码时时彩二星缩水软件链接解析Websocket服务器ckplayer示例加载皮肤MP3播放器命令行卸载node易语言寻路换行符源码精易模块源码圆形图像旋转百度识图源码动态调用汇编火山调用jar树形框项目切换套接字目录枚举RapidJSON矩阵应用
最新评论