Constant LUA error in 4.1 #8


  • New
  • Defect
Open
  • Forge_User_88472900 created this issue May 1, 2011

    What steps will reproduce the problem?

    1. Move to a place with hostile mobs.

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

    What version of the product are you using?

    r218

    Do you have an error log of what happened?

    103x WitchHunt\WitchHunt-r218.lua:723: bad argument #1 to "bitband" (number expected, got string)
    <in C code>
    WitchHunt\WitchHunt-r218.lua:723: in function "?"
    Ace3-r1028\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    <string>:"safecall Dispatcher[19]":4: in function <string>:"safecall Dispatcher[19]":4
    <in C code>
    <string>:"safecall Dispatcher[19]":13: in function "?"
    Ace3-r1028\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
    Ace3-r1028\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals:
    nil

  • Forge_User_88472900 added the tags New Defect May 1, 2011
  • _ForgeUser5524 posted a comment May 11, 2011

    Same problem. Any updates planned? Or has Witchhunt reached it's EOL?

  • Veyska posted a comment Jun 28, 2011

    I don't know if this mod is officially EOLed or not, but the fix is pretty easy. Didn't think to post for 4.1, but this fix will handle both 4.1 and 4.2 if anyone's still paying attention.

    Replace line 719 (should be that line, search for "COMBAT_LOG_EVENT_UNFILTERED" if it's not, I've been keeping my local copy functional for a while) with the following -

    function WitchHunt:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, eventType, hideCaster, srcGUID, srcName, srcFlags, srcFlags2, dstGUID, dstName, dstFlags, dstFlags2, spellID, spellName, spellSchool, eID, eName)

    Should get things working again.


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