A forum for reporting bugs NOT related to custom plugins.
Moderator: MacroQuest Developers
-
Mysteryman
- a lesser mummy

- Posts: 39
- Joined: Wed Apr 14, 2004 4:11 pm
Post
by Mysteryman » Thu Jun 17, 2004 7:51 pm
as of today's patch... I"m getting some really odd behavior. my macro for getting behind a mob for instance will make me run the opposite direction, and i'm crashing so much i've turned it off at this point. Is this something anyone else is experiencing? I'm positive it's in my movement section of macro code, always when doing math calculations....
Oh, the only "plugin" i'm using is MQ2Hud, nothing else.
-
tonio
- a ghoul

- Posts: 117
- Joined: Fri Apr 02, 2004 12:57 am
-
Contact:
Post
by tonio » Thu Jun 17, 2004 8:22 pm
I know this isn't what you asked, but I figured it might help... check out the "MoveUtils" plugin in the Plugins section. It adds a "/stick" command which might be useful to you, and I just verified it's working with current mq2 zipfile.
-
darknife
- a lesser mummy

- Posts: 45
- Joined: Wed Jun 16, 2004 11:12 pm
Post
by darknife » Thu Jun 17, 2004 11:08 pm
I know Im having the exact same prob
-
darknife
- a lesser mummy

- Posts: 45
- Joined: Wed Jun 16, 2004 11:12 pm
Post
by darknife » Thu Jun 17, 2004 11:10 pm
Code: Select all
Sub GetBehind
/if (${Target.ID}==0) {
/keypress forward
/goto :nomob
}
/if (${Math.Distance[${Math.Calc[${Target.Y}-${Math.Cos[${Target.Heading.DegreesCCW}]}*10]},${Math.Calc[${Target.X}-${Math.Sin[${Target.Heading.DegreesCCW}]}*10]}]}<4) /goto :noneed
/face nolook fast loc ${Math.Calc[${Target.Y}-${Math.Cos[${Target.Heading.DegreesCCW}]}*10]},${Math.Calc[${Target.X}-${Math.Sin[${Target.Heading.DegreesCCW}]}*10]}
/keypress Ctrl+R
/keypress forward hold
:gobehindloop
/delay 1
/if (${Target.ID}==0) {
/keypress forward
/goto :nomob
}
/face nolook fast loc ${Math.Calc[${Target.Y}-${Math.Cos[${Target.Heading.DegreesCCW}]}*10]},${Math.Calc[${Target.X}-${Math.Sin[${Target.Heading.DegreesCCW}]}*10]}
/if (${Math.Distance[${Math.Calc[${Target.Y}-${Math.Cos[${Target.Heading.DegreesCCW}]}*10]},${Math.Calc[${Target.X}-${Math.Sin[${Target.Heading.DegreesCCW}]}*10]}]}>3) /goto :gobehindloop
/keypress Ctrl+R
/keypress forward
:noneed
/face nolook fast
:nomob
/return
When he attaks he runs straight out never turning. Dunno whats up
Last edited by
darknife on Thu Jun 17, 2004 11:23 pm, edited 1 time in total.
-
Caladine
- a hill giant

- Posts: 164
- Joined: Fri Feb 13, 2004 9:29 pm
Post
by Caladine » Thu Jun 17, 2004 11:19 pm
A whole bunch of shit just isn't parsing right with Lax's new calculate command, most notably if statements using '=='.
Go into MQ2Utilities.c and uncomment the old calculate "ActualCalculate", and uncomment the Benchmarks line at the bottom of the file with ActualCalculate, and comment out the other.
-
Mysteryman
- a lesser mummy

- Posts: 39
- Joined: Wed Apr 14, 2004 4:11 pm
Post
by Mysteryman » Fri Jun 18, 2004 1:08 am
Yea, i've been trying to figure out wtf is happening...but can't put my finger on it. It's causing all sorts of crashes in various places.. It looks like the stack is not getting set back correctly almost, becuase variables inside a proc, that it's been using, it all the sudden will start complaining that varx doesn't exist, roll that in a loop, and then crap out.
-
amml
- a lesser mummy

- Posts: 68
- Joined: Thu Apr 22, 2004 4:55 pm
Post
by amml » Fri Jun 18, 2004 2:23 am
yup same here, after starting foraging macro it takes like 2 mins and eq crashes....
-
Avanos
- orc pawn

- Posts: 14
- Joined: Thu Jun 17, 2004 11:18 am
Post
by Avanos » Fri Jun 18, 2004 10:35 am
Caladine's suggestion seems to have gotten at least hunter.mac to work again for the moment.
-
amml
- a lesser mummy

- Posts: 68
- Joined: Thu Apr 22, 2004 4:55 pm
Post
by amml » Sat Jun 19, 2004 5:01 am
Thank you lax, it works again as of the new mq2 from 06/18/04 =) no more crashing yet ....