WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   not clickable profession mats (https://www.wowinterface.com/forums/showthread.php?t=46265)

Tonyleila 04-12-13 07:55 PM

not clickable profession mats
 
After my first problem was fixed so quickly here is the next one:
Since 5.2 I can't shift+klick on items inside the profession window to copy the names into chat or auction house. The top button is klickable but the bottom one is locked. So now I can't easy search for mats in AH.
Its not an addon problem (same if I disable all addons). So maybe someone also knows an addon to fix this or a short code to fix it :D
Here is a screenshot of what I talk about:

Talyrius 04-12-13 09:01 PM

I've noticed this bug as well, but it hasn't bothered me all that much. I just type out the name of the item now. :p

I'm too lazy to try and develop a workaround.

Phanx 04-13-13 12:26 AM

Code:

local function TradeSkillReagent_OnClick(self)
        local link, name = GetTradeSkillReagentItemLink(TradeSkillFrame.selectedSkill, self:GetID())
        if not link then
                name, link = GameTooltip:GetItem()
                if name ~= self.name:GetText() then
                        return
                end
        end
        HandleModifiedItemClick(link)
end
for i = 1, 8 do
        _G["TradeSkillReagent"..i]:SetScript("OnClick", TradeSkillReagent_OnClick)
end

Added to BlizzBugSuck also.

Tonyleila 04-13-13 05:15 AM

Quote:

Originally Posted by Phanx (Post 276385)
Added to BlizzBugSuck also.

Thanks! Tested the alpha works fine!
Will it also block the you are not in a party spam?
I onece used YouArentInAPartyFix but it seams to be not working any more and it bugs together with PhoenixStyle

Rilgamon 04-13-13 09:50 AM

Quote:

Originally Posted by Phanx (Post 276385)
Added to BlizzBugSuck also.

Thank you! Not yet uploaded here , check http://www.wowace.com/addons/blizzbugssuck/files/

Unkn 04-13-13 10:57 AM

See my guildies thought I was going crazy when I mentioned this.

Phanx 04-13-13 01:32 PM

Quote:

Originally Posted by Tonyleila (Post 276394)
I onece used YouArentInAPartyFix but it seams to be not working any more and it bugs together with PhoenixStyle

No, as that's not a bug in the Blizzard API -- it's an issue of one or more of your addons being outdated and sending messages to the wrong channels -- and is thus outside the scope of BlizzBugsSuck.

Tonyleila 04-14-13 10:40 AM

Quote:

Originally Posted by Phanx (Post 276421)
No, as that's not a bug in the Blizzard API -- it's an issue of one or more of your addons being outdated and sending messages to the wrong channels -- and is thus outside the scope of BlizzBugsSuck.

Is there a way to find out what addon it is without disabeling them one by one and join bgs?

Dridzt 04-14-13 12:11 PM

I seem to recall Spamalyzer had that functionality but I'm not 100%.

SDPhantom 04-14-13 10:48 PM

Quote:

Originally Posted by Tonyleila (Post 276487)
Is there a way to find out what addon it is without disabeling them one by one and join bgs?

Spydon should show a stack trace for any code that runs SendAddonMessage().

Phanx 04-15-13 04:30 AM

Quote:

Originally Posted by Tonyleila (Post 276487)
Is there a way to find out what addon it is without disabeling them one by one and join bgs?

grep for "SendAddonMessage" in your AddOns folder (including subfolders) and look at the channel it's using -- if you see an addon sending to RAID or PARTY, but never to INSTANCE_CHAT, it's causing your problem. There may be more than one addon.

Tonyleila 04-16-13 11:50 AM

Thanks for all your recommendations I tryed it with grepWin.
This addon contain SendAddonMessage:
BigWigs, BugSack, Capping, Hermes, PhonixStyle, Pokemon Trainer, Recount
I looked into all of them but did not find anything without INSTANCE_CHAT.

But also PhoenixStyle and RaidSlackCheck have it and I'm not shure about the code
Most things are like
Lua Code:
  1. function psmarksoff(where)
  2. local inInstance, instanceType = IsInInstance()
  3. if instanceType~="pvp" then
  4. if where==nil then
  5.   if select(3,GetInstanceInfo())==7 or IsLFGModeActive(LE_LFG_CATEGORY_LFD) then
  6.     SendAddonMessage("PSaddon", "16off", "instance_chat")
  7.   else
  8.     SendAddonMessage("PSaddon", "16off", "raid")
  9.   end
  10. else
  11. SendAddonMessage("PSaddon", "16off", where)
  12. end
  13. end
  14. end

But there are also things like
Lua Code:
  1. --BIGWIGS
  2. SendAddonMessage("BigWigs", "T:BWCustomBar "..pstime.." "..pstext, "RAID")
  3. --DXE
  4. SendAddonMessage("DXE", "^1^SAlertsRaidBar^N"..pstime.."^S~`"..pstext.."^^", "RAID")

So maybe someone can look into the addon code of RSC and PS and tell me if its this addon causing the you are not in a party spam. Thanks!

Phanx 04-16-13 02:13 PM

Based on your list, I would strongly suspect Hermes, as it has not been updated in years. Try disabling it and joining a BG to verify.

Dridzt 04-16-13 02:25 PM

Hermes has been getting updates over at curse.

That's not to say it's not the culprit (I don't know) but if it is, it's not for lack of updates :)

Tonyleila 04-16-13 05:57 PM

yes I use hermes v2.5.4 from curse
Will I don't think its hermes just looked into it and it was inside the libs folder only, I still think its somethink like PS oder RSC


EDIT:
I'm pretty sure now that its PhoenixStyle/RaidSlackCheck tested disabeling hermes but still same spam but disabelung PS abd RSC seams to solve the problem

Phanx 04-17-13 01:28 AM

Code:

hooksecurefunc("SendAddonMessage", function(prefix, message, channel, target)
    if channel == "PARTY" or channel == "RAID" then
        local file = debugstack():match("Interface\\AddOns\\(.-:%d+)")
        print("Addon message sent to", channel, "from", file)
    end
end)

Throw that somewhere, join a BG, and wait for the message. Should give you something like "Addon message sent to PARTY from Addon\\File.lua:47" when an addon tries to send a message on PARTY or RAID. Drycoded, and obviously you won't want to run it all the time since those are valid channels under other circumstances. :p

SDPhantom 04-17-13 10:35 AM

Reiterating. :rolleyes:
Quote:

Originally Posted by SDPhantom (Post 276521)
Spydon should show a stack trace for any code that runs SendAddonMessage().



Note for addon and/or filenames that are long enough will be truncated at the start of the string.
Also you'll need %d+ to capture more than the first digit of the line number.

Phanx 04-17-13 06:28 PM

Yes, I saw your link, but I looked at the screenshots and have NFI what is going on there, and it seems like massive overkill for something this simple. No need to nuke it from orbit when a hammer will do the job.

Torhal 04-17-13 08:23 PM

Looks like a 1980's hex editor... :)

Phanx 04-17-13 09:45 PM

Yeah... but I have no idea why you would use a hex editor to look at addon comm messages. :p


All times are GMT -6. The time now is 09:42 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI