TSMAPI:Verify(data.accountKey~=TSMAPI.Sync:GetAccountKey(),"It appears that you've manually copied your saved variables between accounts which will cause TSM's automatic sync'ing to not work. You'll need to undo this, and/or delete the TradeSkillMaster, TSM_Crafting, and TSM_ItemTracker saved variables files on both accounts (with WoW closed) in order to fix this.")
TSMAPI:Verify(data.accountKey~=TSMAPI.Sync:GetAccountKey(),"It appears that you've manually copied your saved variables between accounts which will cause TSM's automatic sync'ing to not work. You'll need to undo this, and/or delete the TradeSkillMaster, TSM_Crafting, and TSM_ItemTracker saved variables files on both accounts (with WoW closed) in order to fix this.")
tooltip=L["Select how you would like prices to be shown in the \"Items\" and \"Resale\" tabs; either average price per item or total value."],
tooltip=L["Select how you would like prices to be shown in the \"Items\" and \"Resale\" tabs; either average price per item or total value."],
@ -1052,33 +1052,33 @@ function GUI:DrawOptions(container)
{
{
type="CheckBox",
type="CheckBox",
label=L["Track sales/purchases via trade"],
label=L["Track sales/purchases via trade"],
settingInfo={TSM.db.factionrealm,"trackTrades"},
settingInfo={TSM.db.realm,"trackTrades"},
callback=function()container:ReloadTab()end,
callback=function()container:ReloadTab()end,
tooltip=L["If checked, whenever you buy or sell any quantity of a single item via trade, Accounting will display a popup asking if you want it to record that transaction."],
tooltip=L["If checked, whenever you buy or sell any quantity of a single item via trade, Accounting will display a popup asking if you want it to record that transaction."],
tooltip=L["If checked, you won't get a popup confirmation about whether or not to track trades."],
tooltip=L["If checked, you won't get a popup confirmation about whether or not to track trades."],
},
},
{
{
type="CheckBox",
type="CheckBox",
label=L["Display Grey Items in Sales"],
label=L["Display Grey Items in Sales"],
settingInfo={TSM.db.factionrealm,"displayGreys"},
settingInfo={TSM.db.realm,"displayGreys"},
tooltip=L["If checked, poor quality items will be shown in sales data. They will still be included in gold earned totals on the summary tab regardless of this setting"],
tooltip=L["If checked, poor quality items will be shown in sales data. They will still be included in gold earned totals on the summary tab regardless of this setting"],
},
},
{
{
type="CheckBox",
type="CheckBox",
label=L["Display Money Transfers in Income/Expense/Summary"],
label=L["Display Money Transfers in Income/Expense/Summary"],
tooltip=L["If checked, Money Transfers will be included in income / expense and summary. Accounting will still track these if disabled but will not show them."],
tooltip=L["If checked, Money Transfers will be included in income / expense and summary. Accounting will still track these if disabled but will not show them."],
tooltip=L["If checked, the average purchase price that shows in the tooltip will be the average price for the most recent X you have purchased, where X is the number you have in your bags / bank / gbank using data from the ItemTracker module. Otherwise, a simple average of all purchases will be used."],
tooltip=L["If checked, the average purchase price that shows in the tooltip will be the average price for the most recent X you have purchased, where X is the number you have in your bags / bank / gbank using data from the ItemTracker module. Otherwise, a simple average of all purchases will be used."],
},
},
},
},
@ -1131,34 +1131,34 @@ function GUI:LoadTooltipOptions(container)
{
{
type="CheckBox",
type="CheckBox",
label=L["Show sale info in item tooltips"],
label=L["Show sale info in item tooltips"],
settingInfo={TSM.db.factionrealm.tooltip,"sale"},
settingInfo={TSM.db.realm.tooltip,"sale"},
tooltip=L["If checked, the number you have sold and the average sale price will show up in an item's tooltip."],
tooltip=L["If checked, the number you have sold and the average sale price will show up in an item's tooltip."],
},
},
{
{
type="CheckBox",
type="CheckBox",
label=L["Show Expired Auctions as Failed Auctions since Last Sale in item tooltips"],
label=L["Show Expired Auctions as Failed Auctions since Last Sale in item tooltips"],
tooltip=L["If checked, the number of expired auctions since the last sale will show as up as failed auctions in an item's tooltip. if no sales then the total number of expired auctions will be shown."],
tooltip=L["If checked, the number of expired auctions since the last sale will show as up as failed auctions in an item's tooltip. if no sales then the total number of expired auctions will be shown."],
},
},
{
{
type="CheckBox",
type="CheckBox",
label=L["Show Cancelled Auctions as Failed Auctions since Last Sale in item tooltips"],
label=L["Show Cancelled Auctions as Failed Auctions since Last Sale in item tooltips"],
tooltip=L["If checked, the number of cancelled auctions since the last sale will show as up as failed auctions in an item's tooltip. if no sales then the total number of cancelled auctions will be shown."],
tooltip=L["If checked, the number of cancelled auctions since the last sale will show as up as failed auctions in an item's tooltip. if no sales then the total number of cancelled auctions will be shown."],
},
},
{
{
type="CheckBox",
type="CheckBox",
label=L["Show Sale Rate in item tooltips"],
label=L["Show Sale Rate in item tooltips"],
settingInfo={TSM.db.factionrealm,"saleRate"},
settingInfo={TSM.db.realm,"saleRate"},
relativeWidth=1,
relativeWidth=1,
tooltip=L["If checked, the sale rate will be shown in item tooltips. sale rate is calculated as total sold / (total sold + total expired + total cancelled)."],
tooltip=L["If checked, the sale rate will be shown in item tooltips. sale rate is calculated as total sold / (total sold + total expired + total cancelled)."],
TSM:Printf(L["|cffff0000IMPORTANT:|r When TSM_Accounting last saved data for this realm, it was too big for WoW to handle, so old data was automatically trimmed in order to avoid corruption of the saved variables. The last %s of %s data has been preserved."],SecondsToTime(time()-timestamp),key)
TSM:Printf(L["|cffff0000IMPORTANT:|r When TSM_Accounting last saved data for this realm, it was too big for WoW to handle, so old data was automatically trimmed in order to avoid corruption of the saved variables. The last %s of %s data has been preserved."],SecondsToTime(time()-timestamp),key)
TSM:Printf(L["Profession data not found for %s on %s. Logging into this player and opening the profession may solve this issue."],profession,playerName)
TSM:Printf(L["Profession data not found for %s on %s. Logging into this player and opening the profession may solve this issue."],profession,playerName)
returnOnValueChanged(_,_,currentSelection)
returnOnValueChanged(_,_,currentSelection)
@ -1188,7 +1188,7 @@ function GUI:CreateCraftInfoFrame(parent)
@ -169,14 +169,14 @@ function Util:ScanCurrentProfession()
end
end
ifnothasCraftersthen
ifnothasCraftersthen
TSM.db.factionrealm.crafts[spellID]=nil
TSM.db.realm.crafts[spellID]=nil
end
end
end
end
end
end
-- save the new craft info
-- save the new craft info
forspellID,datainpairs(newCrafts)do
forspellID,datainpairs(newCrafts)do
TSM.db.factionrealm.crafts[spellID]=data
TSM.db.realm.crafts[spellID]=data
end
end
TSM.CraftingGUI:PromptPresetGroups(currentTradeSkill,presetGroupInfo)--Bugged, asks after every login. Not saving prompt result between sessions. Either saving or loading bug (works fine on /reload though).
TSM.CraftingGUI:PromptPresetGroups(currentTradeSkill,presetGroupInfo)--Bugged, asks after every login. Not saving prompt result between sessions. Either saving or loading bug (works fine on /reload though).
end
end
@ -234,8 +234,8 @@ function Util.ScanSyncedProfessionThread(self)