Ovale Spell Priority

165 - Attempt to perform arithmetic on global 'duration' (a nil value)

What steps will reproduce the problem?
1. Log into game (on Warlock)
2.
3.

What is the expected output? What do you see instead?

Error message pops up

What version of the product are you using?

5.0.5

Do you have an error log of what happened?

Date: 2012-09-21 02:48:24
ID: 2
Error occured in: Global
Count: 463
Message: ..\AddOns\Ovale\OvaleCondition.lua line 1271:
attempt to perform arithmetic on global 'duration' (a nil value)
Debug:
[C]: ?
Ovale\OvaleCondition.lua:1271: classe()
Ovale\OvaleBestAction.lua:304: Compute()
Ovale\OvaleBestAction.lua:493:
Ovale\OvaleBestAction.lua:203
(tail call): ?
Ovale\OvaleBestAction.lua:493: Compute()
Ovale\OvaleBestAction.lua:194: ComputeBool()
Ovale\OvaleBestAction.lua:401:
Ovale\OvaleBestAction.lua:203
(tail call): ?
Ovale\OvaleBestAction.lua:194: ComputeBool()
Ovale\OvaleBestAction.lua:471:
Ovale\OvaleBestAction.lua:203
(tail call): ?
Ovale\OvaleBestAction.lua:194: ComputeBool()
Ovale\OvaleBestAction.lua:401: Compute()
Ovale\OvaleBestAction.lua:194: ComputeBool()
Ovale\OvaleBestAction.lua:401: Compute()
Ovale\OvaleBestAction.lua:671: Compute()
Ovale\OvaleFrame.lua:171: OnUpdate()
Ovale\OvaleFrame.lua:67:
Ovale\OvaleFrame.lua:66
Locals:
condition = <table> {
1 = 603
}
spellId = 603
si = <table> {
1 = 603
demonicfury = 60
aura = <table> {
}
tick = 15
duration = 60
damageAura = <table> {
}
stance = 1
}
start = 0
ending = 0
_ = 0
spellHaste = 1.0653614377975
tickLength = 15
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = 1.0653614377975
(*temporary) = <table> {
1 = 603
demonicfury = 60
aura = <table> {
}
tick = 15
duration = 60
damageAura = <table> {
}
stance = 1
}
(*temporary) = 15
(*temporary) = "attempt to perform arithmetic on global 'duration' (a nil value)"
GetTargetAura = <function> defined @Interface\AddOns\Ovale\OvaleCondition.lua:293
getTarget = <function> defined @Interface\AddOns\Ovale\OvaleCondition.lua:116
compare = <function> defined @Interface\AddOns\Ovale\OvaleCondition.lua:74

Please provide any additional information below.

