Quantcast
Download
(3 Kb)
Download
Updated: 04/20/17 03:50 PM
Compatibility:
Homestead (2.7)
One Tamriel (2.6)
Shadows of the Hist (2.5)
Updated:04/20/17 03:50 PM
Created:08/03/16 09:01 AM
Monthly downloads:152
Total downloads:4,045
Favorites:7
MD5:
Weapon & Spell Power Tracker
Version: 2.4.1
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.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 (6)
File Name
Version
Size
Author
Date
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
bronson
08/03/16 09:01 AM


Post A Reply Comment Options
Unread 09/24/17, 08:54 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1327
File comments: 1271
Uploads: 44
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 08/10/17, 07:29 PM  
Shadowshire

Forum posts: 1
File comments: 70
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.
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Unread 08/05/17, 01:58 PM  
Dr.Caligari

Forum posts: 0
File comments: 11
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 04/02/17, 06:08 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1327
File comments: 1271
Uploads: 44
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 02/16/17, 05:10 PM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
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 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/15/17, 01:41 PM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
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 01/13/17, 03:34 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1327
File comments: 1271
Uploads: 44
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 08/09/16, 12:56 AM  
bronson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
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 08/08/16, 04:17 PM  
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 159
File comments: 239
Uploads: 15
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)
__________________
@Scootworks | EU Server
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: 4
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/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
Post A Reply



Category Jump: