網路城邦
上一篇 回創作列表 下一篇   字體:
水許我的腳本
2011/12/07 16:28:26瀏覽382|回應0|推薦0
12/11改版,每窗多加了1個f5

請將以下文字複製進actool裏,然後存成你要的檔案,存在那無所謂,自己記得就好,自己請依照你的視窗數修改

SetActiveWindow gdn1

constants
one = 250, 752 //工作列上第一個視窗的點
two = 320, 750 //工作列上第二個視窗的點,以此類推
three = 402, 753 //多開數量不同的請自行刪減上下都要喔
four = 472, 753
five = 561, 750
six = 634, 750
seven = 719, 753


reload = 678, 42
table = 868, 339 //黃曆上的擂台
boss = 754, 339 //精英的圖
fight = 758, 401 //精英底下的挑戰
start = 564, 522 //開始戰鬥
bossa = 758, 423 //每五關小王的挑戰


end




procedure Civilbot
//red , blue , yellow
delay 3 sec
Bell PC Speaker

MousePos $one //將指標移到第一個視窗
delay 1 sec //停1秒
leftClick //左鍵
Keys {F5} //點完目標視窗先f5以清除未完結的讀秒
delay 5 sec
MousePos $table //指標移到table
delay 1 sec
leftClick
MousePos $boss //指標移到boss
delay 4 sec
leftClick
leftClick
MousePos $fight //指標移到fight
delay 1 sec
leftClick
MousePos $bossa //指標移到小王 這邊每一次都會點精英跟小王的點 所以不受每五關小王的影響
delay 1 sec
leftClick
MousePos $start //指標移到start開始戰鬥
delay 1 sec
leftClick
delay 4 sec
Keys {F5} //視窗f5 以下以此類推
delay 1 sec


MousePos $two
delay 1 sec
leftClick
Keys {F5}
delay 5 sec
MousePos $table
delay 1 sec
leftClick
MousePos $boss
delay 4 sec
leftClick
leftClick
MousePos $fight
delay 1 sec
leftClick
MousePos $bossa
delay 1 sec
leftClick
MousePos $start
delay 1 sec
leftClick
delay 4 sec
Keys {F5}
delay 1 sec


MousePos $three
delay 1 sec
leftClick
Keys {F5}
delay 5 sec
MousePos $table
delay 1 sec
leftClick
MousePos $boss
delay 4 sec
leftClick
leftClick
MousePos $fight
delay 1 sec
leftClick
MousePos $bossa
delay 1 sec
leftClick
MousePos $start
delay 1 sec
leftClick
delay 4 sec
Keys {F5}
delay 1 sec

MousePos $four
delay 1 sec
leftClick
Keys {F5}
delay 5 sec
MousePos $table
delay 1 sec
leftClick
MousePos $boss
delay 4 sec
leftClick
leftClick
MousePos $fight
delay 1 sec
leftClick
MousePos $bossa
delay 1 sec
leftClick
MousePos $start
delay 1 sec
leftClick
delay 4 sec
Keys {F5}
delay 1 sec

MousePos $five
delay 1 sec
leftClick
Keys {F5}
delay 5 sec
MousePos $table
delay 1 sec
leftClick
MousePos $boss
delay 4 sec
leftClick
leftClick
MousePos $fight
delay 1 sec
leftClick
MousePos $bossa
delay 1 sec
leftClick
MousePos $start
delay 1 sec
leftClick
delay 4 sec
Keys {F5}
delay 1 sec

MousePos $six
delay 1 sec
leftClick
Keys {F5}
delay 5 sec
MousePos $table
delay 1 sec
leftClick
MousePos $boss
delay 4 sec
leftClick
leftClick
MousePos $fight
delay 1 sec
leftClick
MousePos $bossa
delay 1 sec
leftClick
MousePos $start
delay 1 sec
leftClick
delay 4 sec
Keys {F5}
delay 1 sec


MousePos $seven
delay 1 sec
leftClick
Keys {F5}
delay 5 sec
MousePos $table
delay 1 sec
leftClick
MousePos $boss
delay 4 sec
leftClick
leftClick
MousePos $fight
delay 1 sec
leftClick
MousePos $bossa
delay 1 sec
leftClick
MousePos $start
delay 1 sec
leftClick
delay 4 sec
Keys {F5}
delay 15 sec //最後一個視窗停留比較久 以免有些視窗沒跑完

end

loop 300 //從第一個動作開始重來,一共執行300次
call Civilbot
end

delay 1 sec
loop 1 //Loop at every 33 sec
call Civilbot //Call the Procedure "craftingStart"
end
( 興趣嗜好電玩動漫 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=rexroth&aid=5907692