9.0.1 fix #169


Open
  • aznamir created this issue Oct 13, 2020

    castbars.lua line 568 add "BackdropTemplate" parameter

    -- Create backdrop
    frame.backdrop = CreateFrame("Frame", nil, frame, "BackdropTemplate");

  • ashardis_kelly posted a comment Oct 14, 2020

    is an update likely to happen?

  • Zasz_ posted a comment Oct 14, 2020

    For me its line 563. Thanks.

  • aznamir posted a comment Oct 14, 2020

    if the line number is different, then it means you're using 8.1 version with the green square bug.

     

    You can fix that by replacing the texture name a few lines below

    texture:SetTexture("Spells\\AURA_01");

    to

    texture:SetTexture("Interface\\CastingBar\\UI-CastingBar-Spark");


    Edited Oct 14, 2020
  • Tiasris posted a comment Oct 14, 2020

     

    Message: Interface\AddOns\Castbars\Castbars.lua:145: bad argument #1 to 'SetFormattedText' (string expected, got nil)
    Time: Wed Oct 14 14:45:58 2020
    Count: 2
    Stack: Interface\AddOns\Castbars\Castbars.lua:145: bad argument #1 to 'SetFormattedText' (string expected, got nil)
    [string "=[C]"]: in function `SetFormattedText'
    [string "@Interface\AddOns\Castbars\Castbars.lua"]:145: in function `FrameTimerRestore'
    [string "@Interface\AddOns\Castbars\Castbars.lua"]:280: in function `FrameDynamicRestore'
    [string "@Interface\AddOns\Castbars\Castbars.lua"]:1500: in function <Interface\AddOns\Castbars\Castbars.lua:1415>

    Locals: (*temporary) = <unnamed> {
    0 = <userdata>
    }
    (*temporary) = nil
    (*temporary) = 1.500000
    (*temporary) = 1.500000
    (*temporary) = "string expected, got nil"

     

     

    this fix doesnt work for me....

    for me its line 563 too...

     

  • aznamir posted a comment Oct 14, 2020

    @Tiasris That error is unrelated to the SetBackdrop

     

    may just need Castbars.lua under _retail_/WTF folder and delete it

  • Zasz_ posted a comment Oct 14, 2020

    It says Im using version r235.

    Added your other fix aswell. Didnt know I needed it because I disabled that feature.

     

    Maybe you have a more modified version than us?

  • skullwood009 posted a comment Oct 14, 2020

    frame.backdrop = CreateFrame("Frame", nil, frame, "BackdropTemplate");

    That works fine. But I can’t get borders to show up. Would you please check out if anything can be done here. 
    Thank in advance

     

  • Sephi1659 posted a comment Oct 15, 2020

    So i don't know what happened to me but bars are here without borders, and SOOOO small.
    If i try to fix it inside settings, bars just disappear.

  • Galthariel posted a comment Oct 15, 2020

    I have also mine at Line 563

     

    Replaced

     

    Line 563

     

    frame.backdrop = CreateFrame("Frame", nil, frame);

    to

    frame.backdrop = CreateFrame("Frame", nil, frame, "BackdropTemplate");

     

    and Line 574

     

    texture:SetTexture("Spells\\AURA_01");

    to

    texture:SetTexture("Interface\\CastingBar\\UI-CastingBar-Spark");

     

    Works flawlessly and I have Borders and everything as it should and NO ERRORS in BugSack

     

    Thanks a lot for the Fix

  • Forge_User_14439038 posted a comment Oct 16, 2020

    I have also mine at Line 563

    Replaced

    Line 563

    frame.backdrop = CreateFrame("Frame", nil, frame);

    to

    frame.backdrop = CreateFrame("Frame", nil, frame, "BackdropTemplate");

    and Line 574

    texture:SetTexture("Spells\\AURA_01");

    to

    texture:SetTexture("Interface\\CastingBar\\UI-CastingBar-Spark");

    Works flawlessly and I have Borders and everything as it should and NO ERRORS in BugSack

    Thanks a lot for the Fix

     

    Thanks Galthariel, this worked like a charm for me as well.

     

  • matthewb969 posted a comment Oct 16, 2020

    Hi All,

     

    I had the same issue with the borders and backdrop, and the fix above worked (Thanks Galthariel)

     

    However I also have the issue that the "Show Latency" bar is not working anymore. This Latency bar is the only reason I havent switched to Gnosis (as Gnosis only shows real latency, not spell queue timer).

     

    Would anyone have any idea how to fix that issue also?

     

    Thanks

  • Forge_User_40551631 posted a comment Oct 18, 2020

    perfeclty working but mirror timer don't save barcolor if someone is able to fix it thanks a lot

     


    Edited Oct 18, 2020
  • Moreorlessmaybe posted a comment Oct 18, 2020

    Thank you!


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