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,429
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 09-29-12, 05:32 AM  
LiNK2088
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 246
Uploads: 1
Can you make this addon hide while in pet battle?
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 07:45 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 Kazie
Do you plan on adding guild and friends modules, with working and interactive tooltips?? such as:

Click whisper
Alt-invite
Shift-click to who

etc..

Maybe something like diminfo, where you can hide zones, servers, lvls etc. but show if you shift-mouseover - i don't know..

Just a thought.
I don't, because I won't use them. But it's an open, documented API for a reason.
__________________
"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 08-30-12, 05:37 AM  
Kazie
A Kobold Labourer

Forum posts: 1
File comments: 79
Uploads: 0
Do you plan on adding guild and friends modules, with working and interactive tooltips?? such as:

Click whisper
Alt-invite
Shift-click to who

etc..

Maybe something like diminfo, where you can hide zones, servers, lvls etc. but show if you shift-mouseover - i don't know..

Just a thought.
Report comment to moderator  
Reply With Quote
Unread 04-29-12, 04:07 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 10860
File comments: 687
Uploads: 33
I don't think you sounded like a smart ass. The "few hours trying" line put you in the clear.
__________________
"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]
Last edited by Seerah : 04-29-12 at 04:07 PM.
Report comment to moderator  
Reply With Quote
Unread 04-29-12, 07:41 AM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 167
Uploads: 11
Apparently I'm no intelligent enough to figure out how to do that, although I DID spend a few hours trying. My thanks, lady, as always, for your help, and your time~


Edit: Just re-read this and saw it looked like I was being a smart ass. I was not, and no offense was intended~
__________________
Last edited by Kendian : 04-29-12 at 01:27 PM.
Report comment to moderator  
Reply With Quote
Unread 04-28-12, 12: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
Well, the tooltip shows total, Blizzard, and addon memory amounts. If you want to show it on the display rather than in the tooltip, you'll have to do the calculations in OnUpdate rather than OnEnter. (You'll see those two sections in the Lua file.)
__________________
"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 04-28-12, 04:21 AM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 167
Uploads: 11
Is there any way to have the memory module show just addon memory, as opposed to total? My thanks, in advance, for any and all help~
__________________
Last edited by Kendian : 04-28-12 at 07:15 AM.
Report comment to moderator  
Reply With Quote
Unread 06-08-11, 02:57 PM  
Salv
A Kobold Labourer
 
Salv's Avatar

Forum posts: 0
File comments: 26
Uploads: 0
No errors so far.

Running /run print(sStats_clockText:GetText()) I get the response of 'nil'.
Report comment to moderator  
Reply With Quote
Unread 06-07-11, 09:50 AM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 10860
File comments: 687
Uploads: 33
Are you getting any errors? (Make sure that you do not have "hide Lua errors" checked in Interface Options.)

What do you get when doing
/run print(sStats_clockText:GetText())
__________________
"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 06-06-11, 04:45 PM  
Salv
A Kobold Labourer
 
Salv's Avatar

Forum posts: 0
File comments: 26
Uploads: 0
Didn't seem to change anything.

Here's a screenshot: http://i.imgur.com/JWMSZ.jpg
Report comment to moderator  
Reply With Quote
Unread 06-04-11, 09:41 AM  
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 Salv
Nope. I'm using the main 3 (memory, fps and latency) and the clock.
Try disabling all other addons besides sStats and sStats_clock.
__________________
"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 06-04-11, 07:42 AM  
Salv
A Kobold Labourer
 
Salv's Avatar

Forum posts: 0
File comments: 26
Uploads: 0
Originally posted by Seerah
sStats_clock is working fine for me. Do you happen to have sStats_Gold installed? There's an error with that code where it registers the module as "clock" instead of "gold". If so, it's simple enough for you to open up and fix.
Nope. I'm using the main 3 (memory, fps and latency) and the clock.
Report comment to moderator  
Reply With Quote
Unread 06-02-11, 08:48 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 10860
File comments: 687
Uploads: 33
sStats_clock is working fine for me. Do you happen to have sStats_Gold installed? There's an error with that code where it registers the module as "clock" instead of "gold". If so, it's simple enough for you to open up and fix.
__________________
"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]
Last edited by Seerah : 06-02-11 at 08:48 PM.
Report comment to moderator  
Reply With Quote
Unread 05-30-11, 09:12 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 Salv
This might sound silly but is the clock an actual working module?

The preview screenshots would indicate to me that it is but the time just isn't appearing for me. I can see the clock module 'mover' when the addon's unlocked but other than that it's no where to be found. I've tried redownloading both of them and adding the clock lua file to the modules folder in the sStats core but neither worked.

The clock module also isn't creating a separate lua/bak file. Don't know if that means something or it's because the saved options are tied into the main sStats addon.

Anything I can do or try to get this working? Maybe it has something to do with the Blizzard clock?
It should be working, yes. I'll check into it. I've had it disabled recently and have been using the default one on the minimap (since my PocketPlot addon configures it, too).
__________________
"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 05-30-11, 06:30 PM  
Salv
A Kobold Labourer
 
Salv's Avatar

Forum posts: 0
File comments: 26
Uploads: 0
This might sound silly but is the clock an actual working module?

The preview screenshots would indicate to me that it is but the time just isn't appearing for me. I can see the clock module 'mover' when the addon's unlocked but other than that it's no where to be found. I've tried redownloading both of them and adding the clock lua file to the modules folder in the sStats core but neither worked.

The clock module also isn't creating a separate lua/bak file. Don't know if that means something or it's because the saved options are tied into the main sStats addon.

Anything I can do or try to get this working? Maybe it has something to do with the Blizzard clock?
Last edited by Salv : 05-30-11 at 06:35 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: