首先感谢travel0000 提供的刷开局脚本http://txdx.net/thread-688070-1-2.html,小弟正是在这个脚本的基础上,加了些变化,使它能最多刷出三个存档,按1、2、3的顺序存档,然后自动关机。现在存档1刷的是90资阳刀,存档2是16资天罡,存档3是16资阴棍,需要刷其他配置的可以自己更改;另外,因为屏幕大小不一样,用按键抓抓获取的第一格武功”极“字红色的坐标会有偏移,请自行抓取。
Rem GO
Delay 1000
SetSimMode 2
Delay 200
MoveTo 117, 751
Delay 1000
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Up", 1
Delay 500
KeyPress "Space", 1
Delay 500
KeyPress "Space", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Right", 1
Delay 200
KeyPress "Down", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "F", 1
Delay 200
KeyPress "A", 1
Delay 200
KeyPress "N", 1
Delay 200
KeyPress "G", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "1", 1
Delay 200
KeyPress "C", 1
Delay 200
KeyPress "U", 1
Delay 200
KeyPress "N", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "3", 1
Delay 200
KeyPress "Enter", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "9", 1
Delay 200
KeyPress "0", 1
Delay 200
KeyPress "Enter", 1
Delay 200
KeyPress "Left", 1
Delay 200
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Space", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Space", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Esc", 1
Delay 500
KeyPress "Space", 1
Delay 500
KeyPress "Space", 1
Delay 500
IfColor 780,286,"1814D8",0 Then
Delay 1000
KeyPress "Esc", 1
Delay 1000
KeyPress "Esc", 1
Delay 1000
KeyPress "S", 1
Delay 1000
SetSimMode 2
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
SetSimMode 2
Delay 1000
MoveTo 900, 83
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Rem 标记2
SetSimMode 2
Delay 200
MoveTo 117, 751
Delay 1000
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Up", 1
Delay 500
KeyPress "Space", 1
Delay 500
KeyPress "Space", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Right", 1
Delay 200
KeyPress "Down", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "F", 1
Delay 200
KeyPress "A", 1
Delay 200
KeyPress "N", 1
Delay 200
KeyPress "G", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "1", 1
Delay 200
KeyPress "C", 1
Delay 200
KeyPress "U", 1
Delay 200
KeyPress "N", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "3", 1
Delay 200
KeyPress "Enter", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "1", 1
Delay 200
KeyPress "6", 1
Delay 200
KeyPress "Enter", 1
Delay 200
KeyPress "Left", 1
Delay 200
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Space", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Space", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Esc", 1
Delay 500
KeyPress "Space", 1
Delay 500
KeyPress "Space", 1
Delay 500
IfColor 780, 286, "1814D8", 0 Then
Delay 1000
KeyPress "Esc", 1
Delay 1000
KeyPress "Esc", 1
Delay 1000
KeyPress "S", 1
Delay 1000
SetSimMode 2
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Down", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
SetSimMode 2
Delay 1000
MoveTo 900, 83
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Rem 标记3
SetSimMode 2
Delay 200
MoveTo 117, 751
Delay 1000
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Up", 1
Delay 500
KeyPress "Space", 1
Delay 500
KeyPress "Space", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Right", 1
Delay 200
KeyPress "Down", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "F", 1
Delay 200
KeyPress "A", 1
Delay 200
KeyPress "N", 1
Delay 200
KeyPress "G", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "1", 1
Delay 200
KeyPress "C", 1
Delay 200
KeyPress "U", 1
Delay 200
KeyPress "N", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "3", 1
Delay 200
KeyPress "Enter", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Right", 1
Delay 200
KeyPress "Space", 1
Delay 200
KeyPress "1", 1
Delay 200
KeyPress "6", 1
Delay 200
KeyPress "Enter", 1
Delay 200
KeyPress "Left", 1
Delay 200
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Space", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Space", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Delay 1000
KeyPress "Esc", 1
Delay 500
KeyPress "Space", 1
Delay 500
KeyPress "Space", 1
Delay 500
IfColor 780, 286, "1814D8", 0 Then
Delay 1000
KeyPress "Esc", 1
Delay 1000
KeyPress "Esc", 1
Delay 1000
KeyPress "S", 1
Delay 1000
SetSimMode 2
Delay 1000
KeyPress "Enter", 1
Delay 1000
KeyPress "Down", 1
Delay 200
KeyPress "Down", 1
Delay 200
KeyPress "Enter", 1
Delay 1000
Delay 1000
Delay 1000
KeyPress "Win", 1
Delay 1000
KeyPress "U", 1
Delay 1000
KeyPress "U", 1
Delay 1000
Else
SetSimMode 2
Delay 200
MoveTo 900, 83
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Goto 标记3
Delay 200
End If
Else
SetSimMode 2
Delay 200
MoveTo 900, 83
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Goto 标记2
Delay 200
End If
Else
SetSimMode 2
Delay 200
MoveTo 900, 83
Delay 1000
LeftClick 1
Delay 1000
Delay 1000
Delay 1000
Delay 1000
Goto GO
Delay 200
End If
Event Form1.Load
End Event
|