1. EasyFrames - LUA errors for party frames/vehicles

    Hey guys,

    I'm using a version of EF that someone posted a while ago. Works for the most part, except in that bg with vehicles: lots of LUA errors started to appear, and I'll link them below:

    ;x EasyFrames\EasyFrames.lua:453: attempt to index field 'TextString' (a nil value)
    EasyFrames\Modules\Party.lua:77: in function <EasyFrames\Modules\Party.lua:72>
    (tail call): ?:
    <in C code>: ?
    <in C code>: in function `TextStatusBar_UpdateTextString'
    Interface\FrameXML\UnitFrame.lua:290: in function <Interface\FrameXML\UnitFrame.lua:257>:
    <in C code>: in function `UnitFrameHealthBar_Update'
    Interface\FrameXML\UnitFrame.lua:90: in function <Interface\FrameXML\UnitFrame.lua:82>:
    <in C code>: in function `securecall'
    Interface\FrameXML\UnitFrame.lua:79: in function `UnitFrame_SetUnit':
    Interface\FrameXML\PartyMemberFrame.lua:70: in function `PartyMemberFrame_ToVehicleArt':
    Interface\FrameXML\PartyMemberFrame.lua:411: in function <Interface\FrameXML\PartyMemberFrame.lua:303>:
    <in C code>: in function `PartyMemberFrame_OnEvent'
    <string>:"*:OnEvent":1: in function `OnEvent'
    Interface\FrameXML\UnitFrame.lua:417: in function <Interface\FrameXML\UnitFrame.lua:415>:

    Locals:
    self = <table> {
    SetDefaultModuleLibraries = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:398:
    Enable = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:325:
    NewModule = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:266:
    EnableModule = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:363:
    modules = <table> {}
    GetModule = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:241:
    IterateEmbeds = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:473:
    SecureHookScript = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:410:
    defaultModuleLibraries = <table> {}
    RawHookScript = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:395:
    OnProfileChanged = <function> @ EasyFrames\Modules\Party.lua:50:
    GetName = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:310:
    ShowName = <function> @ EasyFrames\Modules\Party.lua:98:
    name = "EasyFrames_Party"
    IsEnabled = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:482:
    orderedModules = <table> {}
    DisableModule = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:381:
    SetHealthBarsFont = <function> @ EasyFrames\Modules\Party.lua:108:
    SetFrameNameColor = <function> @ EasyFrames\Modules\Party.lua:142:
    SetFrameNameFont = <function> @ EasyFrames\Modules\Party.lua:132:
    HookScript = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:366:
    baseName = "EasyFrames"
    Unhook = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:418:
    IsHooked = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:493:
    ShowPetFrames = <function> @ EasyFrames\Modules\Party.lua:154:
    ResetFrameNameColor = <function> @ EasyFrames\Modules\Party.lua:150:
    IsModule = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:248:
    db = <table> {}
    SetDefaultModuleState = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:418:
    SetManaBarsFont = <function> @ EasyFrames\Modules\Party.lua:120:
    PartyFrame_UpdateAuras = <function> @ EasyFrames\Modules\Party.lua:164:
    SetEnabledState = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:455:
    Hook = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:274:
    enabledState = true
    SetScale = <function> @ EasyFrames\Modules\Party.lua:66:
    OnEnable = <function> @ EasyFrames\Modules\Party.lua:36:
    OnInitialize = <function> @ EasyFrames\Modules\Party.lua:31:
    hooks = <table> {}
    SetDefaultModulePrototype = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:440:
    SecureHook = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:336:
    IterateModules = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:468:
    UnhookAll = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:477:
    RawHook = <function> @ EasyFrames\Libs\AceHook-3.0\AceHook-3.0.lua:313:
    UpdateTextStringWithValues = <function> @ EasyFrames\Modules\Party.lua:72:
    moduleName = "Party"
    defaultModuleState = true
    Disable = <function> @ EasyFrames\Libs\AceAddon-3.0\AceAddon-3.0.lua:345:
    }
    statusBar = PartyMemberFrame2PetFrameHealthBar {
    currValue = 35851
    capNumericDisplay = true
    frequentUpdates = true
    disconnected = false
    0 = <userdata>
    forceHideText = false
    lockShow = 0
    unit = "party2"
    }
    frame = Part
    ---


    My question is whether it's a case of deleting the 'party' module? I don't use easyframes party frames anyway. Is there another way of remedying this?

  2. if you just delete the party frame lua, the addon won't load..
    you can try to disable it by the addon's options (if theres any)
    the problem is.. it's a backported addon.. lots of things changed from patch to patch, lots of callbacks and functions with addonation indexes.. it's a complex addon with many things in it.. try to use something else, or .. idk..
    I'll test one of the backports..

    EDIT:
    "if not UnitInVehicle("player") then"
    and
    "end"
    in the end of the function

    under
    "function EasyFrames.Utils.UpdateHealthValues"
    and
    "function EasyFrames.Utils.UpdateManaValues"
    in EasyFrame.lua

    fixes the most of the problems..
    the code isn't designed for vehicle GUI, this 2 lines pass the check if you are in vehicle..
    something still fcked up, but I won't dig any deeper in this addon.
    Edited: August 27, 2021

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •