Vanilla Combine - no INI, no Search, just click & autoin

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Meatball
orc pawn
orc pawn
Posts: 14
Joined: Sun Feb 22, 2004 8:39 am

Vanilla Combine - no INI, no Search, just click & autoin

Post by Meatball » Sun May 09, 2004 3:11 pm

Open your tradeskill comtainer, search for your recipe, select it, then run this macro. It combines, then puts everything on your cursor into your inventory.

Code: Select all

#event OutOfStuff "Sorry, but you don't have everything you need for this recipe in your general inventory." 

Sub Main
	:Loop

		:ClearCursor
		/if (${Cursor.ID}) {
			/autoinventory
			/goto :ClearCursor
		}

		/notify COMBW_CombineArea CombineButton leftmouseup
		/doevents
		/goto :Loop
/return

Sub Event_OutOfStuff
	/endmacro
/return
Last edited by Meatball on Sat Nov 06, 2004 1:01 am, edited 1 time in total.

MoonRaverX
a ghoul
a ghoul
Posts: 91
Joined: Tue Dec 16, 2003 5:09 pm
Location: Tampa, Fl

Post by MoonRaverX » Mon May 10, 2004 3:28 pm

Thank you very much, i had a semi working one similar to this that used delays, and i had to manually stop it. Very nice, very preferable to the ini ones.
-MoonRaverX
(Removed character from my sig due to owner of said character requesting me to.)

"ASCII stupid question, get a stupid ANSI"

bzt
a lesser mummy
a lesser mummy
Posts: 77
Joined: Fri Oct 10, 2003 3:39 pm

Post by bzt » Thu May 13, 2004 6:55 pm

lovely macro..works great!

bzt
a lesser mummy
a lesser mummy
Posts: 77
Joined: Fri Oct 10, 2003 3:39 pm

Post by bzt » Thu May 20, 2004 2:09 am

broken now..spams error message and it just rolls by so fast I cant read it..and only way to get it to stop is to unload MQ2..says can not find combine and somehting about child.

I am sorry I can not give more info than that

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

Post by Fuergrissa » Thu May 20, 2004 4:09 am

Change this in red:

Code: Select all

#event OutOfStuff "Sorry, but you don't have everything you need for this recipe in your general inventory." 

Sub Main 
   :Loop 

      :ClearCursor 
      /if (${Cursor.ID}) { 
         /autoinventory 
         /goto :ClearCursor 
      } 

      [color=red]/notify TradeskillWnd CombineButton leftmouseup[/color] 
      /doevents 
      /goto :Loop 
/return 

Sub Event_OutOfStuff 
   /endmacro 
/return
to this

Code: Select all

/notify COMBW_CombineArea CombineButton leftmouseup 

bzt
a lesser mummy
a lesser mummy
Posts: 77
Joined: Fri Oct 10, 2003 3:39 pm

Post by bzt » Thu May 20, 2004 1:27 pm

thanks!

MoonRaverX
a ghoul
a ghoul
Posts: 91
Joined: Tue Dec 16, 2003 5:09 pm
Location: Tampa, Fl

Post by MoonRaverX » Sun May 23, 2004 5:44 pm

Woot, just had to restock my essence vendor, thanks. Wonder why it broke in the first place. (Thought it was my ui for a min...)
-MoonRaverX
(Removed character from my sig due to owner of said character requesting me to.)

"ASCII stupid question, get a stupid ANSI"

zanomo
a hill giant
a hill giant
Posts: 285
Joined: Thu Jun 24, 2004 11:21 pm

Post by zanomo » Fri Nov 05, 2004 2:56 am

Is there anyway to check if a combine had been learned and what should be the syntax for selecting a learned combine?

MacRogue
a lesser mummy
a lesser mummy
Posts: 38
Joined: Sat Nov 20, 2004 8:34 pm

Post by MacRogue » Sat Nov 20, 2004 9:21 pm

zanomo wrote:Is there anyway to check if a combine had been learned and what should be the syntax for selecting a learned combine?
"Open your tradeskill comtainer, search for your recipe"
I dont know much about macros but from what i'm looking at here... one might think that this will only do combines for things that you know how to make (tradeskill window vs experimenting) I think there is another tradeskill mac somewhere that will learn recipes

