Sign Up! Login: Password: New User? Forgot? Support
Forums
Forums : SWG-emu > SWG macro guide (re-fresher)
MrInFiNiT3 (SuperAdmin) 5/19/2009 2:34 AM EST : SWG macro guide (re-fresher)
Scary Assed Admin
MrInFiNiT3
Posts: 229
0
Like
0
Dislike

/ui action cycleTargetInward Selects the next losest target from your curent target
/ui action cycleTargetNext Selects the next target
/ui action cycleTargetOutward Selects the next farthest target from your current target
/ui action cycleTargetPrev Selects the last tartget you had
/ui action toolbarSlot## Uses the curent action assigned to tool bar slot ##
/uiselectdraftSchematic## Selects draft schematic ##, refers to the schematic slot in your data pad
/pause# Pauses the macro for # numbr of seconds
/nextcraftingstage Advances your crafting sesion to the next option
/createPrototype Tells the crafting station to creat a prototype item
/ui action toolbarPaneNext Shifts to your next tool bar
/ui action toolbarPane# Shifts to toolbar # (1-6)
All commands must be typed exactly like they are shown, including capitalization!


Used in making a macro. This lets you put variables in your text inorder to automatically insert words and names. The available variablesare:
%TU - your full name (first and last)
%TT - your current look at target target's full name
%NU - your first name
%NT - your target's short version name (first only)
%SU - personal subjective pronoun: he/she/it for the speaker
%ST - he/she/it for the target
%OU - personal objective pronoun: him/her/it for the speaker
%OT - him/her/it for your target
%PU - possessive: his/her/its for the speaker
%PT - his/her/its for your target
%RU - your species
%RT - your target's species
%KU - your profession title
%KT - your target's profession title,


Basic Crafting Commands
  • /ui action toolbarSlot##- Uses the curent action assigned to tool bar slot ##
  • /selectdraftSchematic ## - Selects draft schematic ##, refers to the schematic slot in your data pad
  • /pause # - Pauses the macro for # number of seconds
  • /nextcraftingstage- Skips to the next stage in crafting
  • /createPrototype- Tells the crafting station to create a prototype item
Example of a Crafting Macro and breakdown.

/ui action toolbarSlot01; - Selects crafting tool (My tool was located in slot 01! Check your action bars!)
/selectdraftSchematic 01; - Selects the item your about to craft
/pause 5; - Pause to give time to select resources (five seconds)
/nextcraftingstage; - Skips the items experimental stats
/nextcraftingstage; - Skips the customization phase
/createPrototype; - Starts the "crafting countdown"
/createPrototype; - Closes the crafting window
/pause 2; - Just a short time for the crafting window to close
/ui action toolbarSlot02; - Second crafting tool
/selectdraftSchematic 02; - Second schematic
/pause 5; - Another Five seconds
/nextcraftingstage; - Skipping stages again
/nextcraftingstage; - Skipping stages again
/createPrototype; - Starts the "countdown" again
/createPrototype; - Closes the crafting window
/pause 2; - Time for the window to close again
/ui action toolbarSlot03; - Third crafting tool
/selectdraftSchematic 03; - Third schematic
/pause 5; - Another Five Seconds
/nextcraftingstage; - Skipping stages again
/nextcraftingstage; - Skipping stages again
/createPrototype; - More count downs
/createPrototype; - Closing the window again
/pause 2; - Time for the crafting window to close again
/macro AremathieaMakesStuff; - Starts the Macro over



Macro Composition

To make your own macros- simply open up your "command" menu (once again- bottom right side of screen) and click the "Macro" tab.
  • Click New Macro
  • Chose a Name for your Macro
  • Chose an icon for your Macro
  • Fill in the body of your Macro with the commands you wish to use
  • Save your Macro
  • Drag it to your actionbar if you wish
