Giter Club home page Giter Club logo

craftsim's Introduction

craftsim's People

Contributors

derfloh205 avatar domi1294 avatar sirdester avatar sanjosolutions avatar bardlock avatar class2u avatar comiluv avatar serglushko avatar wxpenpen avatar vmokok avatar rowaasr13 avatar alex-bkd avatar ak48disk avatar meivyn avatar kanegasi avatar gtonioli avatar elitesparkle avatar egorkulikov avatar clery avatar theresinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar Steve Orens avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

craftsim's Issues

Lua error in ProfitCalculation:30

6x CraftSim/ProfitCalculation.lua:30: attempt to perform arithmetic on field '?' (a nil value)
[string "@CraftSim/ProfitCalculation.lua"]:30: in function handleInspiration' [string "@CraftSim/ProfitCalculation.lua"]:244: in function getMeanProfit'
[string "@CraftSim/StatweightCalculation.lua"]:65: in function CalculateStatWeights' [string "@CraftSim/StatweightCalculation.lua"]:81: in function getProfessionStatWeightsForCurrentRecipe'
[string "@CraftSim/CraftSim.lua"]:350: in function TriggerModulesByRecipeType' [string "@CraftSim/CraftSim.lua"]:87: in function <CraftSim/CraftSim.lua:83> [string "=[C]"]: in function Init'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:273: in function SelectRecipe' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:262: in function <...lizzard_Professions/Blizzard_ProfessionsCrafting.lua:253> [string "=[C]"]: ? [string "@SharedXML/CallbackRegistry.lua"]:143: in function <SharedXML/CallbackRegistry.lua:142> [string "=[C]"]: ? ... [string "@SharedXML/Scroll/ScrollUtil.lua"]:322: in function SelectElementDataByPredicate'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeList.lua"]:162: in function SelectRecipe' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:692: in function Init'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:242: in function <...lizzard_Professions/Blizzard_ProfessionsCrafting.lua:241>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:143: in function <SharedXML/CallbackRegistry.lua:142>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:146: in function TriggerEvent' [string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:133: in function SetProfessionInfo'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:88: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:59>

Locals:
self =

{
handleMulticraft = defined @CraftSim/ProfitCalculation.lua:34
getMeanProfit = defined @CraftSim/ProfitCalculation.lua:228
getResourcefulnessSavedCostsV2 = defined @CraftSim/ProfitCalculation.lua:73
handleInspiration = defined @CraftSim/ProfitCalculation.lua:5
getResourcefulnessSavedCostsV1 = defined @CraftSim/ProfitCalculation.lua:185
}
recipeData =
{
hasReagentsWithQuality = true
stats =
{
}
baseDifficulty = 350
maxQuality = 5
recipeID = 383545
extraItemFactors =
{
}
currentTransaction =
{
}
profession = "Начертание"
result =
{
}
recipeDifficulty = 350
professionID = 13
recipeType = 0
hasSingleItemOutput = true
expectedQuality = 1
baseItemAmount = 1
categoryID = 1758
reagents =
{
}
}
priceData =
{
craftingCostPerCraft = 145946100
minBuyoutPerQuality =
{
}
reagentsPriceByQuality =
{
}
minimumCostPerCraft = 145946100
}
crafts =
{
baseQuality = 1
nextQuality = 0
}
craftedItems =
{
baseQuality = 1
nextQuality = 0
}
calculationData =
{
inspiration =
{
}
}
inspirationCanUpgrade = false
(*temporary) =
{
averageInspirationItemsHigher = 0
averageInspirationItemsCurrent = 1
}
(*temporary) = 1
(*temporary) = nil
(*temporary) = 1
(*temporary) = "attempt to perform arithmetic on field '?' (a nil value)"

SpecData.lua:240: attempt to index local 'nodeInfo' (a nil value)

