Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
mncat
- orc pawn

- Posts: 21
- Joined: Thu Oct 07, 2004 6:32 pm
Post
by mncat » Fri Oct 29, 2004 10:17 pm
Thank you birdbrain for the help. However I got so frustrated trying to get the macro working corectly that I said the heck with it and wrote my own. I am sure the macro on this post is a wonderful macro and honestly whatever was wrong I am sure was truely just something supid on my part, some sort of brain block. Thanks again to the peopel that did help. I would like to add one thing to my macro and will be posting it here somewhere inorder to try to get some help, just have to be sure to post it in the right spot huh?
-
Chill
- Contributing Member

- Posts: 435
- Joined: Fri May 07, 2004 5:06 pm
- Location: Erie, PA
Post
by Chill » Sat Oct 30, 2004 2:09 am
mncat wrote:How is anyone suposed to learn anything without asking questions?
a) By searching for the answers given the first couple dozen times someone asked the question.
b) By following the stickied tutorial posts.
c) And after exhausting options a and b, by asking simple clear concise questions with relevant details. Something more detailed than: "it just says something like "unable to open blah blah blah"
-
mncat
- orc pawn

- Posts: 21
- Joined: Thu Oct 07, 2004 6:32 pm
Post
by mncat » Sat Oct 30, 2004 5:06 am
Point taken. Perhaps I did not look hard enough, perhaps I did not enter the right words, who knows. Live and learn I guess. But I solved my problems for now. Could not figure out the macro. I am sure it is a wonderful macro and works great. Sure I was having some sort of mind block and being stupid about getting it to work. But I figured if I can't get the macro to work I would just write my own. So everything is fine now. Thank you to everyone that helped me.
-
gimp
- a grimling bloodguard

- Posts: 584
- Joined: Fri Oct 29, 2004 9:28 am
- Location: internet
Post
by gimp » Mon Dec 06, 2004 4:22 am
Code: Select all
:checkCursor
/if (${Cursor.ID}) {
|MQ2 is not logic, a No Rent item returns FALSE for Cursor.NoRent currently
/if (!${Cursor.NoRent}) {
/destroy
} else {
/autoinv
}
/goto :checkCursor
}
this will auto destroy NO RENT items instead of bagging it. useful when you're using Summon Food to skillup for example. Notice the comment, at least that behaviour struck me as very confusing
-
josykatz
- decaying skeleton

- Posts: 1
- Joined: Thu Jul 01, 2004 2:24 am
- Location: Chattanooga, TN
-
Contact:
Post
by josykatz » Sun Jan 16, 2005 1:09 am
All i can say is thank you very much. I am very new to mq2, and was little confusing at first but after reading everything including the manual, i got it up and running. Have to say i love your macro :) Works wonderfully.
-
krazrussian
- decaying skeleton

- Posts: 3
- Joined: Sun Jan 16, 2005 11:49 pm
Post
by krazrussian » Mon Jan 17, 2005 10:41 am
I have a general and a macro-specific question.
First, general. Would this macro work for increasing specialization skill as well as regular skills?
Second, the specific. I'm getting the following message:
[MQ2] maxSkill= 175.00
[MQ2] currentSpell=1
[MQ2] casting=Shock of Frost
[MQ2] evocation = 137
"Unparseable in Calculation 'g'
SpellCast.inc@102 (Cast(SpellName,ItemName,DismountFlag)); /if(${Target:ID}>0) /varset HaveTarget 1
spell.mac@40 (Main): /call cast "${Me.Gem[${currentSpell}]}"
The current macro has ended
Failed to parse /if condition '(95>0)', non-numeric encountered.
I have the updated spellcast.inc runamuck posted here. I thought at first maybe it was the zone (PoK), that wasn't it. tried subbing out several spells into the top slot, no change.
Am I doing something wrong?
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Mon Jan 17, 2005 11:50 am
krazrussian wrote:Failed to parse /if condition '(95>0)', non-numeric encountered.
I'll make you a bet that it has something to do with this particular line, and there's about 700 posts on how to fix it.
Hint: > != > and < != <
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
aChallenged1
- a grimling bloodguard

- Posts: 1804
- Joined: Mon Jun 28, 2004 10:12 pm
Post
by aChallenged1 » Mon Jan 17, 2005 12:02 pm
1) use notepad to open that file.
2) using the replace window (ctrl+h) replace all instances of > with > and all instances of < with <. (use the replace all button)
You must use the semicolon ";" as shown or it won't work.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Mon Jan 17, 2005 12:15 pm
ac1 > me /sigh
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
aChallenged1
- a grimling bloodguard

- Posts: 1804
- Joined: Mon Jun 28, 2004 10:12 pm
Post
by aChallenged1 » Mon Jan 17, 2005 12:33 pm
Now, what I want to know is where the hell did get get the macro that gave him that error? It wasn't this post so the question did not belong here.
POST TO THE FREAKING THREAD THAT YOU GOT THE MACRO FROM IN THE FIRST PLACE!
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!
-
krazrussian
- decaying skeleton

- Posts: 3
- Joined: Sun Jan 16, 2005 11:49 pm
Post
by krazrussian » Mon Jan 17, 2005 12:47 pm
My fault, should have read the site more thoroughly. Yes, of course that was the problem, it;s working now.
I'm still wondering if there is a way to make this macro check for both regular and specialization skill, since Specialization's even harder to raise than the others.
-
Naeeldar
- decaying skeleton

- Posts: 9
- Joined: Thu Jan 20, 2005 11:08 pm
Post
by Naeeldar » Thu Jan 20, 2005 11:10 pm
Is it just me or am I the only one who is getting lots of syntax errors and other warnings when compiling the source code from both scripts?
It's been awhile since I've worked with anything like this but seems pretty similiar to VB and a few other languages and I don't see any glaring problems with the script. Not sure why I keep getting compilations errors.
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Fri Jan 21, 2005 12:11 am
you compile macro's?
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
Naeeldar
- decaying skeleton

- Posts: 9
- Joined: Thu Jan 20, 2005 11:08 pm
Post
by Naeeldar » Fri Jan 21, 2005 12:19 am
fearless wrote:you compile macro's?
Can't tell if your being picky or serious. Corrent me if I'm wrong but you run the prompt creating a folder in mq then you open the file and edit it with the script (copy and paste) then save the file. You open up MacroQuest2.sln and build the files with the program.
Now if I'm doing this wrong then correct me but if your talking about compiling I say were being a bit picky.
-
aChallenged1
- a grimling bloodguard

- Posts: 1804
- Joined: Mon Jun 28, 2004 10:12 pm
Post
by aChallenged1 » Fri Jan 21, 2005 2:09 am
RTFM
Seriously, read the fucking manual, it is likely right there. Most of what isn't right there is able to be found with search, with some exceptions.
Now, if it has to do with macros and plugins and you can't figure it out by opening the manual and starting with the information immediately visible to you, then you probably should not be using this program and it's addons.
The fucking manual is in your main MacroQuest2 directory and is named readme.chm
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!