Dololo

1 『交易』製造模擬器 CraftSim

幫忙計算使用最低成本的材料製造出最高品質的物品。
作  者 genju @ Curse
譯  者 Tmv3v, 彩虹ui


使用方法:

  • 打開專業製造視窗時會自動顯示。
  • 從 Esc > 選項 > 插件 > 專業-模擬器,進行設定。
檔案名稱 檔案版本 檔案大小 下載次數 上傳時間 註  記 上傳者
CraftSim-5.5.2.2-Fix.zip 巨龍崛起 5.5.2.2 修正版 191.64 KB 150 2023-01-26 - 嘗試修正 Lua 錯誤:
CraftSim/Data/SpecNodeData/SpecData.lua:240: attempt to index local 'nodeInfo' (a nil value)
Dololo
檔案名稱 檔案版本 檔案大小 下載次數 上傳時間 註  記 上傳者
CraftSim-5.5.2.2.zip 巨龍崛起 5.5.2.2 191.60 KB 45 2023-01-26 - 支援魔獸世界 10.0.5。 Dololo
CraftSim-1.7.8.zip 巨龍崛起 1.7.8 149.96 KB 267 2023-01-12 Dololo

小花生 · 2023-01-26 17:25:06

不好意思,請問一下
這個錯誤應該怎麼解決7x ...rface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:240: attempt to index local 'nodeInfo' (a nil value)
[string "@Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua"]:240: in function <...rface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:223>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/CraftSim/Data/DataExport.lua"]:852: in function `exportRecipeData'
[string "@Interface/AddOns/CraftSim/Main/CraftSim.lua"]:409: in function `TriggerModulesByRecipeType'
[string "@Interface/AddOns/CraftSim/Main/CraftSim.lua"]:146: in function `TriggerModulesErrorSafe'
[string "@Interface/AddOns/CraftSim/Main/CraftSim.lua"]:179: in function <Interface/AddOns/CraftSim/Main/CraftSim.lua:164>
[string "=[C]"]: ?
[string "=[C]"]: in function `Init'
[string "@Interface/AddOns/Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:191: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:185>
[string "=[C]"]: in function `Show'
[string "@Interface/FrameXML/UIParent.lua"]:3218: in function <Interface/FrameXML/UIParent.lua:3204>
[string "=[C]"]: ?
[string "=[C]"]: in function `ShowUIPanel'
[string "@Interface/FrameXML/UIParent.lua"]:2049: in function <Interface/FrameXML/UIParent.lua:1409>

Locals:
self = <table> {
GetIDsFromChildNodesCached = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:9
RULE_NODES = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:274
GetNodes = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:295
affectsRecipeByIDs = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:98
GetExtraItemFactors = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:223
GetSpecExtraItemFactorsByRecipeData = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:258
GetStatsFromSpecNodeData = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:125
BASE_RULE_NODES = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:284
GetIDsFromChildNodes = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:21
}
recipeData = <table> {
hasReagentsWithQuality = true
isEnchantingRecipe = false
baseDifficulty = 400
stats = <table> {
}
maxQuality = 5
possibleSalvageReagents = <table> {
}
recipeID = 376500
currentTransaction = <table> {
}
bonusDifficulty = 0
categoryID = 1665
numSkillUps = 1
recipeDifficulty = 400
learned = true
isRecraft = false
result = <table> {
}
hasSingleItemOutput = true
baseItemAmount = 1
isSalvageRecipe = false
possibleOptionalReagents = <table> {
}
operationInfo = <table> {
}
recipeName = "藍織布長袍"
professionID = 7
finishingReagents = <table> {
}
optionalReagents = <table> {
}
recipeType = 1
possibleFinishingReagents = <table> {
}
numReagentsWithQuality = 2
professionInfo = <table> {
}
expectedQuality = 3
recipeIcon = 4073851
subtypeID = 1
reagents = <table> {
}
}
ruleNodes = <table> {
SPARING_SEWING_1 = <table> {
}
SPARING_SEWING_4 = <table> {
}
SPARING_SEWING_2 = <table> {
}
SPARING_SEWING_3 = <table> {
}
}
skillLineID = 0
configID = 0
extraItemFactors = <table> {
multicraftExtraItemsFactor = 1
resourcefulnessExtraItemsFactor = 1
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
SPARING_SEWING_1 = <table> {
}
SPARING_SEWING_4 = <table> {
}
SPARING_SEWING_2 = <table> {
}
SPARING_SEWING_3 = <table> {
}
}
(for control) = "SPARING_SEWING_1"
thresholdName = "SPARING_SEWING_1"
nodeData = <table> {
nodeID = 40006
resourcefulnessExtraItemsFactor = 0.050000
idMapping = <table> {
}
threshold = 0
}
nodeInfo = nil
IDs = <table> {
idMapping = <table> {
}
exceptionRecipeIDs = <table> {
}
}
(*temporary) = <table> {
GetIDsFromChildNodesCached = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:9
RULE_NODES = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:274
GetNodes = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:295
affectsRecipeByIDs = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:98
GetExtraItemFactors = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:223
GetSpecExtraItemFactorsByRecipeData = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:258
GetStatsFromSpecNodeData = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:125
BASE_RULE_NODES = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:284
GetIDsFromChildNodes = <function> defined @Interface/AddOns/CraftSim/Data/SpecNodeData/SpecData.lua:21
}
(*temporary) = <table> {
nodeID = 40006
resourcefulnessExtraItemsFactor = 0.050000
idMapping = <table> {
}
threshold = 0
}
(*temporary) = <table> {
SPARING_SEWING_1 = <table> {
}
SPARING_SEWING_4 = <table> {
}
SPARING_SEWING_2 = <table> {
}
SPARING_SEWING_3 = <table> {
}
}
(*temporary) = <table> {
idMapping = <table> {
}
exceptionRecipeIDs = <table> {
}
}
(*temporary) = <table> {
GetCacheEntryByVersion = <function> defined @Interface/AddOns/CraftSim/Util/Cache.lua:40
AddCacheEntryByVersion = <function> defined @Interface/AddOns/CraftSim/U

Dololo · 2023-01-26 17:45:54

它抓不到專精資料,在設定選項中關閉實驗性功能看看,不確定是不是這個原因。

小花生 · 2023-01-26 19:58:04

有點奇怪 我實驗性功能都是關掉的
這是我的畫面
https://imgur.com/a/PKPNNmc
就只開了材料最佳化

另外選項裡面所有能打勾的我都是關掉的
但打開專業的時候還是會跳出下列這個錯誤18x ...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"]:3218: in function <FrameXML/UIParent.lua:3204>
[string "=[C]"]: ?
[string "=[C]"]: in function `ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:2049: in function <FrameXML/UIParent.lua:1409>

