[BUG] Disappearing ! prefix
jamtur01 opened this issue Β· 5 comments
π΅ Describe the bug:
GSE is not saving actions prefixed with !
So:
/castsequence !Auto Shot
Becomes
/castsequence Auto Shot
When I click the save button.
Is there some kind of parser that might be stripping out the !? I'll take a look but Lua isn't one of my regular languages.
π΅ To reproduce: (Steps to reproduce the behavior)
Enter macro line with the ! prefix, click save, ! disappears.
π΅ Screenshots:
Screen.Recording.2023-05-11.at.6.58.36.PM.mov
π΅ Expected behavior:
I expect the ! to be saved.
π΅ GSE.lua file:
π΅ Desktop (please complete the following information):
- OS: MacOS Ventura on an M1 Max
- Game Version [e.g. classic/bcc/retail (9.1.0)]
π΅ GSE Version:
- Version: 3.1.33 downloaded from Curseforge.
I'm not sure - can I provide any logs/anything else that'd help. Also let me sign into WolTK and see if it occurs there.
Okay. I have an oddity.
This works:
/castsequence !Auto Shot, null
But this does not (i.e. the ! gets removed)
/castsequence [combat] !Auto Shot, null
Does that help at all?
Found it and fixed it.
You can verify this post the update from the following commands.
/run print(GSE.TranslateString("/castsequence !Auto Shot, null", "STRING", false, false))
/run print(GSE.TranslateString("/castsequence [combat] !Auto Shot, null", "STRING", false, false))
/run print(GSE.TranslateString("/castsequence [combat] !Auto Shot, null", "STRING", true, false))