远征日服·信喵之野望 按键精灵脚本6.高级自动抽吉

由于每天登陆,游戏送了很多吉签,每个号200个起步,这个程序实现了自动抽签

Text = Plugin.File.ReadFileEx("F:\id.txt")
my = split(Text, "|")
j = UBound(my)
For i= 1 to j-1
    two = split(my(i), ",")
    Rem Reload
    Delay 1000
    FindPic 0,0,1024,768,"Attachment:\登录.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX + 10, intY + 10
    	Delay 1000
        LeftClick  1
        Delay 3000
        Call Plugin.Sys.SetCLB(two(0))   
        KeyDown 17, 1                                       
        KeyPress 86, 1
        KeyUp 17, 1
        Delay 1000
	    KeyPress "Tab", 1
        Delay 1000
        Call Plugin.Sys.SetCLB(two(1))   
        KeyDown 17, 1                                       
        KeyPress 86, 1
        KeyUp 17, 1
        Delay 500
        FindPic 0,0,1024,768,"Attachment:\登入.bmp",0.9,intX,intY
        If intX > 1 And intY > 1 Then 
    	    MoveTo intX + 10, intY + 10
    	    Delay 500
            LeftClick 1
        End If
        Else Goto Reload
    End If
    Delay 5000
    KeyPress "PageDown", 1
    Delay 1000
    FindPic 0,0,1024,768,"Attachment:\开始.bmp",0.9,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX+20, intY+20
    	Delay 1000
        LeftClick 1
        Else Goto Reload
    End If
    Delay 5000
    KeyPress "Up", 8
    Delay 3000
    Rem Recheck
    FindPic 0,0,1024,768,"Attachment:\红叉.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX+5, intY+5
    	Delay 1000
        LeftClick 1
        Delay 1000
        Goto Recheck
    End If
    Delay 1000
    KeyPress "Home", 1
    Delay 3000
    FindPic 0,0,1024,768,"Attachment:\抽签.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX+5, intY+5
    	Delay 1000
        LeftClick 1
        Delay 1000
        Else Goto Reload
    End If
    Rem Lucky
    Delay 1000
    KeyPress "PageDown", 1
    Delay 1000
    FindPic 0,0,1024,768,"Attachment:\吉签.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX+5, intY+5
    	Delay 1000
        LeftClick 1
        Delay 1000
        Else Goto Lucky
    End If
    Rem God
    KeyPress "PageUp", 1
    Delay 1000
    FindPic 0,0,1024,768,"Attachment:\确认抽.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX+5, intY+5
    	Delay 1000
        LeftClick 1
        Delay 1000
        Else Goto God
    End If
    Delay 1000
    Rem Kami
    KeyPress "Up", 1
    Delay 300
    FindPic 0,0,1024,768,"Attachment:\抽签.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	Delay 300
        Else Goto Kami
    End If
    Delay 1000
    Rem Devil
    Delay 1000
    FindPic 0,0,1024,768,"Attachment:\再抽一张.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX+5, intY+5
    	Delay 1000
        LeftClick 1
        Delay 1000
        FindPic 0,0,1024,768,"Attachment:\确认抽.bmp",1.0,intX,intY
        If intX > 1 And intY > 1 Then 
        	MoveTo intX+5, intY+5
        	Delay 1000
            LeftClick 1
            Delay 3000
        End If
        Goto Devil
    End If
    FindPic 0,0,1024,768,"Attachment:\红叉.bmp",1.0,intX,intY
    If intX > 1 And intY > 1 Then 
    	MoveTo intX+5, intY+5
    	Delay 1000
        LeftClick 1
        Delay 1000
        Goto Devil
    End If
    Delay 1000
Next

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值