ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Search/Requests (https://www.esoui.com/forums/forumdisplay.php?f=165)
-   -   Vampire Info? (https://www.esoui.com/forums/showthread.php?t=9088)

Kenza 04/15/20 10:39 PM

Vampire Info?
 
So with Greymore coming and hyping up vampire, would anyone possibly fix/update this lovely addon? :)

https://www.esoui.com/downloads/info...mpireInfo.html

Sadly, the author has not been around since 2014. D:

Micke2nd 04/16/20 02:19 AM

If "shows vampire stage and duration" is what you need - I use Srendarr AuraBuffDebuffTracker for that.

screenshot

Baertram 04/16/20 04:45 AM

Did you try if this still works?
Not that fancy as the other addon but maybe it does provide what you need.
https://www.esoui.com/downloads/file...hp?id=340#info

Kenza 04/16/20 09:10 AM

I seen AI status, but Info has the pretty color coding!

Edit: Tested AI Status, it doesn't seem to recognize Vampirism.

Baertram 04/16/20 11:37 AM

Vampire Info is using the outdated/non fucntional LibAddonMenu-1.
I'll try to build a new version with LAM2 and see if this works, or if anything else like the buff tracking is broken.

Edit:
After chaning a bit it seems that the buff tracking works but the settings need a total redo...
At least it tells me my non vampire is no vampire :-)

Please try if this works for you:
VampireInfo v2 Baertram

Scootworks 04/16/20 12:24 PM

as far i remember, they talked on stream about the stages. i don't believe they will work as before in the next update. would be better to wait for PTS

Baertram 04/16/20 12:26 PM

As long as they still provide a buff with the info it's fine, should break the addon (again) then.

Kenza 04/16/20 02:28 PM

Awesome!
Tried it out, it works! Sort of... It doesn't recognize my vampire.
I don't really know what I'm doing but I 'fixed' it on mine by changing:

Code:

if (textureName ~= "/esoui/art/icons/ability_vampire_007.dds") then
to
Code:

if not (PlainStringFind(textureName,"ability_vampire")) then
and a few lines later
Code:

if (PlainStringFind(textureName,"ability_vampire")) then
But I'm guessing this would cause problems if you have any other active vampire ability buffs.. How do you find out what the actual buff icon name is?


After that it freaked out with lua errors about line:
Code:

VampireInfoTLCStatusBar:SetTexture(VampireInfoTLCIcon:GetTextureInfo())
So I changed it to:
Code:

VampireInfoTLCStatusBar:SetTexture(textureName)
Now it seems to be functioning properly from what I can tell so far!
Settings seem to work aside from color settings. Are they supposed to work? Or they're not fixed?

Baertram 04/16/20 02:30 PM

Fixed the settings of the colors and changed them to make it easier to maintain as well.
Will work on the texture recognition and update it with your changes, thanks!
I tried to switch to abilityIds (of the buffs) but there are like 10 only fpr stage 4 vampire... thanks Zos for this easy way... :mad:
So I guess the texture name check is the best for the moment.

I'll post in the addon comments if I updated it!

Kenza 04/16/20 02:49 PM

Thats great, thank you so much! :D

Some other minor things I changed while messing around with it myself...

For some reason the icon is very dark. From what I can tell, it shows it at .1 alpha unless it doesnt have a cooldown? But wont it always have a cooldown, unless at stage 4, I suppose? So I changed (around line 310) to:
VampireInfoTLCIcon:SetAlpha(0.8)

And I didnt want it to show on my non-vamp chars, so I added an 'else' to:

Code:

if buffName ~= nil and timeEnding ~= nil and updateTime ~= nil and timeStarted ~= nil then
      -- blahblahblah

        VampireInfo:SetHidden(false)
else
        VampireInfo:SetHidden(true)
end


Baertram 04/16/20 04:13 PM

Yes, the non vamp stuff is already on my todo but just changing this does nothing as the buffs are always checked and this is a performance loss for nothing.

And the icon is shown with 0.1 alpha if you enable the cooldown AT the icon, not next to the icon as text label. This is ok as you wouldn't notice the cooldown on top of the icon if it was fully visible.

Baertram 04/16/20 07:31 PM

The addon was updated, check the addon comments and please provide me feedback in the addon comments.
Will update the official addon later then.


All times are GMT -6. The time now is 09:52 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI