Ovale Spell Priority

Ovale Spell Priority

6M Downloads

LUA-Error since 8.2.5 at my Boomie (attempt to index local 'spellPowerCosts')

Chesslion opened this issue ยท 1 comments

commented

1/3:

Message: Interface\AddOns\Ovale\dist\Power.lua:342: attempt to index local 'spellPowerCosts' (a nil value)
Time: Sun Sep 29 10:50:07 2019
Count: 1
Stack: Interface\AddOns\Ovale\dist\Power.lua:342: attempt to index local 'spellPowerCosts' (a nil value)
(tail call): ?
Interface\AddOns\Ovale\dist\BestAction.lua:680: in function <Interface\AddOns\Ovale\dist\BestAction.lua:621>
(tail call): ?
(tail call): ?
Interface\AddOns\Ovale\dist\BestAction.lua:85: in function `visitor'
Interface\AddOns\Ovale\dist\BestAction.lua:822: in function `RecursiveCompute'
Interface\AddOns\Ovale\dist\BestAction.lua:799: in function `PostOrderCompute'
Interface\AddOns\Ovale\dist\BestAction.lua:770: in function <Interface\AddOns\Ovale\dist\BestAction.lua:760>
(tail call): ?
Interface\AddOns\Ovale\dist\BestAction.lua:324: in function `visitor'
Interface\AddOns\Ovale\dist\BestAction.lua:822: in function `RecursiveCompute'
Interface\AddOns\Ovale\dist\BestAction.lua:799: in function `PostOrderCompute'
Interface\AddOns\Ovale\dist\BestAction.lua:770: in function `PostOrderCompute'
Interface\AddOns\Ovale\dist\BestAction.lua:751: in function `GetAction'
Interface\AddOns\Ovale\dist\Frame.lua:152: in function <Interface\AddOns\Ovale\dist\Frame.lua:123>
(tail call): ?

Locals: (*temporary) = 0.017000
(*temporary) = <function> defined =[C]:-1

2/3:

