Artisan Archive
Thread: Macros Revisited A generalized system
Yes, I know there are hundreds of posts about grinding macros out there. I have visited a number of them on my way to grinding medical crafting xp. I came up with a system of these grinding macros that is manageable with changing schematic positions, sub-components, etc.
First, my toolbar layout is as follows (function key - macro name [or crafting tool]):
F1 - GotoTool2
F2 - GotoTool3
F3 - GotoTool4
F4 - GotoTool1
F5 - Grind
Shift F1 - crafting tool 1
Shift F2 - crafting tool 2
Shift F3 - crafting tool 3
Shift F4 - crafting tool 4
Shift F5 - EndCraftingSession OR EndCraftingSessionPractice
Shift F6 - StimpackA (for example)
That's the basic layout. I use Shift-F7 to hold EndCraftingSession when I'm not using it, and Shift-F8 to hold EndCraftingSessionPractice when I'm not using it. The two rows of F8-F12 hold schematic selection macros (this should be clearer later in the post).
The macros are as follows:
GotoTool2:
/ui action toolbarSlot16; /pause 2; /ui action toolbarSlot13; /ui action toolbarSlot17;
GotoTool3:
/ui action toolbarSlot16; /pause 2; /ui action toolbarSlot14; /ui action toolbarSlot17;
GotoTool4:
/ui action toolbarSlot16; /pause 2; /ui action toolbarSlot15; /ui action toolbarSlot17;
GotoTool1:
/ui action toolbarSlot16; /pause 2; /ui action toolbarSlot12; /ui action toolbarSlot17;
EndCraftingSession:
/nextCraftingStage; /nextCraftingStage; /createPrototype; /createPrototype;
EndCraftingSessionPractice:
/nextCraftingStage; /nextCraftingStage; /createPrototype practice no item; /createPrototype practice no item;
StimpackA:
/selectDraftSchematic 2;
Grind:
/ui action toolbarSlot12; /ui action toolbarSlot17; /pause 10;
/ui action toolbarSlot00; /pause 10;
/ui action toolbarSlot01; /pause 10;
/ui action toolbarSlot02; /pause 10;
/ui action toolbarSlot16; /pause 2;
Once the macros are in place, one only has to drop the appropriate EndCraftingSession onto Shift-F5 to control whether or not an item is produced. Also,to change which item is being produced, simply change the schematic selection macro in Shift-F6. I find the one line of editing much easier to maintain as schematics get moved about. You can have ones for no crafting station versus crafting station, etc.
The Grind macro walks through all 4 tools; the only thing you have to do is load the resources within the time limit (play with the /pause 10 lines to find a suitable time).
Otherwise, the idea of the GotoToolX macros has been presented before. To use them is as follows:
Open tool1 (shift-f1), select the schematic and load the resources. Press F1. The second tool will load and the schematic chosen for you. Load the resources, press F2. And so on.
Personally, the switching between practice mode and non-practice mode works for me. If I use the practice ending, no item is produced. I can then switch to the production ending and items are produced. I have read previous posting to the contrary, so it's worth double-checking.
Performance-wise, it seems that these macros work a bit slower than one self-contained macro would but not enough to make a huge difference.
Again, all this information has already been presented before. I am merely presenting a new format that may allow for better management, or switching of schematics during grinds for items that use sub-components (as a doctor, the ground items are of use and the better ones use sub-components).
(Alas, my reference list is poor. Thanks goes out to the innovators)
SubliminalTitan
I got one important word for you and everyone else that uses crafting macros: alias.
By using an alias for a schematic and crafting tool, guess what, you only need one button to start and end the session and select the schematic. Just use an alias in your macro for the crafting tool, practice or no practice, and the schematic. Same concept as usingargument in programing functions. e.g, a programmer doesn't write 10 functions that use different things, they just write one function that has three arguments.
Odaen wrote:
I got one important word for you and everyone else that uses crafting macros: alias.
By using an alias for a schematic and crafting tool, guess what, you only need one button to start and end the session and select the schematic. Just use an alias in your macro for the crafting tool, practice or no practice, and the schematic. Same concept as usingargument in programing functions. e.g, a programmer doesn't write 10 functions that use different things, they just write one function that has three arguments.
An example please. I read what your typing but i dont understand what you mean