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:791
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-08-12, 08:13 AM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Just wanted to give you guys a quick update on whats going on. I am in the process of redoing the files in the addon and splitting up the different things that can be displayed on the bar. However, I am in a training seminar all week at work so I dont have a whole lot of time to work on it.

Here is a list of the data I will be including in the next release of the addon;
-General stats(str, wis, int, etc.)
-Offensive stats (physical crit, magical crit, etc.)
-Defensive stats (resists, dodge, parry, block, etc.)
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-09-12, 08:22 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
xBagSort

Xioden point out the issue to me on why I was conflicting with xBagSort. Got this fixed so there shouldnt be any other conflict issues here. Changed the availability of the settings section to local.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-10-12, 08:26 AM  
Rustycage
Claw of Regulos
 
Rustycage's Avatar

Forum posts: 20
File comments: 150
Uploads: 0
Re: xBagSort

Thanks Nivlix. I also read where you said you're working on a UI to integrate this into, I'm interested in that. I've been wanting to see some creative UI's, but I've only come across Layouts on here, which aren't really as creative as a full on UI. It can be done, but the best way to do it, is to recreate some of the parts of the default UI, and replace them with it, and then put images behind the 2+ actionbars, and hide the default one, and recreate it's functionality.

Quote:
Originally Posted by Nivlix
Xioden point out the issue to me on why I was conflicting with xBagSort. Got this fixed so there shouldnt be any other conflict issues here. Changed the availability of the settings section to local.
Rustycage is offline Report comment to moderator  
Reply With Quote
Unread 03-10-12, 01:58 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: Re: xBagSort

Quote:
Originally Posted by Rustycage
Thanks Nivlix. I also read where you said you're working on a UI to integrate this into, I'm interested in that. I've been wanting to see some creative UI's, but I've only come across Layouts on here, which aren't really as creative as a full on UI. It can be done, but the best way to do it, is to recreate some of the parts of the default UI, and replace them with it, and then put images behind the 2+ actionbars, and hide the default one, and recreate it's functionality.

Quote:
Originally Posted by Nivlix
Xioden point out the issue to me on why I was conflicting with xBagSort. Got this fixed so there shouldnt be any other conflict issues here. Changed the availability of the settings section to local.
There are two reasons I am not focusing on the action bars yet (they would have been the first thing to go honestly). 1. you cant hook the action bars yet, so recreating the bars would not be completely possible yet (same problem as replacing the default bags). 2. You cant recreate the experience bar yet, in any fashion, you cant even query for the experience amount yet. So you wouldnt be able to completely do away with the primary action bar if you want to be able to see your experience.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-10-12, 02:08 PM  
Rustycage
Claw of Regulos
 
Rustycage's Avatar

Forum posts: 20
File comments: 150
Uploads: 0
Re: Re: Re: xBagSort

You don't really need to recreate the bars, you just use all the bars except for the default one, and as for the EXP bar, you can always turn on showing EXP in chat, and have a separate chat box for that, so you can keep track of it, until the API supports access to the EXP bar, and add the EXP bar later. That's what I would do.

Quote:
Originally Posted by Nivlix
Quote:
Originally Posted by Rustycage
Thanks Nivlix. I also read where you said you're working on a UI to integrate this into, I'm interested in that. I've been wanting to see some creative UI's, but I've only come across Layouts on here, which aren't really as creative as a full on UI. It can be done, but the best way to do it, is to recreate some of the parts of the default UI, and replace them with it, and then put images behind the 2+ actionbars, and hide the default one, and recreate it's functionality.

Quote:
Originally Posted by Nivlix
Xioden point out the issue to me on why I was conflicting with xBagSort. Got this fixed so there shouldnt be any other conflict issues here. Changed the availability of the settings section to local.
There are two reasons I am not focusing on the action bars yet (they would have been the first thing to go honestly). 1. you cant hook the action bars yet, so recreating the bars would not be completely possible yet (same problem as replacing the default bags). 2. You cant recreate the experience bar yet, in any fashion, you cant even query for the experience amount yet. So you wouldnt be able to completely do away with the primary action bar if you want to be able to see your experience.
Rustycage is offline Report comment to moderator  
Reply With Quote
Unread 03-11-12, 12:59 AM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: Re: Re: Re: xBagSort

Quote:
Originally Posted by Rustycage
You don't really need to recreate the bars, you just use all the bars except for the default one, and as for the EXP bar, you can always turn on showing EXP in chat, and have a separate chat box for that, so you can keep track of it, until the API supports access to the EXP bar, and add the EXP bar later. That's what I would do.
What I meant by recreating the bars, is completely redoing them, I want to be able to make my own button styles and stuff like that. And I like to actually see the bar with my exp, so I know at a glance how far through the level I am. I will be posting a new screen shot to my author portal some time today with the progress on the UI.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-12-12, 07:43 AM  
Rustycage
Claw of Regulos
 
Rustycage's Avatar

Forum posts: 20
File comments: 150
Uploads: 0
Re: Re: Re: Re: Re: xBagSort

I have an idea for the exp, if it will work.

I was thinking, why not write an addon that can read the percentage of the EXP gained that you can have show up in chat, and produce an image to show at a glance what that percentage looks like, that way you're going around the API's lack of support for it, while still being able to have an EXP bar.

What do you think? Can that be done?

Quote:
Originally Posted by Nivlix
Quote:
Originally Posted by Rustycage
You don't really need to recreate the bars, you just use all the bars except for the default one, and as for the EXP bar, you can always turn on showing EXP in chat, and have a separate chat box for that, so you can keep track of it, until the API supports access to the EXP bar, and add the EXP bar later. That's what I would do.
What I meant by recreating the bars, is completely redoing them, I want to be able to make my own button styles and stuff like that. And I like to actually see the bar with my exp, so I know at a glance how far through the level I am. I will be posting a new screen shot to my author portal some time today with the progress on the UI.
Rustycage is offline Report comment to moderator  
Reply With Quote
Unread 03-12-12, 10:58 AM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Re: Re: Re: Re: Re: Re: xBagSort

Quote:
Originally Posted by Rustycage
I have an idea for the exp, if it will work.

I was thinking, why not write an addon that can read the percentage of the EXP gained that you can have show up in chat, and produce an image to show at a glance what that percentage looks like, that way you're going around the API's lack of support for it, while still being able to have an EXP bar.

What do you think? Can that be done?
I will definitely consider this, and look into it more, depending on what comes in to the API with 1.8. I would have to figure out whether or not its possible to, and how to capture and parse the incoming chat. But i will toss the idea around.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-14-12, 06:49 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
Update

Ok wanted to give you guys an update of whats going on. This has actually been split into 4 separate addons. 1 for the bar, and 1 for each of the data blocks I have already written. I have also made it to where this can be modular. In other words, by following the structure in the 3 data addons I am providing you guys should be able to make any data block you want and tie it directly into the bar. The last thing and the biggest in my opinion is that the bar is now movable and sizeable, and will save settings between sessions.
Nivlix is offline Report comment to moderator  
Reply With Quote
Unread 03-15-12, 07:03 PM  
Nivlix
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 17
Uploads: 1
v2.0

New version pending approval. Hope you enjoy
Nivlix is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: