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.
Thanks
Kaktus
a quick look at old code vs. new code shows ASTW seems to have turned most of the table structures into locals
Line 40 seems to be the issue
local atsw_skilllisting={};
removing the local seems to resolve the issue, but I dont know if it will have any effect...Im not a LUA expert, so lilsparky will have to figure out how to connect to the new local or get ATSW to revert to a global variable or function. Hope this info helps get workshop working with ATSW again
i don't think there's anything in lsw that would cause the skill list to keep scrolling to the top...
what tradeskill ui are you using? any other tradeskill mods installed?
I have ver .91 . The trade skill window keeps returning to the top of the page. About every 2 to 5 seconds and it returns to the top. Very anoying. Almost impossible to use tradeskills with Lil Sparky installed.
When do you expect that a newer version, compatable with the latest patch, will be available?
@Dracos99, worked for me also. ty! puts me lightyears ahead of the 3.1 curve. ;) LoL
a quick look at old code vs. new code shows ASTW seems to have turned most of the table structures into locals Line 40 seems to be the issue local atsw_skilllisting={}; removing the local seems to resolve the issue, but I dont know if it will have any effect...Im not a LUA expert, so lilsparky will have to figure out how to connect to the new local or get ATSW to revert to a global variable or function. Hope this info helps get workshop working with ATSW again
i plan on getting back to lsw soon! should still work under 3.1, but i think atsw's latest version changed something that causes a problem with lsw... i'll be looking into it.
update for 3.1?
ID: 44
Error occured in: Global
Count: 1
Message: ...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua line 990:
attempt to index global 'atsw_skilllisting' (a nil value)
Debug:
[C]: ?
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:990:
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:926
[C]: Show()
AdvancedTradeSkillWindow\atsw.lua:836: ATSWFrame_Update()
AdvancedTradeSkillWindow\atsw.lua:483: ATSWFrame_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
[C]: ExpandTradeSkillSubClass()
AdvancedTradeSkillWindow\atsw.lua:132:
AdvancedTradeSkillWindow\atsw.lua:117
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1446: ATSW_ShowWindow()
AdvancedTradeSkillWindow\atsw.lua:374: ATSWFrame_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
[C]: CastSpellByName()
..\FrameXML\SecureTemplates.lua:275: handler()
..\FrameXML\SecureTemplates.lua:460:
..\FrameXML\SecureTemplates.lua:417
Just wondering what versions of ATSW and LSW people have got working with the new 3.1 patch?
Error text is as follows:
Date: 2009-04-15 21:19:53
ID: 1
Error occured in: Global
Count: 1
Message: ...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua line 990:
attempt to index global 'atsw_skilllisting' (a nil value)
Debug:
[C]: ?
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:990:
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:926
[C]: Show()
AdvancedTradeSkillWindow\atsw.lua:726: ATSWFrame_Update()
AdvancedTradeSkillWindow\atsw.lua:470: ATSWFrame_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
[C]: ExpandTradeSkillSubClass()
AdvancedTradeSkillWindow\atsw.lua:117:
AdvancedTradeSkillWindow\atsw.lua:102
...ace\AddOns\LilSparkysWorkshop\lilsparkysworkshop.lua:1446: ATSW_ShowWindow()
AdvancedTradeSkillWindow\atsw.lua:361: ATSWFrame_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
[C]: UseAction()
..\FrameXML\SecureTemplates.lua:258: handler()
..\FrameXML\SecureTemplates.lua:460:
..\FrameXML\SecureTemplates.lua:417
AddOns:
Swatter, v5.4.4157 (WallabyII)
AdvancedTradeSkillWindow, v
Altoholic, v3.0.008b
AucAdvanced, v5.4.4157 (WallabyII)
AucFilterBasic, v5.4.4157 (WallabyII)
AucFilterOutlier, v5.4.4157.2531
AucMatchUndercut, v5.4.4157.2531
AucStatClassic, v5.4.4157 (WallabyII)
AucStatHistogram, v5.4.4157 (WallabyII)
AucStatiLevel, v5.4.4157 (WallabyII)
AucStatPurchased, v5.4.4157 (WallabyII)
AucStatSales, v5.4.4157.2842
AucStatSimple, v5.4.4157 (WallabyII)
AucStatStdDev, v5.4.4157 (WallabyII)
AucStatWOWEcon, v5.4.4157.2530
AucUtilAHWindowControl, v5.4.4157.3311
AucUtilAppraiser, v5.4.4157.2530
AucUtilAskPrice, v5.4.4157.3175
AucUtilAutoMagic, v5.4.4157.3142
AucUtilCompactUI, v5.4.4157.2530
AucUtilEasyBuyout, v5.4.4157.3583
AucUtilItemSuggest, v5.4.4157.3108
AucUtilPriceLevel, v5.4.4157.2545
AucUtilScanButton, v5.4.4157.2530
AucUtilScanFinish, v5.4.4157.2530
AucUtilScanProgress, v5.4.4157.2530
AucUtilSearchUI, v5.4.4157.3655
AucUtilSimpleAuction, v5.4.4157.0
AucUtilVendMarkup, v5.4.4157.2530
Babylonian, v5.1.DEV.130
BeanCounter, v5.4.4157 (WallabyII)
BonusScanner, v4.8
BrokerBonusScanner, v1.1
Carbonite, v3.001
CarboniteTransfer, v1.01
Configator, v5.1.DEV.130
DebugLib, v5.1.DEV.130
DoubleWide, v
DruidBar, v4.22
Enchantrix, v5.4.4157 (WallabyII)
EnchantrixBarker, v5.4.4157 (WallabyII)
Gatherer, v3.1.12
GathererHUD, v3.1.12
GathererDBWowhead, v1.0.2009-02-18
Informant, v5.4.4157 (WallabyII)
LightHeaded, v278
LilSparkysWorkshop, v0.91
Postal, v3.1.0
RatingBuster, v
SlideBar, v5.4.4157 (WallabyII)
Stubby, v5.4.4157 (WallabyII)
Talented, v2.0
Titan, v4.1.9.30100 - Revision 216
TitanAmmo, v4.1.9.30100
TitanBag, v4.1.9.30100
TitanClock, v4.1.9.30100
TitanCoords, v4.1.9.30100
TitanGoldTracker, v4.1.9.30100
TitanLootType, v4.1.9.30100
TitanPerformance, v4.1.9.30100
TitanRegen, v4.1.9.30100
TitanRepair, v4.1.9.30100
TitanVolume, v4.1.9.30100
TitanXP, v4.1.9.30100
(ck=7c9)
first the disenchant value doesn't appear (i have enchantrix)
second, could it be possible, for auction price, to consider enchant scroll ?
LilSparkysWorkshop-0.72\lilsparkysworkshop.lua:1093: in function `LSW_CostButton_OnEnter'
<string>:"*:OnEnter":1: in function <[string "*:OnEnter"]:1>
---
line 641: [...]
if (Enchantrix) then
dePricer = Enchantrix.Storage.GetItemDisenchantTotals;
elseif (IsAddOnLoaded("Auctionator")) then
dePricer = Atr_GetDisenchantValue; -- AuctionatorAPI
[...]
and around line 720:
if (dePricer and IsAddOnLoaded("Auctionator")) then
sell = dePricer(itemLink); -- Auctionator
elseif (dePricer) then
dummy, dummy, dummy, sell = dePricer(itemLink); -- aucadvanced
It's like a miracle!
Just added this after line 1777 (LSW_TRADESKILL_INDEX_MAX = 1):
if (DOUBLE_WIDE_TRADE_SKILLS) then
LSW_TRADESKILL_INDEX_MAX = 20
for i = 9, LSW_TRADESKILL_INDEX_MAX+1 do
local button = CreateFrame("Button", "TradeSkillSkill" .. i, TradeSkillFrame, "TradeSkillSkillButtonTemplate");
button:SetID(i);
button:Hide();
button:ClearAllPoints();
button:SetPoint("TOPLEFT", getglobal("TradeSkillSkill" .. (i-1)), "BOTTOMLEFT", 0, 1);
end
end
Zirco here. The latest version of Auctionator (2.2.7) now supports Lilsparky's Workshop v0.80, v0.90 and v0.91. The code I put in only supports those exact versions as Lilsparky will probably be putting in direct support in the next version of Lilsparky's Workshop.