arenaX is no valid unit id #7


  • New
  • Defect
Open
Assigned to ckknight
  • dodgizzla created this issue Jan 4, 2009

    What steps will reproduce the problem?
    1. Install CowTip.
    2. Enter any Arena.
    3. Mouse-over any enemy player.

    What is the expected output? What do you see instead?
    I expected to see the same result that PitBull showed on my target frame for the tags that I use in both addons, e.g. HP or Name.
    Instead I got "arenaX is not a valid unit id" (something along that) in any line.

    What version of the product are you using?
    LibDogTag-Unit-3.0 r165 was the last version that I played arena with.
    Will update to newest version and update this ticket as soon as I played arena again.

    Do you have an error log of what happened?
    Unfortunately not.

  • dodgizzla added the tags New Defect Jan 4, 2009
  • Earixx posted a comment Mar 26, 2010

    I had the same problem and fixed it by adding some code to LibDogTag-Unit-3.0.lua

    On line 110 find :

    local IsLegitimateUnit = { player = true, target = true, focus = true, pet = true, playerpet = true, mouseover = true, npc = true, NPC = true, vehicle = true }
    

    and change it to :

    local IsLegitimateUnit = { player = true, target = true, focus = true, pet = true, playerpet = true, mouseover = true, npc = true, NPC = true, vehicle = true, arena = true }
    

    On line 131, I added :

    for i = 1, 5 do
    	IsLegitimateUnit["arena" .. i] = true
    end
    

    It worked for me with Pitbull and should also for pretty much everything else ;p


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