Search found 53 matches

by Vayeco Dynn
Thu Sep 28, 2017 1:03 am
Forum: MQ2::Bug Reports
Topic: Defined[] with arrays Behavior change, intentional?
Replies: 4
Views: 1863

Re: Defined[] with arrays Behavior change, intentional?

Defined is also incorrectly returning TRUE for Sub parameters which haven't been set.
by Vayeco Dynn
Sat Jul 18, 2015 6:54 pm
Forum: MQ2::Macros::Snippets
Topic: Array Find
Replies: 3
Views: 2929

Re: Array Find

If you define the parameters of a Sub, the parameters can be of any data type that exists in MQ2DataVars
http://www.macroquest2.com/includes/was ... p#refarray

Is array not a data type and does it not have a Size member?
by Vayeco Dynn
Sat Jul 18, 2015 2:09 pm
Forum: MQ2::Macros::Snippets
Topic: Array Find
Replies: 3
Views: 2929

Array Find

Okay, is this code inherently flawed? |-------------------------------------------------------------------------------- |SUB: InArrayPartial |-------------------------------------------------------------------------------- Sub InArrayPartial(string Needle, array Haystack) /declare i int /for i 1 to ...
by Vayeco Dynn
Wed Sep 17, 2014 8:28 pm
Forum: MQ2::Bug Reports
Topic: Feature Request: PetBuffDuration
Replies: 3
Views: 652

Re: Feature Request: PetBuffDuration

Awesome, thanks so much! Now to patch all my macros with the new Duration changes :lol:
by Vayeco Dynn
Wed Aug 13, 2014 3:40 pm
Forum: MQ2::Bug Reports
Topic: Feature Request: PetBuffDuration
Replies: 3
Views: 652

Feature Request: PetBuffDuration

Any chance this could be added? Not sure how difficult it would be to do. Thanks for your consideration.
by Vayeco Dynn
Thu Jul 03, 2014 8:26 pm
Forum: MQ2::Macros::Snippets
Topic: Mob looking/heading angle relative to me
Replies: 10
Views: 2478

Mob looking/heading angle relative to me

Want to know whether or not a mob is looking at you? Headed in your direction? Headed away from you? This collection of subs will tell you what angle the mob is looking at relative to you, with 0.00 being directly at you and 180.00 being directly away from you. There's a full 0-360 degree version an...
by Vayeco Dynn
Thu Jul 03, 2014 8:13 pm
Forum: MQ2::Bug Reports
Topic: ${Spawn.Look}?
Replies: 3
Views: 576

Re: ${Spawn.Look}?

Ah, okay. Sounds like it's working as intended then. I was getting the bogus 489.0 or whatever when chaining a lot of Spawn.Next's, not sure if that's related. On another note, there is no implementation of what I was looking for in MQ2 which is "What angle is the mob looking relative to me, wi...
by Vayeco Dynn
Thu Jul 03, 2014 1:22 am
Forum: MQ2::Bug Reports
Topic: ${Spawn.Look}?
Replies: 3
Views: 576

Re: ${Spawn.Look}?

Anyway, here's some macro code for anyone looking to figure this out: (Note: Return range is 0-180 in the Normalized sub, 0-360 in the original) #turbo Sub Main /call MobLookNormalized ${Target.ID} /return |-------------------------------------------------------------------------------- |SUB: Angle ...
by Vayeco Dynn
Thu Jul 03, 2014 12:18 am
Forum: MQ2::Bug Reports
Topic: ${Spawn.Look}?
Replies: 3
Views: 576

${Spawn.Look}?

I'm not sure how this is *supposed* to work, but the way I assumed it was supposed to work was that it would tell you the spawn's looking angle relative to YOU (i.e. 0.00 directly at you, 180.00 directly away from you, range 0,359.99). In client, I'm usually getting 0.00 on most spawns, or occasiona...
by Vayeco Dynn
Thu Jun 12, 2014 2:13 pm
Forum: MQ2::Macros::Help
Topic: ${Target.Rooted.Duration} vs. ${Target.Buff[0].Duration}
Replies: 6
Views: 1868

Re: ${Target.Rooted.Duration} vs. ${Target.Buff[0].Duration}

After digging through the code with very little knowledge of C++ or whatever MQ is written in, I figured out what I was looking for: ${Target.BuffDuration[SLOTNUM/SPELLNAME]}
by Vayeco Dynn
Thu Jun 12, 2014 1:21 pm
Forum: MQ2::Macros::Help
Topic: ${Target.Rooted.Duration} vs. ${Target.Buff[0].Duration}
Replies: 6
Views: 1868

${Target.Rooted.Duration} vs. ${Target.Buff[0].Duration}

${Target.Rooted.Duration} is updated with the actual remaining duration of the buff, while ${Target.Buff[0].Duration} is not. Why is this? Is there any way to get accesses to the remaining duration of a buff via ${Target.Buff}?
by Vayeco Dynn
Fri Oct 13, 2006 6:03 pm
Forum: MQ2::Macros::Macro Depot v3.0
Topic: WTS a Macro [AFK Exp/Loot Macro for Necs 63+]
Replies: 35
Views: 12241

Oh, sorry, I thought you had made a Necro macro that could run by itself.
by Vayeco Dynn
Fri Oct 13, 2006 4:28 pm
Forum: MQ2::Macros::Macro Depot v3.0
Topic: WTS a Macro [AFK Exp/Loot Macro for Necs 63+]
Replies: 35
Views: 12241

I'll believe it when I see it. Post your macro in the VIP forum. If someone else can confirm its functionality, I'll post my macro in the VIP forum as well.
by Vayeco Dynn
Fri Oct 13, 2006 3:18 pm
Forum: MQ2::Macros::Macro Depot v3.0
Topic: WTS a Macro [AFK Exp/Loot Macro for Necs 63+]
Replies: 35
Views: 12241

I agree that the VIP forum is definately worth $10 and has a LOT of great resources (particularly the tradeskill macros). However, 90% of this script was made from scratch, and took a lot of time to develop. There's no way you'd be able to put something together that achieves the same level of perfe...