• 0

    posted a message on Masque - Official Thread
    Quote from jeffy162
    Just want to know: Does Masque work in the Legion Beta? I personally don't have Beta access, but, since I do a few "skins" for Masque I figured I'd ask.


    It does work to an extent. there are some texture mapping bugs in legion right now but as faras I can tell masque works for the most part
    Posted in: General AddOns
  • 0

    posted a message on LuaTexts Official Thread
    Is it even possible to pass a keypress to a variable that can be picked up via a luatext?

    Something like this:
    local keyPress  = KeyPressFrame or CreateFrame("Frame", "KeyPressFrame", UIParent)
    local function TestPrint(self, key)
    if key == "X" and UnitAffectingCombat('player') then
       print(self:GetName(), key)
    end
    end
    keyPress:SetScript("OnKeyDown", TestPrint)
    keyPress:SetPropagateKeyboardInput(true)


    I basically want the functionality of something like IsShiftKeyDown where I can pass a notice every time a key is pressed.

    But in the above case instead of printing to the chatframe it outputs to a luatext on the unit frame in question?

    I would like to have a notification if I press a key but I'm having a hard time finding some decent examples of anyone doing anything like this.

    Would also like to add some throttling so that if I say spam the key in combat it doesn't register every key click but maybe every few seconds?

    Is there a better way to listen for a keyboard press (onkeydown is all I care about) then calling it in a frame? If that is the best way, how do I pass a variable outside of the frame back to pitbull's lua text if I create this frame within a created luatext?
    Posted in: Unit Frames
  • 0

    posted a message on Skinner
    While fighting Kazzak with DBM enabled.

    5x Attempt to find 'this' in non-framescript object
    [C]: ?
    [C]: in function `CreateFrame'
    Skinner\Skinner-b6.20886.2.lua:598: in function <Skinner\Skinner.lua:540>
    (tail call): ?
    Skinner\SkinMe\DBM-6.2.18 alpha.14768.lua:119: in function <Skinner\SkinMe\DBM.lua:118>
    (tail call): ?
    [C]: in function `Show'
    DBM-Draenor\Kazzak.lua:60: in function `handler'
    DBM-Core\DBM-Core-6.2.17-48-g1979307.lua:636: in function <DBM-Core\DBM-Core.lua:623>
    (tail call): ?
    DBM-Core\DBM-Core-6.2.17-48-g1979307.lua:636: in function <DBM-Core\DBM-Core.lua:623>
    [C]: in function `CastSpellByName'
    ...
    FrameXML\ChatFrame.lua:2707: in function <FrameXML\ChatFrame.lua:2700>
    [C]: ?
    [C]: in function `UseAction'
    FrameXML\SecureTemplates.lua:348: in function `handler'
    FrameXML\SecureTemplates.lua:649: in function <FrameXML\SecureTemplates.lua:597>
    [C]: ?
    FrameXML\SecureHandlers.lua:264: in function <FrameXML\SecureHandlers.lua:261>
    [C]: ?
    FrameXML\SecureHandlers.lua:294: in function <FrameXML\SecureHandlers.lua:277>
    (tail call): ?
    
    Locals:
    
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    That fixed the issue, thanks!

    Just a heads up. The way sexy map handles minimap buttons, it prevents skinner from skinning it. Not something that I am afraid you can even do anything about and not an issue since in my case I hide minimap buttons until they trigger something.

    Since sexy map handles visibility and button dragging if those options are enabled, it takes over the buttons and won't allow them to be redrawn perhaps?

    Minimap button skinning works perfectly fine without a minimap addon enabled so I can confirm it's a limitation with using sexy map (and I can live with it just fine)
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Is the following something that is fixable with the masterplan skin module?

    I have enabled the settings in the Button settings modules and selected a custom border I use. It works great everywhere but the shipyard portion of the garrison mission (masterplan enabled)

    Below is an image describing my issue. The shipyard has a button border that is not inset well. On all other buttons the border works great and I am wondering if it is a limitation in the frame or something that can be tweaked? It's super minor and doesn't break functionality but I am super anal retentive.

    Or is it just from viewing the button border on a light texture it suddenly shows the concern I have in my really bad picture?


    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Decided to give this a second (third really) chance. Am glad I came back to this. You have really ironed out a lot of the small issues in a short time and this is now a very stable addon. I'm not usually one to eat my words but I was wrong and am glad I tried again.
    Posted in: General AddOns
  • 0

    posted a message on BadBoy: An extremely minimal spam blocker & reporter
    More hfc / RBG spam going on

    <>
    Posted in: General AddOns
  • 0

    posted a message on BadBoy: An extremely minimal spam blocker & reporter
    I'm also going to request this be labelled as spam. It's in no way legitimate and happens far too often and gets spammed far too much

    Example:

    <>
    Posted in: General AddOns
  • 0

    posted a message on LuaTexts Official Thread
    edit: got it thanks
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Seerah
    This isn't anyone else's fault but your own. Globals should NEVER be generically named (and only given a global reference if absolutely necessary).


    Wasn't the case at all but thank you for the information. What I meant when I said that is reserved keywords for globals. In my little learning example that phanx helped me with, I was defining a frame name in CreateFrame and I accidentally used a reserved global name of "ownertooltip" without realizing it was a global reserved name.
    Posted in: Unit Frames
  • 0

    posted a message on Skinner
    Quote from Jncl
    Hi transitbus,
    You can disable the skinning of the Nameplates by unticking the entry found under UI Frames of the Skinner options


    Tried it did not seem to unhook skinner touching nameplates. I've since had to uninstall skinner because it was competing too much with prat (prat's config actually corrupted running both addons together).

    I'm just going to avoid skinner for now because I think too many addons I use try and wrestle too much control and it would be a hassle for me to try and balance everything ;)

    Not your addon fault but I certain addons have unique functionality and they trump skinning right now for me.
    Posted in: General AddOns
  • 0

    posted a message on LuaTexts Official Thread
    I swear there needs to better API listings of what is a f'ing global and whats not >:( Changed it to something that can't be a global, thanks for catching that.

    Changed my code and utilized your suggestions. Had to do a few small tweaks but it works flawlessly now and hopefully will not leak all over the place.

    One change is TooltipTextLeft1 needs to be TooltipTextLeft2 so it grabs the correct line. Removed the clearline call as I have logic to ensure it only calls if unit is a pet. If I get errors, which I am not sure how, I will change as needed.

    Thanks for your tons of help on this, it was a nice little challenge.
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Phanx
    If your scanning tooltip is interfering with other addons, you've given it a horribly generic name like "ScanningTooltip" or "HiddenTooltip". :p


    Fine gosh ok already I made it work without things blowing to pieces or some stupid addon of and addon tainting :P


    Here I have it in my all in one target name text that shows realm names, npcs by hostility color, and pet owner names.

    local petScan = petLookTooltip
    if not petScan then
        petScan = CreateFrame("GameTooltip", "petLookTooltip", nil, "GameTooltipTemplate")
        petScan:SetOwner(WorldFrame, "ANCHOR_NONE")
    end
    if IsPet(unit) then
        petScan:ClearLines()
        petScan:SetUnit("target")
        local petText = petLookTooltipTextLeft2:GetText()
        petText = gsub(petText, "%-[^|]+%'", "'")
        local petTruncName = Name(unit)
        petTruncName = petTruncName:gsub('(%S+) ',function(t) return t:sub(1,1)..'.' end)
        return "%s (%s)",petTruncName:gsub("(%S+)%.(%S+)$","%1. %2"),petText
    else
        local r,g,b = HostileColor(unit)
        local tarName = GetUnitName("target", true) or ""
        return "|cff%02x%02x%02x%s|r %s%s%s",r,g,b,tarName,Angle(AFK(unit) or DND(unit))
    end
    Posted in: Unit Frames
  • 0

    posted a message on Skinner
    Adding this as a separate post. Skinner is trying to control nameplates. Doing so is creating issues with other nameplate addons. I use KUI nampelates and on the Yogg Saron fight in ulduar, I noticed an artifact from the default nameplates.

    You can faintly see the shield in this image that is an artifact from the default name plates that should not and doesn't show if skinner is disabled and KUI is enabled.




    Below you can see what I mean that skinner is trying to control the name plates. The image has two shots, the above is with skinner disabled in addons which is what the default name plates look like and the below is with it on. These are also with kui name plates disabled.



    I have unit frame modules unchecked but I see no other setting to make sure name plates are not touched.
    Posted in: General AddOns
  • 0

    posted a message on Skinner
    Few more questions and/or reports on slight issues.

    First, naval missions have an issue on the successful mission completion window. This picture should explain what I mean. It shows as just an overlay and not really a reskin. Not sure if messing with settings will improve it or not.




    Second, is there an easy way to more definition to rows like either an outline or conditional formatting to allow alternate coloring? At the very least a gradient to show the defined constraints of a row so it looks a little more broken up?

    For example the above is when you mouse over and the below is not moused over. something like the mouseover but with less glow would help to break up the rows.

    Posted in: General AddOns
  • To post a comment, please or register a new account.