(6 Kb)
Download
Updated: 12-19-10 06:39 PM
Pictures
File Info
 Updated: 12-19-10 06:39 PM Created: unknown Downloads: 4,667 Favorites: 46 MD5:

# CraftyGnome

Version: r65
by: Rabbit [More]

CraftyGnome

There's really no other way to put it, so here it goes. I recently leveled Jewelcrafting on my warrior toon because I wanted to try something different, on all my other toons I had selected herbalism and alchemy.

After I got it to 375 and started getting lots of the rare recipes, people were constantly asking me if I knew "this and that" gem, and I got tired of having to check all the time, so I figured I'd find out if any addons could help me out.

I was pointed in the direction of CraftList2, and being a total tard like I am, I can't really use any addons without reading through the code first -- and it made me puke.

First I spent 30 minutes trying to clean it up, but it was futile.

So I made CraftyGnome. It doesn't do everything that CraftList2 does, but it certainly does enough for me. I might add in the ability to add a note to each recipe that will be whispered along with the recipe link, so that people can put prices on things and advertise it in Trade or something, but we'll see.

USAGE
Simply install it, open your tradeskill frames and whisper yourself !cg or !craft to see the available commands.

!help, !cg, !craft, !gem, !enchant, !cook, !blacksmith, !leather, !tailor, + lots of aliases.

All in at least half the size of CraftList2.

------------------------------------------------------------------------
r72955 | rabbit | 2008-05-07 12:49:09 +0200 (Wed, 07 May 2008) | 1 line

CraftyGnome: Get rid of the translations, use GetSpellInfo instead.
------------------------------------------------------------------------
r72904 | rabbit | 2008-05-07 01:43:33 +0200 (Wed, 07 May 2008) | 1 line

CraftyGnome: Setting notes works, craft/tradeskill UI now shows current note and ignored status of recipes.
------------------------------------------------------------------------
r72890 | rabbit | 2008-05-06 22:51:41 +0200 (Tue, 06 May 2008) | 1 line

CraftyGnome: Double-click entries in craft/tradeskill windows to get options to ignore items and set notes (notes not fully implemented yet).
------------------------------------------------------------------------
r72818 | rabbit | 2008-05-06 03:53:03 +0200 (Tue, 06 May 2008) | 1 line

CraftyGnome: Logic fix, still drycode.
------------------------------------------------------------------------
r72817 | rabbit | 2008-05-06 03:47:39 +0200 (Tue, 06 May 2008) | 1 line

CraftyGnome: Ignore BoP items. Drycoded and untested. Database will be cleared on login.
------------------------------------------------------------------------
r69242 | rabbit | 2008-04-12 08:49:25 +0200 (Sat, 12 Apr 2008) | 1 line

CraftyGnome: Bugfix.
------------------------------------------------------------------------
r69150 | rabbit | 2008-04-11 20:01:26 +0200 (Fri, 11 Apr 2008) | 1 line

CraftyGnome: Use message event filters instead of hooking MessageEventHandler.
------------------------------------------------------------------------
r68257 | rabbit | 2008-04-06 12:09:05 +0200 (Sun, 06 Apr 2008) | 1 line

CraftyGnome: Lowercase incoming bang commands.
------------------------------------------------------------------------
r66041 | rabbit | 2008-03-26 12:55:28 +0100 (Wed, 26 Mar 2008) | 1 line

.Some bumps.
------------------------------------------------------------------------
r64278 | rabbit | 2008-03-11 23:44:13 +0100 (Tue, 11 Mar 2008) | 1 line

CraftyGnome: Nil-check some API returns before we use them.
------------------------------------------------------------------------
r63614 | rabbit | 2008-03-04 23:35:05 +0100 (Tue, 04 Mar 2008) | 1 line

CraftyGnome: Revert the unwanted changes from last commit.
------------------------------------------------------------------------
r63613 | rabbit | 2008-03-04 23:23:40 +0100 (Tue, 04 Mar 2008) | 1 line

