Download
(12 Kb)
Download
Updated: 03-15-12 07:01 PM
Pictures
File Info
Updated:03-15-12 07:01 PM
Created:03-02-12 12:00 AM
Downloads:781
Favorites:4
MD5:
nivStats
Version: 2.0
by: Nivlix [More]
Display bar for specific useful information

**COMPLETE RE-WRITE**

This addon has been completely re-written. The bar itself has been seperated and configured to where mods can easily be tied into it. Each of the modules that I had originally written has now been split into its own addon, they are all 3 included in this pack.

You can now write your own modules and tie them directly in to the bar. Please take a look at the nivStatsVitality for a fairly straight forward example of how to tie your own data mods in to the bar. The top 8 lines are required.

Line 2 - This line ties into the main bar addon and unpacks the nivStats variable tables

Line 4 - Create your frame as an entry into the nivStats modules table

line 8 - This makes the frame you create movable.

Also, on a more important note, the bar itself, and all the mods I have included are now movable, and will save their positions between sessions

I will work on keeping this bug free as needed, but I will not personally be writing any more data modules at this time as there is nothing else I can think of that I myself would need. I am also willing to help others get their modules working with the bar if needed.

As always, comments and suggestions are more than welcome.

Credit Where Credit Is Due:
Montage: The currency tooltip is basically all his code. 99% with just a few slight modifications to fit the needs of the tooltip itself.
Tukz(wow TukUI): His UI is where I got the idea for the engine, and how things are tied together without huge amounts of globals.
SinRopa: For the base on the function that moves everything
v2.0
-complete re-write of the entire addon
-split the addon into a core addon, and 3 seperate module addons
-the core addon has been coded to allow the hooking of additional stat blocks
-saved vairables and movement have been implemented

v1.3
-Fixed the conflict with xBagSort and ensured that there should not be conflicts with other addons in the future

v1.2
-Added tooltip on mouseover for currency

v1.1
-Fixed the "expected string but got nil" error on startup
-Color coded the P, G, S, displays
-Cleaned up the init sequence a little
-General code cleanup


v1.0

-Added vitality tracker to the bar
-Added a config section at the top of the file. Most of the stuff you will need to change is here
-Added "module slots" to the top of the file so the order of appearance can be changed easily
-Modified the currency function so there were no errors at load
-Bar is now top center by default, and the width is determined by what modules are set to load
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
1.3
7kB
Nivlix
03-09-12 08:20 PM
1.2
10kB
Nivlix
03-04-12 10:50 PM
1.1
3kB
Nivlix
03-04-12 11:15 AM
1.0
2kB
Nivlix
03-02-12 10:18 PM
0.1
2kB
Nivlix
03-02-12 12:00 AM


Post A Reply Comment Options
Unread 03-04-12, 06:31 AM  
jakchal

Forum posts: 0
File comments: 2
Uploads: 0
currencies to track

I'd be more interested if you had options to track:
marks of ascension/greater marks
plaques
sourcestones
favor
reputation
world event currencies
planarite

good start though.
jakchal is offline Report comment to moderator  
Reply With Quote
Unread 03-04-12, 09:51 AM  
iocontrol

Forum posts: 0
File comments: 2
Uploads: 0
Repeating Error

I receive a repeating error when this loads:
Code:
[Status Bar by Nivlix] Error: nivStats/nivStats.lua:170: bad argument #1 to 'len' (string expected, got nil)
[Status Bar by Nivlix]     In nivStats / Refresh Modules, event Event.System.Update.End
[Status Bar by Nivlix] stack traceback:
[Status Bar by Nivlix] 	[C]: in function 'len'
[Status Bar by Nivlix] 	nivStats/nivStats.lua:170: in function 'currency'
[Status Bar by Nivlix] 	nivStats/nivStats.lua:116: in function <nivStats/nivStats.lua:109>
iocontrol is offline Report comment to moderator  
Reply With Quote
Unread 03-04-12, 11:06 AM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: Repeating Error

