Updating Bars of Target/TargetTarget
Hi All
Ive manage to get target and target bars to update correctly, but the power bars arnt updating. For the tanks, they are updating fine but the tanktarget and tanktargettarget do not update power bars. health is updating fine i noticed that in ouf/health.lua in the Enable function there is a line Code:
if(health.frequentUpdates and (self.unit and not self.unit:match'%w+target$') or not self.unit) then Code:
if(power.frequentUpdates and (unit == 'player' or unit == 'pet')) then any suggestions here? |
Quote:
|
It sounds like a problem with oUF really. Units that end with target should be handled by the unified OnUpdate in the core, and not in the module. Could you point me in direction to the layout with the issue and possibly post a bug report on it?
|
Quote:
See the current version of oUF_DaMT for the version I use which works as intended with my altered version of the oUF library. I have also uploaded patch files in the optional section which have the files i changed in the oUF library... |
It should be fixed with 1.3.20. I can't test it however, so you'll have to give me some feedback on it.
|
Quote:
I ended up just making the changes and embedding oUF into the mod. I renamed a lot of variables so it wouldnt conflict with any other installs of ouf should anyone choose to do so. I know it takes a little more memory, but I dont know how to make my addon overide only a subset of some oUF installation elements, so, stand alone it is... THere was also troubles with ricon.lua not updating and disconnected colour not updating... changed Code:
self.disconnected = UnitIsConnected(self.unit) Code:
self:RegisterEvent("UNIT_TARGET", Update) on line 37 of health.lua so it would do an up-to-date check. Im probably hacking the code up here, suggestions welcomed. Feels like im changing a lot of things round, is there some magic variable to turn on target watching that im missing? |
You should change your focus away from the oUF elements. They are already working fine for so to say all units. What you want to focus on is the core. The change I made that I believe would resolve this issue was 6e72dac8. If it didn't then the problem might lie elsewhere.
I'll probably have a chance to actually do some in-game testing of this later today. You can also embed oUF without it clashing with other layouts by using a custom X-oUF variable in the TOC. |
It's now fixed with 1.3.21.
|
Quote:
uploaded it to match current oUF version. Thanks haste. |
All times are GMT -6. The time now is 07:57 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI