A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.
Moderator: MacroQuest Developers
-
Bad Karma
- a snow griffon

- Posts: 346
- Joined: Sat Nov 22, 2003 9:34 pm
-
Contact:
Post
by Bad Karma » Sun Jan 04, 2004 9:35 pm
Thanks. I'll grab it as soon as I get home from work, and see if I can reproduce it doing the same thing I did yesterday.
I did notice the spinning and running tight circles while following a group member to where we were going to hunt, several zones over. That's also how I discovered the /echo stop issue I noticed...I tried to follow a different group member who was closer to me after zoning.
Will let ya know what I find.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Mon Jan 05, 2004 1:05 am
Posted my latest version. After Bad Karma pointed out some problems he was seeing with the stop command I looked closer at it. There could have been a potential problem if some of the variables weren't cleared if issuing a follow after a stop command.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Mon Jan 05, 2004 3:44 pm
Added one more variable to be cleared that could potentially cause a problem. Last modification was made at 2:44PM CST.
-
pab05
- a lesser mummy

- Posts: 42
- Joined: Thu Aug 14, 2003 12:24 am
Post
by pab05 » Mon Jan 05, 2004 8:37 pm
good stufff thanks : )
-
Bad Karma
- a snow griffon

- Posts: 346
- Joined: Sat Nov 22, 2003 9:34 pm
-
Contact:
Post
by Bad Karma » Mon Jan 05, 2004 10:24 pm
Plays much more nicely now upon zoning or selecting a different target to follow without /endmac and restarting it first! I do notice I take a couple steps forward when doing /echo stop. That's alright, though....haven't done it close to a cliff yet. lol
-
Bad Karma
- a snow griffon

- Posts: 346
- Joined: Sat Nov 22, 2003 9:34 pm
-
Contact:
Post
by Bad Karma » Mon Jan 05, 2004 10:37 pm
Would it be possible for it to follow your current target while in local mode if no name is specified?
I'd like to alias this to /fol so it just does an /echo follow and picks up on my current target. (To prevent problems from the master sending a /t BotName follow with no name or "me" specified, it could default to /target MasterName, then follow.)
This would make execution of the script as simple as issueing one short command for quick movement, and less info to pass when you #include it in other macs.
That's the only thing I'd like to see added. It works perfectly now, and does more than I'd expect a simple follow mac to do! =)
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Mon Jan 05, 2004 11:00 pm
Yep you should be able to do that: (I think this should work)
/alias fol /echo follow $target(name,clean)
I personally just hotkey
/echo follow $target(name,clean)
Then just target who you want and hit the hotkey.
I can probably get rid of the small movement when you issue a stop command. I'll look at it when I get time.
Coming up next... 3D movement macro language of sorts. advpath.mac
It's well under way.
-
Bad Karma
- a snow griffon

- Posts: 346
- Joined: Sat Nov 22, 2003 9:34 pm
-
Contact:
Post
by Bad Karma » Mon Jan 05, 2004 11:08 pm
ml2517 wrote:/alias fol /echo follow $target(name,clean)
hehe...I knew that. lol....Didn't even think to just do the $target() as part of the alias.
ml2517 wrote:/Coming up next... 3D movement macro language of sorts. advpath.mac
It's well under way.
/drool
I was thinking about ways to incorporate this into the mac, to improve obsicle negotiation and pathing. Would be cake to just poll information from the LoY maps files.... But this is where it gets just a tad over my n00b head. lol
-
GD
- a snow griffon

- Posts: 353
- Joined: Sat Jun 29, 2002 11:57 pm
Post
by GD » Tue Jan 06, 2004 9:36 pm
Or, to have it follow your current target automatically, change:
Code: Select all
Sub InitAFVars(MastName)
/declare MasterName global
/if "@MastName"=="$char(name)" {
/echo No Master Name Provide. Working in local command mode only.
/varset MasterName "$char(name)"
} else {
/varset MasterName "@MastName"
}
To:
Code: Select all
Sub InitAFVars(MastName)
/declare MasterName global
/if "@MastName"=="$char(name)" {
/echo No Master Name Provide. Working in local command mode only.
/varset MasterName "$char(name)"
[color=red] /if "$target()"=="TRUE" {
/echo follow $target(name,clean)
}[/color]
} else {
/varset MasterName "@MastName"
}
Opinions are like assholes, everyone has one, but most of them stink.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Thu Jan 08, 2004 8:35 pm
Added the follow functionality into Advpath.inc here --
http://macroquest2.com/phpBB2/viewtopic.php?t=4879
If you want a standalone follow solution go ahead and use advfollow.mac.
If you need to integrate the functionality of the 3D movement (follow, playback and record) into your existing macros see the link above.
-
Bad Karma
- a snow griffon

- Posts: 346
- Joined: Sat Nov 22, 2003 9:34 pm
-
Contact:
Post
by Bad Karma » Thu Jan 08, 2004 11:00 pm
I'd like to be able to integrate this in hunter type mac's for more reliable tracking of mobs....chase them down to range xx then stop and begin combat. Looking at advpath.inc and this, would I be best off using advpath and doing a /call LocalFollow "$target()"[b/] , with a range check in each loop? Or is there a portion of this I could just copy and /call to? It seems to jump around a lot, and haven't had a chance to really trace what the diferrences are in them.
Maybe I could just make this a follow.inc and use it that way...
First, I think I'll just go get something to eat, though. lol
[b]- Bad Karma
________________________________________[/b]
In our own quest for excellence, we should strive to take the time to help those who help themselves.
All others should [b]RTFM[/b]!!!!!!!!!
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Thu Jan 08, 2004 11:06 pm
You should use advpath.inc..
Itegrate it into your script as shown in that thread then in your script simply:
/echo follow $target(name,clean)
At the point you issue that it will run a straight line to the first location it saw the mob at. Then it will follow the path the mob has moved if its moving.
-
ImaNoob
- a ghoul

- Posts: 89
- Joined: Mon Mar 08, 2004 4:37 am
Post
by ImaNoob » Tue Mar 30, 2004 4:29 am
Not exactly sure what is causing this, but when I use this macro to have my cleric follow my mage around 2 very strange things happen.
(1)When coming from PoK to any other zone, my cleric will just refuse to zone half the time. On the other hand she has no problem with it the other half of the time. For instance PoK to Ak'Anon stone, she refuses to go. But PoK to Freeport seems just fine. Also when I /stop the cleric and manually zone into Ak'Anon, then restart, she will sometimes run AHEAD of the mage. I don't have this problem if I /endmacro and restart after zone in.
(2)My Cleric has aa runspeed 3 the mage does not, however since the mage is KoS in freeport, I have him follow along behind the cleric who will pacify the guards (usually). Anyways when zoning in from PoK to west freeport, I take the tunnel to east freeport to hop the boat or use the translocator, to get to Ocean of Tears. For some reason when the cleric zones to EF from WF, the Mage instantly changes his target to "DOOR", and then heads straight into one of the tunnel walls.
Ok these are incredibly minor complaints, and probably situation specific, however I figured I would give you a heads up on some real application problems, and maybe see if I can get a response on how to fix the problem.
Otherwise, this is the best macro here and very well done. Keep up the excellent work!
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Tue Mar 30, 2004 6:26 am
Don't use this, use advpath.inc along with the example calling macro to get the same functionality. In terms of advpath this one is incredibly old and I wanted this one to die off.