LilSparky's Workshop
LilSparky's Workshop adds auction-derived pricing information for trade skills right into the trade skill recipe frame. Each skill is evaluated for material costs and potential value of the item created. These two numbers are listed next to each skill in an easy-to-read format.
Supported Auction Scanners:
- Auctioneer
- AuctionLite
- AuctionMaster
- Auctionator
Optionally Requires:
- Informant (for vendor availability)
LibPeriodicTable (for vendor availability)
Trade Skill Interfaces Supported:
- GnomeWorks
- AdvancedTradeSkillWindow
- Skillet
- Blizzard's Standard UI
- Doublewide Tradeskills
- Tradeskill HD
Auction pricing models can be selected by right-clicking either the value column or the cost column (each can have a different pricing method attached).
The Value column can be left clicked to cycle through the different valuation methods for the resultant item: Auction Value (a), Vendor Value (v), Disenchant Value (d) or the greatest of the three different values (the default). Any instance of an item Value being greater than the Cost to create it will have a highlighted Value entry. Optionally, the Value column can be displayed as a percentage of the Cost column.
The Cost column simply sums up the costs for each reagent and reports the total.
Both columns can be combined into a single "Profit" column which simply reflects the Value minus the Cost.
Tooltips for each column give more details about the price breakdowns LSW is considering.
A note regarding vendor availability:
LSW utilizes supplied item databases to determine when an item is readily available from a vendor. Occasionally this may not be accurate, usually because the item is a trade in for another item and not buyable with gold. I have provided a simple way to over-ride the vendor database:
/script LSWConfig.vendorOverride[item#] = (true/false/nil)
The item# is the item ID for the specific item. It is a single number. For example, 2589 is Linen Cloth.
Setting the value to "true" means the item is available at the vendor.
Setting the value to "false" means the item is not available at the vendor.
Setting the value to "nil" means to use the provided databse.
There is now also a right-click option to override the vendor availability and also to hand enter specific prices for items.
A note about frame/auction support:
LSW utilizes a plug in scheme to handle support to handle pricing and frame support. I am unlikely to add additional plugins directly into LSW. The goal of the plugin system is to provide basic templates that other addon authors could employ to provide LSW support on their end while at the same time providing functionality for a base set of common mods. Addon authors are free to contact me regarding the plugin system if issues arise or the system doens't make sense.
when im using GW on my druid, i get this LSW error:
Date: 2010-12-27 10:15:22
ID: 2
Error occured in: Global
Count: 8
Message: ...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua line 1183:
attempt to perform arithmetic on local 'itemCost' (a nil value)
Debug:
[C]: ?
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1183
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1159
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1212 triggerFunction()
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:2232
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:2224
and shortly afterwards i got:
Date: 2010-12-27 10:15:22
ID: 1
Error occured in: Global
Count: 2
Message: ...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua line 1041:
bad argument #1 to 'pairs' (table expected, got nil)
Debug:
[C]: ?
[C]: pairs()
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1041
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:997
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1058
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:997
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1165
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1159
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1212 triggerFunction()
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:2232
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:2224
lol. i'll take a look at the code.
fwiw, lsw comes with hooks for skillet, atsw, the blizzard ui, and a couple others. gnomeworks has the lsw hooks as part of its package. it's kind of confusing, i suppose, but basically, lsw and gw are both hookable so the the hooking code could really be just about anywhere.
Oops :)
I recently posted on the GW forum when it really belonged here, so I thought this time I'd be more careful and post in the right place. Guess I got it wrong.
Using GW.
the sorting routines are handled differently depending on the ts frame. are you using gw or skillet?
edit: not saying they are supposed to behave differently, just saying they use different code...
I've noticed that when I ask for the Value column to be displayed as a percent, and then sort by value, it still sorts by the underlying value (which is no longer visible) rather than the percent gain (which is). Is this the desired behavior? I was trying to use it as a quick way to identify recipes yielding the highest % profit.
eventually, i intend to have an item spreadsheet that would let you fine-tune item values, costs, sources, etc. but i'm occupied with other projects at the moment.
I've tried the ""/script LSWConfig.vendorOverride[53010] = false" command (thats the item ID for Embersilk Cloth) both with the skill pane open and closed, with soft reloads and hard (game restart), re-selecting the cost module (in fact, changing every possible setting,) and I've used both AuctionLite and Auctionator and done both fast and slow AH scans just before and after running the script command. I've also tried with many other item IDs... in fact, I've tried everything I can think of, conventional and otherwise, including WTF folder wipes and all that.
So... unless someone can share a trick that I've somehow missed here or otherwise tell me what the heck I'm doing wrong, I'd like to know if there is a way I can manually make this kind of change by editing a database file or text file? I plan to hunt around and see for myself, but if someone can point me to the specific file, it will of course save me some time. Thanks!
BTW, I also looked at the LilSparkysWorkshop.lua file in the SavedVariables directory, and it does show:
["vendorOverride"] = {
[53010] = false,
... it just apparently doesn't change anything.
Thanks for any help you can provide. I wouldn't be bothering if I didn't love your addon, sir!
http://i33.photobucket.com/albums/d55/Zerbet/LSWCostsShot.png
http://i33.photobucket.com/albums/d55/Zerbet/LSWConfigshot.png
FYI, I'm using Windows 7 Home Premium 64-bit. I just tested with Auctioneer, exact same result - just doesn't seem to be finding auction data from the databases of the other addons.
i'm confused. i just went to add these and they're already there. i musta mined after committing or something... strange.
With the post below i now see it, though the auction count while shows on the tooltip displays 0 in the window. (minor issue)
thanks, trtt. dunno why those aren't in the scrollID file. i just mined it recently, but maybe they weren't in wowhead's database when i did.
Yes i was using r107, ill try the fix posted below and will test after maint :)