Advanced Macro Coding v.1.1
68 posts · 2006-05-24 11:27:19 to 2009-04-18 08:30:14
(If you know more that aren’t listed, please post them in a Reply.)
Target Information
%T Target name
%TL Target's Level
%TF Target's Faction
%TD Target's highest loaded Discipline
%TS Target Subjective
%TO Target Objective
%TP Target Possessive
Player’s RSI Information
%H My handle
%L My Level
%F My First name
%N My Last Name
%D My highest loaded Discipline
%IT My Inner Strength Total
%IC My Inner Strength Currently
%IP My Inner Strength Percent
%HT My Health Total
%HC My Health Currently
%HP My Health Percent
%NH My current Neighborhood
Mission Information
%MN Mission Name
%MO Mission Org
%MS Mission Sponsor
%G1 First Group member's Name
%G2 Second Group member's Name
%G3 Third Group member's Name
%G4 Fourth Group member's Name
%G5 Fifth Group member's Name
%G6 Sixth Group member's Name
%G7 Seventh Group member's Name
%G8 Eighth Group member's Name
Simulacra’s Information
%S My Simulacra's Name
%SS Simulacra Subjective
%SO Simulacra Objective
%SP Simulacra Possessive
If you have any questions, additions, corrections or new ideas for macros, please post!
[My original post was formatted in justified variable width text, which makes it appear that there are extra spaces in the yellow /macro code. To correct this, I've reposted the original message in unjustified, fixed width,sized text.]
Macros are an incredible way to put an edge on both your combat and role-playing.There are several more advanced macro techniques which haven’t been posted about yet.Some of them can be inferred by studying the following examples, others will have to wait until PS10N is ready to give up his secrets.Here are some example macros:
Apparel Changing Macros:
(Obviously the apparel for each load-out would be stored on the hotbar buttons called in each macro, Doc clothing on hotbar 15, MA clothing on hotbar 16, etc.Weapons can also be auto-selected by the macro invoking the hotbutton where the weapon is positioned.)
(Note: you can omit the comma between hotbutton and hotbar numbers in the /use command.“/use 4 15” is the same as “/use 4, 15” and saves characters for very long macros to meet the 255 character limit.)
/macro A-Uni /use 4 14; /use 5 14; /use 6 14; /use 7 14; /use 8 14; /use 9 14; /use 10 14; They'll never know what hit them...

KaitouHayashi wrote:
Sweet for some people who aren't so good at macros. One question, I thought you can only have 6 members in a mission team? Why would there be a %G7 and %G8?
Back in beta, eight was the limit, until they changed it to six.

Demonstrating the use of the Objective, Subjective and Possessive macro variables:
/macro Sim That’s my %S. Don’t look at %SO that way, %SS will kick your butt with %SP mad skills.
This macro will output one of the following:
That’s my Aikido Simulacrum. Don’t look at him that way, he will kick your butt with his mad skills.
That’s my Aikido Simulacrum. Don’t look at her that way, she will kick your butt with her mad skills.
(Of course, if it’s a Nuker Simulacrum, Patcher Simulacrum, etc, the correct name would appear with %S.)
This can be used with Targets as well, with %T, %TO, %TS and %TP.
/macro Props Don’t bust on %T, %SS’s a friend of mine, %SP skills are valuable to the team and I’ll defend %SO if I have to.
Example outputs:
Don’t bust on Merrit, she’s a friend of mine, her skills are valuable to the team and I’ll defend her if I have to.
Don’t bust on TRX, he’s a friend of mine, his skills are valuable to the team and I’ll defend him if I have to.
Message Edited by PS10N on 05.24.2006 07:22 PM

Message Edited by Rexxhavukk on 05.24.2006 06:30 PM
Very nice tutorial. This is the first one I've seen with the variables function clearly explained.





I really don't think that this means that using macros for chat actions (emotes?) or combat is "against the rules" or that it is somehow an exploit. Rather, I think that the manual was written back in beta, is full of past and current errors, typos and is plain wrong in sections where the game changed after the manual was printed. (It even says, "see page XX" all over the place and says that you get Access Node Keys for completing missions for Exile Gang Bosses, which is of course ridiculous now.) The only macros I use in combat are to change clothing, which isn't technically a combat action. Macros are part of the game, they can be powerful but certainly using them whenever they can save time is not an exploit. The only time I've ever heard of macros being used as an exploit was when they were used to perform actions such as Data Node Mining while the player was AFK. So, chill out, learn some macros and start using them; come up with a new use that no one has thought of before and share the knowledge with the community.

Message Edited by Skill on 05.24.2006 11:59 PM

Out of interest does %F and then %N give your bluepill first and last name?
- Ð

Out of interest does %F and then %N give your bluepill first and last name?
- Ð
Yes, they sure do! If I type "As a Bluepill, I was known as %F %N." It will output "As a Bluepill, I was known as Gregori Lomax."
Thanks for taking an interest in this thread! 
PS10N
Great thread PS10N
/bookmark
did you just hijack your own thread?
Wow.
Great thread PS10N
/bookmark
Haunting you still...
Thank you so much. I finally coded my first major macro from this. XD

To create a help file which contains all the slash commands and emotes, do the following:
1)Switch to Team Chat (Alt-2) and go somewhere away from a lot of player actions, so the chat will be clean of player chatter and actions.
2)Type /logstart Help.txt
3)Type /commands
4)Type /listemotes
5)Type /logstop
This opens a log file called Help.txt.It records the output of /command, listing all MxO slash commands and the output of /listemotes, listing all MxO emote slash commands.Finally it closes the log file.The next time you are in windows, use Search or Find to locate Help.Txt under the “C:\Program Files\Monolith Productions\The Matrix Online\” folder (if you did not install MxO in the default folder location, then Look In the folder where MxO is installed)The folder will look something like this:
Name In Folder
Help.txtC:\Program Files\Monolith Productions\The Matrix Online\Profiles\yourStationID
Open and edit the file so you have an easy to read list of the commands.If you’re so inclined, create a spreadsheet with command types (combat, emote, chat, game, etc.) in a second column so that the commands can be easily sorted into category or by alphabetical order.
Is there MORE that can be done with slash commands?Why yes, there is… but it will have to wait…
PS10N
jokes... alot of the stuff you have though is included in this one

