Page 1 of 1

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

Posted: Sun May 09, 2004 3:11 pm
by Meatball
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

Posted: Mon May 10, 2004 3:28 pm
by MoonRaverX
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.

Posted: Thu May 13, 2004 6:55 pm
by bzt
lovely macro..works great!

Posted: Thu May 20, 2004 2:09 am
by bzt
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

Posted: Thu May 20, 2004 4:09 am
by Fuergrissa
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 

Posted: Thu May 20, 2004 1:27 pm
by bzt
thanks!

Posted: Sun May 23, 2004 5:44 pm
by MoonRaverX
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...)

Posted: Fri Nov 05, 2004 2:56 am
by zanomo
Is there anyway to check if a combine had been learned and what should be the syntax for selecting a learned combine?

Posted: Sat Nov 20, 2004 9:21 pm
by MacRogue
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

Posted: Mon Nov 22, 2004 2:46 am
by zanomo
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?

Posted: Mon Nov 22, 2004 6:58 pm
by ScubaSki
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.

Posted: Sun Jan 16, 2005 11:29 pm
by mncat
thanks meatball this macro works great for me. Got tired of combineing 500 Spiderling silk to make treads all the time.

Posted: Mon Jan 17, 2005 5:27 am
by aChallenged1
Same here, when I want to just do combines, not trying to skill up, this is a great macro, IMO.

Posted: Fri Oct 13, 2006 10:38 pm
by Wite
This still works great, thanks allot for the post.

this works 29-10-2006

Posted: Sun Oct 29, 2006 11:32 am
by Coderz
#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