17x ...rfaceCraftSim/Data/SpecNodeData/SpecData.lua:240: attempt to index local 'nodeInfo' (a nil value)
[string "@CraftSim/Data/SpecNodeData/SpecData.lua"]:240: in function <...rfaceCraftSim/Data/SpecNodeData/SpecData.lua:223>
[string "=(tail call)"]: ?
[string "@CraftSim/Data/DataExport.lua"]:852: in function exportRecipeData' [string "@CraftSim/Main/CraftSim.lua"]:409: in function TriggerModulesByRecipeType'
[string "@CraftSim/Main/CraftSim.lua"]:146: in function TriggerModulesErrorSafe' [string "@CraftSim/Main/CraftSim.lua"]:179: in function <CraftSim/Main/CraftSim.lua:164> [string "=[C]"]: ? [string "=[C]"]: in function Init'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:191: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:185>
[string "=[C]"]: in function Show' [string "@FrameXML/UIParent.lua"]:2915: in function SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2758: in function ShowUIPanel' ... [string "=[C]"]: in function UseAction'
[string "@FrameXML/SecureTemplates.lua"]:364: in function `handler'
[string "@FrameXML/SecureTemplates.lua"]:690: in function <FrameXML/SecureTemplates.lua:672>
[string "@FrameXML/SecureTemplates.lua"]:704: in function <FrameXML/SecureTemplates.lua:697>
[string "@FrameXML/SecureTemplates.lua"]:746: in function <FrameXML/SecureTemplates.lua:730>
[string "=[C]"]: ?
[string "@FrameXML/SecureHandlers.lua"]:266: in function <FrameXML/SecureHandlers.lua:263>
[string "=[C]"]: ?
[string "@FrameXML/SecureHandlers.lua"]:296: in function <FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals:
self =

{
GetIDsFromChildNodesCached = defined @CraftSim/Data/SpecNodeData/SpecData.lua:9
RULE_NODES = defined @CraftSim/Data/SpecNodeData/SpecData.lua:274
GetNodes = defined @CraftSim/Data/SpecNodeData/SpecData.lua:295
affectsRecipeByIDs = defined @CraftSim/Data/SpecNodeData/SpecData.lua:98
GetExtraItemFactors = defined @CraftSim/Data/SpecNodeData/SpecData.lua:223
GetSpecExtraItemFactorsByRecipeData = defined @CraftSim/Data/SpecNodeData/SpecData.lua:258
GetStatsFromSpecNodeData = defined @CraftSim/Data/SpecNodeData/SpecData.lua:125
BASE_RULE_NODES = defined @CraftSim/Data/SpecNodeData/SpecData.lua:284
GetIDsFromChildNodes = defined @CraftSim/Data/SpecNodeData/SpecData.lua:21
}
recipeData =
{
hasReagentsWithQuality = true
isEnchantingRecipe = false
baseDifficulty = 325
stats =
{
}
maxQuality = 5
possibleSalvageReagents =
{
}
recipeID = 367619
currentTransaction =
{
}
bonusDifficulty = 0
categoryID = 1567
numSkillUps = 1
recipeDifficulty = 325
learned = true
isRecraft = false
result =
{
}
hasSingleItemOutput = true
baseItemAmount = 1
isSalvageRecipe = false
possibleOptionalReagents =
{
}
operationInfo =
{
}
recipeName = "Frostfire Legguards of Preparation"
professionID = 1
finishingReagents =
{
}
optionalReagents =
{
}
recipeType = 1
possibleFinishingReagents =
{
}
numReagentsWithQuality = 1
professionInfo =
{
}
expectedQuality = 3
recipeIcon = 4295889
subtypeID = 4
reagents =
{
}
}
ruleNodes =
{
LARGE_PLATE_ARMOR_4 =
{
}
SPECIALITY_SMITHING_3 =
{
}
PAULDRONS_1 =
{
}
GREAVES_4 =
{
}
HAMMER_CONTROL_3 =
{
}
SAFETY_SMITHING_4 =
{
}
SPECIALITY_SMITHING_4 =
{
}
LONG_BLADES_3 =
{
}
SMELTING_6 =
{
}
SMELTING_2 =
{
}
SHIELDS_4 =
{
}
HAFTED_2 =
{
}
HAMMER_CONTROL_6 =
{
}
SMELTING_3 =
{
}
STONEWORK_5 =
{
}
GAUNTLETS_2 =
{
}
SHIELDS_5 =
{
}
BELTS_1 =
{
}
ARMOR_SMITHING_2 =
{
}
LARGE_PLATE_ARMOR_3 =
{
}
BELTS_4 =
{
}
HAMMER_CONTROL_5 =
{
}
SHIELDS_3 =
{
}
SAFETY_SMITHING_1 =
{
}
POIGNANT_PLANS_6 =
{
}
BLADES_3 =
{
}
GREAVES_3 =
{
}
SPECIALITY_SMITHING_6 =
{
}
SCULPTED_ARMOR_3 =
{
}
PAULDRONS_2 =
{
}
POIGNANT_PLANS_5 =
{
}
SHORT_BLADES_2 =
{
}
SCULPTED_ARMOR_4 =
{
}
TOOLSMITHING_4 =
{
}
BELTS_3 =
{
}
BLADES_1 =
{
}
WEAPON_SMITHING_5 =
{
}
SPECIALITY_SMITHING_1 =
{
}
ARMOR_SMITHING_5 =
{
}
SMELTING_5 =
{
}
BREASTPLATES_4 =
{
}
HAMMER_CONTROL_2 =
{
}
MACES_4 =
{
}
POIGNANT_PLANS_1 =
{
}
POIGNANT_PLANS_2 =
{
}
HELMS_5 =
{
}
MACES_2 =
{
}
FINE_ARMOR_1 =
{
}
WEAPON_SMITHING_4 =
{
}
GREAVES_2 =
{
}
AXES_2 =
{
}
TOOLSMITHING_1 =
{
}
ARMOR_SMITHING_3 =
{
}
HAFTED_4 =
{
}
STONEWORK_3 =
{
}
GAUNTLETS_5 =
{
}
BELTS_5 =
{
}
ARMOR_SMITHING_1 =
{
}
POIGNANT_PLANS_3 =
{
}
LONG_BLADES_4 =
{
}
MACES_1 =
{
}
BREASTPLATES_2 =
{
}
ARMOR_SMITHING_4 =
{
}
TOOLSMITHING_3 =
{
}
VAMBRACES_5 =
{
}
TOOLSMITHING_5 =
{
}
TOOLSMITHING_6 =
{
}
GREAVES_5 =
{
}
HAMMER_CONTROL_1 =
{
}
HAFTED_1 =
{
}
AXES_4 =
{
}
WEAPON_SMITHING_3 =
{
}
STONEWORK_6 =
{
}
VAMBRACES_1 =
{
}
SHIELDS_1 =
{
}
SABATONS_2 =
{
}
BREASTPLAT

Some recipes throw an error in StatweightCalculation.lua:93

Trace:

1x CraftSim/StatweightCalculation.lua:93: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@CraftSim/StatweightCalculation.lua"]:93: in function `GetExpectedQualityBySkill'
[string "@CraftSim/Frames.lua"]:1345: in function `UpdateSimModeStatDetails'
[string "@CraftSim/SimMode.lua"]:95: in function `InitSimModeData'
[string "@CraftSim/CraftSim.lua"]:343: in function `TriggerModulesByRecipeType'
[string "@CraftSim/CraftSim.lua"]:100: in function <CraftSim/CraftSim.lua:99>

Recipe: https://www.wowhead.com/spell=376564/fiddle-with-khazgorite-fabric-cutters

Checking for thresholds before should fix it:

    if thresholds then
        for _, threshold in pairs(thresholds) do
            if skill > threshold then
                expectedQuality = expectedQuality + 1
            end
        end
    end

Tooltip info added twice

image

This is commonly caused by using the old method of accessing the global GameTooltip as opposed to the new tooltip processor calls.

Bug: incorrect profit calculation when pressing "Use Best Quality Reagents"

This bug has been occurring where the profit calculation doesn't update when checking "Use Best Quality Reagents" and ends up showing a stale profit despite having new materials assigned.

best-quality-bug


Steps to reproduce:

  1. Open up a material to craft
  2. View the CraftSim Average Profit (104g 20s 43c)
  3. Press "Use Best Quality Reagents"
  4. Compare the CraftSim Average Profit

Expected:
CraftSim Average Profit should immediately update (-120g 27s 93c)

Actual:
CraftSim Average Profit is stuck on the old value (104g 20s 43c).


  1. Now that the profit is out of sync, uncheck "Use Best Quality Reagents"
  2. Compare the CraftSim Average Profit

Expected:
CraftSim Average Profit should be the same as when we first saw it in step 2 (104g 20s 43c)

Actual:
CraftSim Average Profit shows the old value that should have shown in step 4 (-120g 27s 93c)


Workaround:
Reassigning any of the reagent qualities by clicking on a reagent then pressing accept will properly recalculate the CraftSim Average Profit. It will however break again if you repeat the reproduction steps again.

[Blacksmithing] Black Dragon Touched Hammer bonus

The Blacksmith Hammer Black Dragon Touched Hammer, Item ID 191228 has a bonus "When inspired, increases the Skill provided to Dragon Isles crafts by 15%.".
This bonus is not taken into any calculations, as also shown in Simulation Mode
image
image

Simcraft error on Recraft

Getting this error when trying to do a recraft on a pair of engineering googles.
As soon as i choose the item to recraft the error shows.
It only happens when i try to recraft my googles. All other items has no error.

billede

Feature suggestion: consider safety component quality picking for finding the combination of the materials with the lowest price

There seems to be quiet a difference between the price of quality 2 and quality 3 safety components. Sometimes it seems possible, to save money by using a quality 2 safety component instead of a quality 3 safety component, and use higher quality materials of materials with a smaller difference in price between quality 2 and 3. This might result in a lower total price to craft.

Mousing over items in dungeon journal causes lua error

Readout:

24x CraftSim/Util/Tooltip.lua:13: attempt to call method 'GetItem' (a nil value)
[string "@CraftSim/Util/Tooltip.lua"]:13: in function <CraftSim/Util/Tooltip.lua:12>
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:60: in function <SharedXML/Tooltip/TooltipDataHandler.lua:55> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:80: in function <SharedXML/Tooltip/TooltipDataHandler.lua:76> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:116: in function <SharedXML/Tooltip/TooltipDataHandler.lua:106> [string "=[C]"]: in function SetAttribute'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:141: in function <SharedXML/Tooltip/TooltipDataHandler.lua:134>
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:282: in function <SharedXML/Tooltip/TooltipDataHandler.lua:240>
[string "=[C]"]: in function securecallfunction' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:237: in function ProcessInfo'
[string "@SharedXML/Tooltip/TooltipComparisonManager.lua"]:249: in function SetItemTooltip' ... [string "@FrameXML/GameTooltip.lua"]:527: in function GameTooltip_ShowCompareItem'
[string "@SharedXML/Tooltip/TooltipDataRules.lua"]:161: in function func' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:49: in function <SharedXML/Tooltip/TooltipDataHandler.lua:44> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:71: in function <SharedXML/Tooltip/TooltipDataHandler.lua:67> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:135: in function <SharedXML/Tooltip/TooltipDataHandler.lua:134> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:282: in function <SharedXML/Tooltip/TooltipDataHandler.lua:240> [string "=[C]"]: in function securecallfunction'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:237: in function ProcessInfo' [string "@Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua"]:2092: in function EncounterJournal_SetTooltipWithCompare'
[string "*Blizzard_EncounterJournal.xml:1382_OnEnter"]:3: in function <[string "*Blizzard_EncounterJournal.xml:1382_OnEnter"]:1>

including smart average buy price for crafting cost

Hi!
first of all thanks a lot for making this tool!
is it possible to include the tag "smartavgbuy" in the material costs for crafting items?
I have personally setup a string like this in TSM, which I used in previous expansions to better gauge when crafts are profitable when you did shopping previously when costs were lower than current market price.
the string:
min(smartavgbuy, dbmarket, crafting, vendorbuy, convert(dbmarket))

thanks!

ReagentOptimization.lua:310: attempt to index field '?' (a nil value)

I was doing the quest "To Give One's Heart" in the Ruby Lifeshrine on my jewelcrafting alt and received the following error when I crafted the quest item. Thanks.

6x .../Modules/ReagentOptimization/ReagentOptimization.lua:310: attempt to index field '?' (a nil value)
[string "@CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua"]:310: in function optimizeKnapsack' [string "@CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua"]:178: in function OptimizeReagentAllocation'
[string "@CraftSim/Main/CraftSim.lua"]:481: in function TriggerModulesByRecipeType' [string "@CraftSim/Main/CraftSim.lua"]:129: in function TriggerModulesErrorSafe'
[string "@CraftSim/Main/CraftSim.lua"]:162: in function <CraftSim/Main/CraftSim.lua:147>
[string "=[C]"]: ?
[string "=[C]"]: in function Init' [string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:251: in function Refresh'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:151: in function <...lizzard_Professions/Blizzard_ProfessionsCrafting.lua:120>

Locals:
self =

{
CreateCrumbs = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:210
GetCurrentReagentAllocationSkillIncreaseOLD = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:547
GetReagentWeightByID = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:250
GetMaxReagentIncreaseFactor = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:444
AutoAssignVellum = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:656
AssignBestAllocation = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:596
GetGCD = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:259
IsCurrentAllocation = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:632
OptimizeReagentAllocation = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:14
FRAMES =
{
}
GetCurrentReagentAllocationSkillIncrease = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:506
optimizeKnapsack = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:268
}
ks =
{
0 =
{
}
}
BPs =
{
1 = 0
2 = -1
0 = 0.150000
}
numMaterials = 0
i = nil
j = nil
k = nil
maxWeight = Infinite
inf = Infinite
b =
{
}
c =
{
}
i = 0
(for index) = 0
(for limit) = 6
(for step) = 1
k = 0
(*temporary) = nil
(*temporary) = Infinite
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
print = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:5

Temporary Buff "Alchemically Inspired" not added to calculation

The temporary buff "Alchemically Inspired" https://www.wowhead.com/spell=382093/alchemically-inspired appears not to be added to the calculations of the profit/craft, nor in towards the Inspiration % when you look at the simulation mode. This buff can be applied consistently with the Advanced Phial Experimentation tree.

If I add the buff, or click it off, the addon does not seem to take this into account.

The addon does seem to calculate the temporary buff like the Sagacious Incense, and it updates it's estimates as expected.

Top Gear widget does not show correct Multicraft bonus

I have a chef's hat with Multicraft and Crafting Speed boni, and when I take it off and set CraftSim show Top Multicraft for Top Gear, the addon displays the chef's hat as Top Gear correctly but displays incorrect Multicraft bonus. See below screenshot:
WoWScrnShot_011123_200725
In the screenshot, the chef's hat will give new 2.25% bonus of Multicraft but at the same time the widget shows Multicraft: +0.00% in the summary.

missing jewelcrafting specialization info

The Glassware node affects the reagents that take fractured glass in crafting: empty soul cage, draconic vial, and frameless lens. but this is missing in the experimental specialization data.

Feature request: Hidden skill bonus

Hello, it would be very nice if the hidden skill bonus could be implemented into CraftSim. Here is a video with some info on what it does/why it's relevant https://www.youtube.com/watch?v=bcMKDfaI9oY

For the actual numbers it seems like you have an equal chance of 1/6 to get +0/1/2/3/4/5% of the recipe's base difficulty as bonus skill. This can push some crafts into being profitable that would otherwise not be (for example some stuff that can be crafted at 3 skill below T3 with everything maxed out).
This should definitely be an opt-in experimental feature for now since we don't know for sure how it works.

UI Improvement request: window theme matching blizzard UI

Is there any chance at all to (either optionally or by default) make the black windows we have now into blizzard style windows?
Similar to profession window.
The current black and white borders layout is very ugly and sort of ruins the immersion :(

Not a big deal as its visual only
Thank you

The "reach inspiration breakpoint" feature seems to sometimes suggest too low quality materials

The "reach inspiration breakpoint" feature seems to sometimes suggest too low quality materials.
It seems to sometimes select material qualities in such way that there seems to be still a low amount of skill points missing (like 1.6 points) to cover the skill points required for a guaranteed highest quality craft in the case of an "inspiration" proc. In the case(s) where I have seen this it seemed possible to cover that by selecting higher quality materials.

Required materials API

i have 0 idea of addon development or lua in general but i am currently writing a weak aura to auto reply to various crafting requests. would it be possible to provide some sort of API in your addon that can generate required materials based and output it to a weakaura?

Live Preview not changing %chance

Hi, I was just sending myself a live preview to check out this awesome feature and I noticed that the %chance did not change after I selected the Finishing#2 reagent.
Yes, it did request an update (this message in the top right) and I waited until it finished, nothing changed.

In the screenshots I have the normal crafting and live preview with and without finishing reagent.
grafik
grafik

Lua error in DataExport:456

It mentions TSM but I do not use the TSM crafting panel so it has nothing to do with that. It seems to happen most frequently when browsing for crafting orders at my crafting table.

5x CraftSim/DataExport.lua:456: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@CraftSim/DataExport.lua"]:456: in function `GetProfessionGearStatsByLink'
[string "@CraftSim/DataExport.lua"]:554: in function `GetEquippedProfessionGear'
[string "@CraftSim/GearSim.lua"]:109: in function `GetProfessionGearCombinations'
[string "@CraftSim/GearSim.lua"]:369: in function `SimulateBestProfessionGearCombination'
[string "@CraftSim/CraftSim.lua"]:358: in function `TriggerModulesByRecipeType'
[string "@CraftSim/CraftSim.lua"]:87: in function <CraftSim/CraftSim.lua:83>
[string "=[C]"]: in function `Init'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:188: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:182>
[string "=[C]"]: in function `Show'
[string "@FrameXML/UIParent.lua"]:2890: in function `SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2733: in function `ShowUIPanel'
...
[string "@TradeSkillMaster/LibTSM/Util/Event.lua"]:132: in function `ProcessEvent'
[string "@TradeSkillMaster/LibTSM/Util/Event.lua"]:150: in function <TradeSkillMaster/LibTSM/Util/Event.lua:141>
[string "=[C]"]: ?
[string "=[C]"]: in function `UseAction'
[string "@FrameXML/SecureTemplates.lua"]:364: in function `handler'
[string "@FrameXML/SecureTemplates.lua"]:690: in function <FrameXML/SecureTemplates.lua:672>
[string "@FrameXML/SecureTemplates.lua"]:704: in function <FrameXML/SecureTemplates.lua:697>
[string "@FrameXML/SecureTemplates.lua"]:746: in function `SecureActionButton_OnClick'
[string "@FrameXML/ActionButton.lua"]:1175: in function <FrameXML/ActionButton.lua:1145>
[string "=[C]"]: ?

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"
 = <function> defined =[C]:-1

