Page 1 of 3
Help with a quick tradeskill macro
Posted: Thu Feb 16, 2006 8:49 pm
by Psy
Hi everyone. I'm really terrible at writing macros, and have a request for a very simple one. I am looking for a macro to do combines for tradeskills after I buy ingredients and am already at the brew barrel, etc. I just want one that "combines" and "auto inventories" whatever I'm wanting to make, once I select what to make, then /endmacro after I'm out of 1 of the ingredients. I looked around already and couldn't find one to do this simple task. Please help. Thanks.
Posted: Thu Feb 16, 2006 8:52 pm
by TheNewGuy
Hi!
Please search, or wjut wait a few days - one of these fuckers with a heart will spoonfeed it to ya.
Posted: Thu Feb 16, 2006 8:56 pm
by Psy
Oh, I forgot to add 1 thing. It'd be nice if someone could add a line to stop combining if inventory is full. Thanks.
Posted: Thu Feb 16, 2006 9:00 pm
by bardomatic
Here you go, just type /mac tradeskill to start and /end to end make sure you have the recipe highlighted that you want to do.
tradeskill.mac
Code: Select all
Sub Main
:loop
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
/delay 35
/notify COMBW_CombineArea COMBW_AutoInvButton leftmouseup
/delay 15
/goto :loop
/end
Posted: Thu Feb 16, 2006 9:03 pm
by Psy
Thanks, is there a way for it to add for it to stop if inventory is full?
Posted: Thu Feb 16, 2006 9:03 pm
by fearless
Pay- There are macro's in the MQ2 depot that do this, whether they work or not I don't know.
Or, feel free to actually donate to the dev's that make this program available to you and take a look at the VIP macros.
Posted: Thu Feb 16, 2006 9:05 pm
by Psy
I found macros to make specific things, such as getting a tradeskill up to xx level. I just didn't find one that would work for what I want.
Posted: Thu Feb 16, 2006 9:09 pm
by NeXuS
Posted: Thu Feb 16, 2006 9:22 pm
by Psy
THANKS! That was exactly what I was looking for. Good work NeXus!!!
Re: Help with a quick tradeskill macro
Posted: Thu Feb 16, 2006 10:27 pm
by wassup
Psy wrote:Hi everyone. I'm really terrible at writing macros, and have a request for a very simple one. I am looking for a macro to do combines for tradeskills after I buy ingredients and am already at the brew barrel, etc. I just want one that "combines" and "auto inventories" whatever I'm wanting to make, once I select what to make, then /endmacro after I'm out of 1 of the ingredients. I looked around already and couldn't find one to do this simple task. Please help. Thanks.
This is what I use, I have the tradeskill container opened already though:
Code: Select all
Sub Main
:endlessloop
/if (${Window[TradeSkillWnd].Open}) {
/delay 1
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
:clearmore
/if (${Cursor.ID}) {
/autoinv
/delay 1
/goto :clearmore
}
}
/goto :endlessloop
/return
Posted: Fri Feb 17, 2006 7:30 am
by gimp
this is what i use. it does exactly what you asked for, you need the ingredients. open tradeskill window and select what to make then /mac combine
it ignores skillups and such, i use it to make large quantities of something
it displays success rate, successes and fails. it stops when you are out of ingredients or inventory is full
Code: Select all
|combine.mac by gimp
sub Main
/declare finish int outer 0
/declare countsuccess int outer 0
/declare countfail int outer 0
/declare counttotal int outer 0
/echo Starting
:CombineLoop
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
/doevents
/delay 5
/if (${Cursor.ID}) {
/autoinventory
/if (${Me.FreeInventory} < 1) {
/echo Out of inventory slots!
/return
}
}
/if (${finish}==1) {
/echo Done. ${countsuccess}/${counttotal} (${Math.Calc[ (${countsuccess}/${counttotal})*100 ]}%) items created
/return
}
/goto :CombineLoop
/return
#Event nomore "Sorry, but you don't have everything you need for this recipe#*#"
Sub Event_nomore
/varset finish 1
/return
#Event create "You have fashioned the items together to create something new#*#"
Sub Event_create
/varcalc countsuccess ${countsuccess}+1
/varcalc counttotal ${countsuccess}+${countfail}
/echo ${countsuccess}/${counttotal} successes (${Math.Calc[ (${countsuccess}/${counttotal})*100 ]}% success rate)
/return
#Event failed "You lacked the skills#*#"
Sub Event_failed
/varcalc countfail ${countfail}+1
/varcalc counttotal ${countsuccess}+${countfail}
/echo ${countfail}/${counttotal} failures (${Math.Calc[ (${countsuccess}/${counttotal})*100 ]}% success rate)
/return
Posted: Tue Mar 07, 2006 3:06 pm
by Everdead
Sorry to bump this semi old thread.
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
is not working for me to combine I am having to manualy click the combine button. I have just been setting up a simple
/click left
/autoinventory
loop but was trying to get a real one made that would hit combine and everything working on tradeskills for 4 characters at the same time so I can't run multi instances and /click left at same time.
Appreciate any help if I missed somewhere this command was changed sorry.
Posted: Tue Mar 07, 2006 8:53 pm
by armysoldier
to all
COMBW_CombineArea is now TradeskillWnd
The window name changed
thats for NEW UI only
Posted: Tue Mar 07, 2006 9:37 pm
by Everdead
awesome thanks. Didn't catch the change.
Great Updated Product Info Guide
Posted: Tue Sep 12, 2023 8:20 pm
by FrankJScott