Message: Interface\AddOns\Ovale\dist\Power.lua:342: attempt to index local 'spellPowerCosts' (a nil value)
Time: Sun Sep 29 10:50:07 2019
Count: 1
Stack: Interface\AddOns\Ovale\dist\Power.lua:342: attempt to index local 'spellPowerCosts' (a nil value)
Interface\AddOns\Ovale\dist\BestAction.lua:324: in function visitor' Interface\AddOns\Ovale\dist\BestAction.lua:822: in function RecursiveCompute'
Interface\AddOns\Ovale\dist\BestAction.lua:799: in function PostOrderCompute' Interface\AddOns\Ovale\dist\BestAction.lua:770: in function PostOrderCompute'
Interface\AddOns\Ovale\dist\BestAction.lua:751: in function `GetAction'
Interface\AddOns\Ovale\dist\Frame.lua:152: in function <Interface\AddOns\Ovale\dist\Frame.lua:123>
(tail call): ?

Locals: element =

{
lowername = "balancedefaultshortcdactions"
rawPositionalParams =
{
}
timeSpan =
{
}
func = "BalanceDefaultShortCdActions"
positionalParams =
{
}
rawNamedParams =
{
}
namedParams =
{
}
name = "BalanceDefaultShortCdActions"
paramsAsString = ""
type = "custom_function"
nodeId = 7449
serial = -1
asString = "balancedefaultshortcdactions()"
}
atTime = 8309.462000
timeSpan =
{
}
result = nil
node =
{
asString = "AddFunction BalanceDefaultShortCdActions
{
spell(purifying_blast)
spell(ripple_in_space_essence)
unless spell(concentrated_flame_essence)
{
if buffpresent(reckless_force_buff) and target.DebuffPresent(moonfire) and target.DebuffPresent(sunfire_debuff) and { not talent(stellar_flare_talent) or target.DebuffPresent(stellar_flare_debuff) } spell(the_unbound_force)
spell(worldvein_resonance_essence)
spell(thorns)
unless spell(warrior_of_elune) or { az_ss() and not buffpresent(ca_inc) or not az_ss() and { buffpresent(ca_inc) or spellcooldown(ca_inc) > 30 } } and astralpower() >= astralpowercost(force_of_nature) and spell(force_of_nature)
{
if { buffpresent(ca_inc) or spellcooldown(ca_inc) > 30 } and astralpower() >= astralpowercost(solar_wrath) spell(fury_of_elune)
}
}
}"
rawPositionalParams =
{
}
child =
{
}
positionalParams =
{
}
rawNamedParams =
{
}
nodeId = 6225
name = "BalanceDefaultShortCdActions"
paramsAsString = ""
namedParams =
{
}
type = "add_function"
}
self =
{
ovaleCondition =
{
}
ovaleData =
{
}
ComputeIf = defined @interface\AddOns\Ovale\dist\BestAction.lua:404
ovaleActionBar =
{
}
ComputeGroup = defined @interface\AddOns\Ovale\dist\BestAction.lua:350
OvaleSpellBook =
{
}
variables =
{
}
self_timeSpan =
{
}
OvalePower =
{
}
self_valuePool =
{
}
ComputeArithmetic = defined @interface\AddOns\Ovale\dist\BestAction.lua:192
ovaleEquipment =
{
}
ComputeAction = defined @interface\AddOns\Ovale\dist\BestAction.lua:79
ComputeValue = defined @interface\AddOns\Ovale\dist\BestAction.lua:493
OvaleSpells =
{
}
ComputeCompare = defined @interface\AddOns\Ovale\dist\BestAction.lua:271
ComputeCustomFunction = defined @interface\AddOns\Ovale\dist\BestAction.lua:318
baseState =
{
}
COMPUTE_VISITOR =
{
}
ovalePaperDoll =
{
}
onInitialize = defined @interface\AddOns\Ovale\dist\BestAction.lua:63
ovaleState =
{
}
ComputeLua = defined @interface\AddOns\Ovale\dist\BestAction.lua:464
OvaleGUID =
{
}
ComputeFunction = defined @interface\AddOns\Ovale\dist\BestAction.lua:333
OnDisable = defined @interface\AddOns\Ovale\dist\BestAction.lua:66
self_serial = 20646
Ovale_ScriptChanged = defined @interface\AddOns\Ovale\dist\BestAction.lua:69
tracer =
{
}
profiler =
{
}
OvaleFuture =
{
}
module =
{
}
ComputeState = defined @interface\AddOns\Ovale\dist\BestAction.lua:476
ovaleCooldown =
{
}


3/3:

Message: Interface\AddOns\Ovale\dist\Power.lua:342: attempt to index local 'spellPowerCosts' (a nil value)
Time: Sun Sep 29 10:50:07 2019
Count: 4
Stack: Interface\AddOns\Ovale\dist\Power.lua:342: attempt to index local 'spellPowerCosts' (a nil value)

Locals:

commented

got similar issue. see below:

Date: 2019-10-11 18:38:58
ID: 1
Error occured in: Global
Count: 3
Message: ..\AddOns\Ovale\dist\Power.lua line 342:
attempt to index local 'spellPowerCosts' (a nil value)
Debug:
Ovale\dist\Power.lua:342: GetSpellCost()
Ovale\dist\Power.lua:525: getPowerCostAt()
Ovale\dist\Power.lua:572:
Ovale\dist\Power.lua:568
(tail call): ?
Ovale\dist\BestAction.lua:680:
Ovale\dist\BestAction.lua:621
(tail call): ?
(tail call): ?
Ovale\dist\BestAction.lua:85: visitor()
Ovale\dist\BestAction.lua:822: RecursiveCompute()
Ovale\dist\BestAction.lua:799: PostOrderCompute()
Ovale\dist\BestAction.lua:770:
Ovale\dist\BestAction.lua:760
(tail call): ?
Ovale\dist\BestAction.lua:324: visitor()
Ovale\dist\BestAction.lua:822: RecursiveCompute()
Ovale\dist\BestAction.lua:799: PostOrderCompute()
Ovale\dist\BestAction.lua:770:
Ovale\dist\BestAction.lua:760
(tail call): ?
Ovale\dist\BestAction.lua:324: visitor()
Ovale\dist\BestAction.lua:822: RecursiveCompute()
Ovale\dist\BestAction.lua:799: PostOrderCompute()
Ovale\dist\BestAction.lua:770: PostOrderCompute()
Ovale\dist\BestAction.lua:751: GetAction()
Ovale\dist\Frame.lua:152:
Ovale\dist\Frame.lua:123
(tail call): ?
Locals:
self =

{
ovaleAura =
{
}
current =
{
}
ovaleData =
{
}
ovalePaperDoll =
{
}
OnInitialize = defined @interface\AddOns\Ovale\dist\Power.lua:87
UNIT_MAXPOWER = defined @interface\AddOns\Ovale\dist\Power.lua:137
POWER_INFO =
{
}
ovaleSpellBook =
{
}
profiler =
{
}
OnDisable = defined @interface\AddOns\Ovale\dist\Power.lua:104
tracer =
{
}
module =
{
}
next =
{
}
UNIT_DISPLAYPOWER = defined @interface\AddOns\Ovale\dist\Power.lua:126
requirement =
{
}
EventHandler = defined @interface\AddOns\Ovale\dist\Power.lua:120
ovaleFuture =
{
}
RequirePowerHandler = defined @interface\AddOns\Ovale\dist\Power.lua:158
UNIT_RANGEDDAMAGE = defined @interface\AddOns\Ovale\dist\Power.lua:153
UNIT_POWER_UPDATE = defined @interface\AddOns\Ovale\dist\Power.lua:145
UNIT_LEVEL = defined @interface\AddOns\Ovale\dist\Power.lua:132
ovale =
{
}
POWER_TYPE =
{
}
CopySpellcastInfo = defined @interface\AddOns\Ovale\dist\Power.lua:161
baseState =
{
}
}
spell = 19574
powerType = "focus"
spellId = 19574
spellPowerCosts = nil
(*temporary) = 19574
(*temporary) = true
(*temporary) = 19574
(*temporary) = true
(*temporary) = 19574
(*temporary) = "number"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'spellPowerCosts' (a nil value)"
GetSpellPowerCost = defined =[C]:-1
pairs = defined =[C]:-1