Architect Archive

Thread: macros

Ghartan
Thu Jul 31, 2003 6:27 am
#105

Its a series of commands that you write up once ahead of time to use over and over at the click of a single button. This way you can save lots of typing and can do some complex actions.


Say I want to greet a stranger, say hello to him and bow. To do this manually everytime would be a pain. So I go to the Action Panel (Ctl A ) ... select Macro Tab ... press new macro button. This pops up a dialog box that I can fill in.


First line is the name of the macro ... call it what you want but it can only be a single word ... like CustomGreeting


Select one of the icons in the list on the dialog box to represent your new macro.


Finally at the bottom of the dialog box is a space to type the commands that will happen every time the macro runs. It could look like these lines:


/wave


/say "It is nice to meet you %TT"


/bow


THese three lines will wave to the person, say hello and embed their name automatically (where the %TT is) and then bows to them.


Hit save and you can either drag the new macro to your toolbar and / or simply type /customgreeting in the chat line to invoke this at any time.


Fancy macros can be dozens of lines long if need (like for dancing and singing at the same time). Hope this helps.

Keytoo
Thu Jul 31, 2003 6:30 am
#106






Kyhawk wrote:

From: http://starwarsgalaxies.station.sony.com/content.jsp?page=Glossary


http://starwarsgalaxies.station.sony.com/manual_detail.jsp?id=56832



Macro
A macro is a set of user-entered commands bound to a hotkey. You can create your own macros in SWG by going to the Actions window (CTRL-A or from the button bar) and choosing the Macro tab.








Another description would be "a series of commands that are executed automatically by either a keyword or hotkey."


I use macros in SWG to repetatively mine minerals for me over and over... my macros are defined through a text file. An example of my text file:







/sample1: /kneel;/sample;/pause 200;/sit;/pause 170;/sample2


/sample2: /kneel;/sample;/pause 200;/sit;/pause 170







This text file is placed in the SWG game directory and named 'sample.txt'. In the SWG chat window, I type "/load sample.txt" and to use the macro, I'll type (again, in the chat window) '/sample1'. After sample1 has completed, it will execute /sample2...






