About FCP Macro

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

barakuda
Noob
Noob
Posts: 15
Joined: 25 Jun 2008, 21:23
Noob?: Yes

About FCP Macro

#1 Post by barakuda »

I want the FCP Slave to go near the position of the player who pm him and cast him FCP. Let say the players position is prontera 150 50 and the FCP Slave position is prontera 160 160. FCP can only cast 1 cell away. So I want the Slave go to the position of the Player 1 cell away.

automacro fcpsg {
pm "33"
timeout 1
call fcpssg
run-once 1
priority 0
exclusive 1
}


macro fcpssg {
log @player($.lastpm)
pause 1
do sp 479 @player($.lastpm)
pause 1
release fcpsg
}
barakuda
Noob
Noob
Posts: 15
Joined: 25 Jun 2008, 21:23
Noob?: Yes

Re: About FCP Macro

#2 Post by barakuda »

Bump
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: About FCP Macro

#3 Post by Kaspy »

[EN]
Sorry, but I understood what she wants.
For the slave is using the skill Full Chemical protectio (ID 479, http://ratemyserver.net/index.php?page= ... b&jid=4019)?

[PT-BR]
Desculpa, mas entendi o que quer.
Por que o slave esta usando a skill Full Chemical Protectio (ID 479, http://ratemyserver.net/index.php?page= ... b&jid=4019)?
Image
barakuda
Noob
Noob
Posts: 15
Joined: 25 Jun 2008, 21:23
Noob?: Yes

Re: About FCP Macro

#4 Post by barakuda »

KeplerBR wrote:[EN]
Sorry, but I understood what she wants.
For the slave is using the skill Full Chemical protectio (ID 479, http://ratemyserver.net/index.php?page= ... b&jid=4019)?

[PT-BR]
Desculpa, mas entendi o que quer.
Por que o slave esta usando a skill Full Chemical Protectio (ID 479, http://ratemyserver.net/index.php?page= ... b&jid=4019)?

What???
good1
Human
Human
Posts: 24
Joined: 18 Jul 2012, 11:48
Noob?: No

Re: About FCP Macro

#5 Post by good1 »

It is impossible for the slave to locate you when you are not in the same party with your slave and you're not in the sight of your slave.
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: About FCP Macro

#6 Post by ever_boy_ »

I wanna know the exact same thing... I've been trying for hours, but still can't figure it out how to extract the player's position.
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: About FCP Macro

#7 Post by ever_boy_ »

finally!! i dit! now I know hot to extract a player's pos and store it into a var:

Code: Select all

macro qwe {
	$x = @eval ($::players{$::playersID[0]}->{pos}{x})
	$y = @eval ($::players{$::playersID[0]}->{pos}{y})
	log target player's coordinates = $x $y
}
you just need to change the playersID[0] to whatever ID you like, or a var which has the target ID.
Don Delavitto
Human
Human
Posts: 46
Joined: 16 Mar 2012, 12:23
Noob?: Yes

Re: About FCP Macro

#8 Post by Don Delavitto »

hehehe

I believe you can implement something with what kore got.

Take a look at this command http://www.openkore.com/index.php/FollowBot

You might send your party out of master screen, then it will send the slave a PM with cordinates, then you can set a macro to move to the cordinates of the last pm.

Or you can store your cordinates in a variablea and send to slave to get close to you.
barakuda
Noob
Noob
Posts: 15
Joined: 25 Jun 2008, 21:23
Noob?: Yes

Re: About FCP Macro

#9 Post by barakuda »

But how? Hehehehe! I'm not using 2bots here! The master is me (not bot).
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: About FCP Macro

#10 Post by ever_boy_ »

good1 wrote:It is impossible for the slave to locate you when you are not in the same party with your slave and you're not in the sight of your slave.
not true. just send him a pm telling where you are (using a macro to automate this proccess, of course).