Loading a Text file to your Macros (The F# key)

Now, the most helpful part of this guide.

STEP 1: CREATING THE TEXT FILE

Run notepad or any other text editor. Begin by typing in the followingmacro text. Don't just cut and paste from this posting, because it'spossible for you to unknowingly copy special characters, which willcause SWG to not read the file correctly. So type. By hand. I'llsurround the text with a line to indicate the beginning of the file andone to indicate the end of the file, but DON'T TYPE THESE LINES. Theseare just for your reference here, and shouldn't appear in your textfile.
***BEGINNING OF FILE - DON'T INCLUDE!***
testmacro: /wave;/pause 10;/cheer;/testmacro2

testmacro2: /wave
***END OF FILE - DON'T INCLUDE!***

Make sure you type this EXACTLY. Note the spaces, punctuation, etc. Ifit's not exactly right, SWG won't understand your file. Now, save thefile somewhere you'll be able to find it. The desktop, or whereever.Save it as "test.txt" - the .txt extension is important.

STEP 2: MOVING THE TEXT FILE TO THE RIGHT DIRECTORY

Now that you've created a text file, it's time to move it to thedirectory where SWG can access it. Normally, this is C:\ProgramFiles\StarWarsGalaxies. But you may have installed SWG in a customdirectory, so you'll have to determine this yourself. It's the samedirectory that contains the file SwgClient_r.exe. So if you search forthis file, you'll know you've got the right directory. Copy thetest.txt file into this directory.

STEP 3: LOADING THE TEXT FILE INTO SWG

Start up SWG. If you're already running it, quit and restart. Now inthe chat/command entry field where you'd normally type commands orchat, type:

/load test.txt

No quotes, just like above. Make SURE you include the ".txt" part. You should get a response:

Aliases loaded from: test.txt

If you get any other response, you've probably accidentally donesomething wrong. Go back to the beginning and double check all yoursteps. It's also possible that there's some unusual issue with yourparticular machine, in which case all I can say is sorry

Once you get the "Aliases loaded" response, your macros are now loadedinto SWG. What's happened is that SWG has read your text file andlearned two new commands: /testmacro and /testmacro2. These will now betreated like normal commands just like any other command (until youquit the game, at which point it'll forget them).

STEP 4: RUNNING THE MACRO

At the command line (where you'd normal enter chat or commands), type:

/testmacro

Your character should wave, pause for 10 seconds, cheer, and then wave again.

What's happened is that /testmacro has issued the /wave command, thenthe /pause command, then the /cheer command, then the /testmacro2command. /testmacro2 is a new command you just loaded in, and whenexecuted will issue the /wave command. Here's the text file again foryour reference:
TopBottom

Vinyacam (Marcos) (SuperAdmin) 11/12/2009 8:09 PM EST : RE: SWG macro guide (re-fresher)
GP User: vinyacam
Officer - Forum admin
vinyacam
Posts: 244
0
Like
0
Dislike

The proper layout for crafting macros is as follows:

/pause 0.25;
/ui action toolbarSlot00;
/pause 2;
/selectDraftSchematic 07;
/pause 3;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice no item;
/createPrototype practice no item;
/pause 2;
/ui action toolbarSlot01;
/pause 2;
/selectDraftSchematic 07;
/pause 3;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice no item;
/createPrototype practice no item;
/pause 2;
/ui action toolbarSlot02;
/pause 2;
/selectDraftSchematic 07;
/pause 3;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice no item;
/createPrototype practice no item;
/pause 2;
/ui action toolbarSlot03;
/pause 2;
/selectDraftSchematic 07;
/pause 3;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice no item;
/createPrototype practice no item;
/pause 2;
/ui action toolbarSlot04;
/pause 2;
/selectDraftSchematic 07;
/pause 3;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice no item;
/createPrototype practice no item;
/pause 2;
/ui action toolbarSlot05;
/pause 2;
/selectDraftSchematic 07;
/pause 3;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice no item;
/createPrototype practice no item;
/pause 2;
/macro crafting


I added a few extra pauses in there due to the hangtime and lag on the server.  Itll run a 6 tool macro.  I used this to grind Advanced Biological Controls to master (away from the public station, usally while running to grab POIs).
TopBottom

Vinyacam (Marcos) (SuperAdmin) 11/15/2009 8:36 AM EST : RE: SWG macro guide (re-fresher)
GP User: vinyacam
Officer - Forum admin
vinyacam
Posts: 244
0
Like
0
Dislike

Ill be adding a series of other helpful macros up here in the next few days.  Sadly the assist macro is broken so no group afk grinding.  lol.
TopBottom

MrInFiNiT3 (SuperAdmin) 12/18/2009 10:17 AM EST : RE: SWG macro guide (re-fresher)
Scary Assed Admin
MrInFiNiT3
Posts: 229
0
Like
0
Dislike

Ah thanx bro... that will help get my doc and chef up n going.

Y u leave the guild bro?
TopBottom

Who's Online
There are   members online.
So-and-so has logged on!
%title%
%message%