1x tdBattlePetScript/Extension/Round.lua:38: attempt to index field 'rounds' (a nil value)
BigFire321 opened this issue ยท 2 comments
1x tdBattlePetScript/Extension/Round.lua:38: attempt to index field 'rounds' (a nil value)
[string "@tdBattlePetScript/Extension/Round.lua"]:38: in function OnBattleStart' [string "@tdBattlePetScript/Core/Manager/BattleCacheManager.lua"]:40: in function
?'
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:119: in function <...ded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:29: in function <...ded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@ActionBarSaverReloaded/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...nBarSaverReloaded/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals:
self =
SetDefaultModuleLibraries = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:367
Enable = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:294
UnregisterAllEvents = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
EnableModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:332
modules =
}
GetModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:210
IterateEmbeds = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:442
defaultModuleLibraries =
}
GetName = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:279
name = "tdBattlePetScript_BattleCacheManager_Round"
PET_BATTLE_PET_ROUND_RESULTS = defined @tdBattlePetScript/Extension/Round.lua:20
IsEnabled = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:451
orderedModules =
}
DisableModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:350
OnBattleStart = defined @tdBattlePetScript/Extension/Round.lua:37
RegisterMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
IsModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:217
SetDefaultModuleState = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:387
GetRoundByOwner = defined @tdBattlePetScript/Extension/Round.lua:47
SetEnabledState = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:424
baseName = "tdBattlePetScript"
enabledState = true
GetRound = defined @tdBattlePetScript/Extension/Round.lua:43
RegisterEvent = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
SendMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
SetDefaultModulePrototype = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:409
OnEnable = defined @tdBattlePetScript/Extension/Round.lua:9
IterateModules = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:437
NewModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:235
defaultModuleState = true
PET_BATTLE_PET_CHANGED = defined @tdBattlePetScript/Extension/Round.lua:31
moduleName = "Round"
UnregisterEvent = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
Disable = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:314
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'rounds' (a nil value)"
[string "@tdBattlePetScript/Extension/Round.lua"]:38: in function OnBattleStart' [string "@tdBattlePetScript/Core/Manager/BattleCacheManager.lua"]:40: in function
?'
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:119: in function <...ded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:29: in function <...ded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@ActionBarSaverReloaded/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...nBarSaverReloaded/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals:
self =
SetDefaultModuleLibraries = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:367
Enable = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:294
UnregisterAllEvents = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
EnableModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:332
modules =
}
GetModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:210
IterateEmbeds = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:442
defaultModuleLibraries =
}
GetName = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:279
name = "tdBattlePetScript_BattleCacheManager_Round"
PET_BATTLE_PET_ROUND_RESULTS = defined @tdBattlePetScript/Extension/Round.lua:20
IsEnabled = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:451
orderedModules =
}
DisableModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:350
OnBattleStart = defined @tdBattlePetScript/Extension/Round.lua:37
RegisterMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
IsModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:217
SetDefaultModuleState = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:387
GetRoundByOwner = defined @tdBattlePetScript/Extension/Round.lua:47
SetEnabledState = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:424
baseName = "tdBattlePetScript"
enabledState = true
GetRound = defined @tdBattlePetScript/Extension/Round.lua:43
RegisterEvent = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
SendMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
SetDefaultModulePrototype = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:409
OnEnable = defined @tdBattlePetScript/Extension/Round.lua:9
IterateModules = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:437
NewModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:235
defaultModuleState = true
PET_BATTLE_PET_CHANGED = defined @tdBattlePetScript/Extension/Round.lua:31
moduleName = "Round"
UnregisterEvent = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
Disable = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:314
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'rounds' (a nil value)"
1x tdBattlePetScript_Rematch/Addon.lua:21: attempt to index global 'RematchSettings' (a nil value)
[string "@tdBattlePetScript_Rematch/Addon.lua"]:21: in function <tdBattlePetScript_Rematch/Addon.lua:20>
[string "=(tail call)"]: ?
[string "=[C]"]: in function xpcall' [string "@tdBattlePetScript/Core/Director.lua"]:209: in function
Select'
[string "@tdBattlePetScript/UI/PetBattle.lua"]:278: in function UpdateScriptList' [string "@tdBattlePetScript/UI/PetBattle.lua"]:240: in function
?'
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:119: in function <...ded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:29: in function <...ded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@ActionBarSaverReloaded/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@ActionBarSaverReloaded/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...nBarSaverReloaded/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals:
self =
SetDefaultModuleLibraries = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:367
Enable = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:294
NewModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:235
EnableModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:332
modules =
}
GetModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:210
IterateEmbeds = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:442
SecureHook = defined @Plexus/Libs/AceHook-3.0/AceHook-3.0.lua:335
defaultModuleLibraries =
}
RawHookScript = defined @Plexus/Libs/AceHook-3.0/AceHook-3.0.lua:394
OnDisable = defined @tdBattlePetScript_Rematch/UI.lua:237
hooks =
}
_title = "Rematch"
baseName = "tdBattlePetScript_Rematch"
SetDefaultModulePrototype = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:409
OnExport = defined @tdBattlePetScript_Rematch/UI.lua:249
OnImport = defined @tdBattlePetScript_Rematch/UI.lua:256
IterateKeys = defined @tdBattlePetScript_Rematch/Addon.lua:24
name = "tdBattlePetScript_PluginManager_Rematch"
_icon = "Interface\Icons\PetJournalPortrait"
IsEnabled = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:451
orderedModules =
}
OnTooltipFormatting = defined @tdBattlePetScript_Rematch/Addon.lua:49
DisableModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:350
NewClass = defined @tdBattlePetScript/Libs/tdGUI/Libs/LibClass-2.0/Class-2.0.lua:322
OnEnable = defined @tdBattlePetScript_Rematch/UI.lua:52
GetPetTip = defined @tdBattlePetScript_Rematch/Addon.lua:36
GetTitleByKey = defined @tdBattlePetScript_Rematch/Addon.lua:32
RegisterMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
FindMenuItem = defined @tdBattlePetScript_Rematch/UI.lua:241
GetCurrentKey = defined @tdBattlePetScript_Rematch/Addon.lua:20
IsHooked = defined @Plexus/Libs/AceHook-3.0/AceHook-3.0.lua:492
OnInitialize = defined @tdBattlePetScript_Rematch/Addon.lua:13
GetClass = defined @tdBattlePetScript/Libs/tdGUI/Libs/LibClass-2.0/Class-2.0.lua:332
IsModule = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:217
_notes = "This script selector will be bound to Rematch team."
SetDefaultModuleState = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:387
SendMessage = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
UnhookAll = defined @Plexus/Libs/AceHook-3.0/AceHook-3.0.lua:476
SetEnabledState = defined @ActionBarSaverReloaded/Libs/AceAddon-3.0/AceAddon-3.0.lua:424
Hook = defined @Plexus/Libs/AceHook-3.0/AceHook-3.0.lua:273
enabledState = true
Unhook = defined @Plexus/Libs/AceHook-3.0/AceHook-3.0.lua:417
RegisterEvent = defined @ActionBarSaverReloaded/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessag
I just went ahead and delete both of them and reinstall just the petscript. It now looks better.