Category: Miscellaneous
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Cogwheel's Portal Bug Reports Feature Requests
Author:
Version:
1.5
Date:
10-26-2008 03:23 AM
Size:
3.08 Kb
Downloads:
133,896
Favorites:
90
MD5:
Pictures
MacroSequence   Popular! (More than 5000 hits)
********** IMPORTANT ***********
If you are upgrading from a previous version, you must not overwrite Sequences.lua or you will wipe out any sequences you've created. I suggest extracting only MacroSequence.lua from the zip file or copying Sequences.lua out of the MacroSequence folder and then copying it back once you've installed the new version.

The next major version will add a GUI and will no longer use Sequences.lua to store the macros you create. However, it will be able to import anything in your Sequences.lua.
*******************************

Have you ever wanted to sequence arbitrary macro commands instead of just spells and items? Now's your chance! MacroSequence reproduces most of /castsequence's functionality but instead of individual spells or items, each element in the sequence can be an entire macro. There are only two missing behaviors of /castsequence: reset on target change (impossible to do with current state headers) and holding position if an action fails (something many people don't like about /castsequence anyway).

In addition to its sequencing, the macros can be of unlimited length. This makes MacroSequence a contender as an extended macro addon.

To create sequences, you need to edit a table in Sequences.lua, though I've tried to make this very simple. Here is the documentation comment at the beginning of that file:

Code:
Each entry in this table defines a single macro sequence akin to the
/castsequence command. Take the following macro, for example:

  /castsequence reset=alt/10 Immolate, Corruption, Curse of Agony

This can be represented as follows:

  WarlockStarter = {
    reset = {
      alt = true,
      seconds = 10
    },
    
    "/cast Immolate",
    "/cast Corruption",
    "/cast Curse of Agony"
  },

The easiest way to trigger a sequence is to /click it in a macro. The button's
name is the same as the sequence (so be sure to choose a unique name). For the
example above, the /click macro would be:

  /click WarlockStarter

Alternatively, you can set a key binding to the button with a one-time command
like:

  /run SetBindingClick("CTRL-5", "WarlockStarter") SaveBindings(GetCurrentBindingSet())

The first time you click the button, it will run the first command in the
sequence. Each subsequent click will advance to the next one until it reaches
the end, in which case it will reset to the beginning. Like the /castsequence
command, the sequence will also reset if you die.
  
The reset entry is optional, but every sequence must have a list of macros. Each
item in the list can be an entire macro of unlimited size (meaning this addon
can also be used for extended macros). Use Lua's long string syntax to make
editing easier (be sure to align it with the left column or they will not be
seen as slash commands):

  MageSequence = {
    [[
/say Hello
/wave
    ]],
    
    [[
/use Talisman of Ephemeral Power
/cast Arcane Power
/cast Presence of Mind
/cast Pyroblast
    ]]
  }

Alternatively, you can use one-line strings with \n to separate the lines.

The reset entry can contain any combination of the following items:

alt - boolean
  Reset the sequence when you run it while holding alt.
ctrl - boolean
  Reset the sequence when you run it while holding ctrl.
shift - boolean
  Reset the sequence when you run it while holding shift.
combat - boolean
  Reset the sequence when you enter or leave combat.
seconds - number
  If specified, the sequence will reset after the given amount of time. If the
  sequence is advanced before the time is up, the timer will be restarted. A
  time of 0 is the same as not specifying a time.
cycle - number
  Instead of returning to the beginning when you click past the end, you can use
  cycle to repeat some number of macros at the end of the sequence. For example,
  if you have 6 macros and a cycle of 3, it will use them in the order 1, 2, 3,
  4, 5, 6, 4, 5, 6, 4... Any other reset condition (including the implied death
  reset) will return the sequence to 1.
  Change Log - MacroSequence
v1.5
- Updated for 3.0

v1.1
- Added cycle feature

v1.0.1
- The "sequence has no macros" error message now correctly shows the name of the sequence with no macros

v1.0
- Initial Release
  Comments - MacroSequence
Post A Reply Comment Options
Old 03-11-2008, 04:06 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 212
File comments: 132
Uploads: 22
You need commas after the closing brace of the reset table. E.g.:

Code:
SomeSequence {
  reset = {
    alt = true
  },
  "macro1",
  [[
macro 2
  ]],
}
Cogwheel is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-11-2008, 04:02 PM  
Endromada
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Code:
MacroSequence = {}
MacroSequence.sequences = {
  DPS = {
	reset = {
		combat = true,
	}
		[[
"/cast Stormstrike",
"/startattack",
		]],
		[[
"/castsequence Flame Shock, Earth Shock"
		]],
  },
  TotemDrop = {
	reset = {
		seconds = 120,
		combat = true,
	}
		[[
"/click MultiBarRightButton3",
		]],
		[[
"/click MultiBarRightButton4",
		]],
		[[
"/click MultiBarRightButton5",
		]],
		[[
"/click MultiBarRightButton6",
		]],
},
}
Ok, I keep getting the "MacroSequences.sequences does not exist. Please make sure there are no errors in Interface\\AddOns\\MacroSequence\\Sequences.lua." error. Now, I don't see any errors. What am I doing wrong?

PS: That's my entire Sequences.lua file.

EDIT: DPS macro should be spammable, cast SS+Rotate Shocks, Totems should be one click per GCD, drop one totem at a time (I have them in a row on my bar, so I can swap in the four I want to use at a time)

Last edited by Endromada : 03-11-2008 at 04:33 PM.
Endromada is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-09-2008, 03:22 AM  
bmon
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Should this work?
kick, ss, shiv, ss, shiv, ss, shiv, etc.... 10 secs up and kick, ss, shiv, ss, shiv, etc

RogueSS = {
reset = {
alt = true,
seconds = 10,
cycle = 1
},
[[
/cast Kick
]],
[[
/cast Sinister Strike
]],
[[
/cast Shiv
]]
},

Last edited by bmon : 02-09-2008 at 01:05 PM.
bmon is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-07-2008, 12:19 PM  
Caliban7263
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 1
Re: One last shot, I have made an improvement

Try taking the double quotes off each command line. Make sure the slash begins in the first column of each line.

Good Luck!

MacroSequence = {}

MacroSequence.sequences = {
Kitty = {
[[
/cast Kill Command
]],
[[
/cast Auto Shot
]],
[[
/cast Steady Shot
]],
[[
/cast Arcane Shot
]],
[[
/cast Steady Shot
]],
[[
/cast Arcane Shot
]],
[[
/cast Mend Pet
]]
},
}
Caliban7263 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-28-2008, 06:49 PM  
Psychokitty
A Defias Bandit

Forum posts: 3
File comments: 64
Uploads: 0
One last shot, I have made an improvement

The improvement is that the following sequence actually does something....it says all the lines of my sequence in /say LOL! This is the only thing in my Sequences.lua file what is wrong with it please?

MacroSequence = {}

MacroSequence.sequences = {
Kitty = {
[[
"/cast Kill Command"
]],
[[
"/cast Auto Shot"
]],
[[
"/cast Steady Shot"
]],
[[
"/cast Arcane Shot"
]],
[[
"/cast Steady Shot"
]],
[[
"/cast Arcane Shot"
]],
[[
"/cast Mend Pet"
]]
},
}
Psychokitty is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-25-2008, 09:47 AM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 212
File comments: 132
Uploads: 22
Quote:
Usefull when you want to time a macro reset before a buff expire.
Which is exactly why it's not possible. The game is designed specifically to prevent combat decisions based on buff expiration, cooldowns, etc.
Cogwheel is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-25-2008, 06:23 AM  
Aberon
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Would be nice to have a reset timer that doesn't reset when you use the sequence.

If you tell it to reset in 10 in 10 second no matter where it is in the sequence it reset even if your still casting. Not like if 10 second of innactivity.

Usefull when you want to time a macro reset before a buff expire.
Aberon is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 01:47 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 212
File comments: 132
Uploads: 22
Quote:
Originally posted by moroii
I'm just working on some warlock macros now. If I cant reset by target on MacroSq would be possible to get the cycling effect on /castsequence. I have something like this:
"stop-at-the-end castsequence" is on my suggestions thread on the UI & macros forum. This would be equivalent to cycle=1, but it would have to be accepted first...

Edit: once i do a revamp of my suggestions post I'll add a suggestion to make target change reactions possible

Last edited by Cogwheel : 01-18-2008 at 01:47 PM.
Cogwheel is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 01:37 PM  
moroii
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Quote:
Originally posted by Cogwheel
Would've been faster last time if i weren't right smack dab in the middle of my sleep cycle
I'm just working on some warlock macros now. If I cant reset by target on MacroSq would be possible to get the cycling effect on /castsequence. I have something like this:

Code:
GrindSequenceImmolate =
	{
		reset = 
		{
			shift = true,
			combat = true,
			seconds = 10,
		    cycling = 1
		},
		[[
/cast Blood Fury		
/cast Immolate
		]],
		[[
/cast Siphon Life		
		]],
		[[
/cast Immolate		
		]],
	},
moroii is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 01:28 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 212
File comments: 132
Uploads: 22
Quote:
Originally posted by moroii
wow...thanks for the even faster answer.
Would've been faster last time if i weren't right smack dab in the middle of my sleep cycle
Cogwheel is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 01:27 PM  
moroii
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Quote:
Originally posted by Cogwheel
Said what i meant and meant what i said. There is no way to do it (at least during combat, which is really the whole point).
wow...thanks for the even faster answer.
moroii is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 01:25 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 212
File comments: 132
Uploads: 22
Quote:
Originally posted by moroii
It's imposible to do, is very hard to implement?
Said what i meant and meant what i said. There is no way to do it (at least during combat, which is really the whole point).
Cogwheel is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 01:23 PM  
moroii
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Ok..what I really meant is: can this feature be included in a future release? It's impossible to do, is very hard to implement?
Thank you for the fast answer.

Last edited by moroii : 01-18-2008 at 01:26 PM.
moroii is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 09:54 AM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 212
File comments: 132
Uploads: 22
Quote:
Originally posted by moroii
Nice job on the MacroSequence...really usefull addon.
I have a question: can it be done to reset the macro sequence on changing targets?
From above:
Quote:
There are only two missing behaviors of /castsequence: reset on target change (impossible to do with current state headers) and holding position if an action fails (something many people don't like about /castsequence anyway).
Cogwheel is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-18-2008, 05:38 AM  
moroii
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Nice job on the MacroSequence...really usefull addon.
I have a question: can it be done to reset the macro sequence on changing targets?
moroii is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.