Quote:
Originally Posted by iocontrol
I receive a repeating error when this loads:
Code:
[Status Bar by Nivlix] Error: nivStats/nivStats.lua:170: bad argument #1 to 'len' (string expected, got nil)
[Status Bar by Nivlix]     In nivStats / Refresh Modules, event Event.System.Update.End
[Status Bar by Nivlix] stack traceback:
[Status Bar by Nivlix] 	[C]: in function 'len'
[Status Bar by Nivlix] 	nivStats/nivStats.lua:170: in function 'currency'
[Status Bar by Nivlix] 	nivStats/nivStats.lua:116: in function <nivStats/nivStats.lua:109>
This is fixed in the next release. It's due to an issue with not really having a real "on load" event to signify when everything has been completely loaded and the game is completely ready to play.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-04-12, 11:09 AM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: currencies to track

Quote:
Originally Posted by jakchal
I'd be more interested if you had options to track:
marks of ascension/greater marks
plaques
sourcestones
favor
reputation
world event currencies
planarite

good start though.
I am actually working on this. It is my intention to include a tooltip that will show relevent data for all currencies currently in the players possession. Favor and reputation I need to look in to and see if its actually possible at this point with the API.

Further. I plan on adding the ability to show the alternative currencies on the main bar in lieu of the p/g/s display. Will work on this and get an update out as soon as possible.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-04-12, 11:16 AM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Uploaded v1.1 awaiting approval. The main purpose of this release was to address the error upon entering the game.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-04-12, 10:53 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: Re: currencies to track

Quote:
Originally Posted by Nivlix
Quote:
Originally Posted by jakchal
I'd be more interested if you had options to track:
marks of ascension/greater marks
plaques
sourcestones
favor
reputation
world event currencies
planarite

good start though.
I am actually working on this. It is my intention to include a tooltip that will show relevent data for all currencies currently in the players possession. Favor and reputation I need to look in to and see if its actually possible at this point with the API.

Further. I plan on adding the ability to show the alternative currencies on the main bar in lieu of the p/g/s display. Will work on this and get an update out as soon as possible.
Ok, you dont have the option to change whats actually displayed yet. But the tooltip is there to show all "currencies" on mouseover. I will work on adding lines for event currencies like the glass beads as soon as I have time. Have to actually go back to work tomorrow
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 08:15 AM  
Rustycage
Claw of Regulos
 
Rustycage's Avatar

Forum posts: 20
File comments: 150
Uploads: 0
Exclamation [Error Reporting]

Is there any way you could implement a save log feature, to save error message that show up in chat?

The reason I ask this is because, I get a long error in the chat box, it shows up every 2-3 minutes, and I don't understand it enough to tell you what it is, and it would take me a long time to alt tab back and forth just to type out what it says. I don't think there is a way to copy and paste what it says.
Rustycage is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 08:28 AM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: [Error Reporting]

Quote:
Originally Posted by Rustycage
Is there any way you could implement a save log feature, to save error message that show up in chat?

The reason I ask this is because, I get a long error in the chat box, it shows up every 2-3 minutes, and I don't understand it enough to tell you what it is, and it would take me a long time to alt tab back and forth just to type out what it says. I don't think there is a way to copy and paste what it says.
honestly the easiest way at this point would probably be to take a screen shot of it, maybe maximize the chat window long enough to take the screen shot then shrink it back down. Then just drop the screen shot on photobucket or some such and link it. I dont know if there is a way to dump the error output to a file but I will look.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 01:20 PM  
Rustycage
Claw of Regulos
 
Rustycage's Avatar

Forum posts: 20
File comments: 150
Uploads: 0
Re: Re: [Error Reporting]

Quote:
Originally Posted by Nivlix
Quote:
Originally Posted by Rustycage
Is there any way you could implement a save log feature, to save error message that show up in chat?

The reason I ask this is because, I get a long error in the chat box, it shows up every 2-3 minutes, and I don't understand it enough to tell you what it is, and it would take me a long time to alt tab back and forth just to type out what it says. I don't think there is a way to copy and paste what it says.
honestly the easiest way at this point would probably be to take a screen shot of it, maybe maximize the chat window long enough to take the screen shot then shrink it back down. Then just drop the screen shot on photobucket or some such and link it. I dont know if there is a way to dump the error output to a file but I will look.
There is, the author of nkAdvisor, and other nk addons, created one for one of his addons, I can't remember which.
Rustycage is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 01:54 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: Re: Re: [Error Reporting]

