"attempt to concatenate local 'diffname' (a nil value)" when entering a PvP instance #21


  • Defect
Open
  • Arcayr created this issue Feb 18, 2021

    Hey,

     

    Whenever I enter a PvP instance I receive the following error:

     

    Message: Interface\AddOns\MagicMarker\Config.lua:1065: attempt to concatenate local 'diffname' (a nil value)
    Time: Thu Feb 18 16:53:14 2021
    Count: 3
    Stack: Interface\AddOns\MagicMarker\Config.lua:1065: attempt to concatenate local 'diffname' (a nil value)
    [string "@Interface\AddOns\MagicMarker\Config.lua"]:1065: in function `GetZoneName'
    [string "@Interface\AddOns\MagicMarker\MagicMarker.lua"]:581: in function `?'
    [string "@Interface\AddOns\ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua"]:119: in function <...ventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:119>
    [string "=[C]"]: ?
    [string "@Interface\AddOns\ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua"]:29: in function <...ventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:25>
    [string "@Interface\AddOns\ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua"]:64: in function `Fire'
    [string "@Interface\AddOns\ArkInventory\Externals\Ace3\AceEvent\AceEvent-3.0.lua"]:120: in function <...rkInventory\Externals\Ace3\AceEvent\AceEvent-3.0.lua:119>
    Locals: <none>

     

    I hotpatched the addon by adding the following to line 1064 of Config.lua:

     

    and (type ~= "pvp")

     

    This seems to fix the issue for me and hasn't had any other noticeable impact on the functionality of the addon.

  • Arcayr added a tag Defect Feb 18, 2021
  • Arcayr edited description Feb 18, 2021
  • MrFIXlT posted a comment Jun 20, 2021

    This happens to me in BCC sporadically when entering pve instances.

  • MrFIXlT posted a comment Jun 21, 2021
    2x MagicMarker\Config.lua:1102: attempt to concatenate local 'diffname' (a nil value)
    [string "@MagicMarker\Config.lua"]:1102: in function 'GetZoneName'
    [string "@MagicMarker\MagicMarker-9.0.5.lua"]:600: in function '?'
    [string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
    [string "=[C]:"]: ?
    [string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
    [string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function 'Fire'
    [string "@Ace3\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

     

     

    2021-06-20 version (not .2 but I assume it will be present there as well)

    Happens sporadically on re-entering an instance.

    I got this particular error on zoning into Blood Furnace Heroic as a ghost.

  • MrFIXlT posted a comment Jul 2, 2021

    Opened a pull request to fix this here 

    https://github.com/neotron/WoW-MagicMarker/pull/10


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