Artisan Archive
Thread: How to make a macro repeat itself?
Log out
Mek-Floyd wrote:
Here's the question: How do I end a long-running macro? I can't figure out how.
I had a macro in beta that got me 4K steel in about 6 hours. I was very simple.............
/sample;
/pause 300;
/sample;
/pause 300; over and over again.
I tried it the other day and I came back after a few hours and only had about 400. So something definately changed. And the only way I found to stop a long running macro is to log out.
>> I wonder how many of you posting have ever played an online game before...
>> Unattended macroing is a bannable offense in all online games and I am assuming it is in SWG too.
Funny how ignorant some people can sound when trying to act all high and mighty, implying they know it all. Macroing is not a bannable offense in all games. Clue. You. Get one.
Yes you can make a macro repeat itself. Will I tell you how? No. Why would I want more compitition.
There is a way around the afk bit too. Once again, you'll have to figure it out.
Come peeps it ain't tough. Check out the documentation and think about things.
Keyser334 wrote:
Yes you can make a macro repeat itself. Will I tell you how? No. Why would I want more compitition.
There is a way around the afk bit too. Once again, you'll have to figure it out.
Come peeps it ain't tough. Check out the documentation and think about things.
That's a wonderfully helpful post... Why people spend the time to make posts like that I'll never know.
The method I use to make macro 'repeat' is just a hack. I have create an alias file that contains:
SampleLoop: /stand; /pause 3; /sample; /pause 3000; /sit; /pause 300; /SampleLoopA;
SampleLoopA: /stand; /pause 3; /sample; /pause 3000; /sit; /pause 300; /SampleLoopB;
...
Repeated as many times as you want. To stop macros create another alias file that conatins:
SampleLoop: /notacommand;
SampleLoopA: /notacommand;
...
Repeat for each alias you set up before. Then once you are done with the current sample run and the macro tries to call the next alias it will instead call your new alias with the fake command.
Hope this helps.
Akmad
The long-term sampling example is an excellent example of how SWG allows you to set up a long term macro to handle a tedious process while allowing you to chat or craft items (stimpacks in my case). I can find a 90+ percent sample (usually in a dangerous area) start my 8-hour sampling macro, and get to work making doctor level medicines with my droid. A very sweet ability which I haven't used to its full extent in over a week due to connectivity and server uptime issues.
I would highly recommend that you use these macros when you can multitask, but don't go AFK too much with them running, as swooper and meatlumps spawn in the most unlikely places (i.e. at your feet).
Dr. Ayla Loboserra, MD
Stygian Legion
Starsider galaxy
it's simple to make a macro that repeats and is easy to stop:
/stand; /kneel; /sample; /pause <time for action to be depleted>; /stand; /sit; /pause <time for action to regenerate>; /ui action toolbarSlotXX
Throw the macro into a hotkey (the tool bar on the top of the screen) and set the XX value of the macro to that F## key-1. So if it's on F12, you enter 11 for XX, because it starts at 0 and goes to 23. To stop it, just remove all actions from that hotkey, then when it goes to repeat itself, it will do nothing. After you remove it the macro from the hotkey, just wait till you sit down, and then you can leave and get back to gaming.
The above will only work for things like Iwrac (fiberplast) where you stay kneeled and automatically re-sample as long as your kneeled. The only way to do it for minerals is to repeat a /sample; /pause <timetill you can sample the mineral again>; cycle until you figure out the correct number till your pools drained, then sit down, and heal up, using pause, stand up, then start the whole thing over again
ie: /stand; /sample; /pause 30; /sample; /pause 30; /sit; /pause 300; /ui action toolbarSlotXX
and keep repeating the sample/pause cycle
Hope that makes sense
Actually /sample will run until your pools are depleted. The catch being, the popups will stop you from sampling until they're answerd. The way around that is to stop samplng yourself and then restart. Thus....
/stand; /pause 5; /sample; /pause 5; /sit; /pause 16; /ui action toolbarSlot##
The first 2 pauses let the UI actually process that action. (For example if you just use /stand; /sample you will often get an error message where it thinks you're still moving.) The last one is just enough to allow you to sample again. It could be adjust to be long enough to fully heal.
As written, though, you will eventually deplete your ham bars. At that point, you will skip a sampling session due to being "too tired", sample the next few time, skip 1, etc. You can avoid that by writing in 2 or 3 sample cycles, and then adding a /healdamage self before looping. (Just have plenty of stims on hand.)
Needless to say, with the popups, it sure looks like the Devs are trying to at least discourage AFK sampling, so it may not be long before people who leave such a macro running for hours on end be considered to be using and "exploit"....
Oh, and to stop it, all you have to do is switch toolbars so that the slot you're using is empty, or at least has an action that (a) isn't a looping macro and (b) which you don't mind "going off".