Description:
There are a lot of different mods out there that have similar functionality, but they all either add too many features or don't have the right one. If you're looking to add a simple search to your tradeskill/crafting windows, cgCrafty should fit that niche perfectly.
cgCrafty offers search functionality to your crafting/tradeskill windows in a lightweight, unobtrusive way. The mod will add a small window attached to the bottom of the currently open crafting/tradeskill window. As of version 2.0, you may also link the required reagents/materials required in order to construct/craft the selected item to chat. cgCrafty will not hook into or capture any events until you've actually opened either of the crafting or tradeskill windows. It is written for speed, efficiency and most of all, usability.
Changelog:
[2006-04-03] 2.0.67
- Fix for line 125 nil error occurring when the user has no SavedVariables to reference.
[2006-04-02] 2.0.66
- Added a new search type to cgCrafty. It is now possible to filter by whether or not the player has the
materials, similar to the craft windows built-in behavior.
- Significant changes to the structure of data in the locales, as well as the addition of new text to
be translated for deDE / frFR.
- Fixed search type description array's in all the locales, they were incorrectly indexed.
- Added a :Reset() before selecting the "Has Materials" filter so that any search text is cleared.
- Changed to _G environment from getglobal().
- Cleanup.
[2006-03-17] 2.0.41
- Added cgCrafty-frFR, thanks Faerian.
- Added cgCrafty-deDE, thanks Farook.
- cgCrafty has been added to the AceSVN for those who use WAU.
Heh, I was just checking what it would take to get rid of Ace1 completely (in preparation of TBC). Now I can check one more addon from my list of things to replace :).
The link to channel isn't working for me... just doing nothing if I enter a channelnumber after the # or type a channelname and press enter (not sure what it should be, would prefer channelnames)
The thing i miss most from AdvancedTradeskillWindow is the shopping feature that lets you add things to craft in a queue, and when you visit a trade vendor you automaticly buy all reagents needed to craft the items in the queue. Maybe its out of scope for cgCrafty but it would be neat.
I just had a WoW hard lock - searched for reagents in enchanting, typo'ed "naxus", it updated the window to say "No search results" or something similar, and then after like 0.5s my client froze completely.
I just had a WoW hard lock - searched for reagents in enchanting, typo'ed "naxus", it updated the window to say "No search results" or something similar, and then after like 0.5s my client froze completely.
The link to channel isn't working for me... just doing nothing if I enter a channelnumber after the # or type a channelname and press enter (not sure what it should be, would prefer channelnames)
The # is meant to be there to remind you that you do not type in the channel name, but rather the number you would like it posted to. Remove the # symbol and type in a number corresponding to your chat channel numbers. If general is your /1, then just type "1" into the channel dialogue. I put the "#" symbol there so that people would not be confused whether to put the channel number or the channel name.
Would you care to implement what ReverseEngineering (Ace1, grrr)
It's a bit beyond the scope of what it is I want cgCrafty to do, which is provide simple search functionality to the craft/trade windows and nothing really more. Even adding queue'ing as available AdvancedTradeskillWindow making the mod a bit more complicated than I'd like. Though the queue thing does have me intrigued ...
I just had a WoW hard lock - searched for reagents in enchanting, typo'ed "naxus", it updated the window to say "No search results" or something similar, and then after like 0.5s my client froze completely.
I'd really like more of the circumstances of how this happened; since 2.0 I've been unable to get my WoW to hardlock like the 1.x versions. Were you searching with the window scrolled down to an entry not in the first visible? Did you have the selected item visible in the window, or was it selected out of the view of the current tradeskills visible? Before you try to recreate it, try turning on debugging: /cgc debug. This should allow you to see if the OnUpdate gets called in a flurry before the crash; if it does, then we've narrowed the problem down. If it doesn't, then at least you can tell me what happened before it went black. Thanks.
Update: Try 2.0b, I found an oopsie that had been there for god knows how long. Lets hope this is the cause.
The # is meant to be there to remind you that you do not type in the channel name, but rather the number you would like it posted to. Remove the # symbol and type in a number corresponding to your chat channel numbers. If general is your /1, then just type "1" into the channel dialogue. I put the "#" symbol there so that people would not be confused whether to put the channel number or the channel name.
It's doing the opposite of what you want then I guess -- tried "#4", then because it didn't work "channelname" ... never "4" ;-)
Sariash: I added a tooltip to 2.0b so that it is more clear what my intention was. In my opinion, it's 100x easier to type out a number than the channel name. Some people might even get confused if they want to type to general and their chat says [General - Ashenvale]. This just simplifies it.
Sadly I can't get a screenshot of the debug spam, not even with fraps or normal windows prntscrn, but the steps i have to take to reproduce the bug are:
Log in
Open enchanting
Select reagent search
Type in a reagent
The window now shows the correct trade skills, and then spams the chatwindow every 7-8ms with:
It doesn't matter what I do before, I can search to my heart's content on everything in all my trade windows, but as soon as I search for reagents in enchanting (and only enchanting) it hardlocks wow.
I tried resizing my chatwindow too see how extensive the spam actually is, and it turns out it already hardlocks after maybe 10 or 12 updates.
Small "bug" that I fixed myself - when linking crafts that use many reagents it will link 4 reagents at a time - however the crafter item is linked as well, so it's assuming that 5 item links will fit in the 255 char limit, which is very rarely the case. I changed it to 3 reagents instead, and haven't been able to make it "skip" reagents yet.
if ( mod(i,4) == 0 or i == getn(reagentLinks) ) then
to
if ( mod(i,3) == 0 or i == getn(reagentLinks) ) then
2.0b did fix a "for"-clause bug when 0 name search results were found for me though.
I love this addon so much... the enchanting UI is probably the worst bit of UI in all of WoW, and that says a lot :) this really takes the sting out of it!
You still didn't answer a few of my questions. Give me an example of a common reagent that causes, ie: Large Radiant Shard (I don't have a high lvl enchanter to test). Is the screen scrolled to another entry? Also, do you have any other mods that might be modifying the crafting frame? I've tested again and again searching for reagents on crafting and cannot get it to hardlock for me. I need a common example to work from.
You still didn't answer a few of my questions. Give me an example of a common reagent that causes, ie: Large Radiant Shard (I don't have a high lvl enchanter to test). Is the screen scrolled to another entry? Also, do you have any other mods that might be modifying the crafting frame? I've tested again and again searching for reagents on crafting and cannot get it to hardlock for me. I need a common example to work from.
I guess I wasn't clear.
It doesn't matter what reagent i search for, what skill I have selected - the narrowest I can get is "searching for reagents in the enchanting tradeskill window". It happens every time, and with EVERYTHING but cgCrafty disabled.
It must have something to do with enchanting specifically - is enchanting the only tradeskill that doesn't have any categories AT ALL? Everything is at the "root" so to speak. I haven't investigated it much, since I always found the tradeskill API confusing at best, but could the lack of categories be it?
Works perfectly, no more hard-lock when searching for reagents.
The only (minor) bug I found was if you search for an item. Then added the mats into your inventory (from your bank say) the search wouldn't update to show how many you can make (unlike the normal list). You'd have to re-search in order to see how many items you could make from what you added into your inv.
I would like to ask something that might not be really major, and really not needed by most people... Is there a way to place the cgCrafty window on top of the Blizzard^s default window? Maybe if there is a quick alteration to the code or something that can be posted here, I would be really grateful.
scae: I'm trying to figure out a way to have it update without hooking into the item_inventory_update as the default UI does. But I may cave-in and just follow the blizzard way.
Urban: Are you using something like Mobile Frames or MoveAnything that allows you to move the crafting frame around and therefore notice when cgCrafty isn't seated at the same frame level? I'll look into dynamically changing the frame level based on the current level of the craft/tradeskill frame, but until then go to line 83 and change it to:
self.frame:SetFrameStrata("DIALOG")
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
There are a lot of different mods out there that have similar functionality, but they all either add too many features or don't have the right one. If you're looking to add a simple search to your tradeskill/crafting windows, cgCrafty should fit that niche perfectly.
cgCrafty offers search functionality to your crafting/tradeskill windows in a lightweight, unobtrusive way. The mod will add a small window attached to the bottom of the currently open crafting/tradeskill window. As of version 2.0, you may also link the required reagents/materials required in order to construct/craft the selected item to chat. cgCrafty will not hook into or capture any events until you've actually opened either of the crafting or tradeskill windows. It is written for speed, efficiency and most of all, usability.
Screenshots:
The window - http://chuckg.org/wow/screens/mods/cgcrafty-2.0_example.jpg
The menu - http://chuckg.org/wow/screens/mods/cgcrafty-2.0_menu.jpg
Link materials/reagents - http://chuckg.org/wow/screens/mods/cgcrafty-2.0_menu_link.jpg
Download current version: 2.0.67
http://www.wowinterface.com/downloads/dl.php?id=4999
SVN: http://svn.chuckg.org/trunk/cgCrafty/
AceSVN: http://svn.wowace.com/wowace/trunk/cgCrafty/
Changelog:
[2006-04-03] 2.0.67
- Fix for line 125 nil error occurring when the user has no SavedVariables to reference.
[2006-04-02] 2.0.66
- Added a new search type to cgCrafty. It is now possible to filter by whether or not the player has the
materials, similar to the craft windows built-in behavior.
- Significant changes to the structure of data in the locales, as well as the addition of new text to
be translated for deDE / frFR.
- Fixed search type description array's in all the locales, they were incorrectly indexed.
- Added a :Reset() before selecting the "Has Materials" filter so that any search text is cleared.
- Changed to _G environment from getglobal().
- Cleanup.
[2006-03-17] 2.0.41
- Added cgCrafty-frFR, thanks Faerian.
- Added cgCrafty-deDE, thanks Farook.
- cgCrafty has been added to the AceSVN for those who use WAU.
A full changelog may be found on the Wiki: http://wowace.com/wiki/CgCrafty
Would you care to implement what ReverseEngineering (Ace1, grrr) [http://www.wowinterface.com/downloads/fileinfo.php?id=4940] currently does to this one as well?
Will report all that i can.
I hope it won't make my wow client to crash as it sometimes hapenedwith Ace version :/
...just add the following at the end of function cgc:OnEnable()
Same bug as cgCrafty 1.x :D
I <3 long time for making this one!
The # is meant to be there to remind you that you do not type in the channel name, but rather the number you would like it posted to. Remove the # symbol and type in a number corresponding to your chat channel numbers. If general is your /1, then just type "1" into the channel dialogue. I put the "#" symbol there so that people would not be confused whether to put the channel number or the channel name.
It's a bit beyond the scope of what it is I want cgCrafty to do, which is provide simple search functionality to the craft/trade windows and nothing really more. Even adding queue'ing as available AdvancedTradeskillWindow making the mod a bit more complicated than I'd like. Though the queue thing does have me intrigued ...
I'd really like more of the circumstances of how this happened; since 2.0 I've been unable to get my WoW to hardlock like the 1.x versions. Were you searching with the window scrolled down to an entry not in the first visible? Did you have the selected item visible in the window, or was it selected out of the view of the current tradeskills visible? Before you try to recreate it, try turning on debugging: /cgc debug. This should allow you to see if the OnUpdate gets called in a flurry before the crash; if it does, then we've narrowed the problem down. If it doesn't, then at least you can tell me what happened before it went black. Thanks.
Update: Try 2.0b, I found an oopsie that had been there for god knows how long. Lets hope this is the cause.
It's doing the opposite of what you want then I guess -- tried "#4", then because it didn't work "channelname" ... never "4" ;-)
Sadly I can't get a screenshot of the debug spam, not even with fraps or normal windows prntscrn, but the steps i have to take to reproduce the bug are:
Log in
Open enchanting
Select reagent search
Type in a reagent
The window now shows the correct trade skills, and then spams the chatwindow every 7-8ms with:
Entered cgCrafty:Update
self.found[1].type=optimal
self.found[2].type=trivial
It doesn't matter what I do before, I can search to my heart's content on everything in all my trade windows, but as soon as I search for reagents in enchanting (and only enchanting) it hardlocks wow.
I tried resizing my chatwindow too see how extensive the spam actually is, and it turns out it already hardlocks after maybe 10 or 12 updates.
Small "bug" that I fixed myself - when linking crafts that use many reagents it will link 4 reagents at a time - however the crafter item is linked as well, so it's assuming that 5 item links will fit in the 255 char limit, which is very rarely the case. I changed it to 3 reagents instead, and haven't been able to make it "skip" reagents yet.
to
2.0b did fix a "for"-clause bug when 0 name search results were found for me though.
I love this addon so much... the enchanting UI is probably the worst bit of UI in all of WoW, and that says a lot :) this really takes the sting out of it!
You still didn't answer a few of my questions. Give me an example of a common reagent that causes, ie: Large Radiant Shard (I don't have a high lvl enchanter to test). Is the screen scrolled to another entry? Also, do you have any other mods that might be modifying the crafting frame? I've tested again and again searching for reagents on crafting and cannot get it to hardlock for me. I need a common example to work from.
I guess I wasn't clear.
It doesn't matter what reagent i search for, what skill I have selected - the narrowest I can get is "searching for reagents in the enchanting tradeskill window". It happens every time, and with EVERYTHING but cgCrafty disabled.
It must have something to do with enchanting specifically - is enchanting the only tradeskill that doesn't have any categories AT ALL? Everything is at the "root" so to speak. I haven't investigated it much, since I always found the tradeskill API confusing at best, but could the lack of categories be it?
Perhaps, you've still got the old save variable ? Don't know...
But this addon is so simple, and yet powerfull, thanks again :D
The only (minor) bug I found was if you search for an item. Then added the mats into your inventory (from your bank say) the search wouldn't update to show how many you can make (unlike the normal list). You'd have to re-search in order to see how many items you could make from what you added into your inv.
Now, if only it had an oskin ^^
I would like to ask something that might not be really major, and really not needed by most people... Is there a way to place the cgCrafty window on top of the Blizzard^s default window? Maybe if there is a quick alteration to the code or something that can be posted here, I would be really grateful.
Best regards and keep up the good work ,)
Urban: Are you using something like Mobile Frames or MoveAnything that allows you to move the crafting frame around and therefore notice when cgCrafty isn't seated at the same frame level? I'll look into dynamically changing the frame level based on the current level of the craft/tradeskill frame, but until then go to line 83 and change it to: