Download
(63Kb)
Download
Updated: 05-06-09 05:32 PM
Pictures
File Info
Updated:05-06-09 05:32 PM
Created:unknown
Downloads:4,847
Favorites:43
MD5:

QuickTradeskill

Version: 3.0
by: Kjado [More]

Looking for 4.0/Cataclysm version? The new incarnation of QuickTradeskill is now known as Apparatus (link).

QuickTradeskill is a World of Warcraft addon to expedite the process of crafting tradeskill items. Similar to the programs Launchy (for Windows) and QuickSilver (for Mac), QuickTradeskill consists of a simple text box interface. When text is entered and the Enter key is pressed, QuickTradeskill will search the player's tradeskills for matches to the input text and display the results in clickable frames which can be used to create the item or copy a craft recipe link into chat. In addition to searching recipes the user knows, QuickTradeskill will also search through all of the in-game recipes provided by LibPeriodicTable for reference.

Usage:
A keybind to open/close the QuickTradeskill window can be set from the default keybindings menu. Alternatively, the QuickTradeskill window can be opened and closed via the /qts show and /qts hide commands.

/qts will open the configuration options.

The main QuickTradeskill frame can be moved by dragging the edges, and the width can be changed by ctrl+dragging on the right edge.

When results are found from the tradeskill search, the new frames have the following properties:

Left click: create a single copy
Ctrl + left click: batch-craft multiple copies of the item
Shift + left click: paste the recipe link for the item into chat

There are three search modes:

  • Title Only
  • Title and Tooltip (Known Recipes)
  • Title and Tooltip (Everything)

To search by recipe title only, simply enter text into the edit box and hit the Enter key. To search through the titles of all recipes, plus the tooltips of recipes your character knows, prefix your search text with a '+' (ie. +netherweave will search for anything with the word 'netherweave' somewhere in the recipe's tooltip). To instead search all titles and all tooltips (even recipes you do not know), prefix your search with '++' (ie. ++netherweave).

There are numerous advantages to searching through tooltips, and the information returned can be quite exhaustive. For instance, with '+minor glyph' you can search for all of the minor glyphs you can create. There are also other possibilities, such as searching for recipes by materials, and so on.

Important:
The major drawback with doing tooltip searches is the time required. The exhaustive search is extremely CPU intensive, and will likely freeze WoW for a handful of seconds while it performs the search. However, it is unlikely that you will need to do these in a quick manner, so hopefully this is acceptable behavior.

Localization support:
QuickTradeskill should work for all locales. If anyone experiences problems with this, please let me know!

--- 2008/05/19:
Localization support for Chinese (simplified) "zhCN" added.
Fixed a bug that would cause batch crafting to fail mid-cast if the QuickTradeskill
frame was re-opened during crafting.

--- 2008/09/16:
Support for the Inscription profession.
Added keybinding option to open/close the QuickTradeskill frame.
Temporarily disabled support for "zhCN" localization.
Informative tooltips added for ALL result frames.
Alphabetized result frames.

--- 2008/10/14:
Support for patch 3.0/WotLK expansion.

--- 2008/10/27:
Ability to search only recipes user knows, or all recipes in game (via LibPeriodicTable).
Addition of button to close the QTS window.

--- 2008/11/10:
Result frame throttling ability added. Default is max of 5 result frames, changeable
by using /qts [number] (failsafe set to 1 if [number] does not evaluate to a number).
"Scrolling" feature implemented to navigate through throttled list.
Former result lists combined (user and LibPeriodicTable).
Search action changed. Now responds to OnEnterPressed for the edit box, instead of
searching in response to OnTextChanged.
Close button changed to simple templated Close button.

--- 2008/11/10 - 2:
Bottom scroll button now positions properly when throttle limit is changed.

--- 2008/11/12:
Exhaustive tooltip searching added.

--- 2008/11/27:
Localization support for all locales.
Updated LibPeriodicTable to r75 (still no Inscription support, though).

--- 2009/01/05:
Quick fix to show enchanting patterns from LibPeriodicTable again.

--- 2009/01/30:
Scroll-wheel support for browsing results list.
Search result acknowledgement.
Support for batch-crafting any number of copies of an item.
Blizzard Interface Options support.
Cleaned up the source a bit.
Updated LibPeriodicTable to r141 (including Glyphs!).

--- 2009/05/06:
Updated LibPeriodicTable to r179 (3.1 recipe/etc. additions).
Post A Reply Comment Options
Unread 05-20-08, 07:29 PM  
Samasnier
A Deviate Faerie Dragon
 
Samasnier's Avatar

Forum posts: 13
File comments: 47
Uploads: 0
Good job!

Very cool addon. I would like to suggest the addition of a keybinding so one could just hit their keybinding of choice, rather than typing /qts.
Report comment to moderator  
Reply With Quote
Unread 05-21-08, 03:11 PM  
Kjado
A Deviate Faerie Dragon
 
Kjado's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 32
Uploads: 4
Re: Good job!

Originally posted by Samasnier
Very cool addon. I would like to suggest the addition of a keybinding so one could just hit their keybinding of choice, rather than typing /qts.
I like this idea, and it would admittedly make it more like the applications it was influenced by. Consider it added to my TODO list for the next release =)
Report comment to moderator  
Reply With Quote
Unread 10-10-08, 09:12 PM  
nickd20080
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
help with addons

