10.0 Dragonflight PTR CF_UpdateDockPosition is not a function #19


Open
  • Samnthar created this issue Oct 20, 2022

    1x .../AddOns/Bazooka/libs/LibJostle-3.0-90071/LibJostle-3.0.lua:89: hooksecurefunc(): FCF_UpdateDockPosition is not a function
    [string "=[C]"]: in function `hooksecurefunc'
    [string "@Interface/AddOns/Bazooka/libs/LibJostle-3.0-90071/LibJostle-3.0.lua"]:89: in main chunk

    Locals:

  • Turducken_McNugget posted a comment Oct 26, 2022

    also

     

    2x .../AddOns/Bazooka/libs/LibJostle-3.0-90057/LibJostle-3.0.lua:116: hooksecurefunc(): PlayerFrame_SequenceFinished is not a function
    [string "=[C]"]: in function `hooksecurefunc'
    [string "@Interface/AddOns/Bazooka/libs/LibJostle-3.0-90057/LibJostle-3.0.lua"]:116: in main chunk

  • Turducken_McNugget posted a comment Oct 26, 2022

    You know ... if those functions have been flat out removed, and it doesn't really *look* like there was something that replaced them. It might be fine to just remove those.  I commented out those sections (and had to make a minor change to Bazooka) and Bazooka started working. Mostly.

     

    The blizz buffs and MiniMap are lying on top of the Bazooka bar I have docked at the top; fixing this error would probably fix that:

    35x .../AddOns/Bazooka/libs/LibJostle-3.0-90071/LibJostle-3.0.lua:441: attempt to index global 'MinimapBorderTop' (a nil value)
    [string "@Interface/AddOns/Bazooka/libs/LibJostle-3.0-90071/LibJostle-3.0.lua"]:441: in function `Refresh'
    [string "@Interface/AddOns/Bazooka/libs/LibJostle-3.0-90071/LibJostle-3.0.lua"]:142: in function <.../AddOns/Bazooka/libs/LibJostle-3.0/LibJostle-3.0.lua:140>

    Locals:

  • Turducken_McNugget posted a comment Oct 26, 2022

    My thinking on the MinimapBorderTop thing:

     

    MinimapCluster.BorderTop does exist. But, my understanding looking at the existing code is that it was to account for the situations where the top border of the minimap (which had like the name of your current location) was hidden. I don't know if that is currently supported. If you go into Edit Mode and click the Minimap you can flip that border to the bottom, but they didn't have an option to hide it.

     

    So, I just deleted the following:

    if frame == MinimapCluster and not MinimapCluster.BorderTop:IsShown() thenif frame == MinimapCluster and not MinimapCluster.BorderTop:IsShown() then offset = offset + MinimapCluster.BorderTop:GetHeight() * 3/5

    else

     

    With that gone I'm not getting errors and the Minimap and Buffs are showing below the Bazooka bar I have attached to the top.

     

    So, it might well be that to fix LibJostle you just have to delete those three different sections.

     

    EDIT: There have been times since I've made these changes where the top part of the minimap and the buffs have overlapped Bazooka. So, maybe there's some function or event that needs to be hooked for this to work perfectly, but these changes are still a good place to start.


    Edited Oct 27, 2022

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