A simple pulling macro

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Chatwiththisname
a lesser mummy
a lesser mummy
Posts: 51
Joined: Sat Oct 16, 2004 8:09 pm
Location: Texas

A simple pulling macro

Post by Chatwiththisname » Sat Jun 24, 2017 8:22 pm

This macro expects open areas, does not check for collisions, was originally created to use either /moveto using moveutils or /nav using mq2navigation. Current default is /moveto command.

###Warning: This does not attempt to split mobs at all. Primary use would be farming low level creatures for lewtz, or pwr leveling another character with creatures you can handle with only a merc. I do not recommend using this for leveling solo or in a group without crowd control###

usage /mac pull 100
where 100 is the radius around you to pull from.
you can use /mapfilter castradius 100 to show yourself visually where that radius is on the map

first use, /mac pull 1
/end

then /mac pull rangeyouwanttouse

First use generates the configuration.ini which is Pull_Charactername_characterclass.ini

Zradius for pulling by default is only 30, adjust it for zones with hills etc.


This is more of a melee style pulling macro, but I plan to modify it based on user input. Also hoping to separate melee/hybrid classes from pure caster class attack by default. User input is important in proper creation of a macro that is to be distributed.

Not intended as a functional afk macro, but rather one you can use while watching TV :-)

To manually add something to the "do not target" list make a hotkey or type

Code: Select all

/alert add 1 ${Target.Name}
while targeting what you want to add.

Sample INI is below.

[Configuration]
MedAt=20 //Percentage of mana to stop pull and let the group med, This triggers for any group member.
MedTill=90 When MedAt triggers, it will wait until that player is above this percentage before breaking out of the loop
Verbose=False //If set to true it will display what the macro is doing in the MQ2 window.
LevelGreater=5//by default you will attack creates up to your level plus this value. Increase this value to hit tougher targets
Invulnerable=True //will automatically add unreachable/invulnerable targets 20 seconds after you target them.
WaitForHealth=85//Your health must be above this value before it will pull another target.
HealTill=90 //If your health is below 85 on health check, it will wait until it is above 90 to pull.
ZRange=30 //ZRange is the Z radius (up and down) that it restricts pulling targets from.

TLO's in use while macro is running.
${Pulling} //Returns TRUE/FALSE, if at the camp and group fighting a mob, typing /echo ${Pulling} should be false


${alertTimer} //Typing /echo ${alertTimer} will tell you the time left on the Invulnerability Sub's timer, if 0 and you are stuck trying to pull something, be aware of the situation that caused it and let me know.

${PullRange} //This is your pull radius you assigned as the /mac pull ${PullRange}

${CampY} //The Anchor Y location

${CampX} //The Anchor X location

${CampZ} //The Anchor Z location

${ZRange} //Your Z Radius used in pulling. /Echo ${ZRange} to see the value in game.

${UseMQ2Navigation} //Returns TRUE/FALSE based on INI preference. Default is false



Last Updated Saturday, June 24rd 2017 @ 7pm CST
Attachments
Pull.mac
(12.77 KiB) Downloaded 197 times
Last edited by Chatwiththisname on Wed Oct 04, 2017 6:15 pm, edited 1 time in total.

Chatwiththisname
a lesser mummy
a lesser mummy
Posts: 51
Joined: Sat Oct 16, 2004 8:09 pm
Location: Texas

Re: A simple pulling macro

Post by Chatwiththisname » Wed Jun 28, 2017 10:28 pm

I show 6 downloads, no feed back. I'll assume it's working as intended unless feedback is provided about functionality.

goob4662
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Feb 11, 2019 5:26 pm

Re: A simple pulling macro

Post by goob4662 » Mon Feb 11, 2019 8:48 pm

Thank you much for this. I know it's a couple of years old now but could you give me some insight on how to make it pull using range wepon or casting? Would also love to figure out a way to detect and handle adds. Hope you're still around and willing to give me a hand on this trying to learn it a little at a time.

Chatwiththisname
a lesser mummy
a lesser mummy
Posts: 51
Joined: Sat Oct 16, 2004 8:09 pm
Location: Texas

Re: A simple pulling macro

Post by Chatwiththisname » Tue Feb 12, 2019 1:07 pm

This macro is pretty old at this point. Not really supported anymore. Just threw it up to share in it's current state. Due to lack of comments on this I've moved on. Though there are a lot of macros and other resources available here and on the web.

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

New Product Tips

Post by FrankJScott » Thu Oct 26, 2023 11:24 am

Please try Google for High Rated Product Guide 6_f9fbc