i need help installing this addon from step one and ect. please help idk what to do.
Report comment to moderator  
Reply With Quote
Unread 10-11-08, 12:42 AM  
Kjado
A Deviate Faerie Dragon
 
Kjado's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 32
Uploads: 4
1) Download the .zip file from the addon page.
2) Unzip the downloaded file, using a program such as WinZip or WinRar (for Windows), or StuffitExpander (for Mac; I think that is correct).
3) There should now be a folder named QuickTradeskill. Copy this folder, and paste it into your addons directory for World of Warcraft. If you have WoW installed to the default location on a Windows machine, then the path is C:\Program Files\World of Warcraft\Interface\Addons\.
4) Load into WoW. Press Esc and go to the keybindings menu, and towards the bottom there should be an option to set the keybind you would like to use for QuickTradeskill. After this is set, you can use that hotkey to show/hide the QuickTradeskill window.
Report comment to moderator  
Reply With Quote
Unread 10-19-08, 08:59 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 158
File comments: 281
Uploads: 5
Maybe it's just a compatability issue, but this doesn't appear to play nice with ATSW. Everytime I bring up my QTS frame, ATSW feels obligated to scan all my recipes again. Doh! Well, searching through QTS appears to be title only, so I can't search for mage glyphs or anything; hence, I'll have to stick with ATSW for now. Looks nice, though!
Report comment to moderator  
Reply With Quote
Unread 10-24-08, 10:03 AM  
cawfee
An Aku'mai Servant
 
cawfee's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 94
Uploads: 1
This is amazingly handy. Is there any way to expand it to include a full database of tradeskills? A feature like that would make it invaluable for quickly looking up enchants even if you're not pursuing the profession yourself (it's probably asking for a lot, but I'd like to know if it's at least possible / feasible).

You could have your own tradeskills labeled with a (*) to know which ones you're capable of.

Thanks!


Update:

This doesn't seem to respond to any jewels for JC, but does list things such as Copper Wire. Any idea as to why? D:

Also, could we get a little X / close button to quickly get rid of it when we're done doing the searches? C:
Last edited by cawfee : 10-24-08 at 03:00 PM.
Report comment to moderator  
Reply With Quote
Unread 10-24-08, 05:56 PM  
Kjado
A Deviate Faerie Dragon
 
Kjado's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 32
Uploads: 4
Originally posted by cawfee
This is amazingly handy. Is there any way to expand it to include a full database of tradeskills?
Short answer: most likely.
Longer answer: I'm not really sure how I would handle that off the top of my head, as right now I just scan through the player's spellbook for things they can do themselves. If there is an easy way to get that same kind of information from a master tradeskill list in-game, then please let me know

