What Next? revision to first post..please read...

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

Lizzydude
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sun Jan 12, 2003 10:03 am

What Next? revision to first post..please read...

Post by Lizzydude » Sun Jan 12, 2003 10:17 am

Hello all, I am new to this site..but 2.5years eq gamer. First let me say I am somewhat computer lilerate in that I have been installing custom UI's for my char for a while, but that is as far as any of my knowledge goes. I have read all the post in the forum but still have some questions:

1) I am up and running I think? when i log into EQ I do not get anything in my chat line saying that macroquest is operational, but when I do a /help macro It does say the Macroquest version number IRC-20030111..doe's this mean I am operational?

2) I did not install perl, but I did copy the EQlib.dll from the NonPerl folder in the release folder and copied it to my release folder overwriting a document by the same name, but larger in size.

3) when I am up and running and want to copy/paste some of those GREAT macros...where do I copy them to? not really sure how this is done at all.

4) Is their a posting that I missed that explains what each of the /macro commands does that is with the latest version of download?

5) On a GREAT note; when i type /who npc, I do get a complete list of all npc's in zone and a cardinal as well as degree direction to thier location.

*edit*
here is the eqgame.ini I have downloaded...what fields do I change?
[MacroQuest]
MacroQuestVersion=IRC-20030111
ClientName=eqgame
ClientVersion=Thu Jan 09 03:57:xx 2003
ClientOverride=0
MacroQuestWinClassName=__MacroQuestTray
MacroQuestWinName=MacroQuest

[Function Locations]
WriteChatColor=5388FD
GetRaceByID=52E52C
GetClassByID=52DFE7
GetDeityByID=52F442
LeftClick=531F9B
RightClick=547455
ScreenItem=4B0E95
ScreenSpawn=547A46
NewUIINI=439054
MaxMana=4BA3C0
Commands=545FCC
CmdCleanup=5388D0

[DirectInput8]
Main=832A10
Keyboard=832A14
Mouse=832A18

[Memory Locations]
Zoning=81AB20
Zones=81AB34
Spawnheader=81AB38
Items=81AB3C
Doors=81AB58
SpawnFooter=81AB6C
Char=81AB80
CharInfo=81AB88
Target=81AB8C
Guilds=81B33C
Packs=63E938
Mouse=832A1C
Attack=81869A
Spells=82F3C8
CommandList=60E428
DoAbilityList=7F1750
DoAbilityAvailable=7EECC8
Group=7B2378
GroupCount=7B2230
HSliderItems=7B2424
HSliderMoney=7B6394
PackPanel1=81AC28
PackPanel2=81AC2C
clsMain=81AC14
clsItems=81ABB0
clsSpawns=81AB30
clsInvPanel=00098F98
clsMerchantPanelStatus=0005F388
clsMerchantItemBase=000633C4
clsMerchantSelectedItem=0006343C
clsMerchantSelectedSlotID=00063E78
clsMainSpellRefresh=00000E34
clsMainSpellMemId=00000EC4
clsMainSpellMemBar=00000EC0
clsMainSpellMemGem=00063300

The 05/12 offstes are completely different than what was in the latest eqgame.ini Am i suppose to everwrite all the newest eqgame.ini file that was included in the latest version of the program with the 05/12 version?

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

La-te-da-de-dum.

Post by Malachi » Thu Jan 23, 2003 12:43 pm

Yesh, you got it working just fine.

Macros are pasted like this:
Highlight all the code. Press Ctrl+C

Go to start/programs/accessories/NOTEPAD.

Get the cursor blinking in notepad and press CTRL+V.

Save as whatevermacro.mac (the .mac is important.)

In the game, type /macro whateverthemaciscalled

and away you go. Most macros have additional instructions at the top of the code.

BEfore you ask, the tradeskill, hunter, and any any other macros that force a mouseclick are BROKEN till at least this weekend.

~malachi

dammit, I'm using a crappy university keyboard, and the buttons don't want to press. My wrists hurt now.
~Oh danny boy, the pipes the pipes are calling.~

CodeNewbie
orc pawn
orc pawn
Posts: 14
Joined: Mon Jan 27, 2003 1:31 am

Post by CodeNewbie » Mon Jan 27, 2003 1:43 am

Well, this made it easy ;) After tearing apart both my hard drive for any possible help file that I missed and then again tearing apart the forums using the search command for "How do I make a macro from scratch"; I was just about to throw in the towel and get undoubtably flamed for my ignorance when I saw this post. Thanks to the original poster for braving the line of fire, and to the person who answered for doing it so kindly. However, I do have one more question on this topic. /cringe.

You people do some great things, I've read the forums long enough to see some of the macro's start off as something simple but then turn into something really great through the contributions from everyone here. Problem is "I" haven't contributed anything, and I'm starting to feel a bit like a bloodsucker *cough* leech *cough*. I might be biting off more than I can chew, I realize that; but what would you suggest as the best way to start writing my own or at least being able to help with the cleaning up of current macro's? My programming skills are lacking =\ Qbasic back in highschool is about all I can boast /cringe again. I'll learn what I need to I guess, I notice that some of the commands are the same which is heartening. Any tips for starters would be greatly appreciated, even a flame or two if it's got something constructive :wink:

CN

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

Here's what I did...

Post by Malachi » Mon Jan 27, 2003 10:24 am

Here's what I did, and most likely it'll work for you too. I personally stink at using variables--but that's a personal weakness.

First, open the readme. Don't actually *read* the whole thing, just have it open. Now, start simple--go to the macro depot, or even just your macros directory, and look at a script. Preferably save it so you have a local copy. Start at the top and learn what's happening. The first time use see one of those scary looking ($char)hp,...things, you think "oh my gosh! But then whenever you think that, pop back to the readme ctrl+f to "find", and then search for whatever you're looking for. What does the like

Code: Select all

/send up down
do? Well, pop over to the readme and see, it's explained there.

Once you have made your way through the script, try another, each time getting a little longer and a little more difficult. If you're like me, you'll see that even if you couldn't have written something on your own, you can completely understand what someone else coded. I personally spent hours digesting Fippy's hunter.mac (which is tough, since humans can't digest cellulose...) and that helped me understand a LOT. Once you've got a basic idea, throw something together, or edit what you've got. Try making the hunter.mac skip the entire loot routine, or try to make it only hunt for Lions, Bears, or Goblins that are LESS than your level....simple things, and you'll be able to tell when you've done it right,

Download Liz's macrokit and look in there too, and make sure to get a copy of Fippy's core.mac as well, between those two things there are few functions you actually need to code from scratch.

Then, throw something together for yourself, like maybe a "groupalert.mac" for your specific class, or whatever, and post it to the depot section and wait for comments and suggestions to role in. People will flame ya, but that's their weakness--not yours. Enough other people will help ya that it's tough to even care.

Anyway, most people will tell you to read the readme and look at scripts, and that's what I said...only I went more in depth.

~malachi
Oh, and here's some important conventions:
~Every sub must end in /return (it'll run w/o one, but it will eventually crash the client)
~CaPiTALizaTiOn is not important. sub PoopyPants is the same as sub poopypants
~when in doubt of the syntax, check the readme, it's usually got a good sample to answer your question
~Oh danny boy, the pipes the pipes are calling.~