LUA error when opening craft window (first time per session/reload)

I am getting the following error the first time I open the craft window after logging in/reloading UI.

Interface/AddOns/CraftSim/Data/DataExport.lua:584: bad argument #1 to 'pairs' (table expected, got nil)

This is occurring on multiple characters. The error appears to be coming from GetProfessionGearStatsByLink

Feature request: No price source found, just as I want it

I got your addon to help me figure out ways to reach inspiration breakpoints without having to own the materials. It's great for that.

However, every time I log in it warns me no price source is found and suggests some addons I could get to fix that. I don't want to. I just want this little material shuffling feature. Can I be spared the warning?

DataExport.lua:62 throws an error on Recraft panel

Checking for operationInfo before seem to "fix" it:

	local operationInfo = schematicForm:GetRecipeOperationInfo()
    if operationInfo then
        recipeData.expectedQuality = operationInfo.craftingQuality
    else 
        return nil
    end

Error when crafting some Azureweave Expedition Packs

Got the following two errors when crafting some Azureweave Expedition Packs. Was using a tool with Resourcefulness.

Message: ...face/AddOns/CraftSim/Modules/CraftResults/Frames.lua:34: attempt to index field 'inspiration' (a nil value)
Time: Tue Jan 31 18:36:41 2023
Count: 2
Stack: ...face/AddOns/CraftSim/Modules/CraftResults/Frames.lua:34: attempt to index field 'inspiration' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/Frames.lua"]:34: in function `UpdateRecipeData'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:405: in function `AddResult'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:334: in function `callback'
[string "@Interface/AddOns/CraftSim/Util/Util.lua"]:66: in function `ContinueOnAllItemsLoaded'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:333: in function `processCraftResults'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:217: in function <...ddOns/CraftSim/Modules/CraftResults/CraftResults.lua:216>