Update:
This doesn't seem to respond to any jewels for JC, but does list things such as Copper Wire. Any idea as to why? D:
Try logging out and back in and trying to do the same search again. I was having an issue every so often with odd search results on new characters the first time I would log in with the addon enabled. If it continues to give you problems, send me a PM and I will look into it further.
Report comment to moderator  
Reply With Quote
Unread 10-25-08, 07:29 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by Kjado
Short answer: most likely.
Longer answer: I'm not really sure how I would handle that off the top of my head, as right now I just scan through the player's spellbook for things they can do themselves. If there is an easy way to get that same kind of information from a master tradeskill list in-game, then please let me know
The code of TradeskillInfo (orignal, outdated page here) is what to look at for tips on how to handle an in-game database.

An absolutely fabulous mod. But its dead in WoW 3.0.2. In addition to the WoW UI changes killing being able to open its frame, its trade skill list has not been updated in several months (since 2.4.0). The original author (wmrojer) left WoW a long time ago; the latest updater (Evenue) is also gone.

When it worked (WoW 2.4.3 & earlier), it was great. Saved every tradeskill recipe in the game in a memory efficient, searchable format. You opened up its frame via "/tsi" and entered your search term and/or manually opened the tradekill dropdown menus. Clicking a recipe (or finding a specific one via a search) showed you all the info for it (see below).

It showed who you could get a recipe from (NPC, trainer, drop), the materials & skill level required and allowed you to link them. Also colored known recipes in the AH like RecipeBook does, let you know in tooltips who knew what recipes & so on. And finally, showed in your tradeskill windows under each recipe what specific skill levels a recipe turned yellow/green/grey/etc.. If it did not know from its database, it "learned" the skill levels after you levelled it up.

The last version is at this link. Recipes themselves are stored in the "TradeskillData.lua" files (a seperate one for each localization). The recipe data doesn't really need constant updating, just when new ones are added (various WoW patches).

If you could integrate just a full tradeskill database alone into QuickTradeskill via the way TradeskillInfo did it (or some other way)--or make a seperate mod to do that--a lot of people would be very happy .
Last edited by Zidomo : 10-25-08 at 07:36 AM.
Report comment to moderator  
Reply With Quote
Unread 10-25-08, 12:11 PM  
Kjado
A Deviate Faerie Dragon
 
Kjado's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 32
Uploads: 4
Awesome, I will be sure to take a look at that and see what I can do when I have some free time. Thanks!

Edit: I wasn't able to find what I was looking for by skimming through the code for that addon. An exhaustive list of all the tradeskill recipes is immense, just as it is in the TradeskillInfo addon... though I need a way to automatically pull that tradeskill information from somewhere, even if it's just once on my own to generate the data to port into QuickTradeskill itself.
Last edited by Kjado : 10-25-08 at 01:24 PM.
Report comment to moderator  
Reply With Quote
Unread 10-25-08, 11:51 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by Kjado
Edit: I wasn't able to find what I was looking for by skimming through the code for that addon. An exhaustive list of all the tradeskill recipes is immense, just as it is in the TradeskillInfo addon... though I need a way to automatically pull that tradeskill information from somewhere, even if it's just once on my own to generate the data to port into QuickTradeskill itself.
Ah yes. There are a few mods that have built-in data miner scripts. Probably the most applicable one related to tradeskills, etc. is the one contained in the currently maintained LibPeriodicTable-3.1 (a standalone library; no, its not out of date).

It has a "dataminer.lua" file you run with a command line LUA.exe compiler. Two of the files it helps create: LibPeriodicTable-3.1-Tradeskill.lua & LibPeriodicTable-3.1-TradeskillResultMats.lua.

But to make things (a lot) easier, you could instead just hook into that library to get all the recipes/mats/drop info you need.

As one example of a mod that uses that library: Mendeleev. Its a loot drop tooltip display mod that uses that library to provide its info. When LibPeriodicTable is updated with new recipes/drops/etc, Mendeleev is automatically "kept up to date". The Mendeleev author(s) don't have to do anything extra as the databases are being handled by the library, not the mod.
Report comment to moderator  
Reply With Quote
Unread 10-28-08, 01:56 PM  
Veyska
A Kobold Labourer
 