User When Change
jlam Sep 21, 2012 at 14:49 UTC
Aoife Sep 21, 2012 at 14:47 UTC
jlam Sep 21, 2012 at 14:27 UTC
Aoife Sep 21, 2012 at 14:11 UTC
jlam Sep 21, 2012 at 14:04 UTC Changed assigned to from Sidoine to jlam
jlam Sep 21, 2012 at 14:04 UTC
Aoife Sep 21, 2012 at 09:51 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of jlam jlam Sep 21, 2012 at 14:48 UTC - 0 likes

    Okay, great... I'm going to tag a new release for Ovale and then finally get to work on trying to fix the default scripts.

  • Avatar of Aoife Aoife Sep 21, 2012 at 14:47 UTC - 0 likes

    @Aoife: Go

    w/ r539 - no errors on log in! I didn't have time to test anything beyond that - but so far so good!

    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Aoife Divine Alliance of Mok'Nathal
  • Avatar of jlam jlam Sep 21, 2012 at 14:26 UTC - 0 likes

    Thanks for the quick feedback. Please try r539. That was a bit of a brain lock on my end.

  • Avatar of Aoife Aoife Sep 21, 2012 at 14:11 UTC - 0 likes

    @jlam: Go

    with r538, I get:

    Date: 2012-09-21 07:09:35
    ID: 1
    Error occured in: Global
    Count: 572
    Message: ..\AddOns\Ovale\OvaleCondition.lua line 1266:
    attempt to index field 'state' (a nil value)
    Debug:
    [C]: ?
    Ovale\OvaleCondition.lua:1266: classe()
    Ovale\OvaleBestAction.lua:304: Compute()
    Ovale\OvaleBestAction.lua:493:
    Ovale\OvaleBestAction.lua:203
    (tail call): ?
    Ovale\OvaleBestAction.lua:493: Compute()
    Ovale\OvaleBestAction.lua:194: ComputeBool()
    Ovale\OvaleBestAction.lua:401:
    Ovale\OvaleBestAction.lua:203
    (tail call): ?
    Ovale\OvaleBestAction.lua:194: ComputeBool()
    Ovale\OvaleBestAction.lua:471:
    Ovale\OvaleBestAction.lua:203
    (tail call): ?
    Ovale\OvaleBestAction.lua:194: ComputeBool()
    Ovale\OvaleBestAction.lua:401: Compute()
    Ovale\OvaleBestAction.lua:194: ComputeBool()
    Ovale\OvaleBestAction.lua:401: Compute()
    Ovale\OvaleBestAction.lua:671: Compute()
    Ovale\OvaleFrame.lua:171: OnUpdate()
    Ovale\OvaleFrame.lua:67:
    Ovale\OvaleFrame.lua:66
    Locals:
    condition = <table> {
    1 = 603
    }
    spellId = 603
    (*temporary) = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:493
    (*temporary) = <table> {
    ResetSpellInfo = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:399
    EnableModule = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:348
    modules = <table> {
    }
    GetSpellInfoOrNil = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:301
    IterateEmbeds = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:458
    GetRootSpellList = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:256
    FillPetSpellList = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:309
    SetDefaultModulePrototype = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:425
    defaultModuleState = true
    IsEnabled = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:467
    DisableModule = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:366
    SPELLS_CHANGED = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:251
    RegisterMessage = <function> defined @Interface\AddOns\TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
    UnregisterMessage = <function> defined @Interface\AddOns\TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181
    secondaryPower = <table> {
    }
    spellInfo = <table> {
    }
    pointsTalent = <table> {
    }
    SetEnabledState = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:440
    enabledState = true
    spellList = <table> {
    }
    GetSpellInfo = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:388
    RemplirListeTalents = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:346
    IterateModules = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:453
    className = "WARLOCK"
    CHARACTER_POINTS_CHANGED = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:236
    GetFearSpellList = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:289
    Enable = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:315
    NewModule = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:256
    GetIncapacitateSpellList = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:278
    GetModule = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:231
    UNIT_PET = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:246
    defaultModuleLibraries = <table> {
    }
    GetName = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:300
    name = "OvaleData"
    scoreSpell = <table> {
    }
    Disable = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:330
    baseName = "Ovale"
    GetTickLength = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:522
    SetDefaultModuleLibraries = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:383
    talentNameToId = <table> {
    }
    firstInit = true
    GetDuration = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:493
    FirstInit = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:367
    selfHasteBuff = <table> {
    }
    UnregisterAllEvents = <function> defined @Interface\AddOns\TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202
    GetComputedSpellCD = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:437
    IsModule = <function> defined @Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:484
    GetGCD = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:403
    SendMessage = <function> defined @Interface\AddOns\TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:87
    GetTalentPoints = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:381
    GetDamage = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:466
    listeTalentsRemplie = true
    FillSpellList = <function> defined @Interface\AddOns\Ovale\OvaleData.lua:325
    GetStunSpellList = <function> define

  • Avatar of jlam jlam Sep 21, 2012 at 14:04 UTC - 0 likes

    Please test r538 and let me know if that fixes the problem.

  • 5 comments

Facts

Last updated
Sep 21, 2012
Reported
Sep 21, 2012
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees