• 0

    posted a message on what u.token?
    what u.token?
    Posted in: Lua Code Discussion
  • 0

    posted a message on tooltip disapears (GameTooltip_SetDefaultAnchor)
    local function AddonName_anchor(frame)
      local x, y = GetCursorPosition();
      local scale = frame:GetEffectiveScale();
      frame:ClearAllPoints();
      frame:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", (x/scale + 20), (y/scale + 20));
    end
    
    hooksecurefunc("GameTooltip_SetDefaultAnchor",
      function(tooltip, parent)
        tooltip:SetOwner(parent, "ANCHOR_NONE");
        AddonName_anchor(tooltip);
      end
    );
    
    local function AddonName_OnUpdate(self, elapsed)
      AddonName_anchor(self);
    end
    
    GameTooltip:HookScript("OnUpdate", AddonName_OnUpdate);


    this works... nice and smooth
    i wrapped my call to GameTooltip_SetDefaultAnchor in that securehook syntax and changed anchor_cursor to anchor_none and call the anchor calculation from GameTooltip_SetDefaultAnchor and GameTooltip:OnUpdate

    seems like anchor_cursor should be able to do that for you since it has already done the cals for you? maybe there is a bug or something i am missing

    but anyway happy they are not disappearing anymore :)

    edit: oh ya just gotta 'examine' his anti-fading code too
    edit: i guess the whole hooksecure thing is not needed
    thanks
    Posted in: Lua Code Discussion
  • 0

    posted a message on tooltip disapears (GameTooltip_SetDefaultAnchor)
    posted on battle.net and someone suggested tiptac...
    http://us.battle.net/wow/en/forum/topic/2369882354
    i tried it
    http://wow.curse.com/downloads/wow-addons/details/tip-tac.aspx
    and it works fine with no disapear or stutter

    not sure what the difference is yet but... :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on tooltip disapears (GameTooltip_SetDefaultAnchor)
    woohoo! you figured it out! thanks


    -- Fixing unit frames tooltip. Quirk: Using ANCHOR_PRESERVE makes the tooltip "stick" when mousing over some objects including units on the WorldFrame and fade away after removing the mouse from said objects, but at least it works properly on unit frames.


    oh just kinda... ya its a little jumpy now... but does not disapear :) hrm
    Posted in: Lua Code Discussion
  • 0

    posted a message on tooltip disapears (GameTooltip_SetDefaultAnchor)
    ya tooltiponmouse :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on tooltip disapears (GameTooltip_SetDefaultAnchor)
    i use an addon to position my tooltip at or about my mouse... but when quickly moving between unitframes (player<->pet or raid<->party) the tooltip disapears? i thought it might be a problem with the tooltip addon but i reduced the tooltip addon to just:

    function GameTooltip_SetDefaultAnchor(tooltip, parent, ...)
      tooltip:SetOwner(parent, "ANCHOR_CURSOR")
    end


    and it still disapears when i mouse between unitframes but not between units in the world

    i have only that single 3 line addon running

    any ideas? i guess i am missing something i should be doing in there? or i am (obviously) doing it wrong

    please and thanks
    ???
    Posted in: Lua Code Discussion
  • 0

    posted a message on PeriodicTable-3.1
    A small thing, but I noticed Heat-Treated Spinning Lure (id 68049) is not in the "tradeskill.tool.fishing.lure" category, where I think it belongs.

    Maybe something to add on the to do list
    Posted in: Libraries
  • 0

    posted a message on GnomeWorks -- official thread
    Yes, if Interface -> Display -> Colorbind is enable I get infinite errors.

    I was able to fix this declaring:
    local inventoryColorBlindTag = {
            bag = "",
            vendor = "v",
            bank = "b",
            mail = "m",
            guildBank = "g",
            alt = "a",
        }


    at line 941 in Details.lua, but this is a dirty work-around I guess. :P
    Posted in: General AddOns
  • 0

    posted a message on Escape cancels rez in bg...
    thanks again :)

    however...
    Posted in: Addon Ideas
  • 0

    posted a message on GnomeWorks -- official thread
    I have this error.

    It seems to be triggered quite often cause it makes my client crash (and bugGrabber stop to hook bugs). Only solution I was able to find is to disable the Colorbind option from interface. :)

    49x GnomeWorks-86\Details.lua:945: attempt to index global 'inventoryColorBlindTag' (a nil value)
    GnomeWorks-86\MainWindow.lua:1995: in function `CreateMainWindow'
    GnomeWorks-86\GnomeWorks.lua:493: in function `func'
    GnomeWorks-86\Libs\LibStagedExecution.lua:22: in function <...erface\AddOns\GnomeWorks\Libs\LibStagedExecution.lua:13>

    Locals:
    self = {
    RecipeGroupPruneList = <function> @ GnomeWorks\RecipeGroups.lua:623:
    MAIL_INBOX_UPDATE = <function> @ GnomeWorks\FrameHooks\Mail.lua:25:
    InitGroupList = <function> @ GnomeWorks\RecipeGroups.lua:637:
    AddPseudoTrade = <function> @ GnomeWorks\GetTradeSkill.lua:64:
    CancelTimer = <function> @ DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:311:
    ScanPseudoTrade = <function> @ GnomeWorks\GetTradeSkill.lua:102:
    RecipeGroupAddSubGroup = <function> @ GnomeWorks\RecipeGroups.lua:230:
    InventoryScan = <function> @ GnomeWorks\Inventory.lua:300:
    SetInventoryCount = <function> @ GnomeWorks\Inventory.lua:147:
    TRADE_SKILL_UPDATE = <function> @ GnomeWorks\MainWindow.lua:1500:
    RecipeGroupConstructDBString = <function> @ GnomeWorks\RecipeGroups.lua:590:
    GetTradeIcon = <function> @ GnomeWorks\GetTradeSkill.lua:186:
    AUCTION_HOUSE_SHOW = <function> @ GnomeWorks\FrameHooks\AuctionHouse.lua:671:
    RecipeGroupPasteEntry = <function> @ GnomeWorks\RecipeGroups.lua:270:
    RegisterMessageDispatch = <function> @ GnomeWorks\GnomeWorks.lua:75:
    ScheduleTimer = <function> @ DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:276:
    SelectEntry = <function> @ GnomeWorks\SkillList.lua:373:
    AddToQueue = <function> @ GnomeWorks\Queue.lua:1141:
    RegisterMessage = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118:
    UnregisterMessage = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181:
    data =
    {}
    RecipeGroupSort = <function> @ GnomeWorks\RecipeGroups.lua:441:
    SetFilterText = <function> @ GnomeWorks\MainWindow.lua:1515:
    PopSelection = <function> @ GnomeWorks\SkillList.lua:442:
    ExpandAllHeaders = <function> @ GnomeWorks\ScrollFrame.lua:584:
    MAIL_SHOW = <function> @ GnomeWorks\FrameHooks\Mail.lua:20:
    RecipeGroupOpRename = <function> @ GnomeWorks\RecipeGroups.lua:1005:
    GetTradeSkillIcon = <function> @ GnomeWorks\GetTradeSkill.lua:227:
    warning = <function> @ GnomeWorks\GnomeWorks.lua:178:
    SpellCastStart = <function> @ GnomeWorks\Queue.lua:1438:
    DoTradeSkillUpdate = <function> @ GnomeWorks\MainWindow.lua:1383:
    ParseSkillList = <function> @ GnomeWorks\SkillList.lua:194:
    PLAYER_GUILD_UPDATE = <function> @ GnomeWorks\GnomeWorks.lua:183:
    RecipeGroupNew = <function> @ GnomeWorks\RecipeGroups.lua:99:
    ScanSlotGroups = <function> @ GnomeWorks\SkillList.lua:964:
    RecipeGroupOpNew = <function> @ GnomeWorks\RecipeGroups.lua:924:
    GetSkillColor = <function> @ GnomeWorks\SkillList.lua:1063:
    CreateQueueWindow = <function> @ GnomeWorks\Queue.lua:2523:
    GetQueueListScrollFrame = <function> @ GnomeWorks\API.lua:91:
    RecipeGroupRenameEntry = <function> @ GnomeWorks\RecipeGroups.lua:414:
    UnregisterAllEvents = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202:
    print = <function> @ GnomeWorks\GnomeWorks.lua:174:
    RecipeGroupFlatten = <function> @ GnomeWorks\RecipeGroups.lua:465:
    RecipeGroupMoveEntry = <function> @ GnomeWorks\RecipeGroups.lua:313:
    RecipeGroupOperations_OnClick = <function> @ GnomeWorks\RecipeGroups.lua:858:
    CreateButton = <function> defin
    ---
    Posted in: General AddOns
  • 0

    posted a message on Escape cancels rez in bg...
    seems to not work in bg?
    Posted in: Addon Ideas
  • 0

    posted a message on Escape cancels rez in bg...
    wow, excellent! thanks a lot!
    Posted in: Addon Ideas
  • 0

    posted a message on Escape cancels rez in bg...
    can someone make an addon that stops esc from cancelling rez in bgs... and stops esc from cancelling invites, and stops esc from cancelling summons?

    has anyone ever used esc to perform these functions on purpose?

    thanks a lot
    Posted in: Addon Ideas
  • 0

    posted a message on UI Screenshots - Show us what you use!


    Same old, same old.
    Posted in: General Chat
  • To post a comment, please or register a new account.