GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

GSE\API\StringFunctions.lua:127: script ran too long

Thrumbar opened this issue ยท 1 comments

commented

Getting this on logon

1x GSE\API\StringFunctions.lua:127: script ran too long
GSE\API\StringFunctions.lua:127: in function CleanStrings' GSE\API\StringFunctions.lua:145: in function CleanStringsArray'
GSE\API\StringFunctions.lua:138: in function CleanMacroVersion' GSE\API\Storage.lua:508: in function OOCUpdateSequence'
GSE\API\Events.lua:299: in function `?'
...rfaceAilo\Libs\AceTimer-3.0\AceTimer-3.0-17.lua:53: in function <...rfaceAilo\Libs\AceTimer-3.0\AceTimer-3.0.lua:48>

Locals:
source = "/cast [@Focus]Ironbark"
(for generator) = defined =[C]:-1
(for state) =

{
2 = "/console Sound_EnableSFX 1%;"
38 = "/use 14"
3 = "/script UIErrorsFrame:Hide%(%)%;"
54 = "/use 5"
4 = "/run UIErrorsFrame:Clear%(%)%;"
5 = "/script UIErrorsFrame:Clear%(%)%;"
6 = "/run UIErrorsFrame:Hide%(%)%;"
7 = "/console Sound_EnableErrorSpeech 1"
8 = "/console Sound_EnableErrorSpeech 0"
39 = "/Use [combat] 11"
12 = "/console Sound_EnableSFX 1"
14 = "/run UIErrorsFrame:Clear%(%)"
16 = "/run UIErrorsFrame:Hide%(%)"
20 = "/stopmacro [@playertarget, noexists]"
32 = "/use [combat] 12"
40 = "/Use [combat] 12"
48 = "/use [combat] 2"
33 = "/use [combat] 13"
41 = "/Use [combat] 13"
49 = "/use [combat]5"
17 = "/console Sound_EnableErrorSpeech 1%;"
34 = "/use [combat] 14"
42 = "/Use [combat] 14"
50 = "/use [combat] 5"
35 = "/use 11"
11 = "/console Sound_EnableSFX 0"
13 = "/script UIErrorsFrame:Hide%(%)"
15 = "/script UIErrorsFrame:Clear%(%)"
18 = "/console Sound_EnableErrorSpeech 0%;"
30 = "/use 2"
36 = "/use 12"
44 = "/use [combat]12"
52 = "/use [combat] 1"
101 = "

"
46 = "/use [combat]14"
51 = "/use [combat]1"
47 = "/use [combat]2"
37 = "/use 13"
45 = "/use [combat]13"
53 = "/use 1"
1 = "/console Sound_EnableSFX 0%;"
19 = """"
43 = "/use [combat]11"
31 = "/use [combat] 11"
}
(for control) = 7
k = 7
v = "/console Sound_EnableErrorSpeech 1"
(*temporary) = "/cast [@Focus]Ironbark"
(*temporary) = "/cast [@Focus]Ironbark"
(*temporary) = "/console Sound_EnableErrorSpeech 1"
(*temporary) = ""
(*temporary) = "script ran too long"
Statics =

{
StringReset = "|r"
StringFormatEscapes =
{
}
CleanStrings =
{
}
CastCmds =
{
}
TranslationShadow = "SHADOW"
LoopSequentialImplementation = "if step < loopstart then
-- I am before the loop increment to next step.
step = step + 1
elseif step > loopstop then
if step >= #macros then
loopiter = 1
step = loopstart
if looplimit > 0 then
step = 1
end
else
step = step + 1
end
elseif step == loopstop then
if looplimit > 0 then
if loopiter >= looplimit then
if loopstop >= #macros then
step = 1
else
step = step + 1
end
loopiter = 1
else
step = loopstart
loopiter = loopiter + 1
end
else
step = loopstart
end
elseif step >= #macros then
loopiter = 1
step = loopstart
if looplimit > 0 then
step = 1
end
else
step = step + 1
end
"
ReloadMessage = "Reload"
DebugModules =
{
}
QuestionMark = "INV_MISC_QUESTIONMARK"
SourceLocal = "Local"
CommPrefix = "GSE"
Priority = "Priority"
OnClick = "local step = self:GetAttribute('step')
local loopstart = self:GetAttribute('loopstart') or 1
local loopstop = self:GetAttribute('loopstop') or #macros
local loopiter = self:GetAttribute('loopiter') or 1
local looplimit = self:GetAttribute('looplimit') or 0
loopstart = tonumber(loopstart)
loopstop = tonumber(loopstop)
loopiter = tonumber(loopiter)
looplimit = tonumber(looplimit)
step = tonumber(step)
self:SetAttribute('macrotext', self:GetAttribute('KeyPress') .. "\n" .. macros[step] .. "\n" .. self:GetAttribute('KeyRelease'))
%s
if not step or not macros[step] then -- User attempted to write a step method that doesn't work, reset to 1
print('|cffff0000Invalid step assigned by custom step sequence', self:GetName(), step or 'nil', '|r')
step = 1
end
self:SetAttribute('step', step)
self:SetAttribute('loopiter', loopiter)
self:CallMethod('UpdateIcon')
"
Class = "Class"
All = "All"
PriorityImplementation = " limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
"
Global = "Global"
TranslationKey = "KEY"
TranslationHash = "HASH"
Spec = "Spec"
SourceTransmission = "Transmission"
SequenceDebug = "SEQUENCEDEBUG"
LoopPriorityImplementation = " if step < loopstart then
step = step + 1

elseif step > loopstop and loopstop == #macros then
if step >= #macros then
loopiter = 1
step = loopstart
if loo

commented

This is a duplicate of #338. One of your other Ace3 based mods is causing this to happen to GSE. It's not a GSE problem.

If you want to be methodical start with whatever mods is called InterfaceAilo. When you restart the word before Libs\AceTimer-3.0 will change to the next mod in the chain. When it stops appearing you have the culprit mod.