EnemyCasts module error #154


  • Defect
  • Fixed
Closed
Assigned to nevcairiel
  • SusuBunny created this issue May 4, 2011

    Error log =
    4x Quartz-3.0.6\modules\EnemyCasts.lua:180: attempt to perform arithmetic on local 'castTime' (a nil value)
    CallbackHandler-1.0-6 (Ace3):147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    <string>:"safecall Dispatcher[13]":4: in function <[string "safecall Dispatcher[13]"]:4>
    <in C code>: ?
    <string>:"safecall Dispatcher[13]":13: in function `?'
    CallbackHandler-1.0-6 (Ace3):92: in function `Fire'
    AceEvent-3.0-3 (Ace3):120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

    Please provide any additional information below.

  • SusuBunny added the tags New Defect May 4, 2011
  • _ForgeUser6821390 posted a comment May 15, 2011

    I'm having this exact same error.

    Message: Interface\AddOns\Quartz\modules\EnemyCasts.lua:180: attempt to perform arithmetic on local 'castTime' (a nil value) Time: 05/15/11 14:18:26 Count: 3 Stack: Interface\AddOns\Quartz\modules\EnemyCasts.lua:180: in function `?' ...rtz\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...rtz\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> [string "safecall Dispatcher[13]"]:4: in function <[string "safecall Dispatcher[13]"]:4> [C]: ? [string "safecall Dispatcher[13]"]:13: in function `?' ...rtz\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire' ...ace\AddOns\Quartz\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...ace\AddOns\Quartz\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals: <none>

    ----------- EDIT:

    So, I'm completely new to programming LUA and wow addons, but this fixed it for me...so far....

    In your AddOns folder go to Quartz/modules/EnemyCasts.lua and change the line that says:

    local spellId, spellName, spellSchool = select(9, ...)

    to

    local spellId, spellName, spellSchool = select(10, ...)

    Essentially, the arguments that are passed to the function function Enemy:CLEUHandler(e, ...) are not the same after the last set of patches. Argument 9, which held the spellId, has changed to argument 10.

    Hope this helps.


    Edited May 15, 2011
  • Forge_User_19947719 posted a comment Jun 2, 2011

    Just to say I have the same problem.

  • nevcairiel removed a tag New Jul 16, 2012
  • nevcairiel added a tag Fixed Jul 16, 2012
  • nevcairiel closed issue Jul 16, 2012

To post a comment, please login or register a new account.