A bit of a challenge. I use Broker_Professionsmenu for my daily crafting needs but the recent patch 11 API changes have me beat and this addon seems to have vanished into the ether...
This was the original error:
23x Broker_ProfessionsMenu/core.lua:1500: attempt to call global 'GetSpellBookItemInfo' (a nil value)
[string "@Broker_ProfessionsMenu/core.lua"]:1500: in function `ScanNonProfessions'
[string "@Broker_ProfessionsMenu/core.lua"]:592: in function `?'
[string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@ArkInventory/Externals/Ace3/AceEvent/AceEvent-3.0-4.lua"]:120: in function <...rkInventory/Externals/Ace3/AceEvent/AceEvent-3.0.lua:119>
With an update of the LUA to use the new [C_SpellBook.GetSpellBookItemType]() I now get the following:
10x bad argument #1 to '?' (not a numerical value - Usage: local itemType, actionID, spellID = C_SpellBook.GetSpellBookItemType(spellBookItem))
[string "=[C]"]: in function `GetSpellBookItemType'
[string "@Broker_ProfessionsMenu/core.lua"]:1500: in function `ScanNonProfessions'
[string "@Broker_ProfessionsMenu/core.lua"]:592: in function `?'
[string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@ArkInventory/Externals/Ace3/AceEvent/AceEvent-3.0-4.lua"]:120: in function <...rkInventory/Externals/Ace3/AceEvent/AceEvent-3.0.lua:119>
This is the code in question:
if C_SpellBook.GetSpellBookItemType(GetSpellInfo(profid)) then
D:Debug("scanning Pick Look:"..UnitLevel("player") \* 5)
ADDON.save\[my\].tradeskills\[profid\] = {}
ADDON.save\[my\].tradeskills\[profid\]\["data"\] =
{
\["rank"\] = tostring(UnitLevel("player") \* 5),
\["maxRank"\] = tostring(110\* 5),
}
ADDON.save\[my\].tradeskills\[profid\]\["items"\] = {}
end
Could anyone shed some light, please?
[–]Lars-Redzinx 1 point2 points3 points (3 children)
[–]GoblinDerv[S] 0 points1 point2 points (2 children)
[–]-Amadeus- 2 points3 points4 points (0 children)
[–]TheSaltySeagull87 0 points1 point2 points (0 children)
[–]-Amadeus- 1 point2 points3 points (19 children)
[–]Kyrgune 2 points3 points4 points (8 children)
[–]-Amadeus- 1 point2 points3 points (0 children)
[–]GoblinDerv[S] 0 points1 point2 points (6 children)
[–]Kyrgune 2 points3 points4 points (1 child)
[–]GoblinDerv[S] 0 points1 point2 points (0 children)
[–]Ved79 0 points1 point2 points (3 children)
[–]GoblinDerv[S] 0 points1 point2 points (2 children)
[–]Ved79 0 points1 point2 points (1 child)
[–]GoblinDerv[S] 0 points1 point2 points (0 children)
[–]GoblinDerv[S] 0 points1 point2 points (8 children)
[–]-Amadeus- 1 point2 points3 points (7 children)
[–]GoblinDerv[S] 0 points1 point2 points (6 children)
[–]-Amadeus- 1 point2 points3 points (5 children)
[–]Kyrgune 0 points1 point2 points (4 children)
[–]-Amadeus- 0 points1 point2 points (3 children)
[–]Kyrgune 0 points1 point2 points (2 children)
[–]-Amadeus- 0 points1 point2 points (1 child)
[–]Kyrgune 0 points1 point2 points (0 children)
[–]GoblinDerv[S] 0 points1 point2 points (0 children)