Locals: 
Message: ...face/AddOns/CraftSim/Modules/CraftResults/Frames.lua:34: attempt to index field 'inspiration' (a nil value)
Time: Tue Jan 31 18:36:47 2023
Count: 2
Stack: ...face/AddOns/CraftSim/Modules/CraftResults/Frames.lua:34: attempt to index field 'inspiration' (a nil value)
[string "=(tail call)"]: ?
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/Frames.lua"]:34: in function `UpdateRecipeData'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:405: in function `AddResult'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:334: in function <...ddOns/CraftSim/Modules/CraftResults/CraftResults.lua:333>
[string "@Interface/AddOns/CraftSim/Util/Util.lua"]:74: in function <Interface/AddOns/CraftSim/Util/Util.lua:68>
[string "=[C]"]: in function `xpcall'
[string "@Interface/FrameXML/ObjectAPI/AsyncCallbackSystem.lua"]:76: in function `FireCallbacks'
[string "@Interface/FrameXML/ObjectAPI/AsyncCallbackSystem.lua"]:35: in function <Interface/FrameXML/ObjectAPI/AsyncCallbackSystem.lua:31>
[string "=[C]"]: ?
[string "=[C]"]: in function `accessor'
[string "@Interface/FrameXML/ObjectAPI/AsyncCallbackSystem.lua"]:52: in function `AddCallback'
[string "@Interface/FrameXML/ObjectAPI/Item.lua"]:330: in function `ContinueOnItemLoad'
[string "@Interface/AddOns/CraftSim/Util/Util.lua"]:80: in function `ContinueOnAllItemsLoaded'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:333: in function `processCraftResults'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:217: in function <...ddOns/CraftSim/Modules/CraftResults/CraftResults.lua:216>

