MQ2 Noob question

Third party software discussion goes here.
User avatar
Puffda
Posts: 141
Contact:

MQ2 Noob question

Post#1 » Wed Feb 06, 2013 6:21 am

Im new to the whole MQ2 thing and need some info.

I am playing an SK as main, Necro, cleric, berzerker, and rouge.

What are some macros that I can use to make the healer heal, Necro send pet and dot mob, and have the zerker and rog stick to the back of the mob and fight?
Image
<Sanctuary>

Stickybuds
Posts: 883

Re: MQ2 Noob question

Post#2 » Wed Feb 06, 2013 6:35 am

Take a look at the thread MQ2 Helpdesk it has the answers to all of these questions. And more!
Image

Lilmage
Posts: 10

Re: MQ2 Noob question

Post#3 » Wed Feb 06, 2013 6:46 am

Sent ya a pm puff...

Safiya
Posts: 129

Re: MQ2 Noob question

Post#4 » Wed Feb 06, 2013 7:32 am

Necro DoT's may be problematic to stack without micro-managing. There is no functional pause or delay AFAIK. Well...you can get it to pause but when I got it to work it locked up all other commands until the dot cycle completed. I am pretty new at this stuff too so I may have been doing something very wrong.

I know I don't do this well since there are ways to automate almost everything though I like to feel I am more in control than a script is....though I do want to start learning to write my own macros just for things like short duration buffs (Champion, Proc Buffs, etc...). I am functionally retarded so...well...we'll see.

Anyway....

Code: Select all

/multiline ; /bct NECRONAME //target id ${Target.ID} ;  /bct NECRONAME //pet attack


will send in the pet when you want. This can also be used to send in your melee toons with a little modification.

Code: Select all

/multiline ; /bct MELEENAME //target id ${Target.ID} ;  /bct MELEENAME //attack


For the rogue and zerker, you'll want to look at the stick commands. I am working on this myself since I just found a problem. My rogue is good on most mobs but anything with a large model like Giants and he is just outside of melee range standing there with his dagger in his hand doing...nothing. Normal sized mobs are a non issue. Wish I could help you more.

Heals/spells are easy to micromanage...less easy if you want them automated. This casts some healing spell though I forget which one. You can use the names as well if you prefer instead of 6140 which is the spell ID.

Code: Select all

/bct HEALERNAME //casting "6140" gem3 -maxtries|5 -targetid|${Me.ID}


it is the same for detrimental spells...just change the target or they'll be nuking/dotting you.

Code: Select all

/bct CASTER //casting "8883" gem9 -maxtries|3 -targetid|${Target.ID}


by noting the gem number the spell will be mem'd if it isn't already. maxtries is in case of fizzles. targetid....for your target. You can add the kill switch at the end to keep casting the same spell over and over until mob is dead.

Code: Select all

/bct CASTER //casting "8883" gem9 -maxtries|3 -targetid|${Target.ID} -kill

aabamzen
Posts: 178

Re: MQ2 Noob question

Post#5 » Thu Feb 07, 2013 2:37 am

Necro DoT's may be problematic to stack without micro-managing.


Timers are your friend. Properly done, a necro macro will be more efficient than someone 100% focused on playing it.

pseudocode (python style!):

Code: Select all

declare timer firedot 70
declare firespell "pyre of the burning"
declare timer curse 50
declare cursespell "hex of the ouch"

for i in timers:
  if timer <2:
    call cast dot
    call cast nukeclick/mana flare refresh/etc

if all timers > 4:
  call cast nukeclick

go to beginning
Leader of Black Wind
Zilahik - War || Zeik - Mnk || Zaak - Clr || Zarahak - Shm
Zurak - Brd || Nepezi - Nec || Thor - Pal || Zouk - Wiz || Buppo - BL || Aabam - Enc

Safiya
Posts: 129

Re: MQ2 Noob question

Post#6 » Thu Feb 07, 2013 5:48 am

I am afraid that is beyond my abilities right now. I get what it's doing but wouldn't know how to properly write it or even what to do with it if I did manage to write it. Yup....quite new at this....and the more I read the more confused I get.

User avatar
Puffda
Posts: 141
Contact:

Re: MQ2 Noob question

Post#7 » Thu Feb 07, 2013 8:09 am

