• 0

    posted a message on Skinner

    Using Skinner Beta7.24864.1 from 20.08 I get the following error:

     

    29144x Skinner\UIFrames.lua:828: attempt to index upvalue 'bmDB' (a nil value)
    Skinner\UIFrames.lua:839: in function <Skinner\UIFrames.lua:790>
    (tail call): ?
    [C]: in function `xpcall'
    Skinner\UtilFuncs.lua:105: in function <Skinner\UtilFuncs.lua:98>
    (tail call): ?
    Skinner\AddonFrames.lua:108: in function <Skinner\AddonFrames.lua:99>
    Skinner\AddonFrames.lua:133: in function <Skinner\AddonFrames.lua:132>
    
    Locals:
    nil
    

     

     I have reset the setup to defaults, but the error stays. I am a bit lost, where this error comes from.

    Posted in: General AddOns
  • 0

    posted a message on I need help fixing getting my addon readdy! :/
    local s = Status(unit)
    WordWrap()   -- enables wrapping
    if s then 
     return s
    end
    return "%s \n %s", Short(HP(unit),true), ManafunctionIDontKnow(unit) --\n should give you a newline
    Posted in: Unit Frames
  • 0

    posted a message on Create custom Castbar
    while a lot more complex anything involving cast bars should be found in a cast bar addon like quartz.
    Posted in: AddOn HELP!
  • 0

    posted a message on BadBoy: An extremely minimal spam blocker & reporter
    <>
    with lots of Raid Icons at the start, my UI is unable to copy unfortunately.
    Posted in: General AddOns
  • 0

    posted a message on Grid — compact party/raid unit frames
    For the size of grid you can use
                         /gridlayout rows cols
                      
    Posted in: Grid & Grid2
  • 0

    posted a message on LuaTexts Official Thread
    local r,g,b = HostileColor(unit)
    local gr,gg,gb = HostileColor(unit)
    
    local rank = strsub(UnitPVPName(unit) or UnitName(unit), 1, 22)
    
    -- rank = "123456789012345678901234567890123456789012345678901234567890"
    
    local guild = GetGuildInfo(unit)
    if not guild then 
       -- guess NPC guild from Tooltip[2]
      if not tt then
        tt  = CreateFrame("GameTooltip")
        tt:SetOwner(UIParent, "ANCHOR_NONE")
        tt.left = {}
        tt.right = {}
        for i = 1, 30 do
          tt.left[i] = tt:CreateFontString()
          tt.left[i]:SetFontObject(GameFontNormal)
          tt.right[i] = tt:CreateFontString()
          tt.right[i]:SetFontObject(GameFontNormal)
          tt:AddFontStrings(tt.left[i], tt.right[i])
       end
     end
     tt:ClearLines()
     tt:SetUnit(unit)
    
     local left_2 = tt.left[2]:GetText()
     if not left_2 or left_2:find(_G.LEVEL) then
       guild = ""
      else
       guild = "<"..left_2..">"
     end -- if
    end -- if not guild
    if guild == GetGuildInfo("player") then
      gr,gg,gb  =  00, 118, 236
    end -- if guild
    if guild ~= "" then 
      guild = "<" .. guild .. ">"
    end
    return "|cff%02x%02x%02x%s|r |n|cff%02x%02x%02x%s|r",r,g,b,rank,gr,gg,gb,guild
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Hi Phanx,

    I was able to ressurect an old Wow Install and get my old Lua:texts back. But it seems there was a change how the code works.

    Old Install used v4.0.0-beta54-17-gf55620a
    New Install uses v4.0.0-beta55

    The new code prints the "\n" instead of using a newline and "|n" just shows "|..." and the remaining string is discarded. See the attached screenshot.


    Old Health
    local s = Status(unit)
    if s then
      return s
    end
    local cur, max = HP(unit), MaxHP(unit)
    if UnitIsFriend(unit,"player") then
      local miss = max - cur 
      if miss ~= 0 then
       return "%s/%s|n |cffff7f7f%s|r",Short(cur,true),Short(max,true),miss
        --return \"|cffff7f7f%d|r\",miss
      else
        return Short(max,true)
      end
    else
    return "%s/%s\\n %s%%",Short(cur,true),Short(max,true),Percent(cur,max)
    end
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Hi,

    I am redoing my Pitbull config and I am running into a weird problem. I want a multiline display in my healthbar.
    left:
    Name
    <Guild>
    right:
    CurHP/MaxHP
    %HP

    But I am unable to group 2 LuaTexts below one another or insert a linebreak into the return statement.

    I tried to escape the linebreak with "\n", "\\n" and "|n" but neither of those seem to work. Inside the health bar I can only assign left, right, center, but not above or below.

    I must be missing something really obvious.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Hi,

    I am trying to add Boss frames to my Pittbull layout.

    I have added a new Group "Boss" with unit group "Boss".

    I am getting a lot of LUA errors and so far I have not seen them show up in a Raid environment - maybe because I did just use legacy raids that did not have them yet.

    Where could I test those frames - what do I need to bear in mind?
    Posted in: Unit Frames
  • 0

    posted a message on addon that adds an action button for food
    in case some1 else needs it:
    ns.food = [[
    98121:300000   // Amberseed Bun  
    87246:300000   // Banquet of the Brew  
    87226:300000   //    Banquet of the Grill  
    87242:300000   //    Banquet of the Oven  
    87234:300000   //    Banquet of the Pot  
    87238:300000   //    Banquet of the Steamer  
    87230:300000   //    Banquet of the Wok
    82449:300000   //   Barnacle Bouillabaisse  
    74646:300000   //   Black Pepper Ribs and Shrimp  
    81412:300000   //   Blanched Needle Mushrooms  
    98124:300000   //   Bloodberry Tart  
    81405:200000   //   Boiled Silkworm Pupa  
    74649:300000   //   Braised Turtle  
    105719:300000   //   Brew-Curried Whitefish  
    98122:300000   //   Camembert du Clefthoof  
    105720:300000   //   Candied Apple  
    88586:300000   //   Chao Cookies  
    74642:200000   //   Charbroiled Tiger Steak  
    81921:300000   //   Chilton Stilton  
    74656:300000   //   Chun Tian Spring Rolls  
    82450:200000   //   Cornmeal Biscuit  
    104340:300000   //   Crazy Snake Noodles  
    81175:200000   //   Crispy Dojani Eel  
    101661:300000   //   Deluxe Noodle Cart Kit  
    101617:300000   //   Deluxe Noodle Soup  
    98127:300000   //   Dented Can of Kaja'Cola  
    81404:200000   //   Dried Needle Mushrooms  
    81403:200000   //   Dried Peaches  
    74645:300000   //   Eternal Blossom Fish  
    101747:300000   //   Farmer's Delight  
    74652:300000   //   Fire Spirit Salmon  
    74641:300000   //   Fish Cake  
    101750:300000   //   Fluffy Silkfeather Omelet  
    98116:200000   //   Freeze-Dried Hyena Jerky  
    86508:200000   //   Fresh Bread  
    105724:300000   //   Fried Cheese Dumplings  
    82451:300000   //   Frybread  
    75026:200000   //   Ginseng Tea  
    104343:300000   //   Golden Dragon Noodles  
    87248:300000   //   Great Banquet of the Brew  
    87228:300000   //   Great Banquet of the Grill  
    87244:300000   //   Great Banquet of the Oven  
    87236:300000   //   Great Banquet of the Pot  
    87240:300000   //   Great Banquet of the Steamer  
    87232:300000   //   Great Banquet of the Wok  
    75016:300000   //   Great Pandaren Banquet  
    81410:300000   //   Green Curry Fish  
    94535:300000   //   Grilled Dinosaur Haunch  
    88379:200000   //   Grummlecake  
    79320:120000   //   Half a Lovely Apple  
    104339:300000   //   Harmonious River Noodles  
    105721:300000   //   Hot Papaya Milk  
    81916:300000   //   Humongous Fungus  
    98111:200000   //   K.R.E.  
    85504:200000   //   Krasarang Fritters  
    108920:300000   //   Lemon Flower Pudding  
    104344:300000   //   Lucky Mushroom Noodles  
    75038:300000   //   Mad Brewer's Breakfast  
    90457:200000   //   Mah's Warm Yak-Tail Stew  
    101745:300000   //   Mango Ice  
    98126:300000   //   Mechanopeep Foie Gras  
    74650:300000   //   Mogu Fish Stew  
    81917:200000   //   Mutton Stew  
    101630:300000   //   Noodle Cart Kit  
    101616:300000   //   Noodle Soup  
    105722:300000   //   Nutty Brew-Bun  
    74919:300000   //   Pandaren Banquet  
    101662:300000   //   Pandaren Treasure Noodle Cart Kit  
    101618:300000   //   Pandaren Treasure Noodle Soup  
    81411:300000   //   Peach Pie  
    105723:300000   //   Peanut Pork Chops  
    81414:300000   //   Pearl Milk Tea  
    81889:200000   //   Peppered Puffball  
    86026:200000   //   Perfectly Cooked Instant Noodles  
    87253:300000   //   Perpetual Leftovers  
    81918:300000   //   Pickled Pig's Snout  
    81920:300000   //   Plump Fig  
    81400:200000   //   Pounded Rice Cake  
    81408:300000   //   Red Bean Bun  
    81919:200000   //   Red Raspberry  
    81922:200000   //   Redridge Roquefort  
    86069:300000   //   Rice Pudding  
    105717:300000   //   Rice-Wine Mushrooms  
    81406:200000   //   Roasted Barley Tea  
    88398:300000   //   Root Veggie Stew  
    74643:200000   //   Sauteed Carrots  
    98118:200000   //   Scorpion Crunchies  
    74648:300000   //   Sea Mist Rice Noodles  
    101746:300000   //   Seasoned Pomfruit Slices  
    98125:300000   //   Shaved Zangar Truffles  
    105708:300000   //   Shimmering Amber-Brew  
    74651:200000   //   Shrimp Dumplings  
    81413:300000   //   Skewered Peanut Chicken  
    86057:200000   //   Sliced Peaches  
    77264:61   //   Small Bamboo Shoot  
    77273:61   //Small Rice Cake  
    77272:61   //Small Sugarcane Stalk  
    82448:200000   //   Smoked Squid Belly  
    101748:300000   //   Spiced Blossom Soup  
    104342:300000   //   Spicy Mushan Noodles  
    86073:300000   //   Spicy Salmon  
    86074:300000   //   Spicy Vegetable Chips  
    88388:300000   //   Squirmy Delight  
    74653:300000   //   Steamed Crab Surprise  
    104341:300000   //   Steaming Goat Noodles  
    101749:300000   //   Stuffed Lushrooms  
    74644:200000   //   Swirling Mist Soup  
    81409:300000   //   Tangy Yogurt  
    90135:300000   //   Thick-Cut Bacon  
    81402:200000   //   Toasted Fish Jerky  
    83097:200000   //   Tortoise Jerky  
    74655:300000   //   Twin Fish Platter  
    74647:300000   //   Valley Stir Fry  
    98123:300000   //   Whale Shark Caviar  
    86070:300000   //   Wildfowl Ginseng Soup  
    74654:200000   //   Wildfowl Roast  
    81401:200000   //   Yak Cheese Curds  
    Posted in: AddOn HELP!
  • 0

    posted a message on addon that adds an action button for food
    +1Karma thank you
    Posted in: AddOn HELP!
  • 0

    posted a message on addon that adds an action button for food
    that is right, but there are hundreds... at least it feels like it.

    Conjured not conjured, holiday, ...
    Posted in: AddOn HELP!
  • 0

    posted a message on Unauthorized Addon Sites - Authors Beware!
    oqueue is offering an update agent now and hosts addons usually get on curse:

    solidice.com/downloads/world-of-warcraft

    But I guess they did contact the respective authors prior to hosting them.
    Posted in: General Chat
  • 0

    posted a message on addon that adds an action button for food
    Hi,

    I have been using buffet for ages, but with Pandaria it is a huge mess for me, as buff food is not added to the list as "normal food".

    thus I have either to manage food myself - accidentally using precious pots - ... I have been looking for an alternative, but it seems there is non - nor an update with "all" food for buffet.

    I do not care for the food bonus for everyday affairs so much, but having a single button that replanishes health and reduces food in my backpack.

    I have looked at curse and wowinterface so far, but have not found one.
    Posted in: AddOn HELP!
  • To post a comment, please or register a new account.