Prospect

This addon works as-is on the PTR v0.2.0.

Description

  • Right click on certain items to perform the proper task.
    • Works for locked boxes (Rogue - Lock Picking)
    • ... Ore (Jewelcrafting - Prospecting)
    • ... Herbs (Inscription - Milling)
    • ... Green or better weapons and armor (Enchanting - Disenchant) (default: shift + right-click required)

Slash Command

Added in v200903112220

/prospect
mod <modifier key>
change the modifier key (shift, ctrl, alt, lshift, lctrl, lalt, rshift, rctrl, or ralt)
btn <button number>
change the clicker (Disenchanting does not require a modifier if this is set to 3, 4, or 5 unless usemod is true)
usemod
toggle "always use modifier" mode (if btn is 2, Disenchanting requires a modifier key regardless of this setting)

Having Issues or have a Suggestion?

  • Please don't use the comments to post trouble tickets or suggestions. Instead post a ticket on CurseForge. Thanks.
    • Any comments containing bug reports or feature requests will be deleted on sight and any comments asking where or why (referring to said comments) will also be deleted on sight.

Known Issues

  • Equippable items that are Green or better get the macro overlay button regardless of whether they are really disenchantable.
  • The overlay button sometimes stays visible after the mouse leaves (OnLeave); it's not supposed to, I can't figure out why it does.
  • Can't set multiple modifiers (e.g. Ctrl-Alt-Right-Click). At this time, I will not be adding this (coding nightmare unless I don't check for valid modifiers).
  • Can't open or close the default bags while in combat. As of now, I cannot see a way to fix this.

Fixed

v200902152103

  • Only works on the enUS or (maybe) enGB client.
    • Using variables from FrameXML\GlobalStrings.lua - Now works on all client locales; although, the tooltip text is still in English.

v200903270146

  • Bizarre issue when using the default bag frames: open any bag before opening the backpack, mouse over any item that is Millable, Prospectable, etc., then open the backpack, close and reopen the backpack. Now all the items in the backpack are shifted down unless the backpack frame is opened after another bag is opened first. Doesn't make any sense to me, either.
  • Items in the default backpack get the macro overlay as they are supposed to, but the macro doesn't work. This is because the buttons in the backpack are different (the best reason I can come up with after spending several hours trying to make it work). If I hook the OnClick script (:HookScript("OnClick", print)), nothing prints for any buttons on the backpack frame, yet the buttons work as expected. Bizarre!!
    • Ugly fix

Disclaimers

  • Fixed for Wrath and Reposted
  • Original author, MSeverns, removed as author per his request.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
14 Feb 2009
Categories
Last update
21 Sep 2009
Development stage
Release
License
Written or Edited by Eric Gingell
Curse link
Prospect
Recent files

Authors