I need some help with this macro please

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

NotaNecro
orc pawn
orc pawn
Posts: 21
Joined: Sat Apr 10, 2004 7:32 pm

I need some help with this macro please

Post by NotaNecro » Sat Apr 10, 2004 8:44 pm

I need a macro that will set up 2 different locations as "go to" points. We will call them 1 and 2. After those are set up, i need it to target and snare the closest of the mobs that i set my "addtomoblist" then run back to point 1. From that point i need it to cast from a list of spells in a speciffic order until the mob get's within 50 feet. Then i need my toon to run to point 2 and continue where he left off in that list of spells. Then basically repeat itself running back and forth between point 1 and 2, 2 and 1 until the mob is dead, then repeat the whole process.

Now, there is a chance that I will get agro on more then one mob at a time. I need the macro to be able to detect whether or not other mobs are within 50 feet of me also and make my toon run to point 1 or 2 accordingly.

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Sun Apr 11, 2004 12:52 am

Try looking at the different kiting macros. There's probably one that does exactly what you're asking for...

NotaNecro
orc pawn
orc pawn
Posts: 21
Joined: Sat Apr 10, 2004 7:32 pm

Post by NotaNecro » Sun Apr 11, 2004 3:11 am

I have seen how to set two points and how to trigger myself to move to 2 different points, but what i don't know is what i would use to make me move as soon as a mob, any mob, get's within 50feet of me. I have also seen kiting macro's that have 2+ points set and what they do is cast one or two spells then run to the next point, then cast one or two spells and run to the next point. the one i need will be chaotic and untimeable, i need it to stay in a sequence of spells and be able to run my toon back and forth at a moments notice then continue in that spell sequence where it left off.

NotaNecro
orc pawn
orc pawn
Posts: 21
Joined: Sat Apr 10, 2004 7:32 pm

Post by NotaNecro » Sun Apr 11, 2004 8:40 pm

"i need it to stay in a sequence of spells and be able to run my toon back and forth at a moments notice then continue in that spell sequence where it left off."

Is this possible?

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Sun Apr 11, 2004 8:53 pm

It's possible, the spells could be in an array, the position in the array determines the spell to cast, Cycle the array to keep casting spells. I could write the whole thing but don't have the time right now.

NotaNecro
orc pawn
orc pawn
Posts: 21
Joined: Sat Apr 10, 2004 7:32 pm

Post by NotaNecro » Sun Apr 11, 2004 9:38 pm

Is there anyway I can get you to post me a link to the array section of the manual? I am still very new to this and I haven't done anything with arays that i was aware of.

Eat_the_meek
orc pawn
orc pawn
Posts: 11
Joined: Sat Feb 07, 2004 9:03 pm

Post by Eat_the_meek » Sun Apr 11, 2004 10:44 pm

Try something like this:

Assign each spell a number. Set a variable at your first spells number. Cast the spell equal to the variables number and add one to the variable. When the variable gets above a certain the last spells number, set it to the first spells number.

That's just the logic behind it and coding would be pretty easy but I don't have time right now.

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Sun Apr 11, 2004 11:36 pm

Here's the best post about arrays (amazing found it with search) it's the origonal post where plasmic told us all about the creation of arrays.
http://macroquest2.com/phpBB2/viewtopic.php?t=3219

Wylker
a lesser mummy
a lesser mummy
Posts: 42
Joined: Tue Feb 10, 2004 5:32 pm

Post by Wylker » Mon Apr 12, 2004 5:23 pm

I feel the non AFK macro clause coming to hammer this thread!!

/runs away in fear

wylker

NotaNecro
orc pawn
orc pawn
Posts: 21
Joined: Sat Apr 10, 2004 7:32 pm

Post by NotaNecro » Mon Apr 12, 2004 8:35 pm

this has nothing to do with me being AFK. When kiting in certain area's all you need to do is look away from the screen for a second and you die. between kids, girl, the horrible horrible TV, maybe even the A.D.D. thing i tend to get distracted easily.

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Tue Apr 13, 2004 2:29 am

If you pulled out the part where it looks for mobs to kite, then it wouldn't be seen as an AFK macro :)

jcooler
a ghoul
a ghoul
Posts: 87
Joined: Wed Dec 31, 2003 7:38 pm

Post by jcooler » Tue Apr 13, 2004 2:39 pm

ahhhhh it may start off like that


but soon you will start watching TV and useing an egg timer to know when your rdy for another kite ..................... /looks innocent

NotaNecro
orc pawn
orc pawn
Posts: 21
Joined: Sat Apr 10, 2004 7:32 pm

Post by NotaNecro » Thu Apr 15, 2004 4:07 am

Yeah, i am not going to argue with you guys because I can totally see how/where you are getting that idea. I honestly have no intentions of using anything AFK other then my bazaar mule which doesn't run anything MQ2 related he just kinda sits there and sells stuff.

On a side note, do you think we can make the macro loot stuff, find the next target by itself, look for GMs, and maybe you guys can help me put in that chat interface that automatically replies to others when they send you a tell. :lol:

Shin Noir
a ghoul
a ghoul
Posts: 90
Joined: Tue Aug 05, 2003 8:18 pm

Post by Shin Noir » Thu Apr 15, 2004 7:44 am

I don't think I could trust a macro out there to just go AFK for over 30 mins-an hour.. Unless I didn't mind dying!

Even 15 minutes on tradeskilling or casting a spell to increase skill in PoK and I get paranoid the macro is broken somehow..
But then again, I use macros to simplify redudent events, not play the game for me :P

When I log in I log in to play. it's like playing Quake with an auto-aim hunt bot if you AFK for 15 hours running a hunt macro. What fun is that? the whole purpose of Quake is to aim! Right?

I'm not flaming. I don't mind what you do. I just felt like saying that for no apparent reason. 5am does that to me!