CraftyGnome: Don't error when showing the beast trainer frame.
------------------------------------------------------------------------
r63422 | rabbit | 2008-03-03 04:09:29 +0100 (Mon, 03 Mar 2008) | 1 line

CraftyGnome: Hide !next whispers properly.
------------------------------------------------------------------------
r63238 | rabbit | 2008-02-29 17:06:03 +0100 (Fri, 29 Feb 2008) | 1 line

CraftyGnome: Slight code refactoring, added !help command.
------------------------------------------------------------------------
r63235 | rabbit | 2008-02-29 15:28:14 +0100 (Fri, 29 Feb 2008) | 1 line

CraftyGnome: Properly hide incoming ! requests again.
------------------------------------------------------------------------
r63234 | rabbit | 2008-02-29 15:22:58 +0100 (Fri, 29 Feb 2008) | 4 lines

CraftyGnome:
* Results are now sorted by item level. Enchanters need to visit a trainer to get the skill levels saved properly.
* Input is not tokenized and an AND search is performed on the recipe tooltips.
* Whispering !next to the player now returns the next 5 results in the result set if there were too many to be shown.
------------------------------------------------------------------------
r63231 | rabbit | 2008-02-29 14:10:00 +0100 (Fri, 29 Feb 2008) | 1 line

CraftyGnome: Leatherworking and Blacksmithing specializations removed, thanks to Megalon, Wobin and dRaCo on #wowace for testing.
------------------------------------------------------------------------
r63229 | rabbit | 2008-02-29 13:51:02 +0100 (Fri, 29 Feb 2008) | 1 line

CraftyGnome: Engineering and Tailoring specializations removed, GetTradeSkillLine returns the base skill name, thanks to nevcairiel for testing.
------------------------------------------------------------------------
r63227 | rabbit | 2008-02-29 13:37:37 +0100 (Fri, 29 Feb 2008) | 1 line

CraftyGnome: Remove some unused skill names from the skill table, still need to figure out if we need to have specialized skills like "Master Armorsmith" there or if the main skill, like "Blacksmithing", is enough.
------------------------------------------------------------------------
r63226 | rabbit | 2008-02-29 13:29:33 +0100 (Fri, 29 Feb 2008) | 1 line

CraftyGnome: Map !-commands to specific trade skills. !cg or !craft replies with a list of commands the player recognizes.
------------------------------------------------------------------------
r62777 | rabbit | 2008-02-24 15:48:54 +0100 (Sun, 24 Feb 2008) | 1 line

CraftyGnome: Bugfix.
------------------------------------------------------------------------
r62249 | rabbit | 2008-02-20 18:05:25 +0100 (Wed, 20 Feb 2008) | 3 lines

CraftyGnome:
* Don't show whispered ! commands to the CG user.
* Allow setting a maximum number of results, defaults to 5.
------------------------------------------------------------------------
r60777 | rabbit | 2008-02-10 15:55:36 +0100 (Sun, 10 Feb 2008) | 1 line

CraftyGnome: Don't save the search strings in the DB, just create them on demand.
------------------------------------------------------------------------
r60740 | rabbit | 2008-02-10 03:40:32 +0100 (Sun, 10 Feb 2008) | 1 line

CraftyGnome: Support !cmd [Item link].
------------------------------------------------------------------------
r60736 | rabbit | 2008-02-10 03:28:19 +0100 (Sun, 10 Feb 2008) | 3 lines

CraftyGnome:
* Responds to guild chat.
* Saves tradeskills to the SV so you don't have to open your tradeskills, format may change.
------------------------------------------------------------------------
r60734 | rabbit | 2008-02-10 02:56:07 +0100 (Sun, 10 Feb 2008) | 6 lines