Locals: <none>

Feature request: show icon left of item name to represent "First Craft"

Hello, first of all love your addon, thank you!
I couldnt find this feature (maybe its there already) but i would like a visual identifier that i need to craft this item to get "first craft" bonus skill.
I have a lot of alts, and currently have to click each item 1 at a time to check this.
Then i learn more recipes, and i have to remember to do it ALL over again, in which case i have to redo it all because i just forget what i checked.
I think this would be a great feature , and could be enabled by default but of course optional in settings :)

Hope you consider it, thank you!!

example:
image

Life-Bound Leatherworking Recipes not recognized

When you click on a Life-Bound recipe (like Life-Bound Belt), CraftSim does nothing. If you click on a different non-Life-Bound recipe and then click on a Life-Bound recipe, it continues to display the previous recipe instead of the Life-Bound one.

Incorrect auto-answer item levels

When a costumer asked me with the command about a recipe for 405 ilvl, the addon answered him correct ranks (rank 3 and rank 5) but with uncorrect item levels (from the bracket without Primal Infusion)

WoWScrnShot_013123_220427
WoWScrnShot_013123_220422
WoWScrnShot_013123_220426

Some issues with Inscription

Hey,
Love your work, the addon is great, ive found a few issues though

Craftsim does not correctly calculate Profit for all Missives in Inscription (seems like some issue with quality?)
https://gyazo.com/985db9a1e6712f2219ea371ea500460f

