A forum for macro code snippets to be used in writing other macros. Post routines or .inc files here only, completed macros go to the Macro Depot. MQ2Data format only!
Moderator: MacroQuest Developers
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Thu Apr 22, 2004 8:05 am
Updated:
advpath.inc
Updated a bunch of my ${String's because Wassup was making fun of me

-
wassup
- Official Guardian and Writer of TFM

- Posts: 1487
- Joined: Sat Oct 26, 2002 5:15 pm
Post
by wassup » Thu Apr 22, 2004 2:45 pm
ml2517 wrote:Updated:
advpath.inc
Updated a bunch of my ${String's because Wassup was making fun of me :cry:
:twisted:
/taunt ml2517...
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri Apr 23, 2004 9:24 pm
Updated:
Fixed the code causing the annoying "Invalid character found after index" output to the chat window.
-
Quadzer
- orc pawn

- Posts: 15
- Joined: Sun Oct 19, 2003 10:12 pm
Post
by Quadzer » Sat Apr 24, 2004 4:18 pm
I still get a few "Invalid character found after index" But does not seam to hurt the program.
Also is there a easy way to make this follow a path running backwards?
Like in Ranger Kiteing?
Thanks for all your hard work.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Sat Apr 24, 2004 4:20 pm
You don't have the latest version if you are getting those. Those are cause by having quotes in /echo messages and they should all be removed from the latest version. I'll double check it though.
To your other question, no I don't have anything like that in there. I'll look into trying to add that as a parameter if/when I get some free time.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Sun Apr 25, 2004 10:07 am
Updated:
advpath.inc
Fixed a bug with the (re)targeting system when in follow mode. If you cleared your target it wouldn't re-aquire.
-
Dulapore
- a lesser mummy

- Posts: 67
- Joined: Thu Feb 26, 2004 4:39 am
Post
by Dulapore » Sun Apr 25, 2004 10:42 am
First, thank you for this .inc. I love to use it as I can't stand staying in one zone too long.
One thing I've noticed is that the part that allows the bot to follow it's master through a zone doesn't work as well as before the MQ2Data version.
Some examples where it works intermitently; zoning from nro into oasis. PoK to North Freeport.
An example of not working at all; Zoning out of Nro LDoN's.
Finally, this is prolly more of a request as I don't see anything about this in the code; Is it possible for the bot to follow it's Master through the use of the LDoN Magus's? Perhaps have it watch the master for text used when in a zone with a Magus and use the same text, or perhaps /who the master till it sees the zone it went and use that if it wasn't near to see /say text? Just a thought.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Sun Apr 25, 2004 11:19 am
Do me a favor and the next time you are zoning out of an LDON mission (get it from several different missions in Nro, Sro etc) and do a /doortarget before you are exiting out and post the name of the door that you see. It's likely doesn't have "port" or "tele" in its name, which is what I use for criteria for trying to zone.
As far as the magus thing is concerned I'd thought about this in the past but the problem is, the way that advpath is designed it is supposed to make it independant of standing right next to the person you are following. That's not to say that it isn't doable, but I'm not sure its worth it if it probably isn't going to work well. You have to be fairly close to someone to see the /say messages etc.
-
Dulapore
- a lesser mummy

- Posts: 67
- Joined: Thu Feb 26, 2004 4:39 am
Post
by Dulapore » Sun Apr 25, 2004 1:46 pm
Will do on the nro ldon door. It will prolly be tomorrow though.
As for the Magus's. How about; since the bot will follow the Master to the loc of where it last saw it, have it move to that point. That should be fairly close to the magus. Have it recognize if it's in a zone with a Magus in it. If so, instead of /doortarget, or if /doortarget comes up with a far away door, then do /target Magus. Then do the moveto code you have for the doors. Next evaluate /who mastername and scrape the zone name the master went to and put that in /say. Just a thought for the logic. That should maintain the location independence which you intended and I love.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Sun Apr 25, 2004 2:19 pm
You aren't always guaranteed to get the zone of where someone went to via /who all, which was one of the reasons I stopped thinking about doing this.
-
Vexix
- Genbot Janitor
- Posts: 245
- Joined: Sat Apr 17, 2004 10:10 am
Post
by Vexix » Mon Apr 26, 2004 10:15 am
ml2157,
Sweet macro. Been using it for a while with great pleasure.
Since the data change, it appears some of the var passing has changed as well. GotoFunction used to accept:
/call GotoFunction "-10.00 -200.00"
But now it doesn't, and gives you an error if you try. If you leave off the quotation marks it works fine, but the documentation states they are required. Might want to update the doco.
--Vexix
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Mon Apr 26, 2004 2:27 pm
Hrm yeah maybe I *fixed* it when I was converting it to the new parm system. I'll look at the doc when I get home.
-
Dulapore
- a lesser mummy

- Posts: 67
- Joined: Thu Feb 26, 2004 4:39 am
Post
by Dulapore » Mon Apr 26, 2004 4:33 pm
I only got around to doing one LDoN today. It was in Nro. The door name was THPRTL700E.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Mon Apr 26, 2004 4:35 pm
Ok that should help find it.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Tue Apr 27, 2004 9:05 pm
Updated:
advpath.inc
generic mac file
generic waittilthere mac file
advpath.txt
Updated for new variable system.
Added "prtl" as a possible portal to look for when zoning out of ldon missions.
Fixed the RecordFunction calling method in the documentation.
Fixed the pattern: It now completely avoids the obstacle and door code. The reason for this is that you should be in an open location any when you are running this. What could happen before is if you chose too tight of radius to run and too many sides you would plot locations that are too close together and it throws off the obstacle code.