Veyska's Avatar

Forum posts: 1
File comments: 56
Uploads: 0
2.1

Been poking at this add-on for a short bit and a few observations/whatnots... The option to pop up a pre-searched window off of the command line would be awesome ("/qts <insert search string here>"). Having a straight "/qts" or keybinding call load the window up with a cleared search box would also be nice (or even just highlight the last search's text so you could overwrite it or hit enter again to re-search).

One slightly bigger idea would be to tweak how the "All" list displays. "My" pops up a list of left-justified names with appropriate icons. "All" pops up a center-justified icon-less list. Two things that occurred to me that might make "All" more useful from an overview (ie not mousing over every result separately)... First idea would be to use the generic profession icons next to results to distinguish them (would probably result in left-justification too). Second idea would be to have some indication of what recipes the player knows (drag a bit of the "My" list over). Not sure the best way to go about this, my first thought was just left-justify the list and stick appropriate icons by the known spells like in the "My" list. Then the profession-specific icon idea occurred to me and I'm not sure how cluttered a list full of eleventy-bajillion icons would end up being. Could potentially recolor the text or background (text probably less obtrusive) instead but I've not tried to skim the code to see how troublesome that would be compared to icons.


Wonderful add-on, loving it so far. :-)
Report comment to moderator  
Reply With Quote
Unread 10-28-08, 03:05 PM  
Kjado
A Deviate Faerie Dragon
 
Kjado's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 32
Uploads: 4
Re: 2.1

Thanks for the suggestions, and I will definitely keep them in mind!

When it comes to the "search all" feature, I wasn't completely sure how I wanted to present it, so the design of it is really a work in progress and I just wanted to get something in there that worked =)

As far as how the crafts are displayed, I can tweak it to look more like the crafts the user does already know, and have a visual identifier for ones they do know. I originally thought about intermingling all of them (crafts the user does and doesn't know), but LibPeriodicTable does not store the craft ids in order, so to get everything alphabetized it would take a bit of extra overhead (depending on how big the search set is, possibly a lot of computation), but I can play around with this and see how much it affects the performance of the mod. Ideally, I would like it to display a sorted list of all of the crafts matching the search text, and if the player could create it themselves it would have a visual indicator (an asterisk or something) beside it.

EDIT:
Just as a question for anyone who reads these comments, for the actual searching, there are a couple options on how to handle it: either search dynamically as the user continues to type, or just one static search after the user hits Enter. QTS currently handles this the first way, as I was using the QuickSilver Mac app as my inspiration for it, and to avoid completely overwhelming the user at the beginning it suppresses searching when there are only 0-1 characters in the edit box. I am thinking this number could be increased to suppress searches under 3-4 characters in length, since I have noticed some performance hits when beginning searches with extremely common 2-letter combinations. However, I would like to know from others who do use the addon what their preference would be =)
Last edited by Kjado : 10-28-08 at 03:12 PM.
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 02:07 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Nice start on the search!

A few things about Quick Tradeskill v2.1 as it is now.

--The results list needs to be compacted. Either put all the results as clickable links in one window or make the result frames a lot smaller. As it is, if you enter a common name like "Adamanantite", it can fill up your UI and you can't see the things at the end of the list (especially if you run at low resolutions).

--Doesn't seem to be any way to link actual recipes in chat (yellow links). Only completed items (light blue links). Yellow recipe links should be able to be chat-linked to make the search useful.

