Thread Tools Display Modes
12-14-14, 04:33 AM   #1
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
UseQuestLogSpecialItem vs. the world

Dear Blizzard,

Your new objective tracker is the most delicate of flowers in a winter storm. Even looking sideways at seemingly unrelated things, like the world map, poisons it, rendering its quest item buttons unusable. It's even worse than the infamous and still-overly-sensitive-after-all-these-years UIDropDownMenu system.

You could solve the quest button problem very easily by making the UseQuestLogSpecialItem only require a hardware event, rather than it being a completely protected function. I understand you don't want addons automatically using quest items without the player making decisions, but I really don't see any serious potential for abuse if it requires a click/keypress. It's a quest that probably takes 5 minutes and zero thought beyond looking for the dot on the map -- side note: WTB epic quest chains back from vanilla! -- not raid progression or tournament PvP.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
12-14-14, 05:18 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
*sign with 10 letters*
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-14-14, 06:11 AM   #3
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
I've never used that API, but coincidentally I was thinking about it yesterday. Is it possible to securely hook UseQuestLogSpecialItem()? I'd imagine that would solve most of the problems.
  Reply With Quote
12-14-14, 06:20 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by myrroddin View Post
Is it possible to securely hook UseQuestLogSpecialItem()? I'd imagine that would solve most of the problems.
It's possible to securely hook anything:

Code:
hooksecurefunc("CastSpellByName", function(spell, target)
    print("You are casting", spell, "on the", target or "target", "unit.")
end)
But that doesn't solve any problems, since a secure hook just tells you that the function was called, and what arguments (if any) were passed to it; it doesn't magically let you call functions you're not allowed to call from addon code, and it doesn't let you affect the behavior of the original function.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
12-14-14, 09:01 AM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Signed here too ... I was quite surprised that literally reparenting the main frame broke the buttons security.

What makes it worse is that some of the items aren't physically in the bags to use manually that way, so I sure hope those ones work by clicking on the mobs in question.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
12-14-14, 12:41 PM   #6
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
...Signed...

I do use the addon http://www.curse.com/addons/wow/questitembuttonfix, but Blizzard has broken all quest addons.
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » UseQuestLogSpecialItem vs. the world


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off