Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(111 Kb)
Download
Updated: 08-26-12 09:44 PM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-26-12 09:44 PM
Created:10-02-09 09:59 PM
Downloads:5,815
Favorites:43
MD5:
sStats  Popular! (More than 5000 hits)
Version: 1.2.4
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.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 (8)
File Name
Version
Size
Author
Date
Type
1.1
1kB
04-07-13 05:27 AM
Addon
v1.3
1kB
09-06-12 11:14 PM
Addon
1.0.4
1kB
08-26-12 09:45 PM
Addon
1.0.5
2kB
08-26-12 09:45 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
1.0
955B
12-27-10 05:42 PM
Addon


Archived Files (9)
File Name
Version
Size
Author
Date
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 11-11-10, 12:23 PM  
reets
A Kobold Labourer
 
reets's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
ah ok, i went and rechecked all the modules (all which i got from the optional files section) and looks like the Gold module has the name of "clock" also.

i made my own module that shows everything in 1 line (instead of a bunch of different blocks of data) so i forgot to come back and respond.
reets is offline Report comment to moderator  
Reply With Quote
Unread 11-05-10, 08:54 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9615
File comments: 589
Uploads: 25
Re: error

Originally posted by reets
I figured out what causes the below error. It it the clock addon from the Optional Files.

Code:
Message: ..\AddOns\sStats\sStats.lua line 489:
   sStats has already been added to the Blizzard Options Window with the given path
?... I don't get that error. When do you get that error?

Do you have any other extra modules installed? The clock module serves as the tutorial for creating modules, and it sounds as if someone did not give their new module a unique identifier.
__________________
"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 online now Report comment to moderator  
Reply With Quote
Unread 10-31-10, 01:03 PM  
reets
A Kobold Labourer
 
reets's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
error

I figured out what causes the below error. It it the clock addon from the Optional Files.

Code:
Message: ..\AddOns\sStats\sStats.lua line 489:
   sStats has already been added to the Blizzard Options Window with the given path
reets is offline Report comment to moderator  
Reply With Quote
Unread 09-24-10, 09:27 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9615
File comments: 589
Uploads: 25
Originally posted by thatguynz2010
Hi Seerah, slightly off topic question - what is the font that you are using in those screenshots? It's really nice and simple!
I believe it was Florencesans: http://www.dafont.com/florencesans.font
__________________
"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 online now Report comment to moderator  
Reply With Quote
Unread 09-24-10, 04:38 PM  
thatguynz2010
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi Seerah, slightly off topic question - what is the font that you are using in those screenshots? It's really nice and simple!
thatguynz2010 is offline Report comment to moderator  
Reply With Quote
Unread 08-09-10, 10:59 AM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9615
File comments: 589
Uploads: 25
Somehow, you have sStats trying to create its options twice, it looks like. Try disabling everything but the sStats core addon and try again.
__________________
"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 online now Report comment to moderator  
Reply With Quote
Unread 08-01-10, 08:58 PM  
Dyiera
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
lua error

That's exactly what I was looking for. But sadly it won't work for me.

Each time I try to activate/configure it, I get the following error:

Code:
Message: Interface\AddOns\sStats\sStats.lua:489: sStats has already been added to the Blizzard Options Window with the given path
Time: 08/02/10 04:41:34
Count: 1
Stack: [C]: ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1899: in function `AddToBlizOptions'
Interface\AddOns\sStats\sStats.lua:489: in function <Interface\AddOns\sStats\sStats.lua:353>
Interface\AddOns\sStats\sStats.lua:499: in function <Interface\AddOns\sStats\sStats.lua:493>
Interface\AddOns\sStats\sStats.lua:534: in function <Interface\AddOns\sStats\sStats.lua:532>

Locals: (*temporary) = "sStats has already been added to the Blizzard Options Window with the given path"
I can only see grey boxes without any content and move them around, but no text's in there. What's wrong? What can I do?
Dyiera is offline Report comment to moderator  
Reply With Quote
Unread 07-25-10, 02:45 AM  
Pro-Fool
A Murloc Raider

Forum posts: 5
File comments: 30
Uploads: 0
[Request] Beautiful but....

Would be nice if the tooltip for the addon memory listed known addons in order of most to least memory usage (or / with the ability to trim to the max X).
Last edited by Pro-Fool : 07-25-10 at 02:52 AM.
Pro-Fool is offline Report comment to moderator  
Reply With Quote
Unread 07-14-10, 12:17 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9615
File comments: 589
Uploads: 25
No need for that. It *is* in the config. It's a checkbox labelled "Font Shadow". I forgot to take a screenshot of the new config last night, but I assure you it's there.

/edit: Ferous messed me up (and I need to drink more of this caffeine in front of me).

@Ferous - you quoted a comment that was almost a month old. I added shadows in response to it.
__________________
"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 : 07-14-10 at 12:19 PM.
Seerah is online now Report comment to moderator  
Reply With Quote
Unread 07-13-10, 11:02 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Originally posted by Rosoaa
This is everything I've been looking for. Although I couldn't find anything in the config or lua about shadowing the text.
In reponse to this, you can find in the lua the size it will look like this:

f:SetFont("filename", fontHeight, "flags")

Change the flags to "OUTLINE" or what not.

Also, try to look for this:

f:SetShadowOffset(1, 1)

that will set the background shadow

edit - If the shadowoffset ain't there you can add it with the other font settings in the lua.
Last edited by Ferous : 07-13-10 at 11:03 PM.
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 07-13-10, 10:58 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Hmm this looks way better than sst no offense soeters I still like you!

I will def try this out
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 06-24-10, 09:15 PM  
Rosoaa
A Flamescale Wyrmkin
 
Rosoaa's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 107
File comments: 179
Uploads: 1
This is everything I've been looking for. Although I couldn't find anything in the config or lua about shadowing the text.
__________________
Rosoaa's UI
Last edited by Rosoaa : 06-24-10 at 09:15 PM.
Rosoaa is offline Report comment to moderator  
Reply With Quote
Unread 03-10-10, 07:42 AM  
Screid123
A Deviate Faerie Dragon
 
Screid123's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 4
Uploads: 2
Basic "Gold" and "Bags" plugins available

If anyone cares, I added very basic sStats_Gold and sStats_Bags plugins recently.

I am beginning to explore LUA coding and making my own UI, and liked Seerah's sStats. Plus the API is extremely easy to make plugins. Well done Seerah!
Last edited by Screid123 : 03-10-10 at 07:44 AM.
Screid123 is offline Report comment to moderator  
Reply With Quote
Unread 03-10-10, 04:13 AM  
Neef
A Cliff Giant
 
Neef's Avatar

Forum posts: 75
File comments: 39
Uploads: 0
Originally posted by Soulcleaver
is it possible to show Gold plx? its the only thing i want and this addons is powning ^^
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 [MODULE], so I won't spare the time to make it, tbh. But since sStats has an open framework you can.
Originally posted by Seerah
No, I don't. But someone else can. That's the whole reason why sStats is a *framework*.
http://wowprogramming.com/
http://www.wowwiki.com/Lua

Have Fun
Neef is offline Report comment to moderator  
Reply With Quote
Unread 01-28-10, 07:07 AM  
Soulcleaver
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 52
Uploads: 12
is it possible to show Gold plx? its the only thing i want and this addons is powning ^^
Soulcleaver is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: