Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(112 Kb)
Download
Updated: 10-22-14 09:22 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-22-14 09:22 PM
Created:10-02-09 09:59 PM
Downloads:5,875
Favorites:44
MD5:
sStats  Popular! (More than 5000 hits)
Version: 1.2.5
by: Seerah [More]

This is beta quality software. As such, the framework outlined below may change or be expanded upon as the core is developed.


sStats is a framework for a module-based data display system. The sStats core addon comes with three modules by default. Additional modules may be found by clicking the "Optional Files" tab above, and can be installed like any other addon.

The included modules are:
  • sStats_mem - a memory display
  • sStats_fps - a framerate display
  • sStats_lat - a latency display

Modules are fully movable about the screen when unlocked, and their elements may be configured (such as font and color).

Future Features:
  • ability to change font, etc. on a per-module basis [ADDED!]
  • ....


The sStats API Documentation:
Code:
frame, fontstring = sStats:CreateModule(key)
     -- key = a unique identifier/name of your module (string)
     -- frame = a reference to your module's frame
     -- fontstring = a reference to your module's fontstring
Code:
sStats.RegisterCallback(module, event, method)
     -- module = the module registering for the callback
     -- event = the event fired by sStats - it is called "sStats_Modules_Ready"
     -- method = the function to call when the event fires (may be declared elsewhere in your module's code or right in the RegisterCallback script)
Code:
-- optional:
sStats:SetModuleText(fontstring, prefix, suffix)
     -- fontstring = the module's fontstring
     -- prefix = the value/data to display in the module
     -- suffix = any descriptor text after the data (ex. "MB")
If you wish to create a module, download the sStats_Clock module from the Optional Files tab above. There are more docs and comments in its code, and it is a simple example.
1.2.5
- updated TOC number for WoD

1.2.4
- updated TOC number for MoP
- updated libs
- removed "MONOCHROME" font flag because it crashes the client currently
- changed "THICK OUTLINE" to "MONOCHROME OUTLINE"

1.2.1
- updated libs
- updated TOC number

1.2
- latency module now uses World Latency in its display
- there is a new tooltip for the latency module, showing both UI and World latency (you can disable it in options)

1.1.2
- updated libs

1.1.1
- updated libs
- bumped TOC number

1.1
- per-module options are in! not for colors though
- updated SharedMedia widgets for options - nice new looks!
- added font shadow option

1.0 beta 4
- updated libs and TOC number

1.0 beta 3
- ack! accidentally had a generic variable as a global. that could have cause some problems...

1.0 beta 2
- fixed bug where modules were white when logging in with them locked
- added class color support for suffix texts
- added CUSTOM_CLASS_COLORS support
Optional Files (7)
File Name
Version
Size
Author
Date
Type
1.0.5
1kB
10-22-14 09:26 PM
Addon
1.0.6
2kB
10-22-14 09:24 PM
Addon
1.1
1kB
04-07-13 05:27 AM
Addon
v1.3
1kB
09-06-12 11:14 PM
Addon
1.0.2
1kB
12-28-10 04:25 PM
Addon
1.0.1
904B
12-27-10 10:04 PM
Addon
1.0.0
1kB
12-27-10 09:55 PM
Addon


Archived Files (10)
File Name
Version
Size
Author
Date
1.2.4
111kB
Seerah
08-26-12 09:44 PM
1.2.1
109kB
Seerah
07-08-11 01:07 PM
1.2
109kB
Seerah
02-19-11 04:55 PM
1.1.2
109kB
Seerah
02-15-11 09:01 PM
1.1.1
108kB
Seerah
11-05-10 10:51 PM
1.1
107kB
Seerah
07-13-10 10:31 PM
1.0 beta 4
101kB
Seerah
12-10-09 11:01 PM
1.0 beta 3
96kB
Seerah
10-03-09 07:49 PM
1.0 beta 2
96kB
Seerah
10-03-09 06:24 PM
1.0 beta 1
96kB
Seerah
10-02-09 09:59 PM


Post A Reply Comment Options
Unread 12-17-09, 10:13 AM  
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 341
Uploads: 13
Gold

Just found this addons, seems nice. Need to switch due to SLDT is outdated and causes alot of errors.

Btw anyone thinking about making a gold adddon for sstat?
__________________
Arp UI oUF_Arp
Tobbe8716 is offline Report comment to moderator  
Reply With Quote
Unread 12-14-09, 09:24 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 573
Uploads: 37
Originally posted by Seerah
As mentioned several times before, sStats is a framework for modules for a reason. You can write whatever module for it you need. I won't use a bag display module, so I won't spare the time to make it, tbh. But since sStats has an open framework you can.
Thanks for replying Also thanks again for a wonderful addon! Maybe I will look into making that bag counter myself
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 12-11-09, 10:06 AM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9639
File comments: 595
Uploads: 25
Originally posted by Derkyle
[BThe only thing I'm missing is a bag number display. Could you possibly add a module to display the amount of bag space left? [/b]
As mentioned several times before, sStats is a framework for modules for a reason. You can write whatever module for it you need. I won't use a bag display module, so I won't spare the time to make it, tbh. But since sStats has an open framework you can.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Seerah is offline Report comment to moderator  
Reply With Quote
Unread 12-11-09, 06:44 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 573
Uploads: 37
Although this mod is VERY similar to stText. I prefer this one Good work on this mod. Love being able to have data on my screen that I want to know.

The only thing I'm missing is a bag number display. Could you possibly add a module to display the amount of bag space left?
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 12-11-09 at 06:46 AM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 10-26-09, 06:06 PM  
Lathbethnin
A Murloc Raider

Forum posts: 4
File comments: 1
Uploads: 0
Originally posted by vlakarados
a more descriptive tooltip on the memory frame is really missing, I like the one, that SLDT has, any plans on changing?
I'd second this. And the possibility to do a memory "garbage collection" is something that I personally miss too. I'm just used to having this option from StatBlock
Lathbethnin is offline Report comment to moderator  
Reply With Quote
Unread 10-18-09, 03:18 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9639
File comments: 595
Uploads: 25
Originally posted by jasje
do u have any intention to make a guild stat like who's online etc
similair to sldt?

if not its good to, but thats an option i love from sldt
No, I don't. But someone else can. That's the whole reason why sStats is a *framework*.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Seerah is offline Report comment to moderator  
Reply With Quote
Unread 10-18-09, 11:36 AM  
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view AddOns

Forum posts: 150
File comments: 281
Uploads: 8
do u have any intention to make a guild stat like who's online etc
similair to sldt?

if not its good to, but thats an option i love from sldt
__________________

Tukui | Github
jasje is offline Report comment to moderator  
Reply With Quote
Unread 10-05-09, 06:27 PM  
Jexx
A Deviate Faerie Dragon

Forum posts: 10
File comments: 114
Uploads: 0
This would be awesome if it had the option to display this via a data broker display like ninja panel or similar.
Jexx is offline Report comment to moderator  
Reply With Quote
Unread 10-04-09, 02:11 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9639
File comments: 595
Uploads: 25
Originally posted by Seerah
re: disabling modules
if you don't want a core module for *any* character, you can just delete it from the sStats folder. I may add a disable option at a later date, however.[/b]

re: memory tooltip
I haven't decided yet, tbh. I use a "real" addon for addon profiling (OptionHouse) currently and thought of sStats as being an at-a-glance overview.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Seerah is offline Report comment to moderator  
Reply With Quote
Unread 10-04-09, 11:05 AM  
cloudwolf
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 31
Uploads: 5
disabling some modules whil ingame?

Can you add support to disable some modules while ingame such as mb or fps through a check box? is this possible because going in and deleting the default bits is annoying especially for some people who don't know exactly what they are doing.
cloudwolf is offline Report comment to moderator  
Reply With Quote
Unread 10-04-09, 01:32 AM  
vlakarados
An Aku'mai Servant
 
vlakarados's Avatar
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 136
Uploads: 6
a more descriptive tooltip on the memory frame is really missing, I like the one, that SLDT has, any plans on changing?
vlakarados is offline Report comment to moderator  
Reply With Quote
Unread 10-03-09, 06:27 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9639
File comments: 595
Uploads: 25
beta 2 is up for download.

FIXED: white frames at login when locked
I gave a color/alpha if they were unlocked, but had forgotten to give a color when locked

ADDED: class color support for suffix texts
If I get enough requests, I'll add it in for prefix/value texts as well. This also has support for CUSTOM_CLASS_COLORS
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Seerah is offline Report comment to moderator  
Reply With Quote
Unread 10-03-09, 05:40 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9639
File comments: 595
Uploads: 25
Let me know if you run into any difficulties or quirks making a plugin (if you decide to do so). Or if there's anything that can be described/explained better with the docs. This is the first time I've written an extendable/framework-type addon.

Also, I've looked in my Fonts folder, and I'm using Folks in that screenshot.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Seerah is offline Report comment to moderator  
Reply With Quote
Unread 10-03-09, 05:27 PM  
Arankarzen
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
None the less it looks awesome, updated and I'm using it :P, I'll go bug searching when I next play WoW, whilst I make a mail extension for this so i dont need SLDT anymore
Arankarzen is offline Report comment to moderator  
Reply With Quote
Unread 10-03-09, 01:50 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9639
File comments: 595
Uploads: 25
Thanks for all of the comments so far. Let's see if I can address everything...


re: white when logging in
I believe I know what the issue is and I'll double-check when back at home later today. Though, it should be gray instead of white... I think I forgot to put in a check to see if the frames are locked when giving the frames a background color at creation (since they're unlocked by default)...


re: profiles
hmm.... profiles *should* work, as I used the same implementation as in my other addons, and it was working when I briefly tested them after putting the code in sStats. However, I may have accidentally changed something with a later addition/change to the code. I'll look at it.


re: disabling modules
if you don't want a core module for *any* character, you can just delete it from the sStats folder. I may add a disable option at a later date, however.


re: more modules (@ Arankarzen)
sStats is a framework, so anyone is free to make a mail module (or any type). I, personally, won't use a mail module, so I don't see myself making it. As for rolling them all into one addon, that won't happen either. The additional modules are optional and you only have to install a module that you'll actually use.

(ps. I don't remember off the top of my head what font I have set - I'm at work atm)


re: class coloring
that will probably make it in as a feature - I knew I was forgetting something for the "future features" list...


re: different font sizes for each part of the display (prefix/suffix)
This will *not* be added. In order to do something like that, I would need to create 2 fontstrings.


re: anchoring
I've thought about this... The frames have global names, also, which would allow this. I will continue to think about it, though it is low priority.



Again, thanks for all the comments! If you have any further bug reports or feature requests, PLEASE PLEASE PLEASE use my Portal: http://www.wowinterface.com/portal.php?&uid=39096 Thanks!
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Seerah is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: