Macros - Crafting

cdent

New member
Crafting Macros



The following list of macros are a set of macros I use to craft multiple items in succession. I have to give credit where credit is due. I did not create these macros. I found them online and have used them to grind through to master crafter. However, this guide will give you some added insight into what is happening within the macros, so if you need to make adjustments, you’ll understand the process better than just copying and pasting code.

First I’ll list all of the coding for the macros you’ll need. Then I’ll go into detail about what they actually do.

The macros

CRAFTY_Initialize - This macro sets up the alias used in each of the other macros.

/pause 0.25;
/alias dct /m CRAFTY_crafter0

CRAFTY_Crafter0 - CRAFTY_Crafter0-7 are identical. They open the crafting tool in a slot and process through the default crafting screens. Lastly, the alias updates so that the next iteration of the Macro uses the next toolbar slot.

/pause 0.25;
/ui action toolbarSlot12;
/m CRAFTY_crafter_shared;
/alias dct
/m CRAFTY_crafter1

CRAFTY_Crafter1

/pause 0.25;
/ui action toolbarSlot13;
/m CRAFTY_crafter_shared;
/alias dct
/m CRAFTY_crafter2

CRAFTY_Crafter2

/pause 0.25;
/ui action toolbarSlot14;
/m CRAFTY_crafter_shared;
/alias dct
/m CRAFTY_crafter3

CRAFTY_Crafter3

/pause 0.25;
/ui action toolbarSlot15;
/m CRAFTY_crafter_shared;
/alias dct
/m CRAFTY_crafter4

CRAFTY_Crafter4

/pause 0.25;
/ui action toolbarSlot16;
/m CRAFTY_crafter_shared;
/alias dct /m CRAFTY_crafter5

CRAFTY_Crafter5

/pause 0.25;
/ui action toolbarSlot17;
/m CRAFTY_crafter_shared;
/alias dct /m CRAFTY_crafter6

CRAFTY_Crafter6

/pause 0.25;
/ui action toolbarSlot18;
/m CRAFTY_crafter_shared;
/alias dct /m CRAFTY_crafter7

CRAFTY_Crafter7

/pause 0.25;
/ui action toolbarSlot19;
/m CRAFTY_crafter_shared;
/alias dct /m CRAFTY_crafter0

CRAFTY_crafter_shared - This just chooses the default action when requested in the crafting process.

/pause 0.25;
/pause 1;
/ui action defaultButton;

CRAFTY_crafter_do_next - Once you’ve completed the crafting process, this macro moves you to the next crafting tool and begins again.

/pause 0.25;
/dct;
/pause 1;

CRAFTY_crafter_complete - This macro completes the craft process. Once the process is complete the CRAFTY_crafter do next macro resets the dct alias to move onto the next crafting tool. If you want to actually create items rather than just craft them in practice mode, in the /createprototype line, remove the “practice no item” part so the line reads /createprototype; This will produce the product you were crafting.

/pause 0.25;
/nextcraftingstage;
/nextcraftingstage;
/createprototype practice no item;
/nextcraftingstage;
/stopcraftingsession;
/createprototype practice no item;
/pause 1;
/nextcraftingstage;
/nextcraftingstage;
/createprototype practice no item;
/nextcraftingstage;
/stopcraftingsession;
/createprototype practice no item;
/pause 1;
/m CRAFTY_crafter_do_next;



What do I do now?


You’ll want to setup your toolbar. Pick an open, empty toolbar, and place 8 of your crafting tools in the bottom row as seen below.

crafting toolbar.jpg

This can be any type of crafting tool (generic, clothing, weapon, structure), but they should all be the same type of tool. If you plan to be an architect and a weaponsmith, you’ll want to put 8 of one crafting tool in one toolbar, and 8 of the other in another toolbar.

Also, place the CRAFTY_crafter_initiate macro in slot F4 in the top row, and the CRAFTY_crafter_complete macro in slot F1 in the top row.

Start crafting

1. Press the top row F4 button to run the CRAFTY_crafter_initiate macro.​
2. Select the first crafting tool in the bottom row (F1). After this you won’t need to click on any further crafting tools.​
Crafting stage 1.jpg

3. Choose the schematic you want to use and click Next.​
4. Fill in the materials you want to use to craft the object.​
5. Press F1 on the keyboard (CRAFTY_crafter_complete macro). There will be a brief pause.​
6. Repeat steps 4 & 5 until you are ready to train, or are done with crafting.​


Helpful hints:

This set of macros can serve multiple functions. It was designed to grind through one of the crafting professions quickly, by allowing you to craft “practice items” for XP without filling up your inventory with items you’ll never do anything with. However, if you are looking to actually craft multiple items quickly, these macros can be a big help. I make a copy of the CRAFTY_crafter_complete macro, and relabel it CRAFTY_crafter_practice. With that, I leave the /createprototype practice no item; in as is. For the CRAFTY_crafter_complete macro (the one where I actually want to craft something for my inventory), I make the line look like this, /createprototype; I will put both CRAFTY_crafter macros in my toolbar so it’s easy to switch between practice mode and crafting mode.

Figure out what item(s) you can craft within your profession, that will gain you the most experience. Find yourself some inexpensive resources to run through the practice macro and get all the XP you can! It will take you some time, but this set of macros makes it go by so much quicker.
 

Zhaku

New member
Great macro! it's mostly working but i get a bunch of error messages saying "you failed to start the crafting session" and then it seems to jump from the 2nd tool to the 6th and then eventually gets cancelled because a tool is already in use in the cycle in between a bunch of error messages that it just cycles through.

I tried double checking all the code and it each macro seems to be copy and pasted correctly
 

cdent

New member
Do you have 8 separate crafting tools in your toolbar? Not sure why it would jump from 2nd to 6th. If you need help with it, upload a copy of the macros from your macros.txt file, or some screenshots of the way you have them programmed. We'll try to find the error.
 

cdent

New member
Everything looks good in your macros. Only differences I see is that in some of the Crafty_crafter0-7 macros you put a ; after the /m dct and /m CRAFTY_crafterX. Not sure if that makes a difference or not, but some of the macros you didn't do that. The other thing I see, and again this may be inconsequential, is that in the Crafty_crafter_complete macro, each time you have a /createprototype line, your Practice No Item is not capitalized. Again, not sure if capitalization is a factor in the macro or not. Looking back at my original posting, I can see that you followed my steps exactly how I wrote them, so that might be on me, if that ends up being the problem. See the attached to see how mine is coded.

Try correcting the text to capitalize the Practice No Item, and then run it. If that doesn't change it, take all of the crafting tools out of your toolbar, and reset them one by one, making sure not to duplicate a crafting tool in more than one box. Let me know how that goes.
 

Attachments

  • crafty crafter complete macro 1.jpg
    crafty crafter complete macro 1.jpg
    106 KB · Views: 3

Zhaku

New member
Thank you for the suggestion! I did hit master doc anyway so it still worked it was just a bit less efficient, either way this macro saved me a ton of time! I replaced all the tools in my bar but that didn't work (great idea btw I thought that's was probably it).

I'll have to grab some more mats and let you know if deleting the ;'s fixed it
 
Top