Loading...
» You are not logged in (log in)



You are here: Home » Professions/Trades » Pinky's Enhanced Trade Skills v1.11

Pinky's Enhanced Trade Skills v1.11

Virus/spyware scanned on upload
WARNING: Not been updated since the last patch
Compatible with WotLK ()
Author: Pinkasso
Updated 14/03/2005 (1794 days ago)
15,618 total downloads / downloads this week: 241 / downloads today: 80
Send PM to Pinkasso
 

Please log in to vote! Current rating: 0


How many times have you wanted to know what you could craft when taking into account the inventory in your bank? Well now you can! The standard TradeSkill screen (Alchemy, First Aid, Cooking, etc.) has been enhanced to not only include what you can craft from your current inventory (current behaviour), but also what you can craft if make a trip to the vendor, what you can craft if you include your bank contents, and what you can craft if you include the contents of your inventory and bank and make a trip to the vendor. Additionally you can filter out information that you don't want to see (items that you can't make due to missing ingredients, items that don't provide a skill up, etc.).

The information on the top pane of the trade skill screen has been changed from:

SkillName [inv]
to:
SkillName [inv/inv+vendor/total/total+vendor]

where:
inv is the standard count of items you can craft based upon your inventory
inv+vendor is what you can craft with your inventory and a trip to the vendor
total is what you can craft using your inventory and bank
total+vendor is what you can craft using you inventory and bank, and a trip to the vendor

For example:

Healing Potion [4/4/7/20]

means that you have sufficient items in your inventory to make 4 healing potions, if you went to a vendor that sold vials you could still make 4, if you include the items in your bank you can make 7 healing potions, and you include a trip to the vendor you could make 20 healing potions.

If you see '-' for a column value that means you've got a weird case where everything to craft the item is buyable, you have some, but not all of those items. Not quite sure what to display for the case where all is buyable... conceivably you could create an infinite number of those items...

Additionally, in the bottom pane in the trade skill screen the reagent name now has additional information about the total available to the user. For example:

Plaguebloom [22]

means that you have 22 plaguebloom herbs in your inventory and bank (the number is your inventory is still displayed in the reagent icon next to the number needed for the item). This allows you to very quickly see what reagents you may still need to get for an item.


Filtering the Display:

[note: you can now use /tsfconfig to bring up a GUI to do this]

Many users don't want to see items that they can not make due to missing ingredients or items that will not provide a skill up when they are crafted. You can control what is filtered out with the /tsffilter command. The format is:

/tsffilter name true/false

Where:
name is inv, inv+, total, total+ (inventory, inventory plus vendor, total, total plus vendor), trival, easy, medium, or optimal

For example:
/tsffilter total+ true
will filter out all items where you don't have the necessary ingredients when taking into account your inventory, bank, and what you can buy from a vendor (this is what I use)

/tsffilter trivial true
will filter out all 'gray' items (useful if you're trying to raise your skill level)


Changing the Display:

[note: you can now use /tsfconfig to bring up a GUI to do this]

Many users don't want to see all 4 numbers, but a subset. You can control this with the /tsfdisplay command. The format is:

/tsfdisplay column true/false

Where:
column is inv, inv+, total, total+


The command /tsfreset will remove all filters and display settings


Dumping the contents of your inventory and bank:

If you're like me, you also want to see how many of X I have. Since this addon has to keep that information around, I added a command to do just that...

/tsf string

will tell you the number of items that match 'string' you have in your bank and inventory (no argument will dump the entire inventory and bank). The match is done in lower case to simplify things and deal with accidentally having CAPS LOCK on. For example, if you have 5x Sungrass in your bags and 10x in your bank,

/tsf Sungrass (or /tsf sungrass /tsf Sun or /tsf ngras)

will output:

Sungrass: 15 = 5 inventory + 10 bank

Typing:
/tsf Vial

might output:
Crystal Vial: 10 = 0 inventory + 10 bank
Empty Vial: 4 = 4 inventory + 0 bank
Leaded Vial: 12 = 6 inventory + 6 bank

Since the AddOn keeps the count of everything in your inventory and bank (not just reagents), you can use this as a rudimentary BankStatement or ReagentList.

/tsf Healing

might output:
Healing Potion: 5 = 2 inventory + 3 bank
Superior Healing Potion: 10 = 7 inventory + 3 bank

Notes:
- You have to visit the bank at least once after you install this AddOn to tell it about the bank contents
- It's not always clear what to display when all of the ingredients for an item can be bought from a vendor. I try and generally it's okay, but in the situation where you don't have any of the items or you have some but not all...

Thanks:
- To Blizzard for the base TradeSkillsFrame
- To Raseri for the ReagentList
- To CapnBry for the information on how to get item names
- To the other AddOn authors whose code I reviewed to better understand the WOW API (especially how to properly scan the bank)
- To SAD for your configuration screen - I hacked and slashed it for mine :)

Patch notes for Pinky's Enhanced Trade Skills v1.11
v1.11 (2005/03/13 - 4216)
added bindings file so that the config screen can be bound to a key
added information to the bottom panel about the number of skill items that you have in your inventory and bank
v1.10 (2005/02/24 - 4216)
total reagent numbers in the bottom pane (after the reagent name, i.e., Plaguebloom [24] = have 24 total)
v1.9 (2005/02/22 - 4216)
graphical configuration screen (/tsfconfig)
support new interface number
should now be compatible with European version (not translated, but buyable items should now be recognized)
v1.8 (2005/02/18 - 4211)
added some significant performance improvements
- invalidate inventory contents and update only when needed
- deal with far too many TRADESKILL_UPDATE/CRAFT_UPDATE events coming in at odd times
- probably still need to put in a rate limiter for this event
fixed a few bugs in WOW base tradeskill/crafting screens
- over indexing a call to GetTradeSkillInfo/GetCraftInfo
- removed unnecessary calls to GetTradeSkillInfo/GetCraftInfo
added /tsfreset to reset all filters and column display settings
added a few missing buyable items
infrastructure for localization, but no localizations (that will be a bit of work...)
v1.7 (2005/02/15 - 4211)
support new interface number
add /help and /chelp support for Cosmos (thanks to Farmbuyer)
v1.6 (2005/2/14)
got rid of debugging output
changed 'stong flux' to 'strong flux' :) - should fix engineering and blacksmithing issues...
improved performance for filtering in the case of no filters
should not try to take over the Beast Training screen (for EN right now) - I don't have a hunter so I'm not sure if this really works...
cleaned up tsf dump output (thanks to Farmbuyer)
v1.5 (2005/2/5)
fixed up code for updating bank contents, should work in all cases now
v1.4 (2005/1/27)
added support for filtering and formating the display
added another column to display (inventory + vendor)
handle case where everything is buyable with '-' in the column
v1.3 (2005/1/23)
fixed bug where the /tsf command would error out if the user had not visited the bank
added support for enchanting, causing further encapsulation of code
may have fixed poisons also...
v1.2 (2005/1/22)
added command for dumping the contents of the inventory and bank
added loaded message
added additional 'have not visited bank message'
cleaned up the code and better encapsulated common functionality
alternate spelling for grey/gray :)
removed dead code
v1.1 (2005/1/20)
removed need for ReagentList
added what I hope is the complete list of buyable items
slightly more efficient
v1.0 (2005/1/19)
initial release


Comments