ok thanks for all the help another question though.

How to make the necro target his pet and cast donor buff on it?
Image
<Sanctuary>

bishbash
Posts: 381

Re: MQ2 Noob question

Post#8 » Thu Feb 07, 2013 9:26 am

at its very simplest level

/target ${Me.Pet} | Targets your pet
/delay 1s | Delays 1 second to give your client time to change target
/casting "Donor clicky" mainhand | using mq2cast to click your donor form your mainhand. Change spell to cast and location to cast from.

You can get creative, but the above would work on a very basic level.

Linideen1
Posts: 49

Re: MQ2 Noob question

Post#9 » Fri Feb 08, 2013 8:47 pm

If ur running a macro on ur necro, You would want a sub like,.....



Code: Select all

Sub PetBuff
/if (${Me.Feigning}) /return
 /if (${Me.Casting.ID}) /return
 /if (${Me.Moving}) /return
/if (!${Me.Pet.ID}) /call MakeZerk
/if (!${Me.PetBuff[Elemental Mastery]}) /target id ${Me.Pet.ID}
/if (!${Me.PetBuff[Elemental Mastery]}) /call cast "Aged Sarnak Channeler Staff" item ${Me.ID}
/if (!${Me.PetBuff[Augmentation of the Dark Lord]}) /target id ${Me.Pet.ID}
/if (!${Me.PetBuff[Augmentation of the Dark Lord]}) /call cast "Scythe of the Darklord" item  ${Me.ID}
/return


That Elemental Mastery is the staff from VP click ;)


/if (!${Me.Pet.ID}) /call MakeZerk <-- if u dont have a pet will activate another sub (i named MakeZerk to summon pet, give it weapons and toys :)

Noren
Posts: 1053

Re: MQ2 Noob question

Post#10 » Mon Feb 11, 2013 1:14 pm

Lin's post for pet buffs looks pretty good, and Aab uses the same concept for dots that I used, but I wrote mine in MQ2's language. A brief sample of dot timers and usage would be:

Code: Select all

#include spell_routines.inc
Sub Main
|----Declare your variables here----
/declare Dot1 string outer "name of dot"
/declare Lifetap string outer "name of lifetap"

/declare DotTimer1 timer outer 0

Is basically the head of your potential macro. You include any external files necessary, start your Sub Main, and declare your variables that you wish to use later in the macro. If you want to use "/call cast" commands you *must* include the spell_routines.inc file. Notice the format used here:
/declare [name of variable] [type of variable. Is it a string, integer, timer?] [where this variable applies within the macro] [value of the macro]

Code: Select all

|----Set your main loop and call your subs here----
 :Loop
 /call DPS
 /goto :Loop

You can add more Subs later as you get more advanced, but for now this will call your DPS sub routine over and over until you tell it to end (or as I include in the next segment, I tell it to end if the target goes NULL (aka no target).

Code: Select all

|----Set your DPS commands and parameters----
Sub DPS
 /if (${Target.ID} == NULL) /end
 /if (${DotTimer1}==0) /goto :Dot1
 /if (${DotTimer1}>0) /call cast ${Lifetap}
/return

This the sub that is called in your main loop. It reads from top to bottom. When you start the macro it will check that you have a target, then check if your timer is down to 0 (which we declared it to start at, by default). The last check sees if your dot successfully landed and is counting down, and if so will spam your lifetap until the dot timer reaches 0 again.

Code: Select all

|----Dots----
:Dot1
 /call cast ${Dot1}
 /if (${Macro.Return.Equal[CAST_SUCCESS]}) {
 /varset DotTimer1 1154
 }
/return

If your DotTimer1 variable counts down to 0, then your macro will jump down to ":Dot1" and cast the dot. If it is resisted, the client will not return the successful cast message, and the timer will remain at 0. When your loop hits the /if for the dot again, it will see it's still 0 and try again. Remember, MQ2 timers are in deciseconds. 60 seconds = 600 deciseconds.

You should be able to piece together these 4 parts, fill in the blanks, and then have a working (but very basic) macro to test out. Hopefully this can help you build up your own necro macro.

*Note, I never saw any real difference between "/goto : Dot1" and "/call Dot1", so AFAIK they're functionally the same. I, however; am no expert with this, so just take my advice with a grain of salt ;)

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest

cron