Download
(2Kb)
Download
Updated: 09-11-16 06:21 PM
Compatibility:
Legion (7.0.3)
Updated:09-11-16 06:21 PM
Created:09-10-16 06:10 PM
Downloads:446
Favorites:1
MD5:

SimpleProspecting

Version: 1.02
by: Kaemin001 [More]

==SimpleProspecting==

Creates a macro (per character) that scans your current inventory for ore that can be prospected, and prospects them for you.

/smp or /simpleprospecting to enable the addon prior to prospecting. Must be done at least once per session and is not effected by reloading your UI.

'/smp reset' to delete the macro and reset conditionals. Follow this with /smp to remake the macro and conditionals.

The first time you load the addon with /smp it creates the macro for you. It will also recreate the macro every time you type /smp, in case the macro was inadvertently edited. If deleted, simply remake an empty macro named SProspecting in your per character macros, and the addon will recreate the proper macro text.

** Please note: This addon/macro will not delineate between ore that is able to be prospected and ore that is not. If the item tooltip for your ore does not specifically state it is prospectable, place it in a bank container while you prospect your ore. **

* Added command '/smp reset' to delete the macro and reset conditionals. -- Slimmed down some of the addon code and simplified it's conditions.

* Updated to address a possible issue with characters who have two secondary tradeskills.
Optional Files (0)


Post A Reply Comment Options
Unread 09-11-16, 02:07 PM  
Kaemin001
A Kobold Labourer
 
Kaemin001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 9
Originally Posted by DreamsUnderStars
Well, I don't know why the addon won't make the macro for me, but pasting the code into a macro I make works.
I'm glad! If I can ever get the problem to reproduce itself I will post a fix for it. I'm sorry I was unable to find the problem. If you have any others, please post them here.

*EDIT* - I believe I was finally able to recreate the problem and have posted an updated file fix that now includes the command '/smp reset'. This command deletes the macro, and resets the addon conditions. Followed with /smp it will remake the macro and conditionals. I *believe* the problem may have occurred at the creation of the original macro, which then tainted the savedvariables. I was able to recreate the problem by manually setting the savedvariables to an outside setting and deleting the macro manually. I can only assume some unknown issue originally tainted one or both of those.
Last edited by Kaemin001 : 09-11-16 at 06:29 PM.
Report comment to moderator  
Reply With Quote
Unread 09-11-16, 11:59 AM  
DreamsUnderStars
A Defias Bandit

Forum posts: 3
File comments: 105
Uploads: 0
Well, I don't know why the addon won't make the macro for me, but pasting the code into a macro I make works.
Report comment to moderator  
Reply With Quote
Unread 09-10-16, 11:19 PM  
Kaemin001
A Kobold Labourer
 
Kaemin001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 9
Originally Posted by DreamsUnderStars
Still does nothing, and yes, my character is a JC, and I am on the US servers using an English client.
Have you tried the latest update? There was an inadvertent error triggered by a character with two secondary skills such as milling and prospecting, which has been corrected in the latest version.

If you also have SimpleMilling, you will have to update both addons.

Also, do you have enough free slots in your per character macros?

I have been unable to reproduce any problems with the addon creating the macro needed, so I am unsure what the difficulty may be.

Make a new macro, in the per-character area, not general. Name it "SProspecting" and paste this text into the macro:

Code:
/run local f,l,n=SPB or CreateFrame("Button","SPB",nil,"SecureActionButtonTemplate") f:SetAttribute("type","macro") l,n=SimpleProspect_Ore() if l then f:SetAttribute("macrotext","/cast Prospecting\n/use "..l) SetMacroItem("SProspecting",n) end
/click SPB
be sure to use /smp before you attempt to use the macro, and please record any error message you get as a reply. I will endeavor to find the problem and correct it.
Last edited by Kaemin001 : 09-10-16 at 11:23 PM.
Report comment to moderator  
Reply With Quote
Unread 09-10-16, 11:01 PM  
DreamsUnderStars
A Defias Bandit

Forum posts: 3
File comments: 105
Uploads: 0
Still does nothing, and yes, my character is a JC, and I am on the US servers using an English client.
Report comment to moderator  
Reply With Quote
Unread 09-10-16, 10:05 PM  
Kaemin001
A Kobold Labourer
 
Kaemin001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 9
UPDATE: Corrected an issue with characters who may have 2 tradeskill secondary skills, such as prospecting and milling.
Last edited by Kaemin001 : 09-10-16 at 10:49 PM.
Report comment to moderator  
Reply With Quote
Unread 09-10-16, 09:22 PM  
Kaemin001
A Kobold Labourer
 
Kaemin001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 9
Originally Posted by DreamsUnderStars
It's not adding the macro. I tried smp and simpleprosting slash commands.
It will only add the macro for a character who is a jeweler. It also places it in the per-character macros, not the general. Also, if you have your macro window open when you run the addon, click on an existing macro to populate it in the macro window, or close the macro window and reopen it.

If neither work, create a macro in the per-character macros for your Jewelcrafter, name it SProspecting and choose any icon, leave the macro text field empty and save it, then type /smp again.

I only tested SimpleProspecting on a character who did not have both prospecting and milling. If you have both SimpleProspecting and SimpleMilling installed and in use on the same character, please let me know. They should not interfere with each other, but if they do I will look for a possible reason and update both with a fix.

If none of these options work around the problem, what client are you using? (The addon was written for use in the EN(US) client and has not been ported to any other language clients)
Last edited by Kaemin001 : 09-10-16 at 09:35 PM.
Report comment to moderator  
Reply With Quote
Unread 09-10-16, 09:17 PM  
DreamsUnderStars
A Defias Bandit

Forum posts: 3
File comments: 105
Uploads: 0
It's not adding the macro. I tried smp and simpleprosting slash commands.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: