With Cataclysm coming out and the questing mayhem that ensued I kept wishing that someone would create an addon that would add an additional button to the Quest Complete dialog that would complete and equip the chosen reward.
Anyway, I created a JPG with an example which I will attach to this post. Sorry for the terrible artwork... I'm not an addon programmer or an artist!
On first thought, that (right now) is two hardware events. First to complete the quest, second to equip the item. Three if the quest reward is more than one item and you have to make a selection.
Perhaps someone more knowledgeable than myself will give a more elaborate or accurate answer, but my first reaction is this isn't possible.
there is no secure code to worry about as far as i know (my ldb equipment manager allows me to switch equipment during combat( it switches weapons right away and then waits till out of combat to switch the rest) this however uses the equipment manager sets but i don't see what would stop you from doing in per item
I know nothing of addon coding but it seems to me that it might be possible by cloning the [Complete Quest] button's function while watching for the next item acquired.
The next function would trigger the item to be equipped (like yssaril's addon).
Obviously this would break in the event of multiple items being acquired at once but someone smarter than me might be able to figure out the logic there. (I'm not very smart so this might be really easy!) ;)
my personal solution for this is using a bag addon that can highlight new items (i use AdiBags) because most quest rewards are not upgrades but rather i just pick the one that vendors for the highest price.
But as far as implementing this i would add a checkbox to each itemframe(which is equip-able) then when the user checks it off it will get equipped after you complete the quest
You would need to the following things:
modify each itemframe and add a checkbox
show/hide checkboxes on each itemframe when the quest dialog updates/shows
prehook the Complete Quest button so that you can record the itemids/strings of each checked of item
wait for your bags to update and make sure the item is in your bag
got bored at work not 100% sure if it works http://www.wowace.com/addons/autoequipquestitem/
don't have any quests with items i can equip atm so cant test (last test threw an error which i think i remedied but need another quest to test)
very simple addon shows an extra button if you can equip the item otherwise its business as always (also only equips items which you need to select)
Thanks for making this a reality! I downloaded and installed the addon and went and did a quick quest. When I completed the quest the button was not visible until I clicked on the item I wanted and then it appeared. Very nice!
When I opened my character window the item had not been equipped so there's something going wrong there somewhere.
maybe this could be done as in a BAG_UPDATE event. when you get an item that equipable and has a higher itemlevel than the item it would replace, it could ask if you want to equip it. perhaps showing the tooltip and the compare tooltip.
options could include automatically utilizing pawn scoring systems and maybe turning off the check for non soulbound items (so it would suggest you equip items that you might intend to sell, trade, stash away for an alt, etc).
maybe it could plug into the quest reward window by highlighting what it thinks is an upgrade.
could also maybe check your equipment sets and replace the item there, too. (including item set mods like item rack).
maybe this could be done as in a BAG_UPDATE event. when you get an item that equipable and has a higher itemlevel than the item it would replace, it could ask if you want to equip it. perhaps showing the tooltip and the compare tooltip.
options could include automatically utilizing pawn scoring systems and maybe turning off the check for non soulbound items (so it would suggest you equip items that you might intend to sell, trade, stash away for an alt, etc).
maybe it could plug into the quest reward window by highlighting what it thinks is an upgrade.
could also maybe check your equipment sets and replace the item there, too. (including item set mods like item rack).
lol. you could certainly start simple with just an itemlevel check and go from there. :)
i think the equipment set stuff would be nice either way because it's nearly useless to use equipment sets while leveling because equipment changes so often.
Anyway, I created a JPG with an example which I will attach to this post. Sorry for the terrible artwork... I'm not an addon programmer or an artist!
Cheers,
Perhaps someone more knowledgeable than myself will give a more elaborate or accurate answer, but my first reaction is this isn't possible.
The next function would trigger the item to be equipped (like yssaril's addon).
Obviously this would break in the event of multiple items being acquired at once but someone smarter than me might be able to figure out the logic there. (I'm not very smart so this might be really easy!) ;)
Anyway, thanks for your observations thus far!
Thanks!
But as far as implementing this i would add a checkbox to each itemframe(which is equip-able) then when the user checks it off it will get equipped after you complete the quest
You would need to the following things:
you will want to add some sort of function that checks that you are not in combat and delays any non weapons to be equipped when you exit combat
http://www.wowace.com/addons/autoequipquestitem/
don't have any quests with items i can equip atm so cant test (last test threw an error which i think i remedied but need another quest to test)
very simple addon shows an extra button if you can equip the item otherwise its business as always (also only equips items which you need to select)
Thanks for making this a reality! I downloaded and installed the addon and went and did a quick quest. When I completed the quest the button was not visible until I clicked on the item I wanted and then it appeared. Very nice!
When I opened my character window the item had not been equipped so there's something going wrong there somewhere.
Thanks again for taking this on!
not much i can do after the fact (gonna try to get some more quests on my lock that drop usefull items)
options could include automatically utilizing pawn scoring systems and maybe turning off the check for non soulbound items (so it would suggest you equip items that you might intend to sell, trade, stash away for an alt, etc).
maybe it could plug into the quest reward window by highlighting what it thinks is an upgrade.
could also maybe check your equipment sets and replace the item there, too. (including item set mods like item rack).
$.02
hehe i'm gonna keep it very simple for now :)
i think the equipment set stuff would be nice either way because it's nearly useless to use equipment sets while leveling because equipment changes so often.