Download
(3 Kb)
Download
Updated: 04/15/18 02:25 PM
Compatibility:
Dragon Bones (3.3)
Clockwork City (3.2)
Horns of the Reach (3.1)
Morrowind (3.0)
Homestead (2.7)
One Tamriel (2.6)
Shadows of the Hist (2.5)
Updated:04/15/18 02:25 PM
Created:08/03/16 09:01 AM
Monthly downloads:124
Total downloads:21,871
Favorites:12
MD5:
Weapon & Spell Power Tracker  Popular! (More than 5000 hits)
Version: 2.7
by: bronson [More]
Simple widget to display current weapon and spell power or crit chance %
Automatically updates to show effect of buffs.

Reposition by dragging while holding left mouse button (button 1)
Move through display modes by pressing right mouse button (button 2)

Display Modes
=========
0 - Weapon & Spell power
1 - Weapon & Spell Crit
2 - Weapon power & crit
3 - Spell power & crit


SPECIAL THANKS
--------------------
Baertram : source code contributor - thank Baertram for version 2.3!
Gupsy, Chunkytoes, Death1stroke : testing and making me bother to write it
v2.7
------------
Slight difference in floating font size to indicate level of increased power change

v2.6.2
------------
Removed display. Needs rework to accurately track from base spell/weapon dmg.

v2.6.1
------------
Fix to accumulation counters when going through ESO's LONG LONG loading screens!

v2.6
------------
Updated to work with Dragon Bones. Experimental display of buff accumulation to manage max dps.

v2.5.1
------------
Updated to work with minion and Clockwork City.

v2.4.1
------------
Added files back into folder for minion support.

