Tooltip conflict with Stat Weight Score addon

  • Hi,


    I found a conflict between GetDKP and an addon named Stat Weight Score. If GetDKP is enabled, Stat Weight Score doesn't show scores in tooltips from chat item links (ItemRefTooltip). I've tried enabling and disabling the various tooltip options in GetDKP but didn't notice a change.
    Could you please check what GetDKP does with the tooltip that causes this problem?


    Here is the ticket I've created for Stat Weight Score: http://wow.curseforge.com/addo…-item-tooltips-from-chat/

  • Found the problem.
    In line 994 of GetDKP.lua you overwrite the OnTooltipSetItem script of ItemRefTooltip. In the line before you save the previous script, but you never actually call it.


    Simple fix: Replace line 994 with:
    ItemRefTooltip:HookScript("OnTooltipSetItem", GetDKP_Tooltip_Update);
    HookScript does not overwrite the already set script.
    Also, line 993 can be removed.

  • Hello Cremor,


    Sorry for my late response.


    Thank you very much for the report and fix.
    I just replaced the line and will roll out the next version, as soon as i get feedback for an other fix introduced in the current alpha.


    Greetings


    Yunalescar