X-Perl UnitFrames

27 - RuneFrame 'Shine' Error

What steps will reproduce the problem?
1. Run XPerl with another mod that interacts with the RuneAPI
2. Use a DeathKnight
3. Activate a Rune (Use an ability)

What is the expected output? What do you see instead?
Expected: Nothing
Actual: Lua Error

Interface\FrameXML\RuneFrame.lua:86 attempt to index field 'shine' (a nil value)
Interface\FrameXML\RuneFrame.lua:86 in function `RuneButton_Update'
Interface\FrameXML\RuneFrame.lua:140 in function <Interface\FrameXML\RuneFrame.lua:120

What version of the product are you using?
3.0.0d

Please provide any additional information below.

Before you quash the notion that this is a problem with XPerl and is the other mod causing the problem, I will tell you my friend and I have already identified a codefix for you, so your task is simple:

xperl_player.xml

<Texture name="$parentShine" file="Interface\ComboFrame\ComboPoint" alphaMode="ADD" hidden="true">

should be

<Texture name="$parentShineTexture" file="Interface\ComboFrame\ComboPoint" alphaMode="ADD" hidden="true">

User When Change
Zeksie Oct 03, 2008 at 08:24 UTC Changed status from New to Declined
Nevcairiel Oct 02, 2008 at 15:12 UTC Changed project from X-Perl UnitFrames to X-Perl UnitFrames
Voorije Sep 10, 2008 at 01:28 UTC Create

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

  • 1 comment
  • Avatar of Zeksie Zeksie Oct 03, 2008 at 08:24 UTC - 0 likes

    You fix may work when the other addon is present, but will cause the following error when X-Perl is alone:

      ..\FrameXML\RuneFrame.lua line 136:
      attempt to call method 'SetVertexColor' (a nil value)
    

    Which is obviously because it's missing the Shine texture.

    More likely the old mod was coded for 2 patches ago before they changed the layout of the Rune template.

  • 1 comment

Facts

Last updated
Mar 30, 2012
Reported
Sep 10, 2008
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees