Artisan Archive

Thread: crafting macro (for practice or actual crafting) no need to know the item's schematic id

kuertee
Sat Aug 06, 2005 5:52 am
#1


crafting macro


(for practicing and actual crafting) - no need to know the item's schematic id


because most macros i see are either not working because of mispelt commands, case-insensitivity or are not user friendly (e.g. have a long-winded way of looping, requiring you to count schematics in you datapad, etc.), i've decided to post my macros/toolbar setup.

this post may seem long, but i wanted to be clear on how these macros work.

the actual actions required from the userwhen the macro is running are:



  1. start macro

  2. select schematic

  3. click next

  4. select materials

  5. repeat from 2

  6. stop the macro loop when you want to stop practicing/crafting
everything else the macro does for you.

the macro texts are at the bottom.

setup:

1. the main macros (craftPracticeLoop and craftLoop) assumes that there are crafting kits in the top slots 9 and 10 in the active toolbar.

if you are particular about where your crafting kits are in the toolbar, you can edit the lines "/ui action toolbarSlot08" and "/ui action toolbarSlot09" to where you have the 2 crafting kits.


i use two crafting kits (usually of the same kind) in the macro so that you can start crafting with the second kit while the first is still producing the prototype.

2. there are 3 macros: craftPracticeLoop, craftLoop, and stop - used to stop all looping macros.

3. drag the macros into the toolbar for easy access.

i have my macros in the same toolbar as my crafting kit so that i don't have to use the macro command to switch toolbars. its also good practice to keep same-type commands/macros in the one toolbar.
to use:

4. ensure that you are not near a crafting station so that its experimentation windows don't interfere with the macro.

5. click on "craftPracticeLoop" macro. (or "craftLoop" for when you need to craftseveralitems - e.g. traps, fireworks).

practicing doesn't give you the item and you lose the materials but gives it gives you more xp.
6. select the schematic.
7. click next.
8. select the materials but DO NOT click assemble.

the macro will auto-advancethe craftingprocedurefor you. you won't see the crafting window change, so don't be alarmed.

if you find that you don't have enough time to select the schematic and the materials, increase the "/pause 15" to "/pause XX" - where XX is the number of seconds you want the macro to pause before executing the next line.
9. wait for the macro to auto-advance the procedure.

the macro will close the crafting window and open the next one automatically.
10. repeat from step 5


the macro will keep looping until you tell it to stop with the "stop" macro.


11. to check that the practicing macro worked, check your engineering xp. for the crafting macro, the item should appear in you inventory.

macros

craftPracticeLoop

/ui action toolbarSlot08
/pause 15
/nextCraftingStage
/nextCraftingStage
/nextCraftingStage
/createprototype practice noitem
/createprototype practice noitem
/pause 5
/ui action toolbarSlot09
/pause 15
/nextCraftingStage
/nextCraftingStage
/nextCraftingStage
/createprototype practice noitem
/createprototype practice noitem
/pause 5
/macro craftPracticeLoop
craftLoop

/ui action toolbarSlot08
/pause 15
/nextCraftingStage
/nextCraftingStage
/nextCraftingStage
/createprototype
/createprototype
/pause 5
/ui action toolbarSlot09
/pause 15
/nextCraftingStage
/nextCraftingStage
/nextCraftingStage
/createprototype
/createprototype
/pause 5
/macro craftLoop
stop

/dump
/dump
/dump





pekivock, Sentinel Peak, LOK, Intrepid

i don't support NGE because its not a game i'm willing to pay $15 a month for

