Hi there, I stopped playing wow a while ago but I regularly receive requests to update this add-on. I did a quick and dirty update today using code from a contributor, but if anyone is willing to continue the work I can happily give the management of this addon.
The code is quite short, a big part of it is data. It is well indented and even has some comments. There's no problem for me to answer any questions about the code to get you started.
The add-on is now fully functionnal, I left it as a beta version for a while to detect eventual problems but I hope to set it as a release version soon.
itemCount = GetItemCount(itemId, includeBank, includeCharges)
When the third argument includeCharges is true, the returned number indicates the total number of remaining charges for the item instead of how many of the item you have; e.g. if you have 3 Wizard Oils and one of them has been used twice, the returned value will be 13.
Since mana gem is unique, it gives the number of charges.
I don't know about this add-on, but I can tell for sure that it's not "illegal" (meaning not against Blizz chart).
Also, I couldn't find it on google, if you could upload it on the internet somewhere, it's often easier to correct a code for a small addon that to recreate it from scratch.
This add-on greatly improves the usability of the default craft window by letting you craft reagents directly from the recipe window, simply by double-clicking on the wanted reagent.
The concept is inspired from ReverseEngineering, which seems now dead, but I find my solution much more usable ;)
Here's a few basic use :
- make bolts of cloth
- make pigments/inks (you can mill and make the ink directly from the glyph recipe)
- prospect minerals to try to get a wanted gem
- actually craft something in engineering
The add-on tries to be intelligent and craft enough reagents to make one more item. You can choose another amount by holding the Shift key.
Known bugs/limitations :
- (DONE) the prospecting database is not complete yet, there's only the lower-level minerals. I just need more time...
- (DONE) it will propose to prospect for gems event if you don't know the spell
- (DONE) the recipe of the reagent has to be shown in the tradeskill window, i.e. not filtered by name, the header has to be expanded, and so on... I wish to avoid this but it couldn't find a correct way yet.
- it doesn't work cross-tradeskill (yet), but you'll see the tooltip of the recipe, showing you that you could make the reagent yourself.
- (DONE) there's a one-step recursion but it doesn't fully work yet. This makes possible to mill herbs and craft inks from the glyph recipe, but won't work if the recursion is a standard tradeskill recipe, although the icon will be shown on the side.
Any help on these points would be greatly appreciated :
- (DONE) Is there an automated way of grabbing milling/prospect/disenchant stats from, say, wowhead ? I thought about taking data from enchantrix, I guess I'll have to ask the authors.
- (DONE) I couldn't find a way to craft an item while it's recipe is "hidden". Casting with the spellname doesn't work, removing filters and reapply them later would work but as it's not instantaneous it is quite a huge work (but doable).
0
The code is quite short, a big part of it is data. It is well indented and even has some comments. There's no problem for me to answer any questions about the code to get you started.
0
0
0
0
Do not hesitate if you have any suggestions...
0
Thanks for the explanations !
0
0
0
http://wowprogramming.com/docs/api/GetItemCount
Since mana gem is unique, it gives the number of charges.
0
0
0
It doesn't crash, but I couldn't test it because it works only on english clients. Tell me if there's any problems.
As a side note, RP is so much better when it's shared...
0
0
Also, I couldn't find it on google, if you could upload it on the internet somewhere, it's often easier to correct a code for a small addon that to recreate it from scratch.
0
The concept is inspired from ReverseEngineering, which seems now dead, but I find my solution much more usable ;)
Here's a few basic use :
- make bolts of cloth
- make pigments/inks (you can mill and make the ink directly from the glyph recipe)
- prospect minerals to try to get a wanted gem
- actually craft something in engineering
The add-on tries to be intelligent and craft enough reagents to make one more item. You can choose another amount by holding the Shift key.
Here are the links :
http://wow.curse.com/downloads/wow-addons/details/reagentmaker.aspx
http://www.wowace.com/addons/reagentmaker/
Known bugs/limitations :
- (DONE) the prospecting database is not complete yet, there's only the lower-level minerals. I just need more time...
- (DONE) it will propose to prospect for gems event if you don't know the spell
- (DONE) the recipe of the reagent has to be shown in the tradeskill window, i.e. not filtered by name, the header has to be expanded, and so on... I wish to avoid this but it couldn't find a correct way yet.
- it doesn't work cross-tradeskill (yet), but you'll see the tooltip of the recipe, showing you that you could make the reagent yourself.
- (DONE) there's a one-step recursion but it doesn't fully work yet. This makes possible to mill herbs and craft inks from the glyph recipe, but won't work if the recursion is a standard tradeskill recipe, although the icon will be shown on the side.
Any help on these points would be greatly appreciated :
- (DONE) Is there an automated way of grabbing milling/prospect/disenchant stats from, say, wowhead ? I thought about taking data from enchantrix, I guess I'll have to ask the authors.
- (DONE) I couldn't find a way to craft an item while it's recipe is "hidden". Casting with the spellname doesn't work, removing filters and reapply them later would work but as it's not instantaneous it is quite a huge work (but doable).
Thanks !
Edit : Updated changes