New to macroquest

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Mental
orc pawn
orc pawn
Posts: 16
Joined: Mon Jun 02, 2003 5:55 pm

New to macroquest

Post by Mental » Tue Jun 03, 2003 1:07 pm

Hello. I just got macroquest, did the compiling etc and have a running .exe.

I went aftert his mainly to help me with tradeskilling (I plan to sit an watch it work, I do not intend to leave it running unattended, i just want to save from carpal tunnel, hehe)

Anyways, I want to take a shot at making my macro's solo before I ask for someone to hand me a script, so here's my question:

Through reading, I see various commands were broke in recent patches, and was curious if the find item command still worked, I am basically trying to make a mino hero brew script atm for starters, and being able to search my bags rather than telling it locations etc would make things easier, hehe.

Also, what other commands were broken, if you do not mind taking the time to respond.

(edit) nevermind on the find item command question, just found a thread talking about it like 1 minute after posting this <hate when that happens>, a list of what no longer works atm though would help if no one minds.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Jun 03, 2003 1:55 pm

Actually very little no longer works... can't think of a thing off the top of my head. Oh, yeah I can. You can't "/click left item". That was a complicated bit of code and it hasn't been rewritten.

Mouse movement and clicking have their own peculiarities, caused by different people using different UI's. If you are setting up tradeskill macros make sure you test mouse movement before you hit combine, to make sure everything goes to the right place.

/finditem works with one caveat: you must have all your inventory and all bags open already. The code for checking whether bags are open or not already is broken, and I haven't gotten around to figuring out how to fix it.
MQ2: Think of it as Evolution in action.

Mental
orc pawn
orc pawn
Posts: 16
Joined: Mon Jun 02, 2003 5:55 pm

Post by Mental » Tue Jun 03, 2003 4:03 pm

Ahh, I thought find item was completely broke.

I have no problem with openning all my bags manually, that should make this easier.

Thanks for the reply.

Azum
a hill giant
a hill giant
Posts: 229
Joined: Wed Jun 04, 2003 5:04 am

Post by Azum » Wed Jun 04, 2003 5:06 am

Finditem doesn't work for me. Even with all bags open and inventory up. The cursor just moves to the top left corner of the screen. What can I do to fix this.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Jun 04, 2003 9:20 am

When the cursor moves to the top left corner of the screen (X,Y = 0,0) it means that there has been a parsing error.

Translation: it couldn't find the location it was looking for.

My guess is your locations.txt is wrong. The current file is about 48k. If your's isn't anywhere near that size you need to download the current one from the CVS.
MQ2: Think of it as Evolution in action.

Azum
a hill giant
a hill giant
Posts: 229
Joined: Wed Jun 04, 2003 5:04 am

Post by Azum » Wed Jun 04, 2003 10:07 am

locations.txt was much smaller. I got the one from the cvs, but it still does the same thing with /finditem. I guess that means, needs a recompile?

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Jun 04, 2003 11:05 am

Depends on when the last time you downloaded the CVS was. We made some changes to EQLib_Mouse.cpp that fixed a lot of the problems with /click and /finditem.

Try downloading a completely new source tree from CVS and recompiling. Then try again.
MQ2: Think of it as Evolution in action.

Mental
orc pawn
orc pawn
Posts: 16
Joined: Mon Jun 02, 2003 5:55 pm

Post by Mental » Wed Jun 04, 2003 1:56 pm

hmm, my locations.txt file is 2kb, lol.

But I downloaded the source in a zip at : http://macroquest2.com/phpBB2/viewtopic.php?t=2324

Because for some reason wincvs refused to download the files.

Is that zip innacurate?

Mental
orc pawn
orc pawn
Posts: 16
Joined: Mon Jun 02, 2003 5:55 pm

Post by Mental » Thu Jun 05, 2003 12:38 am

I feel like an idiot. I couldn't get the cvs cause I wasn't specifying where the download should go, lol.

After compiling I see the locations.txt is correct there, the zip file location is out dated :(

annnnnnd it comes with a hero brew mac, and it looks alot like what i had fiddled with on my notepad. Macroing gonna make eq alot more fun.

Thanks for the help Mckorr.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Thu Jun 05, 2003 9:05 am

You're welcome.

The zip file is so out of date I'm surprised you got anything to work at all. You need the CVS. Sometimes you gotta hammer on it a bit to get it to accept commands, but it's the only way to get source that works.
MQ2: Think of it as Evolution in action.

Mental
orc pawn
orc pawn
Posts: 16
Joined: Mon Jun 02, 2003 5:55 pm

Post by Mental » Thu Jun 05, 2003 12:23 pm

Ok, I have one more question I think for the time being, hehe.

Is there a command i have to add to my script in order to allow me to pause mq?

When my macro is running, using any keyboard commands/text messes with the script and doesn't go through.

Is there a way i can add a hotkey to it for pausing mq? like cntrl+p or something?

Shocks
a ghoul
a ghoul
Posts: 101
Joined: Tue Feb 18, 2003 3:26 pm
Contact:

Pause - Delay

Post by Shocks » Fri Jun 06, 2003 8:45 am

To pause MQ this is the command.

/mqpause [on|off]
Pauses/resumes a macro to aid in debugging or chatting.
No parameter will toggle on/off, useful for hotkeys

To just delay its

/delay <time> <s, m>
Fully pauses macro for a set amount of time
time: Time in 10ths of a second (or suffixes s/m)

You can find all commands here.
http://macroquest2.com/?p=manual


Shocks

Mental
orc pawn
orc pawn
Posts: 16
Joined: Mon Jun 02, 2003 5:55 pm

Post by Mental » Fri Jun 06, 2003 3:14 pm

Ahh, ok.

I know there is a page that details all the commands, hehe.

I was just a little sketchy on actually pausing it since typing anything leads to the macro messing up.

Didn;t even think of a hotkey to make it go instant.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Fri Jun 06, 2003 9:12 pm

Salutaitons,
Myself, I have hotkey page 10 set up with hotkey 10 to be the mqpause on, so then I can do:
Shift + 0
0
in quick succession and get my macro paused, then I resume it by typing in "/mqpause off"