Download
(112Kb)
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:8,431
Favorites:43
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.6
1kB
08-30-16 06:19 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


Post A Reply Comment Options
Unread 10-02-09, 10:52 PM  
zero-kill
A Firelord
 
zero-kill's Avatar

Forum posts: 497
File comments: 36
Uploads: 0
Yummy! Can't wait for the polish!
Last edited by zero-kill : 10-02-09 at 10:53 PM.
Report comment to moderator  
Reply With Quote
Unread 10-03-09, 01:33 AM  
KowalskiAvesky
A Kobold Labourer

Forum posts: 1
File comments: 23
Uploads: 0
Ah... Well, I've been fiddling with some ideas myself over the past week (before I heard about SLDT's author leaving). Not sure if it'll come to fruition, but...
I saw what you did here Seerah

Looking forward for improvements like choosing class color instead of a fixed color and anchoring. Not sure if you'll implement it, but they're cool features. Definitely a very strong candidate to replace the now unsupported SLDT.
Report comment to moderator  
Reply With Quote
Unread 10-03-09, 03:21 AM  
Cherah
A Kobold Labourer
 
Cherah's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Oh wow. I definitely like the look of this.
Can't wait to try it out :3
__________________
Hug a Moonkin.
Report comment to moderator  
Reply With Quote
Unread 10-03-09, 07:36 AM  
eldavido
A Kobold Labourer

Forum posts: 1
File comments: 106
Uploads: 0
Yeah, I second the request for class colouring, and would also like to be able to change the size of the text independant of each other, so it would be like :

12:00pm

for example :P
Report comment to moderator  
Reply With Quote
Unread 10-03-09, 07:42 AM  
Arankarzen
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
This looks extremely interesting im looking forward to seeing a replacement for this extremely outdated SLDT addon. All yah need now is a mail data addon and compress it into one addon and im sold :P

Btw what font do you use for wow im interested in trying it out :O
Report comment to moderator  
Reply With Quote
Unread 10-03-09, 08:47 AM  
Dödsmyggan
A Murloc Raider
 
Dödsmyggan's Avatar

Forum posts: 6
File comments: 15
Uploads: 0
Me like this! =P
But the profile is not working, and the profile saves for every server so if I change on some other character so do it change to the same spot on all the other characters on the server.
But must give you a big credit for this, Easy to handle and its doing the job.
I would like to disable some parts too, I don´t want the memory one but its not hard to remove, But only some box to enable or disable it.

Found one more thing, When you log out and in the parts is covered with white color, I need to unlock and lock to get then normal again.
Last edited by Dödsmyggan : 10-03-09 at 09:14 AM.
Report comment to moderator  
Reply With Quote
Unread 10-03-09, 11:18 AM  
geeksugar
A Kobold Labourer
 
geeksugar's Avatar

Forum posts: 0
File comments: 34
Uploads: 0
im getting the white too, everytime i log out and back in the background color has whited out, i have to unlock and lock and it goes back to transparent.

besides that, terrific addon
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: 10860
File comments: 687
Uploads: 33
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]
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
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: 10860
File comments: 687
Uploads: 33
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]
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: 10860
File comments: 687
Uploads: 33
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]
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: 36
File comments: 145
Uploads: 5
a more descriptive tooltip on the memory frame is really missing, I like the one, that SLDT has, any plans on changing?
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.
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: 10860
File comments: 687
Uploads: 33
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]
Report comment to moderator  
Reply With Quote
Unread 10-05-09, 06:27 PM  
Jexx
A Deviate Faerie Dragon

Forum posts: 10
File comments: 118
Uploads: 0
This would be awesome if it had the option to display this via a data broker display like ninja panel or similar.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: