BigWigsMods / oRA3

Raid and Party Assist.
19 stars 21 forks source link

Lua errors with latest #123

Closed MysticalOS closed 1 year ago

MysticalOS commented 1 year ago
3x oRA3/modules/Cooldowns/Cooldowns.lua:198: bad argument #1 to '(for generator)' (table expected, got nil)
[string "=[C]"]: in function `(for generator)'
[string "@oRA3/modules/Cooldowns/Cooldowns.lua"]:198: in function <oRA3/modules/Cooldowns/Cooldowns.lua:196>
[string "@oRA3/modules/Cooldowns/Cooldowns.lua"]:1303: in function `?'
[string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:114: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:114>
[string "=[C]"]: ?
[string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20>
[string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:59: in function `Fire'
[string "@oRA3/oRA3.lua"]:420: in function `OnGroupChanged'
[string "@oRA3/oRA3.lua"]:570: in function `?'
[string "@oRA3/oRA3.lua"]:234: in function <oRA3/oRA3.lua:229>
6x oRA3/modules/Cooldowns/Cooldowns.lua:79: attempt to index field '?' (a nil value)
[string "@oRA3/modules/Cooldowns/Cooldowns.lua"]:79: in function `IsSpellUsable'
[string "@oRA3/modules/Cooldowns/Displays/Bars.lua"]:442: in function `UpdatePlayerCooldowns'
[string "@oRA3/modules/Cooldowns/Displays/Bars.lua"]:467: in function `?'
[string "@oRA3/oRA3.lua"]:234: in function <oRA3/oRA3.lua:229>

Locals:
self = <table> {
 SetDefaultModuleLibraries = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:363
 EnableModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:328
 modules = <table> {
 }
 CheckFilter = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:100
 IterateEmbeds = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
 enabled = true
 PLAYER_REGEN_DISABLED = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1455
 GetRemainingCharges = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:154
 OnCommReceived = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1218
 defaultModuleState = true
 RegisterDisplayType = <function> defined @oRA3/modules/Cooldowns/Registry.lua:17
 IsEnabled = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:447
 ScheduleTimer = <function> defined @Ace3/AceTimer-3.0/AceTimer-3.0.lua:94
 DisableModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:346
 UNIT_CONNECTION = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1318
 GetDisplayOptionsTable = <function> defined @oRA3/modules/Cooldowns/Registry.lua:42
 AddContainer = <function> defined @oRA3/modules/Cooldowns/Container.lua:228
 OnShutdown = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1139
 db = <table> {
 }
 SetEnabledState = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
 enabledState = true
 OnPlayerUpdate = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1274
 GetCharges = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:150
 GetPlayerFromGUID = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:70
 IterateModules = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:433
 OnStartup = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1114
 IsSpellUsable = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:76
 OnProfileShutdown = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:992
 PLAYER_LOGOUT = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1165
 SPELL_UPDATE_COOLDOWN = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1201
 Enable = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:290
 PLAYER_ENTERING_WORLD = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1193
 GetModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:206
 GetCooldown = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:134
 TimeLeft = <function> defined @Ace3/AceTimer-3.0/AceTimer-3.0.lua:172
 ScheduleRepeatingTimer = <function> defined @Ace3/AceTimer-3.0/AceTimer-3.0.lua:129
 CancelAllTimers = <function> defined @Ace3/AceTimer-3.0/AceTimer-3.0.lua:160
 OpenDisplayOptions = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:871
 GetName = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:275
 RegisterCallback = <function> defined @Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
 UNIT_HEALTH = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1326
 UnregisterCallback = <function> defined @Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
 orderedModules = <table> {
 }
 Disable = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:310
 OnPlayerRemove = <function> defined @oRA3/modules/Cooldowns/Cooldowns.lua:1306
 classLookup = <table> {
 }
 IsModule = <function> defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:213
 GetRemainingCooldown = <function> defined @oRA3/modules/C
nebularg commented 1 year ago

thanks, added a table entry for Evoker to prevent errors