|
大家過年初一好,這次仙境傳說裡面功能是 他每3分鐘偵測一次座標 如果偵的座標和上次相同
就隨機左右移動1~2隔>>>>do move $neposx $neposy
並重登至切換人物那頁>>>>do charselect
automacro smove {
call sm
timeout 180
exclusive 1
}
macro sm {
$nopos = $.pos
$noposx = @arg ("$nopos", 1)
$noposy = @arg ("$nopos", 2)
# log oldxold,$yold newnoposx,$noposy
if ($noposx == $xold & $noposy == $yold) goto dm
goto gone
:dm
$neposx = @eval ($noposx + @rand (-1, 2))
$neposy = @eval ($noposy + @rand (-1, 2))
do move $neposx $neposy
pause 1
do charselect
$nopos = $.pos
$noposx = @arg ("$nopos", 1)
$noposy = @arg ("$nopos", 2)
:gone
$xold = $noposx
$yold = $noposy
}
|
|