Locals:
self = <table> {
GetIDsFromChildNodesCached = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:9
RULE_NODES = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:274
GetNodes = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:295
affectsRecipeByIDs = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:98
GetExtraItemFactors = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:223
GetSpecExtraItemFactorsByRecipeData = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:258
GetStatsFromSpecNodeData = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:125
BASE_RULE_NODES = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:284
GetIDsFromChildNodes = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:21
}
recipeData = <table> {
hasReagentsWithQuality = true
isEnchantingRecipe = false
baseDifficulty = 400
stats = <table> {
}
maxQuality = 5
possibleSalvageReagents = <table> {
}
recipeID = 376500
currentTransaction = <table> {
}
bonusDifficulty = 0
categoryID = 1665
numSkillUps = 1
recipeDifficulty = 400
learned = true
isRecraft = false
result = <table> {
}
hasSingleItemOutput = true
baseItemAmount = 1
isSalvageRecipe = false
possibleOptionalReagents = <table> {
}
operationInfo = <table> {
}
recipeName = "藍織布長袍"
professionID = 7
finishingReagents = <table> {
}
optionalReagents = <table> {
}
recipeType = 1
possibleFinishingReagents = <table> {
}
numReagentsWithQuality = 2
professionInfo = <table> {
}
expectedQuality = 3
recipeIcon = 4073851
subtypeID = 1
reagents = <table> {
}
}
ruleNodes = <table> {
SPARING_SEWING_1 = <table> {
}
SPARING_SEWING_4 = <table> {
}
SPARING_SEWING_2 = <table> {
}
SPARING_SEWING_3 = <table> {
}
}
skillLineID = 0
configID = 0
extraItemFactors = <table> {
multicraftExtraItemsFactor = 1
resourcefulnessExtraItemsFactor = 1
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
SPARING_SEWING_1 = <table> {
}
SPARING_SEWING_4 = <table> {
}
SPARING_SEWING_2 = <table> {
}
SPARING_SEWING_3 = <table> {
}
}
(for control) = "SPARING_SEWING_1"
thresholdName = "SPARING_SEWING_1"
nodeData = <table> {
nodeID = 40006
resourcefulnessExtraItemsFactor = 0.050000
idMapping = <table> {
}
threshold = 0
}
nodeInfo = nil
IDs = <table> {
idMapping = <table> {
}
exceptionRecipeIDs = <table> {
}
}
(*temporary) = <table> {
GetIDsFromChildNodesCached = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:9
RULE_NODES = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:274
GetNodes = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:295
affectsRecipeByIDs = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:98
GetExtraItemFactors = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:223
GetSpecExtraItemFactorsByRecipeData = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:258
GetStatsFromSpecNodeData = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:125
BASE_RULE_NODES = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:284
GetIDsFromChildNodes = <function> defined @CraftSim/Data/SpecNodeData/SpecData.lua:21
}
(*temporary) = <table> {
nodeID = 40006
resourcefulnessExtraItemsFactor = 0.050000
idMapping = <table> {
}
threshold = 0
}
(*temporary) = <table> {
SPARING_SEWING_1 = <table> {
}
SPARING_SEWING_4 = <table> {
}
SPARING_SEWING_2 = <table> {
}
SPARING_SEWING_3 = <table> {
}
}
(*temporary) = <table> {
idMapping = <table> {
}
exceptionRecipeIDs = <table> {
}
}
(*temporary) = <table> {
GetCacheEntryByVersion = <function> defined @CraftSim/Util/Cache.lua:40
AddCacheEntryByVersion = <function> defined @CraftSim/U
 

Dololo · 2023-01-26 20:08:00

請試試看,到 Curseforge 下載安裝原版的,是否還會發生這個錯誤。

小花生 · 2023-01-26 20:20:41

也還是一樣報錯了

Dololo · 2023-01-26 20:22:25

請再試試,關閉所有插件,只載入這個插件。

小花生 · 2023-01-26 20:27:52

我關閉了除了函式庫、BugGrabber、NoTaint,還有插件管理員以外的所有UI,保留了製造模擬器,打開專業時依舊有報錯

Dololo · 2023-01-26 20:40:35

那就得等插件更新了。

小花生 · 2023-01-26 20:54:19

好的

小花生 · 2023-01-26 20:56:21

另外想請教一下,我每次換角色上線就會跳這個錯誤
想要請教一下這是什麼原因?7x Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: HelpOpenWebTicketButton:SetPoint.
[string "=[C]"]: ?
[string "=[C]"]: in function `SetPoint'
[string "@FrameXML/MainMenuBarMicroButtons.lua"]:1369: in function `UpdateHelpTicketButtonAnchor'
[string "@FrameXML/EditModeSystemTemplates.lua"]:1827: in function `ApplySystemAnchor'
[string "@FrameXML/EditModeSystemTemplates.lua"]:270: in function `UpdateSystem'
[string "@FrameXML/EditModeSystemTemplates.lua"]:1831: in function `UpdateSystem'
[string "@FrameXML/EditModeManager.lua"]:1039: in function `UpdateSystem'
[string "@FrameXML/EditModeManager.lua"]:1027: in function <FrameXML/EditModeManager.lua:1026>
[string "=[C]"]: in function `secureexecuterange'
[string "@FrameXML/EditModeManager.lua"]:1029: in function `UpdateSystems'
[string "@FrameXML/EditModeManager.lua"]:899: in function `UpdateLayoutInfo'
[string "@FrameXML/EditModeManager.lua"]:238: in function <FrameXML/EditModeManager.lua:235>

Locals:
(*temporary) = HelpOpenWebTicketButton {
0 = <userdata>
SetScale = <function> defined =[C]:-1
DriftHookSet = true
SetPoint = <function> defined =[C]:-1
refreshTime = 0
DriftModifiable = true
}
(*temporary) = "CENTER"
(*temporary) = CharacterMicroButton {
0 = <userdata>
OnEnter = <function> defined @FrameXML/MainMenuBarMicroButtons.lua:422
FlashBorder = Texture {
}
QuickKeybindButtonOnShow = <function> defined @FrameXML/QuickKeybind.lua:4
QuickKeybindButtonOnEnter = <function> defined @FrameXML/QuickKeybind.lua:22
DoModeChange = <function> defined @FrameXML/QuickKeybind.lua:95
QuickKeybindButtonOnUpdate = <function> defined @FrameXML/QuickKeybind.lua:75
tooltipText = "角色資訊 |cffffd100(C)|r"
QuickKeybindButtonOnLeave = <function> defined @FrameXML/QuickKeybind.lua:33
OnMouseDown = <function> defined @FrameXML/MainMenuBarMicroButtons.lua:450
QuickKeybindButtonSetTooltip = <function> defined @FrameXML/QuickKeybind.lua:52
OnLoad = <function> defined @FrameXML/MainMenuBarMicroButtons.lua:445
QuickKeybindHighlightTexture = Texture {
}
SetPushed = <function> defined @FrameXML/MainMenuBarMicroButtons.lua:488
FlashContent = Texture {
}
OnEvent = <function> defined @FrameXML/MainMenuBarMicroButtons.lua:482
layoutIndex = 1
SetNormal = <function> defined @FrameXML/MainMenuBarMicroButtons.lua:492
commandName = "TOGGLECHARACTER0"
OnMouseUp = <function> defined @FrameXML/MainMenuBarMicroButtons.lua:462
UpdateMouseWheelHandler = <function> defined @FrameXML/QuickKeybind.lua:86
QuickKeybindButtonOnHide = <function> defined @FrameXML/QuickKeybind.lua:11
QuickKeybindButtonOnMouseWheel = <function> defined @FrameXML/QuickKeybind.lua:46
QuickKeybindButtonOnClick = <function> defined @FrameXML/QuickKeybind.lua:16
}
(*temporary) = "CENTER"
(*temporary) = 0
(*temporary) = 25

Dololo · 2023-01-26 21:01:57

Dololo · 2023-01-26 22:05:21

我剛上傳了一個修正版,請更新後再試試看。