--For searching, would be nice to be able to find recipes by searching for material names in addition to recipe names (its something Tradeskill Info mod allowed). Should be able to do this with the LibPeriodicTable-3.1-TradeskillResultMats.lua file (which v2.1 doesn't currently use).

--The v 2.1 TOC doesn't contain any pointers to the included libraries. Consequently, if a user is running this mod and doesn't have the libraries loading with some other mod (or standalone), the searching won't work.

How to handle it (put the following in the TOC):

Code:
#@no-lib-strip@
Libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua
Libs\LibPeriodicTable-3.1-Tradeskill\LibPeriodicTable-3.1-Tradeskill.lua
Libs\LibPeriodicTable-3.1-TradeskillResultMats\LibPeriodicTable-3.1-TradeskillResultMats.lua
#@end-no-lib-strip@
--Any thoughts about using the "TradeskillResultMats..." & "Tradeskill.Mat.ByProfession.Inscription" results contained in the above library files for inscriptions?

--As to auto search on typing, that's unneeded. Here at least . Yes, there will be a performance penalty doing that. And sometimes you may misspell what you are looking for. Sometimes you start the search for a particular item then change your mind about what you are looking for. Which means the results being pulled up automatically are unwanted.

Just having the search done after pressing "ENTER" (or a "Search" button) is more than good enough.

--For recipe search results and alphabetizing it, yes, there will likely be large overhead. Especially once you get search working on materials and not just recipe names (recipe names will have a limited number of results; materials much, much more). Its unneeded.

But some sort order would be good. How Tradeskill Info did it: categorized results by profession and then listed them in order of trade skill needed to make them (lowest skill ones at top of lists). You could do it that way. Or have a column-sortable list or similar.
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 01:19 PM  
Niveras
A Murloc Raider

Forum posts: 4
File comments: 9
Uploads: 0
I had some thoughts on making QTS slightly more convenient, though I don't know how difficulty they would be to implement, nor how much work you are willing to put into this app. I think these can mostly just be checkboxes or buttons at the top to modify how the search is performed.

1) Searching by reagents as well as final products is a big one. I skimmed over previous comments and I believe a few others have mentioned it already.

2) The option to 'create all' of that recipe rather than having to click again and again depending on the amount of items you are making. Perhaps this can be a button on the righthand side of the results; clicking the recipe bar itself can still create one. This is another 'big one' in my book, in terms of how much convenience it adds.

3) The option to have the results 'grow up' rather than down.

4) A scrollable results frame, showing maybe four to five recipes to begin with. If possible this should also capture the mousewheel, so that you can just move your mouse into the window and scroll up and down (like how the chat window works natively). If this is more work than it sounds, perhaps just cut out some of the padding and border, as well as the item's icon, to shorten the results a little.

5) A database of recipes known across your characters, so that you do not have to switch between characters to check whether they have recipe. This is pretty minor; TradeskillInfo will serve this purpose once it is fixed.

Most of these are just for convenience sake. Some of them are also native to TradeskillInfo, but I think QST has the potential to be more useful than TradeskillInfo. The big annoyance I had with TSI was that you could not create recipes from its interface; it was just a database. QST is on the other extreme, where you are easily able to create recipes, but lacks the comprehensive database (of known recipes across characters) and convenience of searching by reagents. I hope you'll consider adding some of the better features of TSI into your mod to help limit the need to run both.
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 02:17 PM  
Kjado
A Deviate Faerie Dragon
 
Kjado's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 32
Uploads: 4
Thanks for the responses; it has definitely given me a lot to think about.

Aside from a handful of tweaks to existing features, I'm not really sure how much additional functionality I want to add to QTS. I originally created QTS to fit sort of a niche role, something handy for frequent trade chat/AH crafters who knew exactly what they were looking for. In turn, I don't forsee it being an end-all, be-all addon for everything involving tradeskills.

@Zidomo
I do need to do something about the potential size of the result set, and provide a compact viewable form in the case of a large set (ie. "adamantite") such as a scrollable frame like Niveras suggested.

Aside from color, I'm not sure there is a big difference between the actual information presented in the different links created. The reason the links are different colors is because the actual tradeskill links (yellow) are retrieved with GetTradeSkillRecipeLink(id), which can't be used for the recipes the user does not know (GetSpellInfo(id) is used instead, which results in a blue link).

The LibPeriodicTable files are included at the top of the XML file, so they are there. I tested this on my laptop with a clean interface folder, and it worked fine.

@Niveras
The "create all" feature is already there: ctrl + click on a result frame will attempt to create all copies of the item for which you have the mats.

Sharing tradeskill data between characters is a feature I could see implemented sometime soon.


As far as searching by mats... it's a great idea, I like it, but I don't think it fits the original intent of QTS.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: