Thread Tools Display Modes
04/15/20, 10:39 PM   #1
Kenza
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 31
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:
  Reply With Quote
04/16/20, 02:19 AM   #2
Micke2nd
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 43
If "shows vampire stage and duration" is what you need - I use Srendarr AuraBuffDebuffTracker for that.

screenshot

Last edited by Micke2nd : 04/16/20 at 11:13 AM.
  Reply With Quote
04/16/20, 04:45 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
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
  Reply With Quote
04/16/20, 09:10 AM   #4
Kenza
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 31
I seen AI status, but Info has the pretty color coding!

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

Last edited by Kenza : 04/16/20 at 09:22 AM.
  Reply With Quote
04/16/20, 11:37 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
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

Last edited by Baertram : 04/16/20 at 12:25 PM.
  Reply With Quote
04/16/20, 12:24 PM   #6
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 312
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
  Reply With Quote
04/16/20, 12:26 PM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
As long as they still provide a buff with the info it's fine, should break the addon (again) then.
  Reply With Quote
04/16/20, 02:28 PM   #8
Kenza
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 31
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?
  Reply With Quote
04/16/20, 02:30 PM   #9
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
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...
So I guess the texture name check is the best for the moment.

I'll post in the addon comments if I updated it!
  Reply With Quote
04/16/20, 02:49 PM   #10
Kenza
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 31
Thats great, thank you so much!

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
  Reply With Quote
04/16/20, 04:13 PM   #11
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
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.
  Reply With Quote
04/16/20, 07:31 PM   #12
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
The addon was updated, check the addon comments and please provide me feedback in the addon comments.
Will update the official addon later then.
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Vampire Info?

Thread Tools
Display Modes

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