GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] Crash with macro unusable

Sunblade2020 opened this issue Β· 5 comments

commented

πŸ”΅ Describe the bug:
When i copy and paste "KeyPress" into the top part of a loop structure. GSE will crash with an error and cause the whole macro to be broken and un-usable.

πŸ”΅ To reproduce: (Steps to reproduce the behavior)
Open Macro and Edit go into macro 1
Copy and paste "KeyPress" at the top of a loop structure and then save.
KeyPress is my variable to cast as a pre macro.

πŸ”΅ The error:
See Screenshots

πŸ”΅ Screenshots:
See Screenshots

πŸ”΅ Expected behavior:
Clicking Save should not crash and destroy the entire macro. Causing me to have to reload a backup GSE.lua file.

πŸ”΅ GSE.lua file:
Uploaded with pictures

πŸ”΅ Desktop (please complete the following information):

  • OS: Windows 11 64bit
  • Game Version: Retail dragonflight but was happening in shadowlands too.

πŸ”΅ GSE Version:

πŸ”΅ Additional context:
na

commented
commented

Hi, thanks for looking at it. so after messing around a bit more it looks like it's an issue with a blank line at the top of any block structure. So if I copy and paste something before I click save and there's a blank line at the top in any loop block and then I hit save, it will crash. At least that's what I think happens.

I guess it can't handle a blank line in any structure. i.e. you create a blank line at the top for the copy paste and it crashes as you paste it in or some such. But so long as you cancel the error message that pops up and delete the blank line and then save. Its ok and you won't lose your code. Just don't change tabs or macros or it will go blank and you loose everything.

Another screen shot below.
Screenshot 1

commented

I still can’t make this happen. Trying random things now

commented
commented

Ended up being a Lua (the underlying programming language WoW uses) bug where a table couldn't have a blank space to use concat