Support for WoW Classic 1.13.2 #17


  • Patch
Open
  • MoonClaw1173 created this issue Sep 1, 2019

    There is an error in Classic server when character flying, or mounted on a vehicle.

    26x Bazooka\libs\LibJostle-3.0\LibJostle-3.0-90068.lua:347: attempt to call global 'UnitHasVehicleUI' (a nil value)
    Bazooka\libs\LibJostle-3.0\LibJostle-3.0-90068.lua:347: in function `Refresh'
    Bazooka\libs\LibJostle-3.0\LibJostle-3.0-90068.lua:180: in function `UIParent_ManageFramePositions'
    Bazooka\libs\LibJostle-3.0\LibJostle-3.0-90068.lua:105: in function <Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:103>
    [C]: in function `UIParent_ManageFramePositions'
    FrameXML\MainMenuBar.lua:277: in function <FrameXML\MainMenuBar.lua:258>
    [C]: in function `MainMenuBarVehicleLeaveButton_Update'
    FrameXML\MainMenuBar.lua:255: in function <FrameXML\MainMenuBar.lua:254>
    
    Locals:
    self = <table> {
     Unregister = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:241
     topFrames = <table> {
     }
     ProcessQueue = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:297
     PLAYER_ENTERING_WORLD = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:159
     Refresh = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:322
     PLAYER_REGEN_DISABLED = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:314
     hooks = <table> {
     }
     TicketStatusFrame_OnEvent = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:167
     PLAYER_REGEN_ENABLED = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:309
     ACTIONBAR_UPDATE_STATE = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:155
     PLAYER_CONTROL_GAINED = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:305
     GetScreenBottom = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:197
     EnableTopAdjusting = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:262
     WorldMapFrame_Hide = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:163
     IsBottomAdjusting = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:276
     DisableTopAdjusting = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:269
     RegisterTop = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:207
     IsTopAdjusting = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:258
     UIParent_ManageFramePositions = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:179
     PlayerFrame_SequenceFinished = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:183
     FCF_UpdateCombatLogPosition = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:175
     EnableBottomAdjusting = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:280
     DisableBottomAdjusting = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:287
     bottomAdjust = true
     GetScreenTop = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:187
     FCF_UpdateDockPosition = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:171
     topAdjust = true
     bottomFrames = <table> {
     }
     RegisterBottom = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:224
     frame = <unnamed> {
     }
    }
    screenHeight = 853.333435
    topOffset = 833.333435
    bottomOffset = 0
    frames = <table> {
     1 = GroupLootFrame1 {
     }
     2 = TutorialFrameParent {
     }
     3 = FramerateLabel {
     }
     4 = DurabilityFrame {
     }
    }
    (*temporary) = nil
    (*temporary) = "player"
    (*temporary) = "attempt to call global 'UnitHasVehicleUI' (a nil value)"
    fullyInitted = true
    JostleFrame = <unnamed> {
     0 = <userdata>
     Schedule = <function> defined @Bazooka\libs\LibJostle-3.0\LibJostle-3.0.lua:140
    }
    tmp = <table> {
     1 = GroupLootFrame1 {
     }
     2 = TutorialFrameParent {
     }
     3 = FramerateLabel {
     }
     4 = DurabilityFrame {
     }
    }
    blizzardFrames = <table> {
     1 = "PlayerFrame"
     2 = "TargetFrame"
     3 = "MinimapCluster"
     4 = "PartyMemberFrame1"
     5 = "TicketStatusFrame"
     6 = "WorldStateAlwaysUpFrame"
     7 = "MainMenuBar"
     8 = "MultiBarRight"
     9 = "CT_PlayerFrame_Drag"
     10 = "CT_TargetFrame_Drag"
     11 = "Gypsy_PlayerFrameCapsule"
     12 = "Gypsy_TargetFrameCapsule"
     13 = "ConsolidatedBuffs"
     14 = "BuffFrame"
     15 = "DEFAULT_CHAT_FRAME"
     16 = "ChatFrame2"
     17 = "GroupLootFrame1"
     18 = "TutorialFrameParent"
     19 = "FramerateLabel"
     20 = "DurabilityFrame"
     21 = "CastingBarFrame"
     22 = "OrderHallCommandBar"
     23 = "MicroButtonAndBagsBar"
     24 = "UIWidgetTopCenterContainerFrame"
    }
    inCombat = false
    _G = <table> {
     UpdateOnBarHighlightMarksBySpell = <function> defined @Int

     

    To solve that, we need to change line 347 from

    if inCombat or not HasFullControl() and not UnitHasVehicleUI("player") the
        

    To

     

    if inCombat or not HasFullControl() and UnitHasVehicleUI ~= nil and not UnitHasVehicleUI("player") then
    	

     

  • MoonClaw1173 added a tag Patch Sep 1, 2019

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