Looking for 'macroing' guide

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

andru
decaying skeleton
decaying skeleton
Posts: 1
Joined: Mon Jul 26, 2004 11:19 am

Looking for 'macroing' guide

Post by andru » Mon Jul 26, 2004 11:37 am

Greetings!

I have virtually no programming experience, and up until now I have just used macroquest in combination with various UI's to track mobs and get item-stats.

I am interested in perhaps learning to setup macro's for farming supplies, getting tradeskills up, etc. and was wondering if there are any guides out there. I have read through some of the forums and glanced at various macros, but it's pretty much latin to me.

Anywhere one of you programming-adepts could guide a hopeful such as myself?

Cheers!

hiipii
a ghoul
a ghoul
Posts: 93
Joined: Sat Jun 19, 2004 5:01 pm

Post by hiipii » Tue Jul 27, 2004 2:53 am

Basically RTFM then read and learn by example that's what i did and I have no previous experience. And no one is going to write you a step by step guide.

User avatar
bohicaseti
a lesser mummy
a lesser mummy
Posts: 33
Joined: Sat Mar 06, 2004 5:55 am

Post by bohicaseti » Tue Jul 27, 2004 3:04 am

About the only way your going to get the learning experience your asking for is to try & fail over and over. Don't try to write a whole macro at once if you aren't familiar with it. Try making it in baby steps. Break your macro that you want to build into steps. Take a peice of paper and write down each little step this macro will do. Then try and get the first part to work. More than likely it's not going to work, but since you've broken it down into baby steps you can easily do a search on the forums for something that is familiar with that particular baby step. Test, debug and search a bit more for that baby step til it's working like you wanted it to. Once you've searched for and completed a few baby steps of your macro, you'll start to get the 'feel' for what is needed and it begins to flow a lot faster. Between the forums here and the readme.chm file that is included with the .ZIP file it's pretty hard not to find an answer to what your looking for in some generalized sense (over half the time you can find sample source to copy paste/edit snippets of your liking). But it seems that your hoping to either try and learn this stuff overnight by osmosis or looking for a link to Barnes & Noble for a copy of "MacroQuest2 for Dummies". As much as I would love for either of those 2 to come to pass, it ain't gonna happen. Just start with baby steps and when you get totally lost and stuck on a particular part, then copy and paste that bit of code here in the Macro Help section and someone will more than likely help you out if they can. If your making an honest attempt then most people here will give an honest attempt at helping. Good luck man, most of us have been where your at, so don't get discouraged.
Friends help friends move . . . .
Real friends help friends move dead bodies.

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Re: Looking for 'macroing' guide

Post by Fuergrissa » Tue Jul 27, 2004 4:28 am

andru wrote:
Anywhere one of you programming-adepts could guide a hopeful such as myself?

Cheers!
Ok the way i taught myself was simple, think of a simple macro i want to do.
(Forage)
Then look at other macros and learn the basics by looking at every start in the macro.

all start with

Code: Select all

Sub Main
then normally a Heading

Code: Select all

:Forage
then a check to see if the ability exists and if true execute

Code: Select all

/if (${Me.AbilityReady[Forage]}) /doability "Forage"
to break the top code down:
if (/if) i have the ability Forage AND its ready to be used ( (${Me.AbilityReady[Forage]}) ) THEN forage ( /doability "Forage" )

then we need to tell the program to delay a second and then loop.

Code: Select all

/delay 1s
/goto :Forage
so above we say wait 1 second then goback to that heading we spoke of earlier and start again.
We will also need to put what we forage into the inventory you will need to insert somewhere:

Code: Select all

/autoinventory
I will let you decide where it goes.

ALLWAYS remember Case Sensitive so :forage is not the same as :Forage

from there you could decide to record your stuff in an ini file and destroy the crap, Look for a macro that already does it and COPY it then break it down to see how it works, if you are really really stuck and dont understand, look at another and see if its done a different way, if your still stuck paste what you HAVE figured out in the help section and then ask about what you dont understand, People WILL help you if you have shown you can do SOMETHING yourself, if you post something like HELP ME i want to forage you will get jack shit help and shitfull of flame'ing, if you post your code so far and say please help me add this with a little bit of text explaining what you want to do then most likely someone will help.
I can 100% tell you it will work because i DID IT, i started with NO knowledge of macros AT ALL, i started that way and have now posted a number of working macros for others to use and enjoy.

It is not that hard ONCE you understand 2 things.

No one is obliged to help you
Everything you need to do the job is HERE on this forum ( Everything ).

Good Luck.
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Top Product Website

Post by FrankJScott » Sun Dec 24, 2023 6:56 pm

Please try Google before asking about Updated Product Blog 9f252a1