Error (incompatible?) with MoveAnything and Titan Panel. #3


Closed
  • Ssateneth created this issue Sep 9, 2018

    These are the addons used.

    Inventorian 8.0.1.0-2-g4fc27b3-alpha

    MoveAnything 17.0.0

     

    You need to be at a bank and have your reagent tab open

     

    When depositing a reagent into an existing reagent stack of the reagent bank, or pulling out a partial stack out of reagent bank into your bags, or splitting a reagent stack in either your reagent bank or bags, I get an error. I made sure to disable all moveanything modifications beforehand.

     

    Message: Interface\AddOns\MoveAnything\MoveAnything.lua:4366: attempt to perform arithmetic on a nil value
    Time: Sun Sep  9 05:13:35 2018
    Count: 4
    Stack: Interface\AddOns\MoveAnything\MoveAnything.lua:4366: attempt to perform arithmetic on a nil value
    Interface\AddOns\MoveAnything\MoveAnything.lua:4366: in function <Interface\AddOns\MoveAnything\MoveAnything.lua:4348>
    [C]: in function `UpdateContainerFrameAnchors'
    Interface\FrameXML\UIParent.lua:3112: in function `UIParentManageFramePositions'
    Interface\FrameXML\UIParent.lua:2329: in function <Interface\FrameXML\UIParent.lua:2316>
    [C]: in function `SetAttribute'
    Interface\FrameXML\UIParent.lua:3118: in function `UIParent_ManageFramePositions'
    Interface\FrameXML\MainMenuBar.lua:60: in function `SetPositionForStatusBars'
    Interface\FrameXML\MainMenuBar.lua:8: in function `OnStatusBarsUpdated'
    Interface\FrameXML\StatusTrackingManager.lua:179: in function `LayoutBars'
    Interface\FrameXML\StatusTrackingManager.lua:84: in function `UpdateBarsShown'
    Interface\FrameXML\StatusTrackingManager.lua:206: in function <Interface\FrameXML\StatusTrackingManager.lua:202>
    
    Locals: self = nil
    bagsMover = nil
    bagsHooked = nil
    xRemaining = nil
    yRemaining = nil
    column = nil
    frame = nil
    frameHeight = nil
    visibleSpacing = nil
    bag = nil
    xOffset = 84.000030517578
    yOffset = 130
    containerScale = 1
    xAvail = 4472.9731140137
    yAvail = 1070
    highestFrame = 0
    (*temporary) = 4492.9731140137
    (*temporary) = nil
    (*temporary) = 1
    (*temporary) = BankFrame {
     0 = <userdata>
     TitleText = BankFrameTitleText {
     }
     portrait = BankFramePortrait {
     }
     LeftBorder = BankFrameLeftBorder {
     }
     TopRightCorner = BankFrameTopRightCorner {
     }
     TopLeftCorner = BankFrameTopLeftCorner {
     }
     Bg = BankFrameBg {
     }
     size = 28
     TopBorder = BankFrameTopBorder {
     }
     GlowBox = ReagentBankHelpBox {
     }
     TopTileStreaks = BankFrameTopTileStreaks {
     }
     TitleBg = BankFrameTitleBg {
     }
     BottomBorder = BankFrameBottomBorder {
     }
     OnLoad = <function> defined @Interface\SharedXML\SharedUIPanelTemplates.lua:860
     maxTabWidth = 183.5
     BotRightCorner = BankFrameBotRightCorner {
     }
     numTabs = 2
     CloseButton = BankFrameCloseButton {
     }
     BotLeftCorner = BankFrameBotLeftCorner {
     }
     PortraitFrame = BankFramePortraitFrame {
     }
     selectedTab = 2
     RightBorder = BankFrameRightBorder {
     }
    }
    (*temporary) = 1
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to perform arithmetic on a nil value"
    _G = <table> {
     UpdateOnBarHighlightMarksBySpell = <function> defined @Interface\FrameXML\ActionButton.lua:70
     ERR_OUT_OF_CHI = "Not enough chi"
     DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
     MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
     }
     MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
     }
     GetTrainerServiceTypeFilter = <function> defined =[C]:-1
     UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
     SetTrainerServiceTypeFilter = <function> defined =[C]:-1
     StoreMicroButtonAlertGlowBottom = StoreMicroButtonAlertGlowBottom {
     }
     SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
     LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 398
     ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community."
     RecruitAFriendFrame = RecruitAFriendFrame {
     }
     CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
     }
     TutorialFrameLeft19 = TutorialFrameLeft19 {
     }
     MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
     }
     ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
     PVP_RANK_6_1 = "Corporal"
     BOOKTYPE_PROFESSION = "professions"
     AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture {
     }
     VideoOpt

     

     

    Also if Titan panel is also running (version 5.14.7.80000, just the base addon is necessary), this error comes up and causes framerate lag/hang for a few seconds

     

    Message: Interface\AddOns\MoveAnything\MoveAnything.lua:4366: attempt to perform arithmetic on a nil value
    Time: Sun Sep  9 05:16:47 2018
    Count: 9
    Stack: Interface\AddOns\MoveAnything\MoveAnything.lua:4366: attempt to perform arithmetic on a nil value
    Interface\AddOns\MoveAnything\MoveAnything.lua:4366: in function <Interface\AddOns\MoveAnything\MoveAnything.lua:4348>
    [C]: ?
    [C]: in function `UpdateContainerFrameAnchors'
    Interface\AddOns\Titan\TitanMovable.lua:373: in function `TitanMovableFrame_MoveFrames'
    Interface\AddOns\Titan\TitanMovable.lua:549: in function `TitanPanel_AdjustFrames'
    Interface\AddOns\Titan\TitanMovable.lua:564: in function `func'
    Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:57: in function <Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:50>
    
    Locals: self = nil
    bagsMover = nil
    bagsHooked = nil
    xRemaining = nil
    yRemaining = nil
    column = nil
    frame = nil
    frameHeight = nil
    visibleSpacing = nil
    bag = nil
    xOffset = 84.000030517578
    yOffset = 130
    containerScale = 1
    xAvail = 4472.9731140137
    yAvail = 1070
    highestFrame = 0
    (*temporary) = 4492.9731140137
    (*temporary) = nil
    (*temporary) = 1
    (*temporary) = BankFrame {
     0 = <userdata>
     TitleText = BankFrameTitleText {
     }
     portrait = BankFramePortrait {
     }
     LeftBorder = BankFrameLeftBorder {
     }
     TopRightCorner = BankFrameTopRightCorner {
     }
     TopLeftCorner = BankFrameTopLeftCorner {
     }
     Bg = BankFrameBg {
     }
     size = 28
     TopBorder = BankFrameTopBorder {
     }
     GlowBox = ReagentBankHelpBox {
     }
     TopTileStreaks = BankFrameTopTileStreaks {
     }
     TitleBg = BankFrameTitleBg {
     }
     BottomBorder = BankFrameBottomBorder {
     }
     OnLoad = <function> defined @Interface\SharedXML\SharedUIPanelTemplates.lua:860
     maxTabWidth = 183.5
     BotRightCorner = BankFrameBotRightCorner {
     }
     numTabs = 2
     CloseButton = BankFrameCloseButton {
     }
     BotLeftCorner = BankFrameBotLeftCorner {
     }
     PortraitFrame = BankFramePortraitFrame {
     }
     selectedTab = 2
     RightBorder = BankFrameRightBorder {
     }
    }
    (*temporary) = 1
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to perform arithmetic on a nil value"
    _G = <table> {
     UpdateOnBarHighlightMarksBySpell = <function> defined @Interface\FrameXML\ActionButton.lua:70
     ERR_OUT_OF_CHI = "Not enough chi"
     DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
     MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
     }
     MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
     }
     GetTrainerServiceTypeFilter = <function> defined =[C]:-1
     UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
     SetTrainerServiceTypeFilter = <function> defined =[C]:-1
     StoreMicroButtonAlertGlowBottom = StoreMicroButtonAlertGlowBottom {
     }
     SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
     LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 398
     ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community."
     RecruitAFriendFrame = RecruitAFriendFrame {
     }
     CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
     }
     TutorialFrameLeft19 = TutorialFrameLeft19 {
     }
     MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
     }
     ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
     PVP_RANK_6_1 = "Corporal"
     BOOKTYPE_PROFESSION = "professions"
     AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture {
     }
     VideoOptionsFrameDefaults = VideoOptionsFrameDefaults {
     }
     MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text {
     }
     OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
     BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
     INSTANCE_UNAVAILABLE_OTHE

     

     

     

     

     

  • Ssateneth edited title and description Sep 9, 2018
  • nevcairiel closed issue Sep 7, 2019
  • nevcairiel posted a comment Sep 7, 2019

    I know why this is happening, but there is little I can do. MoveAnything should really add checks to see if these values are valid or not before using them.

     

    For the record, the problem is that the BankFrame is being shown, but not really visible on the screen, so MoveAnything tries to get its position, receives nil (no position), and craps itself.

     

    The reason the BankFrame is in such a limbo state is how the Reagent Bank is integrated into the game. To be able to put things into the Reagent Bank, I need to tell the game that the  we're at the bank by showing the BankFrame, and switch it to the second tab - only then can you right-click items into the reagent bank, and thats of course something I want to work. But of course I don't want the original BankFrame itself to be actually visible, hence this  cheat to show it but not really.


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