NGE is a new game LA / SOE needs instant income for
NGE is a new game LA / SOE needs instant population / economy (or what's left of one) to entice new market
(NGE from a corporations point-of-view?)
Krplakkor
Sat Aug 06, 2005 5:32 pm
#2

I must be doing something wrong. I got this all set up and go thru everything and get crafting session has ended, but I do not get any xp nor does my crafting tool have a countdown on it. Could someone please help me.
Krplakkor
Sat Aug 06, 2005 5:37 pm
#3


There needs to be a space between no item

Message Edited by Krplakkor on 08-06-2005 05:39 PM

kuertee
Sat Aug 06, 2005 7:41 pm
#4


ooops...but, is that true?


i copied that text straight from macros.txt in my profiles folder.


and "noitem" (no space inbetween) certainly works for me - ground engineering III with weapon crafting kits with it (and i'm currently half-way through IV).


however, if "no item" works...beautiful!


(can i edit my own posts? i don't get that option - even when i'm logged on.)





pekivock, Sentinel Peak, LOK, Intrepid

i don't support NGE because its not a game i'm willing to pay $15 a month for

NGE is a new game LA / SOE needs instant income for
NGE is a new game LA / SOE needs instant population / economy (or what's left of one) to entice new market
(NGE from a corporations point-of-view?)
kuertee
Sat Aug 06, 2005 8:08 pm
#5

ok. i've just tested this.


both "noitem" (without a space) and "no item" (with a space) works on my computer.


so, to those who are trying to use this macro/toolbar setup, use that which works.


(i'd really like to edit my original post. )




pekivock, Sentinel Peak, LOK, Intrepid

i don't support NGE because its not a game i'm willing to pay $15 a month for

NGE is a new game LA / SOE needs instant income for
NGE is a new game LA / SOE needs instant population / economy (or what's left of one) to entice new market
(NGE from a corporations point-of-view?)
miasis
Tue Aug 09, 2005 4:10 am
#6


is this macro missing semi-colons? yeah?


i wrote it really fast and it didn't work and the server shut down so i'll have to mess with it after work, but i was curious about its lack of semi-colons.




::born under a black flag::

miasis: smuggler for life

kuertee
Tue Aug 09, 2005 6:32 am
#7


true...true...


but you should find that the game will add the semicolons for you.


(i'm a minimalist.)






pekivock, Sentinel Peak, LOK, Intrepid

i don't support NGE because its not a game i'm willing to pay $15 a month for

NGE is a new game LA / SOE needs instant income for
NGE is a new game LA / SOE needs instant population / economy (or what's left of one) to entice new market
(NGE from a corporations point-of-view?)
kuertee
Thu Sep 01, 2005 7:00 am
#8


now that i'veexperienced morecrafting (firearms crafting 1 - yeah i know that i'm going slow but i like playing the game and not grinding), i've learntsome tweaks that can be applied to my macros.


(note that i've learntthese macro commands/methods from other posts. so credit goes to their authors. this post is so that i can give something back to not only those players that came beforei but also to the game that is swg.)




1. /ui action toolbarPaneXX

XX = toolbar number. zero-based (i.e. toolbar number 1 = toolbarPane00).


this command will switch to the toolbar numbered XX. in my setup, i've got all my crafting commands in toolbar 06. so, the command i use in my macro is "/ui action toolbarPane05".


this line will ensure that the next "/ui action..." command is executed in the correct toolbargiving you freedomwith the toolbarswhile the macro is running.




2. decreasing "wait" time between sessions

i'veadded a third practice session in my loop. i.e. instead of justusing 2 crafting kits in one loop, i use 3. this ensures that the "waits" between sessions are minimised.




3. something for grinding

i've decided to get some enjoymentwhilegrinding. more to the point, i've decided to craft something i (and others) would find enjoyable during the grind.


for the 4th session of the loop, i'veremoved the option "practice noitem" from the "/createprototype" command. i use this session to actually produce fireworks.


i don't always want to do this. so i've got 2 macros that i use. one for the pure grind and one that allows production.




my set-up

i am grinding weaponsmithing, so i've got 3 weapon crafting kits in toolbar slots 09, 10, and 11. toolbar slot 12 containsa generic crafting kit for making fireworks.




macro texts

(i've renamed my macro craftPracticeLoop to craftPracticeX3 - whichstands for 3 sessions.)


craftPracticeX3


/ui action toolbarPane05;

/ui action toolbarSlot08;

/pause 15;

/nextCraftingStage;

/nextCraftingStage;

/nextCraftingStage;

/createprototype practice noitem;

/createprototype practice noitem;

/pause 5;

/ui action toolbarPane05;

/ui action toolbarSlot09;

/pause 15;

/nextCraftingStage;

/nextCraftingStage;

/nextCraftingStage;

/createprototype practice noitem;

/createprototype practice notiem;

/pause 5;

/ui action toolbarPane05;

/ui action toolbarSlot10;

/pause 15;

/nextCraftingStage;

/nextCraftingStage;

/nextCraftingStage;

/createprototype practice noitem;

/createprototype practice noitem;

/pause 5;

/macro craftPracticeX3;

craftPracticeX3Produce (practice 3 times then produce)



/ui action toolbarPane05;

/ui action toolbarSlot08;

/pause 15;

/nextCraftingStage;

/nextCraftingStage;

/nextCraftingStage;

/createprototype practice noitem;

/createprototype practice noitem;

/pause 5;

/ui action toolbarPane05;

/ui action toolbarSlot09;

/pause 15;

/nextCraftingStage;

/nextCraftingStage;

/nextCraftingStage;

/createprototype practice noitem;

/createprototype practice notiem;

/pause 5;

/ui action toolbarPane05;

/ui action toolbarSlot10;

/pause 15;

/nextCraftingStage;

/nextCraftingStage;

/nextCraftingStage;

/createprototype practice noitem;

/createprototype practice noitem;

/pause 5;

/ui action toolbarPane05;

/ui action toolbarSlot10;

/pause 15;

/nextCraftingStage;

/nextCraftingStage;

/nextCraftingStage;

/createprototype;

/createprototype;

/pause 5;

/macro craftPracticeX3Produce;



comments/critisms welcome.




pekivock, Sentinel Peak, LOK, Intrepid

i don't support NGE because its not a game i'm willing to pay $15 a month for

NGE is a new game LA / SOE needs instant income for
NGE is a new game LA / SOE needs instant population / economy (or what's left of one) to entice new market
(NGE from a corporations point-of-view?)
kuertee
Thu Sep 15, 2005 9:51 am
#9

i was wrong about these macros not working near crafting stations. they do!


because nextCraftingStage doesn't update the crafting window, the experimentation procedure is by-passed.


the experimentation windows open only when you click on "assemble". so if your macro requires you to do this, it will certainly fail near crafting stations.


the macros in this thread doesn't require the user to click on "assemble". and so it works when near crafting stations.





pekivock, Sentinel Peak, LOK, Intrepid

i don't support NGE because its not a game i'm willing to pay $15 a month for

NGE is a new game LA / SOE needs instant income for
NGE is a new game LA / SOE needs instant population / economy (or what's left of one) to entice new market
(NGE from a corporations point-of-view?)
Page 1 of 1
Previous Next