GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] Disappearing ! prefix

jamtur01 opened this issue Β· 5 comments

commented

πŸ”΅ 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:

GSE.lua.txt

πŸ”΅ 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.
commented
commented

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.

commented

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?

commented
commented

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))