Code: Select all
automacro wait {
exclusive 1
console /is casting (Increase Agility|Magnificat|Kyrie Eleison|Energy Coat) on/i
timeout 4.5
run-once 1
exclusive 1
call {
pause 4.5
release wait
}
}
Moderator: Moderators
Code: Select all
automacro wait {
exclusive 1
console /is casting (Increase Agility|Magnificat|Kyrie Eleison|Energy Coat) on/i
timeout 4.5
run-once 1
exclusive 1
call {
pause 4.5
release wait
}
}
Try thisGameShark wrote:uhhhm... guys about this macro, i used it a bit and noticed that the master initializes the wait macro even though it is not your slave who is casting a buff.. can anyone change it a bit so the mster can recognize only the slave's buff thx in advance more powerCode: Select all
automacro wait { exclusive 1 console /is casting (Increase Agility|Magnificat|Kyrie Eleison|Energy Coat) on/i timeout 4.5 run-once 1 exclusive 1 call { pause 4.5 release wait } }
Code: Select all
Just add this into your console command:
console /is casting (Magnificat|Kyrie Eleison) on/i
to
console /Player *Your slave's name* is casting (Magnificat|Kyrie Eleison) on/i
Hi, all..long time..but i hope not too late..this code seems work with me..adjust it according to your usageGameShark wrote:uhhhm... guys about this macro, i used it a bit and noticed that the master initializes the wait macro even though it is not your slave who is casting a buff.. can anyone change it a bit so the mster can recognize only the slave's buff thx in advance more powerCode: Select all
automacro wait { exclusive 1 console /is casting (Increase Agility|Magnificat|Kyrie Eleison|Energy Coat) on/i timeout 4.5 run-once 1 exclusive 1 call { pause 4.5 release wait } }
Code: Select all
automacro wait {
exclusive 1
console /(.*?) is casting (Increase Agility|Magnificat|Kyrie Eleison|Energy Coat) on/i
timeout 4.5
run-once 0
exclusive 1
call {
$anything = $.lastMatch1
if ($anything = "Your Priest's Name" ) goto one
:one
log $anything is working great!
pause 4.5
stop
release wait
}
}
Code: Select all
automacro wait {
exclusive 1
console /Player (.*) \((\d+)\) is casting (Magnificat|Kyrie Eleison) on/i
timeout 4.5
run-once 0
exclusive 1
call {
$anything = $.lastMatch1
if ($anything = "Your Priest's Name" ) goto one
:one
log $anything is working great!
pause 4.5
stop
release wait
}
}
Code: Select all
#######################################################
##################### Find Slave ######################
#######################################################
#################### Slave is lost ####################
# You MUST CHANGE "POGING ALALAY" to your bot slave's name.
# Put "#" on the option you don't want to use.
automacro findSlave {
pm /loc (.*) (.*) (.*)/
call {
$slavemap = $.lastMatch1
$slavemapx = $.lastMatch2
$slavemapy = $.lastMatch3
$mymap = $.map
if ($slavemap == $mymap) goto findslave
#This is the MUST CHANGE.
do pm "POGING ALALAY" loc $.map $.pos
stop
:findslave
do eval AI::clear("move", "route");
#you must change this!
do pm "POGING ALALAY" loc $.map $.pos
do move $slavemap $slavemapx $slavemapy
release findSlave
}
}
################## When slave is found ################
# Put "#" on the option you don't want to use.
# Choose Option 1 to: Clear AI and move to different route.
# Choose Option 2 to: Pause for <sec>.
# I don't know what is best for you to use
automacro clear {
pm /oksss/i
exclusive 1
call {
#Option 1:
# do eval AI::clear("move", "route");
#Option 2:
stop
pause 2
release clear
}
}
########################################################
### Move or wait for slave to finish casting a spell ###
########################################################
# This block here will make MASTER move to SLAVE when it's casting a spell.
# Put "#" on the option you don't want to use.
# Option 1: Pause when slave casts a spell.
# Option 2: move to slave's location when it casts a spell.
# In my case, I use the move option.
automacro buffWait {
pm /buffs (.*) (.*) (.*)/
aggressives < 1
call {
# Option 1:
#log $slavePriest is casting a skill, waiting...
#pause 5
#Option 2:
log $slavePriest is casting a skill, moving to slave's location.
do move $.lastMatch1 $.lastMatch2 $.lastMatch3
pause 1
stop
}
}
Code: Select all
#######################################################
##################### FIND MASTER #####################
#######################################################
########## PM Master Your Map and Position ############
automacro findMaster {
timeout 3
console /^I lost my master/
call {
$masterName = @eval($::config{followTarget})
do pm "$masterName" loc $.map $.pos
}
}
automacro findMaster2 {
timeout 3
console /^Calculating route to find master/
call {
$masterName = @eval($::config{followTarget})
do pm "$masterName" loc $.map $.pos
}
}
#################### Go to Master ######################
automacro gotoMaster {
pm /x (.*) (.*) (.*)/
call {
$pm = $.lastpm
$masterName = @eval($::config{followTarget})
if ($pm != $masterName) stop
do move $.lastMatch1 $.lastMatch2 $.lastMatch3
}
}
################ When Master Is Found ##################
automacro foundMaster {
console /^Found my master!/
call {
$masterName = @eval($::config{followTarget})
do pm "$masterName" oksss
}
}
#######################################################
####################### BUFFING #######################
#######################################################
automacro buffsMuna {
console /You are casting (Increase AGI|Renovatio|Angelus|Magnificat|Sacrament)/i
call {
if (($.lastMatch1 == "Increase AGI") || ($.lastMatch1 == "Renovatio") || ($.lastMatch1 == "Magnificat") || ($.lastMatch1 == "Sacrament")) goto stopMaster
stop
:stopMaster
$masterName = @eval($::config{followTarget})
do pm "$masterName" buffs $.map $.pos
}
}
I'm sorry but I made a mistake. You should replace the "POGING ALALAY" to your slave's name instead.harhar14 wrote:My macro isn't working, for the master.... what to do? whose name is it that I should place the do pm thing? And is macro case sensitive???? help plss thnx!!
Oh yeah my master doesn't recognize the slave... help