Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 07-23-2004, 01:29 PM   #1 (permalink)
 
Join Date: Jun 2004
Age: 52
Posts: 186
Question Console output with date/time and log

It is simple to realize that the console output will have date/time for each line?
A log is sometimes also helpful.
steamin is offline   Reply With Quote
Old 07-24-2004, 04:15 AM   #2 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by steamin
It is simple to realize that the console output will have date/time for each line?
A log is sometimes also helpful.

I would like to see date/time in console as well, because it would be easier to determine if some of my alerts that I have sending to the console are happening when they should... I have this mostly happening to make sure a certain event is happening in the correct time frame... I've been trying to do this for a while to no real availe... maybe I'll have a breakthrough in the next few weeks, then again maybe not.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 07-24-2004, 04:33 AM   #3 (permalink)
 
Join Date: Mar 2004
Location: Treasure Island, FL
Age: 38
Posts: 548
Send a message via ICQ to Talrol Send a message via MSN to Talrol
Default

there are functions that can be called to return the current system date and time. I'm afraid I'm not in a position right now to look them up for you...however if you add these functions and return the info to a variable or however they work (I'd have to look it up again...) you can then write them into your script as such...

Code:
Console.WriteLine("{0}.{1}.{2} {3}:{4}:{5} <any information you want to display here>", dateVariable.Day, dateVariable.Month, dateVariable.Year, dateVariable.Hour, dateVariable.Minutes, dateVariable.Seconds);
There's actually a much easier way to do it, but again I need to be at my computer to see it, and that won't be until sometime tomorrow. If you look at several of the distro scripts you'll see many examples of this however.
Talrol is offline   Reply With Quote
Old 07-24-2004, 08:17 AM   #4 (permalink)
 
Join Date: Jun 2004
Age: 52
Posts: 186
Default

I dont mean my own scripts! I mean the System/Server outputs!
steamin is offline   Reply With Quote
Old 07-24-2004, 11:03 AM   #5 (permalink)
 
Join Date: Mar 2004
Location: Treasure Island, FL
Age: 38
Posts: 548
Send a message via ICQ to Talrol Send a message via MSN to Talrol
Default

Ohhh lol ok. I gotcha, this was posted under server support, so I thought it was something you were trying to get to do in a script of some sort. I don't think there is a switch that turns on any features like what you are talking about, but maybe a nice forum moderator can move this post over to the suggestions forum?
Talrol is offline   Reply With Quote
Old 07-24-2004, 11:43 AM   #6 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Why your more then welcome to do it for your shard, no reason you can't do it yourself.
Phantom is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5