is there any way infight to reset the macro so it beginns from start?
after exiting combat and re entering it works fine and reset the macro
but what if i am infight and have to change target or something and want to reset my macro
is there any option?
First of I tried to do a search and see if this has been answered already but it is so generic that it founds 100s of threads/replies.
So nearly every macro I want to use uses the pretty simple /stackattack variable. If I walk up to a target and do /startattack my character attacks, simples!
If though any macro created in GS uses this variable it just gets removed from the macro. So many macros have it listed in either PreMacro or PostMacro. If I look at the sequence viewer the last lines of my sequence simply show
PostMacro=[[
]],
}
If though I click edit, in the postMacro field it clearly says /startattack
Because of this essentially the macro refuses to work. I have had a look at the same macro’s and they do function fine because they don’t use this function but either way would like to try and find a fix/solution?
This has ironically always been broken but a fix for that was in the last release. This was a visual error (ie you couldn’t see it) not an execution error ie it wasn’t happening.
If your macro is not working it’s extremely unlikely to be because of this line in your PostMacro. this line is also redundant in most cases as your first offensive action within your macro triggers this effect anyway.
I would suggest looking to see if you have Target Hop Protection turned on in your General Options. This setting will stop your macro from executing if you don’t meet a certain set of conditions.
Well that macro won’t work in GSE. Apart from the wrong quotes and missing closing brackets it’s missing all the parts that tell GSE how to use it. It needs a specID, helpTxt and author line as a minimum.
Once you fix that then it’s just copy, /GSE, Paste and hit import.
I would suggest creating a new macro with the contest in the PreMacro and main Sequence Body as the editor will fix the rest for you. Also the entries in your PostMacro are ignored as the global settings for these override those values.
Even though you found your answer your question was on inner loop macros.
In GSE2 this becomes a lot simpler in that PreMacro and PostMacro become actually PreMacro and PostMacro steps while what was called pre and PostMacro are now called KeyPress and KeyRelease.
In GSE2 loop limit is the setting that remains as you would put the initial steps into PreMacro and then set a limit of how many times the macro runs before it runs the post macro and resets. If you don’t set a limit it won’t run the PostMacro or reset.
A real world use for this is Arcane Mages. Arcane Familiar is a pseudo pet that lasts 60 mins but it’s not a buff or an aura so in a macro you can’t use the normal things like ! Or [nopet]. In GSE1 you would put this as the first line of your macro and have loopstart=2. In GSE2 you just put the cast for Arcane Familiar into the PreMacro and it’s just cast once.
So apparently I am an idiot. I have read and read and read about how and where to store my own macros. Every place I find it, it says to install the GS-E myMacros addon. However, that page says, “This mod is no longer needed and is not compatible with 7.1. It may work but it’s not supported.”
Can I just copy and rename the DrakMacros directory (to ScartarisMacros, for example), empty out those files, and put my macros there? Will that even work? Or will that break something?
Can I just copy and rename the DrakMacros directory (to ScartarisMacros, for example), empty out those files, and put my macros there? Or will that break something?
Hmm. Okay, I mean no disrespect, but is there a way to just use something akin to the myMacros plugin? Because that seems a much simpler way for me to take my macros with me.
You can but you need to understand LUA and will need to be familiar with the GSE API as once you load in a mod unless you are maintaining that as a standalone mod your changes wont register with the game.
Its not impossible but your make a rod to beat yourself up with.
Fair enough. I’ve written and edited addons in Lua, but I don’t really want to make this into more work than it needs to be. I will just copy GSE.lua between machines. Thank you.
if I have a macro and it has some cast sequences on it do I have to mash the macro or can I just hit it once and have it play out. I ask this because I’m new to these macros and when I mash on the macro it doesn’t cast all of the spells its supposed to cast. I was wondering if I’m doing it wrong or if I messed up the macros in a way that doesn’t let them work the way they are supposed to.