• 0

    posted a message on FuBar - TrackerFu Lives!
    I repaired it, and i did some improvements.
    The problem thats the npc-tracking's category is 'other', not 'npc'. If you rep?ir it, it will be good.

    Improvements:
    1.)
    If you choose nothint to track, the tracking name will be the same. Repair:
    In OnTextUpdate insert this line before FOR:
    local have_active = 0;

    And insert these lines after you close FOR:
    if (have_active == 0) then
       self:SetText(L["TRACKER_NO_TRACKING"]);
    end


    And insert a line to Locals file too:
    TRACKER_NO_TRACKING = "Not tracking",


    2.)
    If there is no tracking in a category, do not display it.
    Insert this before FOr in OnToolTipUpdate:
    local is_spell=0;
    local is_trade=0;
    local is_npc=0;


    And add this to every IF in FOR: (Of course change 'trades' to 'enemy' or 'npc', the same with 'is_trade' and the correct header-string, and delete the original category inserts.)
    if (is_trade == 0) then
    cat['trades'] = tablet:AddCategory(
      'columns', 1
    )
    cat['trades']:AddLine(
    	'justify', 'LEFT',
    	'text', L["TRACKER_TRADESKILL_HEADER"]
    );
    is_trade = 1;
    end


    Good luck for develeping! :)
    (I'm trying to write a working Fubar_Aspect addon. :))
    Posted in: FuBar AddOns
  • To post a comment, please or register a new account.