Also with Combatant Gear (Specifically Crimson Combatant's Emblem)

It does not appear to be updating pricing data when using Auctioneer as source, idk if this is just me or something more?
https://gyazo.com/97b1f5ef25a6f032e16853f94d2669eb

Thanks

Stable Fluidic Draconium quality differences

Love the new feature to specify optional reagents in the Simulation Mode tab, thanks for that!

EDIT: It appears if I apply the Fluidic reagent in the default blizzard frame, then check the "Simulation Mode" box, the values are correct.

Only issue I've found with it so far, is that it looks like its using +15% inspiration skill for all ranks.

In the "Inspiration Skill" line in the simulation box, I see the following values:

  • (No Fluidic)
    • 65 (50.0*1.30+15)
  • (R1 Fluidic)
    • 72.5 (50.0*1.45+22.5)
  • (R2 Fluidic)
    • 72.5 (50.0*1.45+22.5)
  • (R3 Fluidic)
    • 72.5 (50.0*1.45+22.5)

For me, (Blacksmithing) R3 should be getting to 78 skill, which is probably rounded. I'm not sure on how the exact calculation works. I have the Epic hammer (+15%) as well as 15 points into Poigant Plans, which is giving another +15%. This appears to be reflected correctly with the (50.0*1.30) portion.

I'm sure this is already on your radar, just wanted to point it out in case its not.

Thanks so much for your work on this, its absolutely fantastic!

Error when crafting non DF items

Error when crafting non DF items, in this case Lightless Silk Pouch with Tailoring.

Message: ...ddOns/CraftSim/Modules/CraftResults/CraftResults.lua:299: attempt to index field 'stats' (a nil value)
Time: Fri Feb  3 23:57:54 2023
Count: 6
Stack: ...ddOns/CraftSim/Modules/CraftResults/CraftResults.lua:299: attempt to index field 'stats' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:299: in function `processCraftResults'
[string "@Interface/AddOns/CraftSim/Modules/CraftResults/CraftResults.lua"]:217: in function <...ddOns/CraftSim/Modules/CraftResults/CraftResults.lua:216>

Locals: 

LUA error when opening work order or profession page

I get these when opening work orders for: Primal Molten Longsword, Primal Molten Pauldrons.
Not sure what triggers it, previously opening the work order for the shoulders didn't give this error.

1x ...rfaceCraftSim/Data/SpecNodeData/SpecData.lua:152: CraftSim Error: Node ID not implemented: 23911
[string "=[C]"]: in function error' [string "@CraftSim/Data/SpecNodeData/SpecData.lua"]:152: in function GetStatsFromSpecNodeData'
[string "@CraftSim/Data/DataExport.lua"]:247: in function handlePlayerProfessionStatsV2' [string "@CraftSim/Data/DataExport.lua"]:359: in function handlePlayerProfessionStats'
[string "@CraftSim/Data/DataExport.lua"]:863: in function exportRecipeData' [string "@CraftSim/Main/CraftSim.lua"]:435: in function TriggerModulesByRecipeType'
[string "@CraftSim/Main/CraftSim.lua"]:169: in function TriggerModulesErrorSafe' [string "@CraftSim/Main/CraftSim.lua"]:202: in function <CraftSim/Main/CraftSim.lua:187> [string "=[C]"]: ? [string "=[C]"]: in function Init'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:191: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:185>
[string "=[C]"]: in function Show' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderPage.lua"]:766: in function ViewOrder'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderPage.lua"]:63: in function <...Professions/Blizzard_ProfessionsCrafterOrderPage.lua:58>

Locals:
(*temporary) = "CraftSim Error: Node ID not implemented: 23911"

Customer Service not showing correct items ranks

Hi,

As stated in the headline there is a bug with items not having correct ranks both for guarentee and inspiration proccs.
This is only tested for Leatherworking

The issue only seems to occur when asking for items that require a Primal Infusion or Concentrated Infusion.
The customer asks for the 418 version which i can craft np, but what is returned via the automatic reply is rank 3 (412 ilvl). I have set the automatic reply to only show the inspiration procc item, so showing rank 3 is a problem.

I have rank 4 as guarentee and inspiration procc rank 5 on all crafts with Primal Infusion (405 ilvl) or Concentrated Primal (418 ilvl)

Attached is a screenshot of a few tests, all of them asking for a 418 (rank 5) and me returning with the inspiration chance item of 412 (rank 3) which should show 418 (rank 5).

leatherworking 1

Lua error when opening mining/herbalism window without knowing refine herbs/ore

The following error occurs when opening the mining or herbalism journal without knowing how to refine herbs or ore.

19x ...ceCraftSim/Modules/SimulationMode/Frames.lua:689: attempt to index field 'currentRecipeData' (a nil value)
[string "@CraftSim/Modules/SimulationMode/Frames.lua"]:689: in function UpdateVisibility' [string "@CraftSim/Main/CraftSim.lua"]:388: in function TriggerModulesByRecipeType'
[string "@CraftSim/Main/CraftSim.lua"]:111: in function TriggerModulesErrorSafe' [string "@CraftSim/Main/CraftSim.lua"]:134: in function <CraftSim/Main/CraftSim.lua:124> [string "=[C]"]: ? [string "=[C]"]: in function Init'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:273: in function SelectRecipe' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:262: in function <...lizzard_Professions/Blizzard_ProfessionsCrafting.lua:253> [string "=[C]"]: ? [string "@SharedXML/CallbackRegistry.lua"]:143: in function <SharedXML/CallbackRegistry.lua:142> [string "=[C]"]: ? [string "@SharedXML/CallbackRegistry.lua"]:146: in function TriggerEvent'
...
[string "@SharedXML/Scroll/ScrollUtil.lua"]:322: in function SelectElementDataByPredicate' [string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeList.lua"]:162: in function SelectRecipe'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:692: in function Init' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:242: in function <...lizzard_Professions/Blizzard_ProfessionsCrafting.lua:241> [string "=[C]"]: ? [string "@SharedXML/CallbackRegistry.lua"]:143: in function <SharedXML/CallbackRegistry.lua:142> [string "=[C]"]: ? [string "@SharedXML/CallbackRegistry.lua"]:146: in function TriggerEvent'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:133: in function `SetProfessionInfo'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:88: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:59>

Locals:
self =

{
UpdateVisibility = defined @CraftSim/Modules/SimulationMode/Frames.lua:676
Init = defined @CraftSim/Modules/SimulationMode/Frames.lua:13
CreateReagentOverwriteInput = defined @CraftSim/Modules/SimulationMode/Frames.lua:541
InitSpecModifier = defined @CraftSim/Modules/SimulationMode/Frames.lua:328
InitReagentOverwriteFrames = defined @CraftSim/Modules/SimulationMode/Frames.lua:625
GetSpecNodeModFramesByTabAndLayerAndLayerMax = defined @CraftSim/Modules/SimulationMode/Frames.lua:506
CreateReagentOverwriteFrame = defined @CraftSim/Modules/SimulationMode/Frames.lua:523
UpdateCraftingDetailsPanel = defined @CraftSim/Modules/SimulationMode/Frames.lua:727
InitOptionalReagentDropdowns = defined @CraftSim/Modules/SimulationMode/Frames.lua:549
}
specInfoFrame = CraftSimSpecInfoFrame {
BottomLeftCorner = Texture {
}
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetTransparency = defined @CraftSim/Util/Frames.lua:308
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
decollapse = defined @CraftSim/Util/Frames.lua:245
ApplyBackdrop = defined @SharedXML/Backdrop.lua:294
SetBackdrop = defined @SharedXML/Backdrop.lua:329
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @SharedXML/Backdrop.lua:409
title = FontString {
}
collapsed = false
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
PixelSnapDisabled = true
originalX = 290
hookFrame = Frame {
}
Center = Texture {
}
backdropInfo =
{
}
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
TopRightCorner = Texture {
}
content = Frame {
}
collapse = defined @CraftSim/Util/Frames.lua:233
scrollFrame = ScrollFrame {
}
originalY = 300
GetEdgeSize = defined @SharedXML/Backdrop.lua:188
BottomRightCorner = Texture {
}
0 =
TopEdge = Texture {
}
UpdateSize = defined @CraftSim/Util/Frames.lua:338
BottomEdge = Texture {
}
resetPosition = defined @CraftSim/Util/Frames.lua:287
SetupTextureCoordinates = defined @SharedXML/Backdrop.lua:214
HasBackdropInfo = defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @SharedXML/Backdrop.lua:422
collapseButton = Button {
}
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetBackdropColor = defined @SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
GetBackdrop = defined @SharedXML/Backdrop.lua:347
}
hasOptionalReagents = false
(*temporary) = nil
(*temporary) =
{
ShowWarning = defined @CraftSim/Util/Frames.lua:670
initDropdownMenu = defined @CraftSim/Util/Frames.lua:74
ToggleFrame = defined @CraftSim/Util/Frames.lua:66
InitTabSystem = defined @CraftSim/Util/Frames.lua:155
CreateCheckboxCustomCallback = defined @CraftSim/Util/Frames.lua:392
CreateTab = defined @CraftSim/Util/Frames.lua:208
CreateHelpIcon = defined @CraftSim/Util/Frames.lua:443
ShowError = defined @CraftSim/Util/Frames.lua:675
CreateCheckbox = defined @CraftSim/Util/Frames.lua:411
InitDebugFrame = defined @CraftSim/Util/Frames.lua:467
HandleAuctionatorOverlaps = defi

This seems to be because the addon will try to open simulation mode on an entry for which it is invalid, like the individual ore and herb entries. Clicking to a valid entry like refine herb or ore will fix the issue and prevent the lua from reappearing until the next UI reload or relog.

A little suggestion about future enhancement

Please make all existing and future functions with "disable" button.
I really don't want to see "control panel" all the time. And same thing for the tooltip TSM/Auctionator intergration.
изображение

LUA error when opening work order or profession window

I got the following LUA error when opening a Public Work Order for "S.A.V.I.O.R.":

1x ...faceCraftSim/Modules/CostOverview/Frames.lua:50: attempt to concatenate field 'link' (a nil value)
[string "@CraftSim/Modules/CostOverview/Frames.lua"]:50: in function Fill' [string "@CraftSim/Modules/CostOverview/CostOverview.lua"]:19: in function CalculateCostOverview'
[string "@CraftSim/Main/CraftSim.lua"]:611: in function TriggerModulesByRecipeType' [string "@CraftSim/Main/CraftSim.lua"]:169: in function TriggerModulesErrorSafe'
[string "@CraftSim/Main/CraftSim.lua"]:202: in function <CraftSim/Main/CraftSim.lua:187>
[string "=[C]"]: ?
[string "=[C]"]: in function Init' [string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:191: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:185> [string "=[C]"]: in function Show'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderPage.lua"]:766: in function `ViewOrder'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderPage.lua"]:63: in function <...Professions/Blizzard_ProfessionsCrafterOrderPage.lua:58>

Locals:
self =

{
Init = defined @CraftSim/Modules/CostOverview/Frames.lua:68
Fill = defined @CraftSim/Modules/CostOverview/Frames.lua:13
}
craftingCosts = 27657000
minCraftingCosts = 18041300
profitPerQuality =
{
1 = -27657000
2 = -27657000
3 = -27657000
}
currentQuality = 1
exportMode = 1
costOverviewFrame = CraftSimCostOverviewWOFrame {
BottomLeftCorner = Texture {
}
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetTransparency = defined @CraftSim/Util/Frames.lua:399
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
decollapse = defined @CraftSim/Util/Frames.lua:284
ApplyBackdrop = defined @SharedXML/Backdrop.lua:294
SetBackdrop = defined @SharedXML/Backdrop.lua:329
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @SharedXML/Backdrop.lua:409
title = FontString {
}
collapsed = false
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
originalX = 350
hookFrame = Frame {
}
resetPosition = defined @CraftSim/Util/Frames.lua:378
backdropInfo =
{
}
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
TopRightCorner = Texture {
}
content = Frame {
}
collapse = defined @CraftSim/Util/Frames.lua:272
originalY = 400
BottomRightCorner = Texture {
}
GetEdgeSize = defined @SharedXML/Backdrop.lua:188
0 =
closeButton = Button {
}
TopEdge = Texture {
}
Center = Texture {
}
BottomEdge = Texture {
}
enabledLinks = true
SetupTextureCoordinates = defined @SharedXML/Backdrop.lua:214
HasBackdropInfo = defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @SharedXML/Backdrop.lua:422
collapseButton = Button {
}
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetBackdropColor = defined @SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
GetBackdrop = defined @SharedXML/Backdrop.lua:347
}
recipeData =
{
hasReagentsWithQuality = true
baseItemAmount = 2
maxQuality = 3
possibleSalvageReagents =
{
}
recipeIcon = 4548854
extraItemFactors =
{
}
currentTransaction =
{
}
learned = false
maxReagentSkillIncreaseFactor = 0.248571
professionID = 8
recipeType = 4
professionInfo =
{
}
reagents =
{
}
isEnchantingRecipe = false
baseDifficulty = 350
recipeID = 382328
bonusDifficulty = 0
categoryID = 1710
possibleFinishingReagents =
{
}
result =
{
}
ContinueOnResultItemsLoaded = defined @CraftSim/Data/DataExport.lua:870
operationInfo =
{
}
recipeName = "S.A.V.I.O.R."
stats =
{
}
numSkillUps = 1
isRecraft = false
possibleOptionalReagents =
{
}
recipeDifficulty = 350
numReagentsWithQuality = 4
hasSingleItemOutput = true
expectedQuality = 1
finishingReagents =
{
}
subtypeID = 0
optionalReagents =
{
}
}
(for generator) = defined =[C]:-1
(for state) =
{
1 = Frame {
}
2 = Frame {
}
3 = Frame {
}
4 = Frame {
}
5 = Frame {
}
}
(for control) = 2
index = 2
profitFrame = Frame {
0 =
text = FontString {
}
itemLinkText = FontString {
}
enabledLinks = true
}
qualityID = 2
itemCount = 0
itemData =
{
name = "Fetching Item.."
}
(*temporary) = defined =[C]:-1
(*temporary) = FontString {
0 =
}
(*temporary) = nil
(*temporary) = " x 0"
(*temporary) = "0"
(*temporary) = nil
(*temporary) = "attempt to concatenate field 'link' (a nil value)"

It seems to be item specific - I can't craft this item but the error won't pop up with other ones I can't make.

Edit: it also pops up for Fierce Illimited Diamond but not Elemental Lariat (I can make neither).
No sign of it for any recipes I can craft, though I could only check with Treatises since work orders are extremely hard to find.

No player named '<itemid>' is currently playing.

When shift-clicking an item from chat to look at it in the dressing room, this message pops up where is the item ID of the item in question.

For example, a Drakebreaker's Mallet has item ID 199094. When shift-clicking to look at it in the dressing room from a chat window, the message "No player named '199094' is currently playing." pops up.

Feature request: price override - not less than

Right now I am using Auctionator and sometimes when I do scan when some craft reagens display at very low price. It happends because that price was actually lowest, but had only 1 item of it (either it was just lazy seller or low price baiter). Meanwhile it is possible to override that price it is not always comfortable way, because "average" price may vary a lot. It could be much better if override had option like "Override if price is lower than X" or something which could do something similar.

Material Bonus capping incorrectly in Sim Mode?

Since the last update, it seems like new crafts are having the material bonus capped as if they're recrafts or something?

E.g. I have a new craft of a 280 difficulty recipe. It should be able to get 70 skill (25%) material bonus, but in sim mode it caps at 34.6

nil check: CraftSimFRAME:UpdateSimModeFrames fails when item has no texture

Trace:

3x Usage: self:SetNormalTexture(asset)
[string "=[C]"]: in function `SetNormalTexture'
[string "@CraftSim/Frames.lua"]:1310: in function `UpdateSimModeFrames'
[string "@CraftSim/SimMode.lua"]:71: in function `InitSimModeData'
[string "@CraftSim/CraftSim.lua"]:343: in function `TriggerModulesByRecipeType'
[string "@CraftSim/CraftSim.lua"]:100: in function <CraftSim/CraftSim.lua:99>

This should fix it:

            if itemData.itemTexture then 
                inputFrame.icon:SetNormalTexture(itemData.itemTexture)
            end

recipeinfo

2x CraftSim/CraftSim.lua:165: attempt to index local 'recipeInfo' (a nil value)
[string "@CraftSim/CraftSim.lua"]:165: in function <CraftSim/CraftSim.lua:160>
[string "=[C]"]: ?
[string "=[C]"]: in function Hide' [string "@FrameXML/UIParent.lua"]:3355: in function <FrameXML/UIParent.lua:3350> [string "=[C]"]: ? [string "=[C]"]: in function securecall'
[string "@FrameXML/UIParent.lua"]:3393: in function <FrameXML/UIParent.lua:3362>
[string "=[C]"]: in function `CloseWindows'
[string "@DeModal/core/DeModalMixin.lua"]:61: in function <DeModal/core/DeModalMixin.lua:58>
[string "=[C]"]: ?

Locals:
professionInfo =

{
skillLevel = 1
professionID = 2592
skillModifier = 0
displayName = "Fishing"
parentProfessionName = "Fishing"
parentProfessionID = 356
profession = 10
isPrimaryProfession = false
professionName = "Classic Fishing"
maxSkillLevel = 300
expansionName = "Classic"
}
profession = "Fishing"
recipeInfo = nil
(*temporary) =
{
}
(*temporary) = nil
(*temporary) = "attempt to index local 'recipeInfo' (a nil value)"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.