____|
Key'too Omnipotus (-5000 Dev Faction)
|
Bu-Laia (Faithful Padawan to Dex're - Master Weaponsmith - 12pt WS Exp, 11pt Aritsan Exp, 12pt Chef Exp)
___| __| ___|
Weapons, Armor, Droids, Stims, Power, Harvesters, BE Clothing
|
Waypoint -225 -5540 - 900m from Coronet Starport - Dropoff Winnings with Weapon Vendor at this WP
_|
"...and the meek shall inherit the nerf."

Kesseler
Thu Jul 31, 2003 6:33 am
#107

So I could do : overcharge shot, body shot, aim in a macro by typing /combat or whatever I callit?

Kyhawk
Thu Jul 31, 2003 6:35 am
#108

Kinda...


You create the macro and then assign it to a hotbutton like one of the F keys..



then all you are doing is tapping that one key to do several actions in a row






Kyhawk

~

"In Nature there are no rewards or punishments, only consequences"

Take a look at the Starsider website at: groups.yahoo.com/group/SWG-Starsider/
~

saxxan
Thu Jul 31, 2003 6:58 am
#109

I use a type of macro called an "Alias" to run my music, especially as only "Flourishes" gain you experience of the type you need (Music Experience). This also helps me as I have a partially disabled arm and repeatedly hitting the "F" keys would aggravate this...
I do sometimes use the "F" keys manually by setting my second set of hotkeys so F1 is "Flourish 1", F8 is "Flourish 8" etc (a flourish can be shortened to --> /flo 8 <-- for macro purposes.
Macro commands need to be seperated and this is done by ";" symbol.
This Alias below has a "Body text" which is called as a sub-program from the lowest line, the "Control text". Note that the pauses in the lowest line must be at least equal to the total pauses in the body text else you'll get the macro trying to execute multiple times at once.It doesn't seem possible to stop this macro type once started, except by re-logging. If you type "/stop", you'll just get the rest of the band annoyed at you...trust me on this one! If you HAVE to stop yourself, it is possible using "/stopmusic" but you'll still get a message like "You have to be playing an instrument to do a flourish" but you can try to ignore that. The macro makes typing anywhere but the chat box very difficult, but it can be done, and Trading is near impossible as it kills the trade window.
The end pause in the body text for 40 is tuned to my Wookie and his Action recovery rate...so you'll need to tweak this to your own needs...





/alias ^ /stand;/pause 12;/startmusic starwars3;/pause 13;/flo 1;/pause 3;/flo 2;/pause 5;/flo 3;/pause 5;/flo 4;/pause 5;/flo 6;/pause 5;/flo 5;/pause 5;/flo 7;/pause 5;/flo 8;/pause 5;/flo 1;/pause 5;/flo 2;/pause 5;/flo 3;/pause 5;/flo 4;/pause 5;/flo 6;/pause 5;/flo 5;/pause 5;/flo 7;/pause 5;/flo 8;/pause 5;/flo 1;/pause 5;/flo 2;/pause 5;/flo 3;/pause 5;/flo 4;/pause 5;/flo 6;/pause 5;/flo 5;/pause 5;/flo 7;/pause 5;/flo 8;/pause 5;/stopmusic;/pause 12;/sit;/pause 40;


/^;/pause 195;/^;/pause 195;/^;/pause 195;/stand;/pause 5;/smile;





The "/smile" at the end simple makes me aware that the macro has stopped, but isn't necesary really. By adding up all the pauses in the Control text, you'll see this will run for nearly 10 minutes, by having the following control text, it is 30 mins. (nearly)...





/^;/pause 195;/^;/pause 195;/^;/pause 195;/^;/pause 195;/^;/pause 195;/^;/pause 195;/^;/pause 195;/^;/pause 195;/^;/pause 195;/stand;/pause 5;/smile;





I shan't insult anyones intelligence any more!
Thanks mainly to Zelko on Intrepid for teaching me (as Sinj Ca'nel) how to do this. I now play Varyag on Wanderhome as the ping is halved there for me...makes it almost playable! LOL!


I hope this answers some questions, but any questions, email [email protected] with a descriptive but short subject (to distinguish it from junk and spam...


Packrat Sibi, Eclipse
Sinj Ca'nel, Intrepid
Varyag, Wanderhome

saxxan
Thu Jul 31, 2003 7:46 am
#110

Coupla points I missed...


I was told you only get XP for 2 flourishes max in any 10 sec period, hence the "/pause 5" repeatedly in the Body text. The part /startmusic starwars3" is best set to you latest song, if the band you are in is playing another, it will automatically match that song. If anyone does a "/stop" to restart music, you can hit any song key and it will match as before, if you are away from keys at the time, the macro will join in next cycle of the macro...another reason to have a short body text and variable length control text.


Packrat Sibi, Rodian on Corellia, Eclipse Galaxy
Sinj Ca'nel, Bothan on Naboo, Intrepid Galaxy
Varyag, Wookie - aspiring Musician, Eastern Cantina,Bestine, Tatooine, Wanderhome Galaxy (!)

MedelMAX
Fri Aug 01, 2003 5:26 am
#111

I read that before, but the in-game macros already allowed the unatended play. Oh well. lol. Using the in-game macros are annoying, but actually it ends up with a better product. It would be harder to turn off an out of game macro as you would have to alt-tab out etc. Thanks for the reply!



Alich
Tyrena-Cornellia
Intrepid

(Master Entertainer, Master Image Designer, Hunter)
waym0re
Sun Aug 03, 2003 11:04 pm
#112

I would like to know this as well. I have several macros that will hit the toolbar button to disarm my rifle, such as my travel mode macro which removes the armor and weapon, teras kasi mode which switches to plain clothing for better movement. sometimes however these will interfere with each other. Such as if i use the travel mode (unequip weapon) then wish to hand to hand something (which again hits the weapon button) it will arm instead of disarm me. I know there is a /equip and /unequip command, you can see it if you type /help. But I can't figure out how to use it on a specific item. Anybody had any luck with this?
MedelMAX
Tue Aug 05, 2003 4:09 am
#113

Or I could just not use 3rd party macros and then keep my account from being banned



Alich
Tyrena-Cornellia
Intrepid

(Master Entertainer, Master Image Designer, Hunter)
Hijo
Tue Aug 05, 2003 7:33 am
#114

Um...


"you may not use or distribute macros or other programs which would allow unattended game play"


You cannot use macros OR programs which allow unattended game play... it doesn't say macro programs, it says macros OR programs. Sounds to me like any afk playing is banned.

Brietanna
Tue Aug 05, 2003 7:45 am
#115


MedelMAX wrote:
Or I could just not use 3rd party macros and then keep my account from being banned


/clap

Brietanna Iori
Master Entertainer / Coreogrpaher
Intrepid



Brietanna Iori
Teras Kasi Master

Tubaruuku
Image Designer/Tailor
MedelMAX
Tue Aug 05, 2003 9:55 am
#116

"you may not use or distribute macros or other programs which would allow unattended game play"
This implies that there was a macro program, not just a macro. "Other" means there was a first, right?




Alich
Tyrena-Cornellia
Intrepid

(Master Entertainer, Master Image Designer, Hunter)
Nymm
Tue Aug 05, 2003 10:41 am
#117

Macroing to level your entertainer is weak. I can understand it some but I've seen too many macro 90% of their way to master and have no real concept of the skills a proper master musician or dancer should have.


If you want to macro your way through your class sounds like you'd be happier doing something else.

Page 9 of 29