zanomo
a hill giant
a hill giant
Posts: 285
Joined: Thu Jun 24, 2004 11:21 pm

Post by zanomo » Mon Nov 22, 2004 2:46 am

MacRogue wrote:
zanomo wrote:Is there anyway to check if a combine had been learned and what should be the syntax for selecting a learned combine?
"Open your tradeskill comtainer, search for your recipe"
I dont know much about macros but from what i'm looking at here... one might think that this will only do combines for things that you know how to make (tradeskill window vs experimenting) I think there is another tradeskill mac somewhere that will learn recipes
perhaps I didn't parse my question clearly. What I meant to say was if there are recipe (favorites) already learned, how to select them and combine?

What I did was doing the combine the old way, putting the item one by one into the container and combine them. However, the new tradeskill window combine method is much faster than the old select-and-put-in-container method if there are many items to put in.

What I was trying to do in my macro is to do the combine once, then select it from the recipe and then open the new combine window (ctrl-click) and to simply combine and autoinv. However I got stuck in the selecting process, and abandon the subsequence coding.

Failing to find that out, I am now either using the old chose-and-put way, or to manually select then auto-combine.

I understand that there are quite a few ready-made skill up macros such as the one from overide which I have learned a lot from his codes, I was just trying to make my own from scratch and learn in the process and write the new code (sub-routines) when there is a specific task that requires it, and to use them in a later stage. : )

I have gave up writing it (and focus on the hunting/pulling/mezing routines) but since you brought it up, So the question again: How to select a LEARNED trade skill combine in the new tradeskill container window?

ScubaSki
a lesser mummy
a lesser mummy
Posts: 55
Joined: Mon Jun 21, 2004 8:27 pm

Post by ScubaSki » Mon Nov 22, 2004 6:58 pm

So funny.

Here's the one I've been using for a year.

Code: Select all

|  Tradesave.mac
|  ScubaSki
| 
|  Simple Combine Macro

#Event End "#*#You are missing a#*#" 

sub Main 
   :button 
  /delay 2 
  /notify COMBW_CombineArea CombineButton leftmouseup
  /doevents 

  :LootIt 
    /autoinventory
    /delay 2
    /newif (${Cursor.ID}) /goto :LootIT 
    /goto :button 
/return 

Sub Event_End 
/echo No Components... Ending
   /cleanup
   /sound
   /end
/return 

Almost identical in logic and in code in places.
[code:1]Sub Main
:loop
/if !${me.understand} /call readsig
/if ${me.still.doesn't.understand} /call rtfm
/if ${me.STILL.DOESN'T.FUCKING.UNDERSTAND} /call findgun
goto :loop
/endmacro[/code:1]

mncat
orc pawn
orc pawn
Posts: 21
Joined: Thu Oct 07, 2004 6:32 pm

Post by mncat » Sun Jan 16, 2005 11:29 pm

thanks meatball this macro works great for me. Got tired of combineing 500 Spiderling silk to make treads all the time.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jan 17, 2005 5:27 am

Same here, when I want to just do combines, not trying to skill up, this is a great macro, IMO.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Wite
orc pawn
orc pawn
Posts: 23
Joined: Tue Mar 16, 2004 6:49 pm

Post by Wite » Fri Oct 13, 2006 10:38 pm

This still works great, thanks allot for the post.

Coderz
orc pawn
orc pawn
Posts: 10
Joined: Sun Mar 19, 2006 10:39 am

this works 29-10-2006

Post by Coderz » Sun Oct 29, 2006 11:32 am

#event OutOfStuff "Sorry, but you don't have everything you need for this recipe in your general inventory."

Sub Main
:Loop

:ClearCursor
/if (${Cursor.ID}) {
/autoinventory
/goto :ClearCursor
}

/notify TradeskillWnd CombineButton leftmouseup
/doevents
/goto :Loop
/return

Sub Event_OutOfStuff
/endmacro
/return