Quote:
Originally Posted by Rustycage
Quote:
Originally Posted by Nivlix
Quote:
Originally Posted by Rustycage
Is there any way you could implement a save log feature, to save error message that show up in chat?

The reason I ask this is because, I get a long error in the chat box, it shows up every 2-3 minutes, and I don't understand it enough to tell you what it is, and it would take me a long time to alt tab back and forth just to type out what it says. I don't think there is a way to copy and paste what it says.
honestly the easiest way at this point would probably be to take a screen shot of it, maybe maximize the chat window long enough to take the screen shot then shrink it back down. Then just drop the screen shot on photobucket or some such and link it. I dont know if there is a way to dump the error output to a file but I will look.
There is, the author of nkAdvisor, and other nk addons, created one for one of his addons, I can't remember which.
hmmm i will take a look at what he did and see how difficult it would be to incorporate.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-06-12, 08:14 AM  
iocontrol

Forum posts: 0
File comments: 2
Uploads: 0
Re: [Error Reporting]

Quote:
Originally Posted by Rustycage
Is there any way you could implement a save log feature, to save error message that show up in chat?
I believe the command to start logging your chat window is: /log

It may require a switch like 'on' or 'off'; however, it would log all things non-combat to a file in your Rift directory. Don't forget to turn it off when you're done; otherwise you'll find your hard drive space eaten up by a very large text file.

Also, nkDebug is the dev tool that was mentioned.
Last edited by iocontrol : 03-06-12 at 08:24 AM.
iocontrol is offline Report comment to moderator  
Reply With Quote
Unread 03-06-12, 01:52 PM  
Van
Zombie

Forum posts: 1
File comments: 4
Uploads: 0
i will love to see Stats like block parry dodge, or the sum of PA contribution would be awesome too, like how much of what stats are you gettin from your PA.
Van is offline Report comment to moderator  
Reply With Quote
Unread 03-06-12, 02:54 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: Re: [Error Reporting]

Quote:
Originally Posted by iocontrol
Quote:
Originally Posted by Rustycage
Is there any way you could implement a save log feature, to save error message that show up in chat?
I believe the command to start logging your chat window is: /log

It may require a switch like 'on' or 'off'; however, it would log all things non-combat to a file in your Rift directory. Don't forget to turn it off when you're done; otherwise you'll find your hard drive space eaten up by a very large text file.

Also, nkDebug is the dev tool that was mentioned.
Thank you iocontrol. This will probably help me a bit in future testing. We determined that the error Rusty is getting is due to a conflict between nivStats and xBagSort. I am thinking its because they are both registering under the same event, and I didnt add enough conditions to make sure it was nivStats that was actually calling the update.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-06-12, 02:57 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Quote:
Originally Posted by Van
i will love to see Stats like block parry dodge, or the sum of PA contribution would be awesome too, like how much of what stats are you gettin from your PA.
Hmmm I hadnt thought about this before Van. At least not in adding it to the bar. But not that I am playing a tanking character I can actually see its usefulness even to me. Let me see what I can get going. I am also going to be redoing things a little bit to fit them into the UI layout that I am going to be working on. So now I really need to add a saved variables file and make the window movable. That way the addon can still be used stand-alone. I will see about getting these stats added for you first though.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-06-12, 03:13 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Quote:
Originally Posted by Nivlix
Quote:
Originally Posted by Van
i will love to see Stats like block parry dodge, or the sum of PA contribution would be awesome too, like how much of what stats are you gettin from your PA.
Hmmm I hadnt thought about this before Van. At least not in adding it to the bar. But not that I am playing a tanking character I can actually see its usefulness even to me. Let me see what I can get going. I am also going to be redoing things a little bit to fit them into the UI layout that I am going to be working on. So now I really need to add a saved variables file and make the window movable. That way the addon can still be used stand-alone. I will see about getting these stats added for you first though.
Does anyone have, or know a resource that has a decent, semi-accurate calc for physical avoidance/mitigation?
Nivlix is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: