LilSparky's Workshop

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

LSW First Aid w/ Standard Interface

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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of lilsparky lilsparky May 31, 2010 at 01:30 UTC - 0 likes

    can you walk me thru your math in a little more detail. this is something i've tried to work out a few times, but i keep running into self-references where trying to find a good price for item A requires that i know a good price for item B which requires that i know a good price for item A...

    i've thought about just adding a straight percent markdown on residual reagents .. like maybe they're worth only 2/3 of their auction price or something.

    Last edited May 31, 2010 by lilsparky
  • Avatar of riveth_ riveth_ May 31, 2010 at 01:14 UTC - 0 likes

    I'm having trouble getting pricing right for inscription. The issue is that it keeps using milling (good) but then thinks the excess reagents are worth the purchase cost of the herbs. Obviously this results in incorrect data when considered in the context of making dozens of items.

    Is there a way to assign a more realistic value to the pigements? Maybe multiply the percent each pigment contributes to the total value of the expected milling results by the market price for the herb?

    For example, Icethorn is going for .8675 gold each. 5 of them will mill into 1 Icy Pigment and 3 Azure Pigments (according to LSW's built in data). Icy has a market price of 14.0861 and Azure has a market price of 1.9174. So total expected value is 19.8383 for a stack of 5 bought for 4.3375. This suggests that Icy should have a cost of 3.0798 and Azure should be .4192.

    Does this make sense?

  • Avatar of tlai tlai Apr 20, 2010 at 02:40 UTC - 0 likes

    Actually with r90 i changed the pricing option to reagent cost and now it shows the same as r88 with it set on resale value (i assume it is as i didn't change anything).

    The pricing cost for a few items is 0 though as the item that is listed as a reagent could not be found on the AH, also the parchment costs also have a 0? under these settings

    Edit: i might put some screenshots up as ... i changed to another profession and getting different stuff. Should be able to see what i mean with the pictures!

    Last edited Apr 20, 2010 by tlai
  • Avatar of lilsparky lilsparky Apr 19, 2010 at 18:14 UTC - 0 likes

    rats. so you use "always craft" with what pricing option? resale value or reagent cost? i *think* always craft is only really applicable to resale value since reagent cost should look at crafting anyways...

    can you give me an example of what r88 does vs whar r90 does? be as detailed as you can be. post screenshots if it's easier. thanks.

  • Avatar of tlai tlai Apr 19, 2010 at 14:14 UTC - 0 likes

    I have reverted back to r88beta which functions correctly listing the reagent costs to craft, (though i have to open my trade window twice to load lsw) another thing, is it possible to ignore items that are currently not stocked on the auction house for the pricing? As currently if it is not available on AH it just gives the pricing value of 0 as the best choice. I have tried r90 as well and the first load problem isn't present but the always craft option is not working

    Last edited Apr 19, 2010 by tlai
  • Avatar of tlai tlai Apr 19, 2010 at 14:06 UTC - 0 likes

    Something seems to have changed from r88 to r90, when i select always craft as cost bases, i no longer see the prices if i personally buy the herbs and mill them but shows the ink prices instead.

  • Avatar of Bamboocha Bamboocha Apr 15, 2010 at 14:59 UTC - 0 likes

    I just wanted to say thank you for posting in the auctioneer thread I've mentioned and thank you for being so active in general! :D

  • Avatar of lilsparky lilsparky Apr 14, 2010 at 21:30 UTC - 0 likes

    yeah, i think you need to do something special to make windows recognize lua files as being text or something.

    glad it's working for you.

  • Avatar of Dungrath Dungrath Apr 14, 2010 at 21:00 UTC - 0 likes

    Well, I thought it had failed the last time I tried LSW without Informant, but now that I do, it works just fine. Either I'm remembering wrong, or there was some other cause. Probably item caching, or before I updated to the latest version of LSW.

    Also, the Windows Explorer search-within-a-file failed to find GetItemInfo anywhere within the LSW folder, but I was able to find it searching with a text editor. It shouldn't surprise me that the Windows search function would fail.

    Removing Informant fixed my FPS problems while displaying tooltips, so I think everything's working better than it was before.

  • Avatar of lilsparky lilsparky Apr 13, 2010 at 19:35 UTC - 0 likes

    actually, i do use GetItemInfo() as a fallback if no GetSellValue support is found. mendeleev embed libPT so that should give you the vendor availability data that informant provides, too.

    have you tried without informant and found problems?

    Last edited Apr 13, 2010 by lilsparky


Date created
Oct 10, 2007
Last update
May 29, 2013
Development stage
  • enUS
GNU General Public License version 3 (GPLv3)
Recent files
  • A: r155 for 5.3.0 May 29, 2013
  • A: r154 for 5.3.0 May 29, 2013
  • A: r153 for 5.2.0 May 28, 2013
  • A: r152 for 5.2.0 May 13, 2013
  • A: r151 for 5.2.0 Mar 21, 2013