GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] SpellCache is not populating for new accounts.

Melissa3920 opened this issue ยท 13 comments

commented

๐Ÿ”ต Describe the bug:
When Sequence Deguuger is enabled, it will not show the spells being cast. Instead, I get a lua error.

๐Ÿ”ต To reproduce: (Steps to reproduce the behavior)
Call up the Sequence Debugger
Press enable
Press the keybound sequence
The spell fires. I made a simple one that just has Thunder Clap in it.
Nothing happens in the debugger but a lua error Shows up

๐Ÿ”ต The error:
Paste the error message in this blockquote.

Message: Interface/AddOns/GSE_Utils/Events.lua:14: bad argument #1 to 'FindSpellBookSlotForSpell' (Usage: local spellBookItemSlotIndex, spellBookItemSpellBank = C_SpellBook.FindSpellBookSlotForSpell(spellIdentifier [, includeHidden, includeFlyouts, includeFutureSpells, includeOffSpec]))
Time: Wed Jul 17 15:14:51 2024
Count: 1
Stack: Interface/AddOns/GSE_Utils/Events.lua:14: bad argument #1 to 'FindSpellBookSlotForSpell' (Usage: local spellBookItemSlotIndex, spellBookItemSpellBank = C_SpellBook.FindSpellBookSlotForSpell(spellIdentifier [, includeHidden, includeFlyouts, includeFutureSpells, includeOffSpec]))
[string "@Interface/AddOns/Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...ace/AddOns/Blizzard_FrameXML/RestrictedExecution.lua:446>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua"]:285: in function <...nterface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals: owningFrame = SIMPLE {
}
signature = "self,button,down"
body = "    local step = self:GetAttribute('step')

    step = tonumber(step)
    if self:GetAttribute('stepped') then
        self:SetAttribute('stepped', false)
    else
        for k,v in pairs(spelllist[step]) do
            self:SetAttribute(k, v )
        end

        step = step % #spelllist + 1
        self:SetAttribute('stepped', true)
        self:SetAttribute('step', step)
        self:CallMethod('UpdateIcon')
    end
    "
factory = <table> {
}
LOCAL_Closure_Factories = <table> {
 self = <table> {
 }
 self,button,down = <table> {
 }
}
LOCAL_execution_count = 1

๐Ÿ”ต Screenshots:
image

๐Ÿ”ต Expected behavior:
The Sequence Debugger to show what the sequence is trying to do.

๐Ÿ”ต GSE.lua file:

GSE.lua.txt

๐Ÿ”ต Desktop (please complete the following information):

  • OS: [e.g. Windows 11 64bit]
  • Game Version TWW Beta

๐Ÿ”ต GSE Version:

  • Version: 3.2.00-beta4-3-gbebb707-PatronBuild
  • Downloaded From: Discord gse-resources
    ๐Ÿ”ต Additional context:
    This is a fresh install with no other addons.
commented

Are you playing in a different language to English?

commented

I updated, and nothing changed.

commented

No. I tried the debugger in retail, and it works. That should eliminate something in Windows causing the problem, right?

commented

Have the right file this time

commented

image

I am not getting your error - I am also using 3.2.00-beta4-9 instead of 3.2.00-beta4-3 which might have something to do with your issue.

commented

Found and fixed in beta4-11

commented

wonder if you would try this:

/run GSESpellCache["enUS"]["Thunder Clap"] = 6343

then try to debug again

commented

That worked.

commented

I think this and #1501 are connected

commented

I tried a more complicated sequence (davyjones') and Thunder Clap was the only spell recognized.

commented

Ths issue is the SpellCache is not caching.

commented

Am I somehow missing the spell table? How would I check that?

commented

Its more a case of GSE not populating it when it should