• 0

    posted a message on I want to secure the PlayerFrame.
    hooksecurefunc("PlayerFrame_ToPlayerArt",function()
    PlayerFrame:ClearAllPoints()
    PlayerFrame:SetPoint("CENTER",UIParent,"CENTER",-212,-310);
    TargetFrame:ClearAllPoints()
    TargetFrame:SetPoint("CENTER",UIParent,"CENTER",212,-310);
    FocusFrame:ClearAllPoints()
    FocusFrame:SetPoint("CENTER",UIParent,"CENTER",-298,-205); end)

    Darkmoon Quest - in the Tonk Commander PlayerFrame return to its original position.
    Please tell me how to fix.
    I need help.
    Posted in: Lua Code Discussion
  • 0

    posted a message on minimap lua... help me~
    Quote from Seerah
    That's because you're moving the whole minimap cluster instead of just the minimap.



    I understood.
    Thank you ~
    Posted in: Lua Code Discussion
  • 0

    posted a message on minimap lua... help me~
    if(not IsAddOnLoaded('Blizzard_TimeManager')) then
    LoadAddOn('Blizzard_TimeManager')end
    TimeManagerClockButton:SetPoint("BOTTOM",Minimap,0,-6)
    local ClockFrame, ClockTime = TimeManagerClockButton:GetRegions()
    ClockFrame:Hide()
    GameTimeFrame:Hide()
    MinimapZoomIn:Hide()
    MinimapZoomOut:Hide()
    MiniMapTracking:Hide()
    MiniMapMailBorder:Hide()
    MiniMapWorldMapButton:Hide()
    QueueStatusMinimapButtonBorder:Hide()
    MinimapNorthTag:SetAlpha(0)
    MinimapZoneTextButton:SetScale(0.84)
    MinimapZoneText:ClearAllPoints()
    MinimapZoneText:SetPoint("BOTTOM",Minimap,0,165)
    MiniMapMailFrame:ClearAllPoints()
    MiniMapMailFrame:SetPoint("BOTTOM",Minimap,55,-5)
    QueueStatusMinimapButton:ClearAllPoints()
    QueueStatusMinimapButton:SetPoint("BOTTOM",Minimap,-56,-2)
    MinimapCluster:SetScale(1.3)
    MinimapCluster:ClearAllPoints()
    MinimapCluster:SetPoint("BOTTOMRIGHT",UIParent,"BOTTOMRIGHT",15,650)
    MinimapCluster.SetPoint = function() end
    Minimap:SetMaskTexture("Interface\\Buttons\\WHITE8x8")
    MiniMapMailIcon:SetTexture("Interface\\Minimap\\Tracking\\Mailbox")
    Minimap:SetScript("OnMouseUp", function(self, btn)
    if btn == "Button4" then
    ToggleDropDownMenu(1, nil, MiniMapTrackingDropDown, self, - (Minimap:GetWidth() * -3),130)
    elseif btn == "MiddleButton" then
    return ToggleCalendar()
    elseif btn == "RightButton" then
    return ToggleFrame(WorldMapFrame)else
    Minimap_OnClick(self)end end)

    ===============================================

    The mini-map lua code I use.
    If you use the code supposed to go only minimap ObjectiveTrackerFrame, the boss is also moving frame together. So it discards beyond the edge of the screen.
    Is there any way I want to be moved and only the mini-map?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Focus buff location
    Greeting of thanks was delayed.
    It is applied without error.
    Thank you very much.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Focus buff location
    We answer in shallow English of my experience, thank you.

    I tried to copy and use the commands that you created Phanx san who wrote the new lua file, but an error will occur ...

    Maybe if my way is wrong and I do?
    (Please use [CODE] tags around your code.Otherwise the formatting is broken.)
    I would not understand what this means ... (and sorry to not understand English well.)

    Thank you for help again

    Error command.
    =================================
    Message: Interface\AddOns\Ace_Focus\Ace_Focus.lua:2: unexpected symbol near 'and'
    Time: 12/24/14 21:33:52
    Count: 1
    Stack:
    Locals:
    Posted in: Lua Code Discussion
  • 0

    posted a message on Focus buff location
    hooksecurefunc("TargetFrame_UpdateDebuffAnchor",function(self,name,i)
    if i == 1 then
    local buff = _G[name..i]
    buff:ClearAllPoints()
    buff:SetPoint("TOPLEFT",self,"BOTTOMLEFT",0,0)
    end end)

    hooksecurefunc("TargetFrame_UpdateBuffAnchor",function(self,name,i)
    if i == 1 then
    local debuff = _G[name..i]
    debuff:ClearAllPoints()
    debuff:SetPoint("BOTTOMLEFT",self,"TOPLEFT",0,0)
    end end)
    ====================================================
    This is the original instruction ...
    If you use the above command, target, focus all buff, debuff is make the move.
    I previous buff, debuff without change, wants because I want to move the focus of buff, debuff only.
    So it has been changed targetframe to focusframe, error I stray ...
    Focus of buff, I think there is no way to move only debuff? .

    That they do not know my language, do not know Harujuru English.
    Eagle also, to write a sentence with the help of Google's language translation I might have been very content of the transfer is well.

    However, you can write a sentence so because help is needed.
    Thankfully if you can help
    ==================================================
    This is the error code.

    Message: Interface\AddOns\1212\1212.lua:4: hooksecurefunc(): FocusFrame_UpdateDebuffAnchor is not a function
    Time: 12/23/14 21:36:14
    Count: 1
    Stack: [C]: in function `hooksecurefunc'
    Interface\AddOns\1212\1212.lua:4: in main chunk

    Locals
    Posted in: Lua Code Discussion
  • 0

    posted a message on Focus buff location
    hooksecurefunc("FocusFrame_UpdateDebuffAnchor",function(self,name,i)
     if i == 1 then
     local buff = _G[name..i]
     buff:ClearAllPoints()
     buff:SetPoint("BOTTOMLEFT",self,"TOPLEFT",-20,50)
     end
     end)
    
     hooksecurefunc("FocusFrame_UpdateBuffAnchor",function(self,name,i)
     if i == 1 then
     local debuff = _G[name..i]
     debuff:ClearAllPoints()
     debuff:SetPoint("TOPLEFT",self,"BOTTOMLEFT",-30,30)
     end
     end)


    ===============================================
    I don't speak English... I need your help
    Focus buff location instruction
    focus Instruction error
    help me please~
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.