我想用按键精灵写一个自动打怪和NPC对话的脚本,但是提示我错误请?
2011-01-19 23:52:381***
我想用按键精灵写一个自动打怪和NPC对话的脚本,但是提示我错误 请老鸟帮我看看 那里出错了帮我改下Sub 自动战斗()
Rem 选怪
KeyPress "Tab", 1
IfColor 1047,250,"FF1E",0 Then
Goto 打完收工
Rem 开打
KeyPress "1", 1
Delay 100
KeyPress "2", 1
IfColor 305,978,"361F9C",0 Then
Else
KeyPress "F1", 1
End If
IfColor 936,986,"908A1E",0 Then
Else
KeyPress "F2", 1
End If
Delay 800
KeyPress "3", 1
Delay 800
KeyPress "4", 1
Delay 800
KeyPress "5", 1
Delay 800
KeyPress "6", 1
Delay 800
IfColor 584,57,"7FB8C1",0 Then
Goto 开打
Goto 选怪
Rem 打完收工
End Sub
Rem 交接任务
Sub 交接任务()
MoveTo 213, 451
LeftClick 1
MoveTo 590, 721
Delay 1000
LeftClick 1
End Sub
Sub 交接任务2()
MoveTo 213, 451
Delay 100
LeftClick 1
MoveTo 590, 721
Delay 1000
LeftClick 1
Delay 1000
LeftClick 1
End Sub我想用按键精灵写一个自动打怪和NPC对话的脚本,但是提示我错误请老鸟帮我看看那里出错了帮我改下Sub自动战斗()Rem选怪KeyPress"Tab",1IfCo?
最佳回答
Bkgnd。FindColorEx(Hwnd, x1+A, y1+B, x1+C,y1+D, "0B17DF", e,0。9) Delay 50 MArray = Split(XY, "|") X = Clng(MArray(0)): Y = Clng(MArray(1)) If X=-1 Then m=0 Call Plugin。
Bkgnd。KeyPress(hwnd,27) Else Delay 100 Call Plugin。Bkgnd。MoveTo(Hwnd, X, Y) Call Plugin。Bkgnd。
LeftClick(hwnd,X,Y) Delay 200 Call Plugin。Bkgnd。KeyPress(hwnd,27) Delay 500 m=1 End if End Sub。
2011-01-21 16:22:04
很赞哦! (279)
相关文章
- 请教一个可以和魔兽世界的NPC对话的宏!
- 谁给我个自动打怪的脚本我玩的是剑现在
- 用按键精灵自动打怪问题我用按键不能
- WOW怎么做和NPC对话的宏比如:/s
- 按键怎么设置自动打怪??现在按键精灵能
- NPC不出对话框是怎么回事?电脑死机重
- 在家玩传奇私服NPC对话框太小
- 伊苏:菲尔盖纳之誓约怎么跟NPC对话啊,
- 在石器时代2游戏里怎么跟NPC对话买卖?
- 求教:如何用宏实现与NPC对话功能?请
- 魔兽世界中怎么样和NPC对话?对于头上
- 传世点NPC出现对话框后就不能对话的了
- 谁有按键精灵锁定坐标的脚本,麻烦发一个
- 按键精灵如何可以后台工作我用的按键精灵
- 葬魂之诗自动走路打怪脚本按键精灵或修
- 按键精灵不能录制?怎么我的按键精灵不能
- 魔兽世界在选中一个npc后怎么用键盘实现
- 求购按键精灵进天堂2的脚本。。。。。。。
- 有关钓鱼用按键精灵可以自动钓鱼,求一自
- 为什么NPC对话框的按钮点不动为什么N
- 玩游戏,会用按键精灵的叫我,只要他按住一