v2.4
------------
Per player setting (Thank Baertram)
Shows weapon and spell damage value changes as quick floating values
(I've been experimenting with sets that proc W/S dmg so wanted a way to visually indicate as they are adding damage to maximise burst)

v2.3
------------
Includes variable scope source changes made by Baertram (many thanks)
+ widget now hides when viewing map / inventory etc. (again thanks to Baertram)

v2.2
------------
Added multiple modes to display crit and power together

v2.1
------------
Added function to show crit %
Toggle display using right mouse button

v2
------------
Saves and restores position of widget window
Improved look of widget
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Uploader
Date
2.6.2
3kB
bronson
03/04/18 12:42 PM
2.6.1
4kB
bronson
03/04/18 07:09 AM
2.5.1
3kB
bronson
12/22/17 10:36 AM
2.5
3kB
bronson
12/22/17 10:14 AM
2.4.1
3kB
bronson
04/20/17 03:50 PM
2.4
3kB
bronson
04/20/17 08:53 AM
2.3
2kB
bronson
02/15/17 04:13 PM
2.2
2kB
bronson
08/08/16 03:04 PM
2.1
2kB
bronson
08/08/16 08:04 AM
2
2kB
bronson
08/03/16 12:46 PM
1
1kB
08/03/16 09:01 AM


Post A Reply Comment Options
Unread 08/05/16, 02:04 AM  
Zenshi

Forum posts: 0
File comments: 1
Uploads: 0
Thank you!

First of all, thank you very much for this addon, I've been looking for something like this for quite a while.

I was wondering if it's possible to add weapon/spell critical also to the addon?
A way to toggle if we want weapon or spell power to be displayed would be nice

Cheers,

Zenshi
Report comment to moderator  
Reply With Quote
Unread 08/08/16, 04:28 AM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Hi Zenshi,

Thanks for the feedback. I'll add the crit values as a toggle option this week and update.

Bronson
Report comment to moderator  
Reply With Quote
Unread 08/08/16, 04:17 PM  
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 312
File comments: 64
Uploads: 28
Re: Thank you!

Originally Posted by Zenshi
First of all, thank you very much for this addon, I've been looking for something like this for quite a while.

I was wondering if it's possible to add weapon/spell critical also to the addon?
A way to toggle if we want weapon or spell power to be displayed would be nice

Cheers,

Zenshi
can you make an option for auto choosing wd or sp?
i mean:
atm you have option 0-3
if you add an option: auto = 0/1
it will choose the higher value (wd/sd)
Report comment to moderator  
Reply With Quote
Unread 08/09/16, 12:56 AM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Re: Re: Thank you!

Originally Posted by Scootworks
can you make an option for auto choosing wd or sp?
i mean:
atm you have option 0-3
if you add an option: auto = 0/1
it will choose the higher value (wd/sd)
Hi Scootworks,

I'll take a look next week at how to integrate addon menu options.
Plan will be to add an 'auto select' option as you describe.
When ON it will display the power and crit of the highest stat automatically
When OFF the functionality will remain as it is now.

Thanks for the feedback!

Bronson
Report comment to moderator  
Reply With Quote
Unread 01/13/17, 03:34 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Hey bronson,

inside your code you need to take care of the non-local (global) variables.
Especially in the function PowerTracker.OnClicked there is the variable
Code:
x
This is critical as there might be other addons using a variable x (defined locally in the addons but which will be overwritten with yours!

Other global variables:
In function PowerTracker.OnUpdate
Code:
wp
sp
wc
sc
In function PowerTracker.OnIndicatorMoveStop
Code:
left
top
Just put a local in front of their declaration and you're good.

Code:
local wp = ...

And here is another idea:
Hide the PowerTrackerWindow as the menus/champion points etc. are opened:

Add a fragment to the GUI and GUI_ROOT scenes and inside the callback function of the scene's state change hide/show the control then:

In function PowerTracker:Initialize() insert before the line "initialised = true" the following code:
Lua Code:
  1. --Add a fragment for the power tracker XML control to the GUI so it will be hidden inside menus
  2.     local fragment = ZO_FadeSceneFragment:New(PowerTrackerWindow, nil, 0)
  3.     HUD_SCENE:AddFragment(fragment)
  4.     HUD_UI_SCENE:AddFragment(fragment)

Source code with my changes
Last edited by Baertram : 01/13/17 at 03:38 PM.
Report comment to moderator  
Reply With Quote
Unread 02/15/17, 01:41 PM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Hi Baertram,

Many thanks for taking the time to add to the add-on.
I've not really been active in ESO since mid-2016, but will update a version of the add-on with your changes in so that people can get the benefits of your work.

Kind regards, bronson

Originally Posted by Baertram
Hey bronson,

inside your code you need to take care of the non-local (global) variables.
Especially in the function PowerTracker.OnClicked there is the variable
Code:
x
This is critical as there might be other addons using a variable x (defined locally in the addons but which will be overwritten with yours!

Other global variables:
In function PowerTracker.OnUpdate
Code:
wp
sp
wc
sc
In function PowerTracker.OnIndicatorMoveStop
Code:
left
top
Just put a local in front of their declaration and you're good.

Code:
local wp = ...

And here is another idea:
Hide the PowerTrackerWindow as the menus/champion points etc. are opened:

Add a fragment to the GUI and GUI_ROOT scenes and inside the callback function of the scene's state change hide/show the control then:

In function PowerTracker:Initialize() insert before the line "initialised = true" the following code:
Lua Code:
  1. --Add a fragment for the power tracker XML control to the GUI so it will be hidden inside menus
  2.     local fragment = ZO_FadeSceneFragment:New(PowerTrackerWindow, nil, 0)
  3.     HUD_SCENE:AddFragment(fragment)
  4.     HUD_UI_SCENE:AddFragment(fragment)

Source code with my changes
Report comment to moderator  
Reply With Quote
Unread 02/16/17, 03:34 PM  
residentcp

Forum posts: 0
File comments: 1
Uploads: 0
Not working.

I don't know where the widget is. It's not appearing anywhere. I've tried disabling other add-ons as well, and I don't know what the deal is. There's no settings for the add-on in the control panels either.

Any idea of where it's supposed to be showing up?
Report comment to moderator  
Reply With Quote
Unread 02/16/17, 05:10 PM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Re: Not working.

Originally Posted by residentcp
I don't know where the widget is. It's not appearing anywhere. I've tried disabling other add-ons as well, and I don't know what the deal is. There's no settings for the add-on in the control panels either.

Any idea of where it's supposed to be showing up?
I think by default it would be up at the top left of your screen.
I will try and update it to appear in the middle of the screen if you still cant find it.

Bronson
Report comment to moderator  
Reply With Quote
Unread 04/02/17, 06:08 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Hi there,

if you want to let the addon remember the position and type of shown data (weapon or spell power) you can change the line here:
Code:
	PowerTracker.savedVariables = ZO_SavedVars:NewAccountWide("PowerTrackerVars", 2, "namespace", PowerTracker.Default )
to:
Lua Code:
  1. --PowerTracker.savedVariables = ZO_SavedVars:NewAccountWide("PowerTrackerVars", 2, "namespace", PowerTracker.Default )
  2.     PowerTracker.savedVariables = ZO_SavedVars:NewCharacterIdSettings("PowerTrackerVars", 2, "namespace", PowerTracker.Default )

It'll make the addon svae the data for each character and not globally for all characters.
Report comment to moderator  
Reply With Quote
Unread 08/05/17, 01:58 PM  
Dr.Caligari

Forum posts: 0
File comments: 14
Uploads: 0
Re: Re: Not working.

Originally Posted by bronson
Originally Posted by residentcp
I don't know where the widget is. It's not appearing anywhere. I've tried disabling other add-ons as well, and I don't know what the deal is. There's no settings for the add-on in the control panels either.

Any idea of where it's supposed to be showing up?
I think by default it would be up at the top left of your screen.
I will try and update it to appear in the middle of the screen if you still cant find it.

Bronson
I may have the same problem. Pressing left mouse a long time, but nothing pops up.

Maybe because my mini map is in the left top corner and the layer is below my mini map?
Can you add an add-on configuration dialog to select what I want to see, and where on the screen, and on which layer level?

Thank you, I miss such a tool badly.

Cheers,
Michael
Report comment to moderator  
Reply With Quote
Unread 08/10/17, 07:29 PM  
Shadowshire

Forum posts: 1
File comments: 402
Uploads: 0
Post Current Version Outdated

The game client Add-ons list shows Weapon & Spell Power Tracker as "outdated". I have no idea whether you need to make any changes, but it should be "updated" for Morrowind and/or for the upcoming DLC release. Else, currently it seems to be working as expected.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 09/24/17, 08:54 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Re: Current Version Outdated

The game client just checks the .txt file in the addon directory and if the line version is not showing the game's current API version then it is marked as outdated, even if it works fine...
Sad but true.

So just enable the checkbox "Allow out of date addons" in the ingame addon manager and everything is fine, unless you get any lua error message. Then post the error message to the addon's comments (the addon that is raising the error will be inside the error message inside the path of the file where the error was raised!).

Originally Posted by Shadowshire
The game client Add-ons list shows Weapon & Spell Power Tracker as "outdated". I have no idea whether you need to make any changes, but it should be "updated" for Morrowind and/or for the upcoming DLC release. Else, currently it seems to be working as expected.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 12/22/17, 09:49 AM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Update

Hi all,

Sorry I've been away from playing the game for the last 6 months or so, due to a project at work.
I'll do an update once I've patched the game and tested it out.

Thanks, Ben.
Report comment to moderator  
Reply With Quote
Unread 12/22/17, 10:30 AM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
2.5 Uploaded

I updated to work with latest ESO patch.

I've also modified the default location of the widget to be further away from the top left corner.
To fix this position manually you can edit the variables file (or delete it and let it recreate) by doing the following:

1. Log out of the game if you are in it (otherwise when you log out the add-on will write over anything you do in the following steps)

2. Go to the ESO saved variables folder. For example on Windows:
C:\Users\YOURUSERNAME\Documents\Elder Scrolls Online\live\SavedVariables

You will see a file called PowerTracker.lua

If you delete this you will get the defaults when you next log in.
If you want to edit it, load it into a text editor such as Notepad, and then change the OffsetX and Y values. To get these towards the centre of the screen use values such as 640 or 800 for each. Then save your changes

3. Log a character back in to reload the variables into the add-on.


Merry Christmas & Happy New Year!

Ben.
Report comment to moderator  
Reply With Quote
Unread 12/22/17, 10:36 AM  
Trinity Is My Name

Forum posts: 0
File comments: 27
Uploads: 0
Thank you very much for updating this!

I cannot tell you how much I rely on this addon. It is very nice being able to see weapon and spell power actively changing during the game and knowing what caused it. Thanks!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: