Thread Tools Display Modes
05-08-09, 09:15 AM   #1
Troox
A Cyclonian
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 41
DrDamage Support?

I dont know how or what i need to add/change in the main code of DrDamage
(http://www.wowace.com/projects/dr-damage) ... The Code must be in the function DrD_DetermineAB() from DrDamage.lua to support RDX. Can anyone who knows how to do that write a fix and maybe give it to the DrDamage Team to support RDX on new releases of DrDamage?

If you dont know DrDamage > DrDamage displays the calculated, average damage or healing of abilities with talents, gear and buffs included on your actionbar buttons. The addon will also add various information to the default tooltips in your spellbook and on the actionbar.
  Reply With Quote
05-10-09, 12:30 AM   #2
Troox
A Cyclonian
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 41
I have posted the same Question as a Enhancement Ticket on the DrDamage Forum and got the following answer from the Author (he can't post here).

Gagorian said (3 hours ago)

What I need is the global names for the actionbutton frames and a function to get the action ID from the button object. I saw your post in the OpenRDX forums but I don't seem to be allowed to reply to that thread. If you could get the authors of OpenRDX to provide these two things I can add support.

Example:

Code:
      if IsAddOnLoaded("Dominos") then 
      local func = function(button) return SecureButton_GetModifiedAttribute(button,"action",SecureButton_GetEffectiveButton(button)) end 		
      ABrefresh["DominosActionButton"] = function()
      for i=1,120 do 	
      ABtable["DominosActionButton"..i] = func 			
      end
      end 	
      end
URL to the Ticket Page > http://www.wowace.com/projects/dr-da...3-rdx-support/
Please help
  Reply With Quote
05-10-09, 12:44 AM   #3
Morax
A Cyclonian
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 40
To enable posting here he needs to "join the RDX community"...
  Reply With Quote
05-10-09, 02:21 AM   #4
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Very simple,

Actiobar :
VFLButton1
VFLButton2
VFLButton3
...

VFLButton1:GetAttribute("action");


Sigg

Last edited by sigg : 05-10-09 at 02:25 AM.
  Reply With Quote
05-12-09, 01:02 AM   #5
Troox
A Cyclonian
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 41
Thanks... DrDamage now provide RDX Support
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » DrDamage Support?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off