• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

"NSH", Noob Seeks Help (1 Viewer)

Kuna

New member
Joined
Jul 23, 2007
RedCents
HI guys,
Can someone link the best explination on "How to" get a macro from this website and into my MQ2,,, running.
I really want to use Crystiln's Shambot macro, however, l really do not understand how to get it done.
thanks.
PS. I did get it figgued out enought to run MQ2, use the maps ect.
 
Do like this:

1. Go to your MQ2 folder
2. go to the folder called "Macros"
3. Make a new text document
4. open the document and copy past the code from here into it
5. close the document
6. rename the document something.mac (and say yes to the change filetype question)
7. open mq2 / EQ
8. run what ever "/plugin" that are needed
9. type in /mac something

Hope this helps.. Otherwise let me know...

-decker
 
ok, maybe this one is to complicated for my first macro. It has several files, three INC and one image file.
Can you link a simple Macro for me. Something i could test easily after i get it loaded?

PS, got message "Couldn't open macro file....."
 
Go to your macro folder. Look in there and you should find some macros that come with jigs' zip. One is fish.mac, I believe? In game, in your mq window, type "/mac fish". If you have bait and a fishing pole equipped, it will start fishing.

And that's it.

If the macro you're trying to run has includes, you just have to have those includes in the macro folder. That's all...it still starts the same way, with no changes, the files just have to be present.
 
Chapter 1 : Introduction

Welcome to the complete idiots guide to writing macros for Macroquest 2. If your reading this, I am going to assume you know absolutely nothing about writing a macro. In the chapters to come we will cover many different parts of writing and maintaining a macro.

The first thing to remember is that this guide is not going to teach you everything, this guide will also not cover all of the aspects to macros, for that you can look up more advanced features on many different websites.

If this is your first time ever writing a macro or even looking at macro code, you will want to read this chapter completely. I am going to explain the different parts of a macro including subs and events.

First thing your going to want to do is open a copy of notepad. Now what were going to do is write a very simple macro. With all other types of programming languages it is customary to write a program called “Hello World”. We will do the same thing, write the following into notepad…

Sub Main
/popup Hello World!
/echo Hello World!
/end

Okay, now that we have that in note pad we are going to want to save it into our \MQ2\Macros\ directory. Here is how we do this…

Click on File > Save As


img1.JPG


This should open a box that looks like this…

img2.JPG


Now, what we want to do is save it as a mac file and not a text file. To do this you will need to change Save as type: Text Documents (*.txt) to All Files. So use the drop down box and choose all files….

It should then look like this….

img3.JPG


Now, name the macro helloworld.mac and click save. That’s it were done and ready to run our first macro. When your logged into Everquest, type /macro helloworld.

You should see in your MQ2 window, Hello World! And you should have had a pop up on your screen similar to task completions that also said Hello World! If you didn’t, then you did something wrong and start back at the beginning. Congradulations, you have created your first working macro! Pat yourself on the back and get yourself a Pepsi while I show you what all that meant that we typed into the macro.

For teaching purposes, I am going to number the lines that we typed into the macro, you don’t need to number the lines for any macro and it will screw it up if you do so.

1 Sub Main
2 /echo Hello World!
3 /popup Hello World!
4 /end

1 Sub Main
Sub main is used in every single macro you will ever write, it is the constant sub that will always be called upon while your macro is running. It will always be at the top of the macro and all variables are usually defined here as well as any looping. Most all other subs are called through sub main, except in some cases which we will talk about later.

2 /echo
The /echo command can be used for many things, like relaying stats or other information or just to say something in the MQ2 window. In this case, we used /echo to just say Hello World! In the MQ2 window.

3 /popup
The popup command is mainly used for effects you want to add to your macro, to make it more snappy and hyped up. It will always just say something in the middle of your Everquest window. In this example, we used it to say Hello World!

4 /end
The /end command is used to end the macro for various reasons. Some macros aren’t supposed to loop, some will end when a certain goal and been achived, others will end when a certain amount of time has passed ect. This is all done in different parts of a macro depending on events set up in the macro.

Well, there you have it! Now you should have some basic knowledge of macros and more importantly, you know how to save a macro. Things of note, macros are never compiled, they are just written and ran. So when talking about a macro, never use the word compile as to not confuse yourself or others that may not know.

Lets move on to the next chapter where we will work on events.


Chapter 2 : Events and Loops

Alright, here in chapter two were going to deal with events and loops usage in your macro. We will start with loops since you pretty much need a looping macro to have an event work anyways.

Loops:

Using a loop in a macro is a way to keep a macro or even a certain sup going until something, be it an event or waiting for mana or hit points to regen to a certain point.

Adding a look into a macro is fairly simple and pretty much just all part of Sub Main. Here is an example for you that continues in a loop until a certain event happens, in this case we will use a event with it, but don’t worry about the event line right now.

#event quit “#*#hey I did it#*#”

Sub Main
:loop
/doevents
/goto :loop

Sub event_quit
/echo You did it!
/end

Okay, in this example, your loop is actually called ‘loop’. If you read the macro its got :loop which is a marker for the /goto command to go back to. So you can have as many lines in between :loop and /goto :loop as you wish to add. And the macro will run those commands or look for certain events until it is told to stop either by the macro or by you. In this case if we were to read this in English it would read like this…

Were looking for a chat event that says “hey I did it” in any chat form. So we will start here (:loop) check to see if “hey I did it” has been said in any form (/doevents). If it has it will call the event quit. If not go back to :loop (/goto :loop)

You can name loop anything as long as your /goto command tells the macro to goto where you want it to(what you called :loop). For example, you can do :start and /goto :start. The thing to remember is when using this type of formatting, is the sole purpose to a continuing circle doing what you ask the macro to do.

Now, events are things you want your macro to look for at certain times or even all the time. In the case of an event you will put a line like this above Sub Main

#event MyEvent (Your events)

Now the event will also need its own sub for when it happens. The Sub will be called Sub event_MyEvent or whatever your event is named. And then you will put your commands in to that sub that you want to run when that event happens. In the case of the macro above, its just echoing that it was done properly and /end, thus ending the macro.

Events can be used for things such as pausing a macro if you get a tell, when an npc does something or says something you need to react to or even if your weight changes it can make a beep. Events are a very big part of macros. I hope now you understand more of how events and loops work.

The more macros you attempt to write and the more macros you read will give you more ideas on what you can do with events and loops. These are both very big part of writing macros and without them you could no loop a macro and you could not have a macro react to what happens in the world.

My best advise for learning more than what I have here is to look at other macros that you know exactly what they do in game, open them up and read though it.
 
to get crystane's macros working ... (i love her stuff also) 1. download the shmbot into your mq2 folder.... 2.should have all the extra folders (unzip them)that is needed included.... 3.Then open jmos (or whoevers compile),next 4. open the folder that says macro.. 5. copy and past all of the files that you just unzipped into the macro folder... 6. for the next step your going to log into the game target your main tank and type... /macro shmbot and whatch your eq window.. you will see it load up.. Now back in the macro folder its going to create a ini folder with your shamans name on it... this is what you then open to make changes to your spell line up... go through see what spells are loaded in it and load your new updated spells in their place... after you do this go back into everquest .. and in the mq box type /end (ending the old macro) target your main tank again and type /macro shmbot.. it should now be up and running all ready for you to got....

if you have any questions or trouble with doing this send me a pm ... if you have yahoo or aim i can talk you through it.. i can talk to you through their voice services np... i might not be talented in writing them yet... but i am pretty good at trying to get them to work...
 
"NSH", Noob Seeks Help

Users who are viewing this thread

Back
Top