MACRO TUTORIAL REVAMPED
but good job mate, i love otha macroers

Tzaikov
I have found and copied some tracking and hunting down macros from several website threads. But everytime I tried to used them when I´m trying to locate a redpill (after checking with the /who command that they are in the current location) I´m not able to making them work properly and I keep getting several system error messages.
Can you give us a guide about tracking macros ?
Regards,
Tzaikov

This thread is good. i have one question though... how do i paste in game?
To copy = 'Ctrl' and 'Home'
To Paste = 'Ctrl' and 'Insert'
I never had any issues with being able to copy and paste ingame until I got a new notebook, and for some reason it simply would not work. But, with the help of a friend, I figured it out. So if you are having problems with Ctrl+home/Ctrl+ins not wanting to work for you, try turning off your numlock. Once I did this, everything worked just fine, and no more frustration. (Some of you are probably like, "duh, I knew that already".. but I didn't, so I figured that this little note might be able to help someone)
Also, on a separate note, I already knew how to do many macros, but I was still able to learn a whole lot from your thread, so thank you very much for such a great help tool.
Oriyx

This is a highly informative thread and so you deserve much credit for putting it all together.
The /details command will show you your own details so you don't have to do the rightclick another player and target yourself workaraound any more.
A serious error is your comment that with clothing macros you can change your attributes at any time. Changing your clothes doesn't affect the stats on your buffs. The buffs on your stats are set when you apply the buff. After that, no matter how much you change your clothes the stats on your buffs, upgrades and styles won't change until you reset the buffs upgrades and styles them selves.
So what this means conversely is you can set your buffs with specific sets of clothing macros and then change to an outfit that has max dmg resistance without concern for the bonuses that affect the already applied buffs, upgrades and styles.
To do this is an EXPLOIT. Regardless of how outdated you think the manual is, 9mmFu has already publicly stated this is an exploit in another thread. This is a real problem because anytime you change your clothes, whether it be by macro or manually, your buffs, upgrade and style still have stats that are affected by clothing bonuses you no longer have equipped.
So basically this means changing your clothes is an exploit as defined by the developers of this game.
For example, I'm in PvP and I have on clothing gear that gives ballistic defense and ballistic accuracy bonuses. An MKT interlocks me so I switch to gear that has thrown defense bonuses and change my defense from Hyperdodge to to Hypersense. No problem right? Wrong. I still have my same style and upgrade on. They both give me ballistic defense and accuracy stats that are now being affected by clothing buffs I now longer have equipped. Furthermore while I could reset my style by switching to self defense style and back, you can't apply an upgrade in the combat state. So if you didn't want to be exploiting you'd have to literally unequip your upgrade by shift+rightclicking it the first time you changed your clothes and then you wouldn't be able to re-equip the upgrade until you were out of the combat state. Additiona;;y you'd have to reapply your style and every buff you are using such as HyperSpeed and HyperDeflect. This is simply not a feasable function unless you make a macro for it all and give up your upgrade the first time you change clothing. Macros are not required knowledge to play this game without exploiting. If they are, they need to be put into the tutorial with an explanation that all players must use macros and give up their upgrade to change any single piece of clothing in combat.
Now the MKT doesn't like what's going on so he rolls out and starts running away. I switch to my max speed buff gear to chase him. Again all my buffs, upgrade and style are still being affected by clothing I no longer have equipped. Anyone firing on me is trying to hit me with higher ballistic defense bonus from my upgrade and style than I should have. When I fire on the MKT I am using ballistic accuracy from my upgrade and style that are higher than they should be given the current gear.
I'd really like 9mmFU to explain how this exploit can be avoided. He's flat out said it is an exploit to do this. Yet any intelligent player who analyzes how clothing bonuses affect their upgrade, style and buffs is going to conclude the most efficient thing to do is make clothing macros for each buff as it is applied and then have another clotjhing macro for the actual combat gear. You don't even have to change clothes in combat.
There is a real problem in the way exploits are handled in this game.
Style stacking was never officialy declared an exploit and even in Walrus' famous OSOFTLG that he dedicated to discussing the issue of exploits, the topic of why style stacking was never declared an exploit was conspicuously avoided.
And here something that is unavoidable is declared an exploit without any explanation of how you can not exploit. I'll just say it one more time to be real clear about. The developers of this game have clearly stated it is the intended design of the game that the bonuses affect stats on your active buffs in this way. And they also clearly stated that to change clothes and leave buffs, styles and upgrades on that are affected by clothing bonuses you no longer have equipped is an EXPLOIT. There is no explanation of how to avoid this. So by definition everyone in this game is exploiting when they change their clothes.
Can you please clear this up in a responsible and public way 9MMFU?. I'd really like to stop having exploit issues left hanging out to dry because I don't exploit but now you've put me in a position where I don't see how it can be avoided.
I'm not going to play dumb either and act like changing my clothing is changing my stats on my active buffs, upgrades and styles when the intended design of game mechanics simply don't work that way. I could switch to high defense gear for setting a new hyper defense then switch back to the high reistance gear, but that is an exploit. The only thing changing your clothes in combat is real good for, is shifting your resistances around.
Others have argued that everyone can do it so it can't be an exploit because it's not an unfair advantage and you've said that doesn't matter. That's not my issue here 9mmFu. The issue is, you called it an exploit in a thread where experienced players were discussing it and offered no explanation of how it can be avoided or any level at which you would consider it not to be exploiting. That is a hardline statement in an obscure place the majority of players never saw because scouring the forums to find out about exploits is not a mandatory part of the game. You have the power to let everyone know this is an exploit and how to avoid it and it is your responsibility to do so. To not do so allows new players to discover this intended design of the game and become hardcore unknowing exploiters simply from intelligently concluding how best to set their buffs.
You haven't clarified it in an MOTD or anywhere else where it is knowledge for all to have. So if I want to pvp I have to deal with people who do this because they simply figured out it was the most efficient way to build their PvP load. It's like steroids at this point. If I don't do it, they have an advantage. But I'm not goiing to ccr anyone for doing this because many simply don't know, nor can they be blamed for concluding it is an efficient thing to do. It leaves me with a real resentful feeling about my scruples over not exploiting.
Please clarify what you mean and tell us what to do. Or simply take it back and let it be until you find a way to make it work the way you want it to.
Thank you
PS10N
**Insert loads of text here**Any one who is that Bored to make a huge string of macro's for each possible PvP situation is Sad. Doing it can also mess with your resistance which is not good if you are about to be sniper shootted/ FAR ETC... Id also note i have never seen any one do it before in game (on vector any way)
Thank you
r3spon5e wrote:**Insert loads of text here**Any one who is that Bored to make a huge string of macro's for each possible PvP situation is Sad. Doing it can also mess with your resistance which is not good if you are about to be sniper shootted/ FAR ETC... Id also note i have never seen any one do it before in game (on vector any way)
Thank you
Hmmm..... wouldn't it be cool to Snipe someone then switch to SMG or Dualist really quickly to continue the battle

supersdcurge wrote:You can have them both loaded Solid.. ¬.¬r3spon5e wrote:**Insert loads of text here**Any one who is that Bored to make a huge string of macro's for each possible PvP situation is Sad. Doing it can also mess with your resistance which is not good if you are about to be sniper shootted/ FAR ETC... Id also note i have never seen any one do it before in game (on vector any way)
Thank you
Hmmm..... wouldn't it be cool to Snipe someone then switch to SMG or Dualist really quickly to continue the battle

BTW if you really want to step this up a notch look into buying a Logitech G15 Keyboard or a Nostromo game pad (sp) and then use your brains to combine the two.

Just a small question. How do i macro something to "unequip" or "unuse" itself?
Woah, great thread. I've been coding macros all night now with the help of this info
Just a small question. How do i macro something to "unequip" or "unuse" itself?
If you got a empty hotbar number, ex. like 17, then you could make a macro to that. That would "unequip" your cloths or rifles. Just a ideá.
For "unuse", what do you mean? Is it like don't use a rifle or throw a knife?
img>Joakim wrote:Woah, great thread. I've been coding macros all night now with the help of this info
Just a small question. How do i macro something to "unequip" or "unuse" itself?
If you got a empty hotbar number, ex. like 17, then you could make a macro to that. That would "unequip" your cloths or rifles. Just a ideá.For "unuse", what do you mean? Is it like don't use a rifle or throw a knife?
Well, i created a macro that would equip a certian clothing set. So when i put on another set, without lets say a hat, it still has the hat equipped. So i don't think your suggestion would work.
So just checking if anyone knows if there is a Variable for giving out XYZ cords. is what im asking.... Thank you in advance

Quick question. For the location information variable commands. Is there one that can hand out the X Y Z coordinates? Since with the new data node spawns and in case when soloing i can just make a macro to teamchat to everyone or shout if needed to come to the location / "XYZ" coordinates for help of course along with the NPCs name possibly...
So just checking if anyone knows if there is a Variable for giving out XYZ cords. is what im asking.... Thank you in advance
I dont there is one for co'ords, but if you have your enemy selected just use %T and %TL so you get their name and level.
As my mouse and keyboard are badly in need of replacement, I'll be looking at the G15 and Nostromo, or products in the same vein.
Variables for X,Y,Z coordinate position would be a great addition. That would be a very useful and welcome update. something like %XC, %YC and %ZC would work well.
The macro tutorial I wrote back in May 2006 is woefully out of date. My own methods for writing and using macros are two generations evolved from that. Writing an "Advanced Macro Coding ver. 3.0" is something I would love to do but the time is never there. Also, I need to confer with the Devs on how far a Macro can go before it is an Exploit. I wouldn't want to post any information which would reveal or promote an Exploit.
Lag IS the bane of macros. Some of the more advanced macros I use will fail unless there is little to no lag. There are a lot of complex "work arounds" and specific ways of using certain macros which make a comprehensive, unconfusing Tutorial problematic.
Important information: if you want to invoke a macro with a slash command, don't use anything but lowercase letters and numbers in the macro name. A macro with a capital letter in its name can not be invoked with a slash command. Examples:
/macro Hello Hi, how's it going?
will not work by typing /Hello or even /hello
/macro hello Hi, how's it going?
will work by typing /hello or /Hello or even /HELLO
/goodbye (for now)


