| Updated: | 07-08-11 01:07 PM |
| Created: | 10-02-09 09:59 PM |
| Downloads: | 4,361 |
| Favorites: | 40 |
| MD5: |
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
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)
-- 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")
File Name |
Version |
Size |
Author |
Date |
Type |
v1.1 |
1kB |
03-10-12 03:43 AM |
Addon |
||
1.0.3 |
1kB |
07-08-11 01:10 PM |
Addon |
||
1.0.4 |
2kB |
07-08-11 01:09 PM |
Addon |
||
1.0.2 |
1kB |
12-28-10 03:25 PM |
Addon |
||
1.0.1 |
904B |
12-27-10 09:04 PM |
Addon |
||
1.0.0 |
1kB |
12-27-10 08:55 PM |
Addon |
||
1.0.0 |
1kB |
12-27-10 08:31 PM |
Addon |
||
1.0 |
955B |
12-27-10 04:42 PM |
Addon |
||
1.0.20100309 |
1kB |
03-09-10 10:07 PM |
Addon |
||
1.0.20100308 |
2kB |
03-08-10 10:28 PM |
Addon |
File Name |
Version |
Size |
Author |
Date |
1.2 |
109kB |
Seerah |
02-19-11 03:55 PM |
|
1.1.2 |
109kB |
Seerah |
02-15-11 08: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 10: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 |
![]() |
Comment Options |
|
|
|
|
No errors so far.
Running /run print(sStats_clockText:GetText()) I get the response of 'nil'. |
|
|
|
|
|
|
|
|
|
|
||
|
||
|
|
|
|
|
|
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
Last edited by Seerah : 06-02-11 at 08:48 PM.
|
|
|
|
|
|
||
__________________
"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 |
||
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
||
|
Re: 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 |
||
|
|
|
|
|
|
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 |
|
|
|
![]() |