Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 Kb)
Download
Updated: 10-22-14 09:24 PM
Addon for:
sStats.
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-22-14 09:24 PM
Created:10-02-09 10:05 PM
Downloads:3,039
Favorites:8
MD5:
6.0.2
sStats Clock  Updated less than 3 days ago!
Version: 1.0.6
by: Seerah [More]
This is a module for sStats, a data display framework.


This module is a good example for how to write your own module. The code is full of comments to explain and expand upon the sStats API.


The sStats API may be found on the sStats page: http://www.wowinterface.com/downloads/fileinfo.php?id=14814
v.1.0.6
- updated TOC number for WoD

v.1.0.5
- updated TOC number for MoP

v.1.0.4
- updated TOC number

v.1.0.2
- put in a nil check to get rid of a random error

v.1.0.2
- bumped TOC number for 4.0.1

v.1.0.1
- updated TOC number
Archived Files (6)
File Name
Version
Size
Author
Date
1.0.5
2kB
Seerah
08-26-12 09:45 PM
1.0.4
2kB
Seerah
07-08-11 01:09 PM
1.0.3
2kB
Seerah
12-24-10 12:01 AM
1.0.2
2kB
Seerah
11-05-10 10:52 PM
1.0.1
2kB
Seerah
12-10-09 11:02 PM
1.0
2kB
Seerah
10-02-09 10:05 PM


Post A Reply Comment Options
Unread 11-04-09, 12:46 AM  
blitzseed
A Kobold Labourer

Forum posts: 0
File comments: 70
Uploads: 0
not working

so to night Nov 4 at about 1am the clock stopped working and i dont know why
so need some help
blitzseed is offline Report comment to moderator  
Reply With Quote
Unread 11-04-09, 09:42 AM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9627
File comments: 591
Uploads: 25
Thank you for reminding me. I noticed one night that the clock had stopped working, too. (Made me stay up way past my bedtime. )
__________________
"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 12-20-09, 05:46 AM  
LiNK2088
A Murloc Raider

Forum posts: 8
File comments: 169
Uploads: 0
I get this error, other modules work fine.

Code:
Message: Interface\AddOns\sStats_Clock\clock.lua:47: attempt to concatenate local 'suffix' (a nil value)
Time: 12/20/09 12:45:38
Count: 344
Stack: Interface\AddOns\sStats_Clock\clock.lua:47: in function <Interface\AddOns\sStats_Clock\clock.lua:32>

Locals: self = sStats_clock {
 0 = <userdata>
}
elapsed = 0.017000000923872
time = "12:45"
suffix = nil
(*temporary) = <function> defined @Interface\AddOns\sStats\sStats.lua:77
(*temporary) = sStats {
 CreateModule = <function> defined @Interface\AddOns\sStats\sStats.lua:44
 UnregisterAllCallbacks = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:202
 UnregisterCallback = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:181
 SetModuleText = <function> defined @Interface\AddOns\sStats\sStats.lua:77
 0 = <userdata>
 callbacks = <table> {
 }
 optionsFrame = <unnamed> {
 }
 RegisterCallback = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
}
(*temporary) = sStats_clockText {
 0 = <userdata>
}
(*temporary) = "12:45"
(*temporary) = " "
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'suffix' (a nil value)"
count = 11.006000757217
sStats_clockText = sStats_clockText {
 0 = <userdata>
}
EDIT

Fixed it myself by changing
Code:
sStats:SetModuleText(sStats_clockText, time, " "..suffix)
into
Code:
sStats:SetModuleText(sStats_clockText, time, " ")
Last edited by LiNK2088 : 12-20-09 at 11:06 AM.
LiNK2088 is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 01:19 AM  
NeKrONOx
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
Does not work for me.
Shows nothing only the frame for moving (unlock)

I think it has something to do with 12h / 24h format.
NeKrONOx is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 06:12 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9627
File comments: 591
Uploads: 25
Originally posted by NeKrONOx
Does not work for me.
Shows nothing only the frame for moving (unlock)

I think it has something to do with 12h / 24h format.
Why? Does it work with 12-hr format and not with 24? Did you try with all other addons besides sStats and sStats_Clock disabled? (Even extra sStats plugins?)
__________________
"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
Post A Reply



Category Jump: