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,918
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 04-28-12, 04:21 AM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 169
Uploads: 13
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.
Kendian is offline 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: 9691
File comments: 603
Uploads: 25
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]
Seerah is offline 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: 169
Uploads: 13
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.
Kendian is offline 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: 9691
File comments: 603
Uploads: 25
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.
Seerah is offline Report comment to moderator  
Reply With Quote
Unread 08-30-12, 05:37 AM  
Kazie
A Kobold Labourer

Forum posts: 1
File comments: 77
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.
Kazie is offline 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: 9691
File comments: 603
Uploads: 25
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]
Seerah is offline Report comment to moderator  
Reply With Quote
Unread 09-29-12, 05:32 AM  
LiNK2088
A Murloc Raider

Forum posts: 8
File comments: 178
Uploads: 0
Can you make this addon hide while in pet battle?
LiNK2088 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: