- UID
- 150757
- 帖子
- 507
- 主題
- 506
- 精華
- 0
- 積分
- 506
- 楓幣
- 5013
- 威望
- 505
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 528
- 閱讀權限
- 50
- 性別
- 保密
- 在線時間
- 10 小時
- 註冊時間
- 2016-8-28
- 最後登入
- 2016-9-10
|
在AHK觸發BOT
檢測周圍敵人的顏色。
檢查頂部和底部。
調整你的資源
"ResX" and "ResY"
下載附加的圖像文件
鼠標5按住激活。
可以追溯到上瀏覽的按鈕。- #Persistent
- #NoTrayIcon
- #KeyHistory, 0
- #NoEnv
- #HotKeyInterval 1
- #MaxHotkeysPerInterval 127
- #InstallKeybdHook
- #UseHook
- #SingleInstance, Force
- SetKeyDelay, -1, 6
- SetControlDelay, -1
- SetMouseDelay, -1
- SetWinDelay,-1
- SetBatchLines,-1
- ListLines, Off
- ResX = 1920
- ResY = 1080
- CenterX := ResX * .5
- CenterY := ResY * .5
- XFoV := 4
- YFoV := 1000
- LeftPoint := CenterX - XFoV
- RightPoint := CenterX + XFoV
- TopPoint := CenterY - YFoV
- BottomPoint := CenterY + YFoV
- Loop {
-
- GetKeyState, Mouse2,XButton1, P
-
- If ( Mouse2 == "D" ){
-
- ImageSearch, Lside , Uside , LeftPoint, TopPoint, CenterX, CenterY, *Trans800000 *70 trigger1.png
- ImageSearch, Rside , Dside , CenterX, CenterY, RightPoint, BottomPoint, *Trans800000 *70 trigger1.png
- If ( (Dside - Uside) > 0) {
- MouseClick, left
- Sleep 150 ; time between shots
- }}}
-
- RShift::
- ExitApp
複製代碼 |
|