CovenantMissionHelper

CovenantMissionHelper

2M Downloads

Catch the Anima Smugglers

MrRawrrino89 opened this issue ยท 4 comments

commented

Message: Interface\AddOns\CovenantMissionHelper\Unit.lua:50: attempt to index field '?' (a nil value)
Time: Sat Jul 3 14:13:37 2021
Count: 3
Stack: Interface\AddOns\CovenantMissionHelper\Unit.lua:50: attempt to index field '?' (a nil value)
[string "@interface\AddOns\CovenantMissionHelper\Unit.lua"]:50: in function getAttackType' [string "@Interface\AddOns\CovenantMissionHelper\Unit.lua"]:61: in function setSpells'
[string "@interface\AddOns\CovenantMissionHelper\Unit.lua"]:43: in function new' [string "@Interface\AddOns\CovenantMissionHelper\Board.lua"]:69: in function new'
[string "@interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:51: in function <...dOns\CovenantMissionHelper\CovenantMissionHelper.lua:49>
[string "@interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:60: in function simulateFight' [string "@Interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:43: in function <...dOns\CovenantMissionHelper\CovenantMissionHelper.lua:35> [string "=[C]"]: in function UpdateAllyPower'
[string "@interface\AddOns\Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua"]:341: in function ShowMission' [string "@Interface\AddOns\VenturePlan\Util.lua"]:206: in function ShowMission'
[string "@interface\AddOns\VenturePlan\Widgets.lua"]:242: in function <Interface\AddOns\VenturePlan\Widgets.lua:241>

Locals: self =

{
role = 1
ID = 3522524
reflect = 0
startHealth = 560
spells =
{
}
untargetable = false
currentHealth = 560
name = "Anima Smuggler"
boardIndex = 6
buffs =
{
}
maxHealth = 560
attack = 44
}
autoCombatSpells =
{
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
CMH =
{
Spell =
{
}
Board =
{
}
isDebug = false
Unit =
{
}
log = defined @interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua:192
TargetManager =
{
}
MetaBoard =
{
}
Buff =
{
}
debug_log = defined @interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua:199
DataTables =
{
}
}

commented

I just want to report I get a similar error, on multiple toons...most of my addons are disabled until they get updated.

thanks for the great work

commented

here is my error message

Message: Interface\AddOns\CovenantMissionHelper\Unit.lua:50: attempt to index field '?' (a nil value)
Time: Tue Jul 6 07:14:53 2021
Count: 1
Stack: Interface\AddOns\CovenantMissionHelper\Unit.lua:50: attempt to index field '?' (a nil value)
[string "=[C]"]: ?
[string "@interface\AddOns\CovenantMissionHelper\Unit.lua"]:50: in function getAttackType' [string "@Interface\AddOns\CovenantMissionHelper\Unit.lua"]:61: in function setSpells'
[string "@interface\AddOns\CovenantMissionHelper\Unit.lua"]:43: in function new' [string "@Interface\AddOns\CovenantMissionHelper\Board.lua"]:69: in function new'
[string "@interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:51: in function <...dOns\CovenantMissionHelper\CovenantMissionHelper.lua:49>
[string "@interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:60: in function simulateFight' [string "@Interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:43: in function <...dOns\CovenantMissionHelper\CovenantMissionHelper.lua:35> [string "=[C]"]: ? [string "=[C]"]: in function UpdateAllyPower'
[string "@interface\AddOns\Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua"]:341: in function <...s\Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua:292>
[string "=[C]"]: in function ShowMission' [string "@Interface\AddOns\VenturePlan\Util.lua"]:206: in function ShowMission'
[string "@interface\AddOns\VenturePlan\Widgets.lua"]:242: in function <Interface\AddOns\VenturePlan\Widgets.lua:241>

Locals:

commented

and page 2

Message: Interface\AddOns\CovenantMissionHelper\Unit.lua:50: attempt to index field '?' (a nil value)
Time: Tue Jul 6 07:14:55 2021
Count: 1
Stack: Interface\AddOns\CovenantMissionHelper\Unit.lua:50: attempt to index field '?' (a nil value)
[string "=[C]"]: ?
[string "@interface\AddOns\CovenantMissionHelper\Unit.lua"]:50: in function getAttackType' [string "@Interface\AddOns\CovenantMissionHelper\Unit.lua"]:61: in function setSpells'
[string "@interface\AddOns\CovenantMissionHelper\Unit.lua"]:43: in function new' [string "@Interface\AddOns\CovenantMissionHelper\Board.lua"]:69: in function new'
[string "@interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:51: in function <...dOns\CovenantMissionHelper\CovenantMissionHelper.lua:49>
[string "@interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:60: in function simulateFight' [string "@Interface\AddOns\CovenantMissionHelper\CovenantMissionHelper.lua"]:43: in function <...dOns\CovenantMissionHelper\CovenantMissionHelper.lua:35> [string "=[C]"]: ? [string "=[C]"]: in function UpdateAllyPower'
[string "@interface\AddOns\Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua"]:677: in function <...s\Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua:638>
[string "=[C]"]: in function AssignFollowerToMission' [string "@Interface\AddOns\Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua"]:995: in function AddFollower'
[string "@interface\AddOns\VenturePlan\Widgets.lua"]:502: in function <Interface\AddOns\VenturePlan\Widgets.lua:486>

Locals:

commented

replace Unit.lua line 43 with:

    if blizzardUnitInfo.autoCombatSpells and next(blizzardUnitInfo.autoCombatSpells) ~= nil then
        newObj:setSpells(blizzardUnitInfo.autoCombatSpells)
    end