Can't add new buff/debuff status (Retail Beta Dragonflight) #1121


  • Fixed
Closed
  • Pinta365 created this issue Oct 15, 2022

    What version of Grid2 and game type (classic or retail) are you using ?

     Grid2-2.0.55-beta.zip on beta dragonflight retail

    What game client version (windows or mac) and language are you using ?

     Windows, english. Client version 10.0.2 (46157) (Beta x64)

    What steps will reproduce the problem?

    Statuses->Buffs->"New buff window"->select "name or SpellId"-text box and the Lua error happens
      
    Did you try having Grid2 as the only enabled addon and everything else disabled?

      Yes

    Was it working in a previous version? If yes, which was the last good one?

      Not used Grid2 for years so can't say.

    Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (`/console scriptErrors 1`) or install [BugSack](https://mods.curse.com/addons/wow/BugSack).

      

    34x ...2Options/modules/statuses/StatusAuraNewPredictor.lua:26: attempt to index local 'c' (a nil value)
    [string "@Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua"]:26: in function <...2Options/modules/statuses/StatusAuraNewPredictor.lua:21>
    [string "=(tail call)"]: ?
    [string "@Interface/AddOns/Grid2Options/Libs/AceGUI-3.0-41-Search-EditBox/Search-EditBox-Widget.lua"]:111: in function <.../AceGUI-3.0-Search-EditBox/Search-EditBox-Widget.lua:110>
    [string "@Interface/AddOns/Grid2Options/Libs/AceGUI-3.0-41-Search-EditBox/Search-EditBox-Widget.lua"]:311: in function <.../AceGUI-3.0-Search-EditBox/Search-EditBox-Widget.lua:308>

    Locals:
    self = <table> {
    spells = <table> {
    }
    type = "buff"
    }
    (for generator) = <function> defined =[C]:-1
    (for state) = <table> {
    DEATHKNIGHT = "Death Knight"
    WARRIOR = "Warrior"
    ROGUE = "Rogue"
    MAGE = "Mage"
    Adventurer = "Adventurer"
    PRIEST = "Priest"
    EVOKER = "Evoker"
    HUNTER = "Hunter"
    WARLOCK = "Warlock"
    DEMONHUNTER = "Demon Hunter"
    SHAMAN = "Shaman"
    DRUID = "Druid"
    MONK = "Monk"
    PALADIN = "Paladin"
    }
    (for control) = "Adventurer"
    class = "Adventurer"
    translation = "Adventurer"
    c = nil
    (*temporary) = <table> {
    DEATHKNIGHT = ", |cffc41e3aDeath Knight|r "
    WARRIOR = ", |cffc69b6dWarrior|r "
    ROGUE = ", |cfffff468Rogue|r "
    MAGE = ", |cff3fc7ebMage|r "
    MYTHIC+ = ", |cfffe0000Mythic+|r "
    = ""
    }
    (*temporary) = <function> defined =[C]:-1
    (*temporary) = ", |cff%.2x%.2x%.2x%s|r "
    (*temporary) = "MAGE"
    (*temporary) = 199.000019
    (*temporary) = 235.000016
    (*temporary) = "Mage"
    (*temporary) = "attempt to index local 'c' (a nil value)"
    classNames = <table> {
    DEATHKNIGHT = ", |cffc41e3aDeath Knight|r "
    WARRIOR = ", |cffc69b6dWarrior|r "
    ROGUE = ", |cfffff468Rogue|r "
    MAGE = ", |cff3fc7ebMage|r "
    MYTHIC+ = ", |cfffe0000Mythic+|r "
    = ""
    }
    classNamesLoc = <table> {
    DEATHKNIGHT = "DEATH KNIGHT"
    WARRIOR = "WARRIOR"
    ROGUE = "ROGUE"
    MAGE = "MAGE"
    MYTHIC+ = "MYTHIC"
    = ""
    }
    AuraPredictor = <table> {
    GetSpellKey = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:116
    GetValue = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:83
    GetTableValues = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:104
    GetSpellDescription = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:125
    Initialize = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:21
    GetHyperlink = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:99
    GetValues = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:32
    __index = <table> {
    }
    new = <function> defined @Interface/AddOns/Grid2Options/modules/statuses/StatusAuraNewPredictor.lua:14
    }

    Please provide any additional information below.

     

    Basically I am trying to add a germination HoT status for my resto druid. But the same thing happens if I select the "name or SpellID"-textbox in the debuffs section as well.

     

  • Pinta365 posted a comment Oct 15, 2022

    I just realised that this is not even a dragonflight beta release? Thats why its buggy I suppose? :)

  • michaelsp posted a comment Oct 15, 2022

    Latest betas have some fixes for dragonflight, but I have no acces to the beta so i only tested things  in dragonflight pre-path.

    Are you using a new dragonflight class ? It seems blizzard forgot to add some info for new classes  (like the raid class colors) so grid2 is crashing because there is missing data in the game, i will add a workaround in next beta.


    Edited Oct 15, 2022
  • Pinta365 posted a comment Oct 16, 2022

    I am very happy to test something out for you if you like. Related to this or anything else.


    Managed to do a "workaround" on my issue so I could keep setting up my UI on Beta :P I set the Grid2 statuses up on retail and exported the profile into Beta with the statuses I needed :)

  • michaelsp posted a comment Oct 20, 2022

    This issue should be fixed in version 2.0.57-beta

  • michaelsp added a tag Fixed Oct 20, 2022
  • Pinta365 posted a comment Oct 20, 2022

    Can confirm fixed, thanks

  • michaelsp closed issue Oct 20, 2022

To post a comment, please login or register a new account.