Why do combine macros not work?

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

Moderator: MacroQuest Developers

md703
a lesser mummy
a lesser mummy
Posts: 34
Joined: Wed Oct 09, 2002 11:04 pm

Why do combine macros not work?

Post by md703 » Sun Jun 08, 2003 8:56 pm

Tried out a few combine macros and they all just click at certain coords, but when i plays my bags or ingreds where the mouse clicks, it doesn't do anything with it but click on it.

I've tried the halas macro, and the metalrings macro, both haven't worked for me. Any ideas on what needs to be done?

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Re: Why do combine macros not work?

Post by wassup » Mon Jun 09, 2003 3:01 am

md703 wrote:Tried out a few combine macros and they all just click at certain coords, but when i plays my bags or ingreds where the mouse clicks, it doesn't do anything with it but click on it.

I've tried the halas macro, and the metalrings macro, both haven't worked for me. Any ideas on what needs to be done?
One thing about the /click...

You need to use the default container xml file. If you use a custom ui and a custom container (bags), copy the default ui EQUI_Container.xml file to the custon directory then reload the ui.

Other than that suggestion, hard to say what might be wrong.

md703
a lesser mummy
a lesser mummy
Posts: 34
Joined: Wed Oct 09, 2002 11:04 pm

Post by md703 » Mon Jun 09, 2003 4:08 am

i will try to use default UI again, but i think i tried it before and nothing.

I've also tried recompiling the mouse.cpp file (5/28), and seems to be the same results. Maybe hearing about how other people use their macro (how they set it up), would help me?

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Mon Jun 09, 2003 11:38 am

I posted the metalrings.mac macro,

I know for a fact that you need to use the default UI container, not the whole default UI.

I'm not sure about one thing though. I use ten slot bags in my inventory. I haven't actually tried any macro's with 8 or 6 slot bags.

Lane
a hill giant
a hill giant
Posts: 201
Joined: Fri Dec 06, 2002 11:57 am

Post by Lane » Sat Jun 21, 2003 4:23 pm

Also remember (I had a hard time with this one) before you start the macro close all your bags and reopen them. I think MQ only gets the bag slot locs when they open so if you move the bags (and your inventory window) it will not work (you will click in the wrong slots)

-Lane

Briliu
decaying skeleton
decaying skeleton
Posts: 2
Joined: Fri Jul 11, 2003 11:26 am

Post by Briliu » Fri Jul 11, 2003 12:17 pm

my combine mac is causing eq to crash to desktop, i dont know what its doing. I start the macro, it clears all bags faces the brew barrel then the screen goes a little dark and i get booted to desktop (the screen goes dark when i /q too, so that not unusual).

This macro worked 2 days ago, before the patch so i know thats not it. Let me know if anyone else has had this problem

Zeus
a hill giant
a hill giant
Posts: 180
Joined: Wed Feb 19, 2003 10:03 am
Contact:

Post by Zeus » Sat Jul 12, 2003 2:24 pm

Did you recompile using the last version after patch?

fryfrog
a hill giant
a hill giant
Posts: 271
Joined: Fri Jun 20, 2003 5:37 am

Post by fryfrog » Wed Jul 16, 2003 5:58 am

/click left item is busted. i don't know which script you are using, but my way around it involved modifying the code a little bit and being sure to have the env item open already.

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

Post by Mckorr » Wed Jul 16, 2003 10:25 am

Wrote 3 quick combining macros on the fly last night to make leather padding, and had no problems whatsoever other than lag causing my delays to be too short from one run to the next.... okay, there was that whole accidentally attacking the banker thing, but that wasn't macro related.

Easiest thing to do: open all your containers, including enviros, position them, then close them. Then MANUALLY open all the necessary containers/combiners/enviros and run your macro. Use seperate macros for each step in the process. If each small step script works you can always write a master macro with #includes to combine them all.

And, before you run a macro, TEST YOUR CLICKS. Type them in on the chat line to make sure things are going where you need them to.

Lastly, insert a delay someplace that will let you hit your endmacro hotkey. If your delays are too small you may find it a real bitch to stop an infinite loop (had that happen twice last night).
MQ2: Think of it as Evolution in action.

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Wed Jul 16, 2003 1:38 pm

delays, eh? I found it easy enough to just make the macro type /mqp into the chat bar... generally not that hard to hit ctrl (or shift, or alt) and then enter twice to pause it... and then put an event in to catch the "Macro is running again." line and re-type the /mqp... works for me anyway

User avatar
BlueSkies
a ghoul
a ghoul
Posts: 132
Joined: Tue Oct 01, 2002 6:22 pm

Post by BlueSkies » Wed Jul 16, 2003 6:48 pm

I find it easier to add the following into any loop:

Code: Select all

/if $target(name)==$char(name) /endmacro
Simply checks to see if you're targetting yourself, and if so, exit. The state of the shift, control, or alt keys, nor the state of the chat bar, change the effect of the Tab or F1 keys in any way. And for Tradeskill scripts, you have no reason to have yourself targetted anyway. Just make sure you aren't targetting yourself when you start the script, and you're good.
Live your dreams! Blue Skies everyone