CraftyGnome: Initial import.
* CraftList2 without the crap.
* I recommend you have a copy of ChatThrottleLib somewhere (AceComm bundles it), or you'll probably get disconnected if someone searches for a common word.
* Responds to !cg, !craft, !enchant and !gem.
* Doesn't save any data (yet), you'll have to open the tradeskill frames after logging in if you want it to be able to reply.
* Doesn't do guild chat (yet), only whispers.
------------------------------------------------------------------------
Optional Files (0)

Archived Files (1)
 File Name Version Size Author Date r62 5kB Rabbit 07-12-10 04:23 PM

Comment Options
 04-24-09, 05:17 PM abinning A Kobold Labourer Forum posts: 1 File comments: 48 Uploads: 1 bug 1. This addon rocks! 2. Need fixed: I have updated and deleeted my variabls .lua file lines 439,444 attempt to call method 'find' (a nil value) Code: starting line 438: ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER", function(msg) local cmd = select(3, msg:find("^!(%S+)")) if cmd and bangMappings[cmd:lower()] then return true end end) local chatPrefixTest = "^" .. PREFIX ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER_INFORM", function(msg) if msg:find(chatPrefixTest) then return true end end) :ending line445 Last edited by abinning : 04-24-09 at 05:18 PM.
 04-17-09, 01:02 AM Jeania An Aku'mai Servant   Forum posts: 39 File comments: 173 Uploads: 0 re: your screenshot >.> not everyone likes smilies *grumbles* I'm told i use too many v.v lmao __________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Words to Remember: "You never really learn much from hearing yourself talk." ~ George Clooney *۝*Jeania/Anjelie ~ Dalaran*۝* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 12-19-08, 06:54 PM Mike-N-Go A Theradrim Guardian   Forum posts: 68 File comments: 147 Uploads: 19 Trade Secretary: Who Crafts; CraftyGnome Replacement I have made Trade Secretary: Who Crafts, it is derived from this mod. The main thing is that can cash not only your profession item links, it can store those of other people, and their names. Also, it has '!craft' to search all of the professions at once. __________________ Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated. Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
 10-16-08, 08:57 PM Tinuviel A Defias Bandit   Forum posts: 3 File comments: 211 Uploads: 0 I'm getting a lua error from the 3.0 version whenever I open a tradeskill. And...for some reason, its not recognizing any of my recipes. Like, at all. Regardless of what command I use. I've opened up all the tradeskill windows...and nothing. It says I don't have that enchant, or tailoring item, or cooking etc. EDIT: Nevermind. The newest version on Curse fixed both issues. Last edited by Tinuviel : 11-04-08 at 07:24 AM.
 09-14-08, 11:31 AM Tinuviel A Defias Bandit   Forum posts: 3 File comments: 211 Uploads: 0 I love this addon. But is there a way to turn off the notice you get every time you open a tradeskill window that tells you to "double click on an item to set a note for it"? I don't use notes, I know some people do. But if there was a way to toggle this alert off, it would be very helpful to me.
 08-25-08, 11:17 AM Dajova A Wyrmkin Dreamwalker   Forum posts: 58 File comments: 788 Uploads: 13 Ive noticed that this addon isnt capable with ATSW (AdvancedTradeSkillWindow), since whenever im trying to filter a recipe, it doesnt do anything... It says that i have to Double-Click on it to filter it, but it wont open anything... __________________ Livestream | Twitter | YouTube
 06-06-08, 04:28 PM Mike-N-Go A Theradrim Guardian   Forum posts: 68 File comments: 147 Uploads: 19 Query At line 370, a call to let the player know that someone has quarried the player, as whispers are hidden, like this: Code:  local query = select(3, msg:find("^!%S+%s(.*)")) if query then DEFAULT_CHAT_FRAME:AddMessage("< CraftyCnome > "..player.." quarried : "..msg) Last edited by Mike-N-Go : 06-06-08 at 04:54 PM.
 05-30-08, 02:52 AM TripleEYE A Kobold Labourer Forum posts: 1 File comments: 21 Uploads: 0 One small thing lacking though... Ok so the Gui is AWSOME indeed it's the best, most compact, most clear GUI you could have thought of. Yet one BIG problem remains. It's probably a small one to solve, so I;'m hoping you can do it soon...? Or maybe iot's solved already and I just don't know the solution...? ummm... I need one command (e.g. !tailor or !tailor all or !tailor List) to show people my whole List of cratable items (except the ignored ones of course). Is that already possible? or... can you make such a command please? P.S. For the meantime, "!tailor cloth" works ok, but it'd be better to have just one keyword command. And even better if you can add some long note at the beginning of the List given back. Last edited by TripleEYE : 05-30-08 at 03:15 AM.
 05-30-08, 02:02 AM TripleEYE A Kobold Labourer Forum posts: 1 File comments: 21 Uploads: 0 Cool! Ok that one came to me by surprise. That sound like the BEST GUI idea EVER! Awsomeness be with ya! Downloading it as I'm writing this! Thx for the reply :P
 05-29-08, 06:59 AM Rabbit A Murloc Raider Forum posts: 5 File comments: 45 Uploads: 21 You can filter already, just right-click recipes in your craft/tradeskill window. You'll get a menu where you can set recipes to be ignored and also add notes to each recipe that will be output along with the recipe link to anyone that searches.
 05-29-08, 04:03 AM TripleEYE A Kobold Labourer Forum posts: 1 File comments: 21 Uploads: 0 Well I got some requests plx... Well, this idea of making the code smarter is awsome Tards FTW indeed But... I am holding my breath And I'm probably about to die quite soon Coz without the filtering options - and some decent GUI - I simply can't go switcheroo from CraftList2. I agree... CraftList2 is a massive addon; But it is worth it if the other available have no filtering options. Many times I want to make a sell list, made of items that give me skill if I make them; and tell on Trade that I make it "Free with your mats". And even WITH the filters on there - people sometimes complaint that they got such a long list. I - as MANY others - am not looking for an addon that'll let people search for a specific enchant\item\gem\etc. that I can make; I'm looking for an addon that tells people "Here's what you can make for free at my shop. Here's what'll cost you your mats AND some money. And here's how much it'll cost ya`". The filtering option (and, well, the commentary option) - provide all of what I've mentioned It'd also be nice if there's that "gem by color" option. But that's less important imho. The Filtering option is a must So please; please please please please... put the work on m8 - and do some awsome tribute to your beloved audience. 'Coz personally - I'm DIEING to use your addon (only I can't use it untill it has a filtering option.. and well, a commentary option too)
 05-08-08, 12:57 PM Rabbit A Murloc Raider Forum posts: 5 File comments: 45 Uploads: 21 It will only reply with what your current toon can craft.
 05-08-08, 12:11 PM mulesh A Chromatic Dragonspawn   Forum posts: 193 File comments: 107 Uploads: 5 Does the character with the tradeskill have to be online for CG to generate results? Or can it pull data for results from the SavedVars? Id like to know if someones does !gem stam, will CG generate results if my jewelcrafter isnt online. __________________ "Don"t tase me bro!" ~ Andrew Meyer
 04-16-08, 02:39 AM Dwaran A Kobold Labourer Forum posts: 0 File comments: 1 Uploads: 0 Click interface Is it possible to make a sort of interface for this addon. So you just have to click a few buttons and then you have your answer. You find the recipes you are looking for just by clicking and not by writting all the time. That is what im looking for. An addon that can do all the "!craft, !gem and so on" for me. It would be great with a dropdown menu that has all these "!craft, !gem..." and then you just write in a field what you are looking for. Also if it is gems you are looking for then you choose in a dropdown menu aswell the color of the gem. When you have found what you are looking for it is fast and easy to post the recipe in chat to friends. I hope this is useful for you
 03-29-08, 09:30 AM Tinuviel A Defias Bandit   Forum posts: 3 File comments: 211 Uploads: 0 One more thing I just noticed. If you search with !gem, you cannot search by color, aka !gem blue. Any chance that might be included in a future release? Thanks again.

Category Jump:

## Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.