Thus spake Thomas Russ:
> 
> On Jul 25, 2007, at 7:31 PM, Charlie Dodgson wrote:
> 
> > --- In [email protected], "scotthagarty" <[EMAIL PROTECTED]>
> > wrote:
> >>
> >> Is it possible for a logfile to contain timestamps?  For example,  
> >> if I
> >> add a report to various actions in the module, is it also possible to
> >> attach a timestamp to those reports?
> >>
> >> If not, this would make for a great feature.
> >>
> >
> > Yes!  As I was playing earlier tonight, I was just thinking it'd be
> > nice to have each line in the chat window prefaced with the time.
> > Maybe include an option in the Chat Window Preferences to toggle it
> > on/off?
> 
> Are you talking about real-life timestamps?
> 
> There are some issues wrt to various time zones, which might make it  
> tricky unless UCT were used.  But that makes the time information a  
> lot less user-friendly (except for the British ;).
> To support local time zones, the information couldn't just be  
> substituted in the text when the chat item was produced.  It would  
> involve a more complicated data structure for chat line items, and  
> then a display routine for it.  That would also be necessary for it  
> to be turned on and off.

That wouldn't be difficult to do. The easiest way would be to store all
times in UTC and then display them in the user's local time. That's
fetchable from the OS (You do have your clock set correctly, no?).

Unless you want something more complicated, like globally showing the
timestamps created by each player in his own local time. I'm not sure what
good that would be, though.
 
> Or do you mean a game-time related timestamp, perhaps tied to turn  
> tracker state?

That also would be easy to do.
 
I'll make a note of these for when I move on to my logging project.

-- 
J.

Reply via email to