Need help on console macro!

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

kamukamu
Noob
Noob
Posts: 6
Joined: 18 Oct 2016, 02:58
Noob?: Yes

Need help on console macro!

#1 Post by kamukamu »

macro version 2.0.3 SVN
Openkore version 2.1
When i put a console macro, after entering the lock map(goldroom) all auto-macros just keeps on triggering? Can some one please help me?
renz0110
Noob
Noob
Posts: 12
Joined: 23 Nov 2016, 05:50
Noob?: Yes

Re: Need help on console macro!

#2 Post by renz0110 »

set priorities. first automacro don't need to set priority, second automacro priority 1, third priority 2 and so on...
kamukamu
Noob
Noob
Posts: 6
Joined: 18 Oct 2016, 02:58
Noob?: Yes

Re: Need help on console macro!

#3 Post by kamukamu »

even if i put priorities it just keeps on triggering~
renz0110
Noob
Noob
Posts: 12
Joined: 23 Nov 2016, 05:50
Noob?: Yes

Re: Need help on console macro!

#4 Post by renz0110 »

post your macros here
kamukamu
Noob
Noob
Posts: 6
Joined: 18 Oct 2016, 02:58
Noob?: Yes

Re: Need help on console macro!

#5 Post by kamukamu »

automacro selfdefend {

console /Player (.*) \((\d+)\) attacks you.*/i
call {
do kill $.lastMatch2
}
}

automacro cantreach {
run-once 1
console /Can't reach or damage target, dropping target/i
call {
release selfdefend
}
}
kamukamu
Noob
Noob
Posts: 6
Joined: 18 Oct 2016, 02:58
Noob?: Yes

Re: Need help on console macro!

#6 Post by kamukamu »

automacro selfdefend {
console /Player (.*) \((\d+)\) attacks you.*/i
call {
do kill $.lastMatch2
}
}

automacro cantreach {
console /Can't reach or damage target, dropping target/i
call {
release selfdefend
}
}
renz0110
Noob
Noob
Posts: 12
Joined: 23 Nov 2016, 05:50
Noob?: Yes

Re: Need help on console macro!

#7 Post by renz0110 »

your macro say it will attack the players that attacks you but if can't reach it will release selfdefend again. it will keep attacking the player that attacks you until he reach it but before you do, you are dead. so try using teleport skill first before releasing selfdefend to avoid being killed. also put this "attackDistanceAuto 1" please do email me your feedback regarding this concern renzmharionsantiago@yahoo.com

automacro selfdefend {
console /Player (.*) \((\d+)\) attacks you.*/i
<--- put run-once 1 here
call {
do kill $.lastMatch2
}
}

automacro cantreach {
console /Can't reach or damage target, dropping target/i
<-- put timeout here
call {
release selfdefend
}
}

create a macro that use teleport skill. when "console /Can't reach or damage target, dropping target/i" before releasing selfdefend.
renz0110
Noob
Noob
Posts: 12
Joined: 23 Nov 2016, 05:50
Noob?: Yes

Re: Need help on console macro!

#8 Post by renz0110 »

or you may use this

teleportAuto_dropTarget 1
ai_attack_giveup 0.5 in order to respond teleport fast before being killed

automacro selfdefend {
console /Player (.*) \((\d+)\) attacks you.*/i
<--- just put timeout here
call {
do kill $.lastMatch2
}
}


then erase this macro, in your config useself poition when hp < 90%
automacro cantreach {
console /Can't reach or damage target, dropping target/i
<-- put timeout here
call {
release selfdefend
}
}





waiting for your feedback, please do email renzmharionsantiago@yahoo.com