EclipseBar
???
I'm not quite sure how to implement this into my layout. I understand the totem/shard/etc bars need to be iterated for each element, but Eclipse I would think would be one continuous bar, and would be treated similar to Power. Either way, I can't get anything coherent to display with my druid. |
you should take a look at http://github.com/Evilpaul/oUF_EP/bl...UF_EP.lua#L516
|
Note that the eclipsebar implementation in oUF could do with some tidying up. What is there works fine and the post action functions should provide some customisation options.
If anyone has any ideas for improvements, then please post here or add an issue to the oUF issue tracker over on GitHub. thanks |
hello. I think the module ecalips contains errors. After logging displays two long bars (150 each) later after cast wrath this bar is reduced to 150 (as if they overlap and intersect), and then it comes good but bad displaying percent:
100 lunar displays as 100% 50 lunar displays as 0% 1 lunar displays as 99% 1 solar displays as 99% 50 solar displays as 0% 100 solar displays as 100% throughout the rotation of two eclipse displays 4 times 100% !?!?! screens: after login game: http://yfrog.com/04wowscrnshot101510140237j Lunar eclipse: http://yfrog.com/j2wowscrnshot101510134310j http://yfrog.com/mhwowscrnshot101510135242j 0% in middle lunar eclipse ? http://yfrog.com/jcwowscrnshot101510135308j still lunar eclipse an 20% ? http://yfrog.com/5rwowscrnshot101510135316j |
The code you add to your layout to support the eclipsebar element is very sensitive, and if there is a slight error it can all go a bit....weird. This is definitely something I want to improve, but until then can you post your layout code?
|
Code:
if playerClass == "DRUID" then |
Quote:
Can you describe any actions you performed? Did you perform any odd actions? e.g. reloading the ui Quote:
Quote:
Quote:
Quote:
|
ok you explain me everything, but when im log in to the game i have 2 separated bars
http://yfrog.com/nbwowscrnshot101510155625j after cast wrath or starfire they marge. look at text tags in first screen it's on middle of blue bar and on second screen it's in the middle of whole bar.It's weird. http://yfrog.com/1awowscrnshot101510155906j |
Quote:
So basically I solved this by using a "PostUpdateVisibility" function to check if the bar is being shown and if so to initialize the values I mentioned above (like the function UNIT_POWER does). Hope it helps :) |
Ahhhh, I think I know what is happening.
It looks like Haste did some changes to the code to make it easier to read and in doing so it looks like he has accidentally caused the a bug. The problem is that when the unit frames are spawned the bar values are not being set, but when you cast a spell everything changes to how it should be. I'll let Haste know what needs to change. |
Quote:
|
Ok thanks for explain and help :) . The last thing how to add an arrow or something similar that will show the direction which spell cast to get eclipse ?
|
you can add a function:
Code:
self.EclipseBar.PostDirectionChange = function(element, unit) |
ok thanks for help :)
|
I'm not trying to be pushy or anything here, but for those of us who don't know anything about code, is there an oUF supplement coming from anyone that will display the Eclipse bar properly? Something like the DK Rune and Shaman Totem supplements? I'd really like to get a proper layout as I really hate the default UI, but I can't seem to find any that show the Eclipse bar.
|
There is already an eclipse bar element included in oUF.
|
Do some of the different oUF layouts not have it enabled? I'm currently testing out the Aftermathh oUF and it's not showing up.
|
That's because it's not just something you "enable". The author of the layout you use has to include some code to use the element. :rolleyes:
|
Okay thank you. I'm going to post a link to this thread on their layout page.
|
im not master of lua code :) and i dont no how to write eclipse tag which would show:
0--100 - in lunar rotation 0--100 - in solar rotation instead default procent's: 100%--0%--100% - in lunar rotation 100%--0%--100% - in solar rotation Could someone help me? :) |
All times are GMT -6. The time now is 12:09 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI