seblindfors / ConsolePort

ConsolePort - Game Controller Addon for World of Warcraft
Artistic License 2.0
182 stars 39 forks source link

Error using Rogues Combat Stance / Shapeshift action bar #113

Open conyerbd opened 2 months ago

conyerbd commented 2 months ago

Tested with a fresh install of wow on both W11 and SteamDeck, reinstalled add-on, no other add-ons installed.

While in stealth and using an ability, including navigating the ConsolePort UI, you are presented with a LUA error similar to the one below. All action bars are cleared and empty except for any ability placed in 'Action Button 1' on 'Page 7' which refers to the action bar present with Stealth is active. Removing the ability from this bar resolved the issue. It does not matter what ability is placed on this action bar. Placing an ability in any of the Action Bar slots on that action bar cause the same error.

The results are the same on both my W11 desktop and SteamDeck.

Message: ...nterface/AddOns/ConsolePort_Config/Bindings/Info.lua:203: attempt to call global 'GetSpellInfo' (a nil value)
Time: Thu Aug 29 20:47:46 2024
Count: 2
Stack: ...nterface/AddOns/ConsolePort_Config/Bindings/Info.lua:203: attempt to call global 'GetSpellInfo' (a nil value)
[string "@Interface/AddOns/ConsolePort_Config/Bindings/Info.lua"]:203: in function `ConvertTextToBonusBar'
[string "@Interface/AddOns/ConsolePort_Config/Bindings/Info.lua"]:252: in function `GetBindingInfo'
[string "@Interface/AddOns/ConsolePort_Config/Splash/Overview.lua"]:177: in function `UpdateState'
[string "@Interface/AddOns/ConsolePort_Config/Splash/Overview.lua"]:61: in function <...erface/AddOns/ConsolePort_Config/Splash/Overview.lua:60>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/ConsolePort/Widget/Container/Container.lua"]:180: in function `ShowPanel'
[string "@Interface/AddOns/ConsolePort/Widget/Container/Container.lua"]:240: in function <...ce/AddOns/ConsolePort/Widget/Container/Container.lua:238>

Locals: self = <table> {
 BindingPrefix = "BINDING_NAME_%s"
 NotBoundColor = "%s"
 DictCounter = 336
 Bindings = <table> {
 }
 DisplayFormat = "%s
%s"
 ActionNameHandlers = <table> {
 }
 Custom = <table> {
 }
 Actionbar = <table> {
 }
 HeaderPrefix = "BINDING_%s"
 Headers = <table> {
 }
}
text = "Action Button 1"
page = 7
actionID = 73
(for index) = 1
(for limit) = 1
(for step) = 1
i = 1
_ = 136047
isActive = true
_ = true
spellID = 1784
(*temporary) = "%s (%s)"
(*temporary) = "Action Button 1"
(*temporary) = nil
(*temporary) = 1784
(*temporary) = "attempt to call global 'GetSpellInfo' (a nil value)"