谁来帮我解决一下按键精灵这串代码的错误
RembjFindColor0,116,1024,579,"0303B8",intX,intYifintX>0AndintY>0thenMoveTointX,intY+1...
Rem bj
FindColor 0,116,1024,579,"0303B8",intX,intY
if intX> 0 And intY> 0 then
MoveTo intX, intY+150
Delay 200
RightClick 1
Delay 900
FindPic 0,0,1024,768,"Attachment:\aaa.bmp",0.9,intX,intY
ElseIf intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 500
Else
FindColor 0,116,1024,579,"F2CEB5",intX,intY
MoveTo intX, intY+150
Delay 200
LeftClick 1
Delay 200
End If
Goto bj
我的思路是先找道具(图片),找不到的话就找怪物血条(红色)再找不到的话就找路(地面颜色)
可是显示错误,或者和预期的效果不一样。求哪位大神帮帮我。感激不尽!!
这是一个自动打怪自动捡东西的脚本
下面这串是问题代码 上面的错了。。
Rem bj
FindPic 0,0,1024,768,"Attachment:\aaa.bmp",0.9,intX,intY
FindColor 0, 116, 1024, 579, "0303B8", intA, intB
If
intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 500
ElseIf intA> 0 And intB> 0 then
MoveTo intA, intB+150
Delay 200
RightClick 1
Delay 900
Else
FindColor 0,116,1024,579,"F2CEB5",intX,intY
MoveTo intX, intY+150
Delay 200
LeftClick 1
Delay 200
End If 展开
FindColor 0,116,1024,579,"0303B8",intX,intY
if intX> 0 And intY> 0 then
MoveTo intX, intY+150
Delay 200
RightClick 1
Delay 900
FindPic 0,0,1024,768,"Attachment:\aaa.bmp",0.9,intX,intY
ElseIf intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 500
Else
FindColor 0,116,1024,579,"F2CEB5",intX,intY
MoveTo intX, intY+150
Delay 200
LeftClick 1
Delay 200
End If
Goto bj
我的思路是先找道具(图片),找不到的话就找怪物血条(红色)再找不到的话就找路(地面颜色)
可是显示错误,或者和预期的效果不一样。求哪位大神帮帮我。感激不尽!!
这是一个自动打怪自动捡东西的脚本
下面这串是问题代码 上面的错了。。
Rem bj
FindPic 0,0,1024,768,"Attachment:\aaa.bmp",0.9,intX,intY
FindColor 0, 116, 1024, 579, "0303B8", intA, intB
If
intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 500
ElseIf intA> 0 And intB> 0 then
MoveTo intA, intB+150
Delay 200
RightClick 1
Delay 900
Else
FindColor 0,116,1024,579,"F2CEB5",intX,intY
MoveTo intX, intY+150
Delay 200
LeftClick 1
Delay 200
End If 展开
展开全部
没发现错误?
追问
没有啊
可以帮帮忙吗
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
力控科技
2024-12-19 广告
2024-12-19 广告
力控组态软件安装光盘中提供了驱动安装程序。要是手动添加驱动的话,需要把驱动文件夹(内有至少两个。dll文件和一个.txt文件拷贝到力控安装根目录下的IO Servers文件夹下。...
点击进入详情页
本回答由力控科技提供
展开全部
FindPic 0, 0, 1024, 768, "Attachment:\aaa.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 500
Else
FindColor 0, 116, 1024, 579, "0303B8", intA, intB
If intA> 0 And intB> 0 then
MoveTo intA, intB+150
Delay 200
RightClick 1
Delay 900
Else
FindColor 0,116,1024,579,"F2CEB5",intX,intY
MoveTo intX, intY+150
Delay 200
LeftClick 1
Delay 200
End If
End If
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 500
Else
FindColor 0, 116, 1024, 579, "0303B8", intA, intB
If intA> 0 And intB> 0 then
MoveTo intA, intB+150
Delay 200
RightClick 1
Delay 900
Else
FindColor 0,116,1024,579,"F2CEB5",intX,intY
MoveTo intX, intY+150
Delay 200
LeftClick 1
Delay 200
End If
End If
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询