[imperion] xen auto raid script.
軟體安裝參考: EzHotKey 版.
\ 要連成一行.
screen: 1024x768.
software: Firefox 按 F11(Full screen).
由於 Full screen 的位置不同,有 im2.ahk 及 im3.ahk 不同 script.
我的 imp.txt 如下:
http://u1.imperion.org/fleetBase/mission/1/planetId/94479901
copy "94479901"(我用 pietty,左鍵 mark 即可), 按 F5 即可動作。
手動的做法:
按 ctrl-t, 把記錄的 url 整行 paste 到 firefox,
按 xnair 欄位位置, 填入 35, 點左邊, 按 PageDown (換下頁)
點 raid, 移到 Action! 位置,再按左鍵。
新的做法: 把 "94479901" 存入 copy-paste buffer, 按 ctrl-v。
其他同上。不自動按 Action! 的原因是因為網路常 lag。
中間加入的 Sleep 都是因為系統 lag 而調整的,網路、機器快
的人可以試著改小一點。順便把最後的 MouseMove 改成 MouseClick,
再加上 {CTRLDOWN}w{CTRLUP} ,就是全自動化的一次攻擊。
im2.ahk:
; Imperion - Microsoft Internet Explorer
F5::
WinWait, Imperion - Mozilla Firefox,
IfWinNotActive, Imperion - Mozilla Firefox, , WinActivate, \
Imperion - Mozilla Firefox,
WinWaitActive, Imperion - Mozilla Firefox,
Sleep, 1000
Send, {CTRLDOWN}t{CTRLUP}
WinWait, Mozilla Firefox,
IfWinNotActive, Mozilla Firefox, , WinActivate, Mozilla Firefox,
WinWaitActive, Mozilla Firefox,
; Send, http://u1.imperion.org/fleetBase/mission/1/planetId/94400506{ENTER}
Sleep, 1000
Send, http://u1.imperion.org/fleetBase/mission/1/planetId/\
{CTRLDOWN}v{CTRLUP}{ENTER}
Sleep, 8000
WinWait, Imperion - Mozilla Firefox,
IfWinNotActive, Imperion - Mozilla Firefox, , WinActivate,\
Imperion - Mozilla Firefox,
WinWaitActive, Imperion - Mozilla Firefox,
MouseClick, left, 272, 661
Sleep, 3000
Send, 35
MouseClick, left, 68, 643
Sleep, 3000
Send, {PGDN}
MouseClick, left, 141, 289
Sleep, 1000
MouseMove, 820, 421
Return
im3.ahk:
同上
WinWaitActive, Imperion - Mozilla Firefox,
MouseClick, left, 272, 680 ; <= 修改這裡.
Sleep, 3000
Send, 35
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.22.98
推
11/23 20:08, , 1F
11/23 20:08, 1F