Home | Posts RSS | Comments RSS | Login

MACRO AUTO FIND SIMPAN DI macros.txt

Selasa, 17 Agustus 2010
MACRO AUTO FIND MASTER, AUTO FIND SLAVE, macro ini gunanya supaya priest atau apa saja yg jd support dalam party tertinggal, macro ini akan otomatis mendeteksi bahwa master party jalan terlalu cepat lalu master party balik ke posisi slave ( support party
), intinya supaya priest tidak tertinggal klik aja. . .

#######################################
########FIND SLAVE#####################
#######################################
#slave is lost
automacro findSlave {
pm /x (.*) (.*) (.*)/
call {
$slavemap = $.lastMatch1
$slavemapx = $.lastMatch2
$slavemapy = $.lastMatch3
$mymap = $.map
if ($slavemap == $mymap) goto findslave
do pm "$.lastpm" x $.map $.pos
stop
:findslave
do pm "$.lastpm" x $.map $.pos
do move $slavemap $slavemapx $slavemapy
}
}
#when slave is found
automacro clear {
pm /clear/
call {
do eval AI::clear("move", "route");
}
}

YANG DI ATAS TAROH DI macros.txt nya si master party / hitter. .


################################
######FIND MASTER###############
################################
#find master
automacro findMaster {
timeout 3
console /^I lost my master/
call {
$master = @config (followTarget)
do pm "$master" x $.map $.pos
}
}
automacro findMaster2 {
timeout 3
console /^Calculating route to find master/
call {
$master = @config (followTarget)
do pm "$master" x $.map $.pos
}
}
#goto master
automacro gotoMaster {
pm /x (.*) (.*) (.*)/
call {
$pm = $.lastpm
if ($pm != $master) stop
do move $.lastMatch1 $.lastMatch2 $.lastMatch3
}
}
#when master is found
automacro foundMaster {
console /^Found my master!/
all {
do pm "$master" clear
}
}

YANG DI ATAS TAROH DI macros.txt nya si slave party / PRIEST. .

INGAT !! Jika hanya menyimpan hanya di slave / di hitter saja / tidak di simpan di keduanya. . .maka macro tidak akan jalan. . . . .

0 komentar to MACRO AUTO FIND SIMPAN DI macros.txt:

Posting Komentar