Category: Plug-Ins & Patches
Addon Information
Works with 3.3
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Seerah's Portal Bug Reports Feature Requests

This file is a Addon for sStats by Seerah. You must have that installed before this Addon will work.

Author:
Version:
1.0.1
Date:
12-10-2009 11:02 PM
Size:
1.56 Kb
Downloads:
540
Favorites:
4
MD5:
Pictures
Click to enlarge
sStats_clock
sStats Clock
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
  Change Log - sStats Clock
v.1.0.1
- updated TOC number
  Archived Versions - sStats Clock
File Name
Version
Size
Author
Date
1.0
2kB
Seerah
10-02-2009 11:05 PM
  Comments - sStats Clock
Post A Reply Comment Options
Old 12-20-2009, 05:46 AM  
LiNK2088
A Murloc Raider

Forum posts: 4
File comments: 48
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-2009 at 11:06 AM.
LiNK2088 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-04-2009, 09:42 AM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
Interface Author - Click to view interfaces

Forum posts: 6587
File comments: 354
Uploads: 19
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

Seerah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-04-2009, 12:46 AM  
blitzseed
A Kobold Labourer

Forum posts: 0
File comments: 46
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   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.