返回列表 回复 发帖

[求助] 大家给我看一下,这个脚本

Rem 神医
PutAttachment .\plugin *.dll
//6.30版之后支持从.附件中直接读图片信息找图,不需要再释放到硬盘上
VBSCall Call FindPic(0,50,1023,767,"Attachment:\sy.bmp",0.9,intX,intY)
If intX>=0 and intY>=0
    VBSCall Call SetCursorPos(intX,intY)
    intX=intX+130
    intY=intY+50
    MoveTo intX,intY
    Delay 500
    LeftClick 1
    Delay 5000
    VBSCall Call FindPic(0,50,1023,767,"Attachment:\sy.bmp",0.9,intX,intY)
    If intX>=0 and intY>=0
        Gosub 小退
    Else
        IfColor 723,98,f9ff00,0
        Else
            KeyDown 18,1
            Delay 200
            KeyPress 87,1
            Delay 200
            KeyUp 18,1
        EndIf
    EndIf
EndIf
If intX=-1 and intY=-1
EndIf
Sub 小退
    //小退内容如果开始为自动打怪状态,先终止自动打怪然后小退
    IfColor 723,98,f9ff00,0
        KeyDown 18,1
        Delay 200
        KeyPress 87,1
        Delay 200
        KeyUp 18,1
    Else
    EndIf
    Delay 2000
    KeyPress 27,1
    Delay 200
    MoveTo 554,396
    LeftClick 1
    Delay 5500
    MoveTo 528,580
    LeftClick 1
    Delay 200
    MoveTo 846,196
    LeftClick 1
    Delay 200
    MoveTo 417,269
    RightClick 1
    Delay 5500
    MoveTo 846,196
    LeftClick 1
    Delay 1000
    //进入游戏后自动打怪开始
    IfColor 723,98,f9ff00,0
    Else
        KeyDown 18,1
        Delay 200
        KeyPress 87,1
        Delay 200
        KeyUp 18,1
    EndIf
    Goto 神医
Return 小退
这是自由幻想的验证神医脚本,原理是抓图,然后点击第一个答案,如果没有点对则自动退出重进,可是不知道为什么,调试时,进入自由幻想就退出了,不知道为什么,请各位指教一下,谢谢了
  想问一下楼主~脚本具体怎么用啊~
这个脚本还不能用,我测试时老是自己小退,不知道怎么搞的,等搞好了我在发一遍
应该是顺序有点乱
怎么用这些代码的啊 用什么软件的啊 ~~~~~
返回列表