Armageddon General Discussion Board

New Player Forum => New Player Questions => Topic started by: MeTekillot on September 09, 2014, 09:56:18 PM

Title: MUSHclient logging
Post by: MeTekillot on September 09, 2014, 09:56:18 PM
Anyone here know a way for MUSHclient to auto-log something with a "<charname> <date>" name for each log for every time I connect and log in?
Title: Re: MUSHclient logging
Post by: LauraMars on September 09, 2014, 10:27:24 PM
>World Properties
>Logging

In the automatically log to this text file box, browse to the folder you want to save your logs to and use their date/time variables.  Here's what mine looks like:

C:\Users\Blah\Blah\armageddon\CurrentDude\CurrentDude %m - %d - %Y.txt

the %m - %d - %Y auto populate to look like this:

CurrentDude 09-09-2014.txt
Title: Re: MUSHclient logging
Post by: LauraMars on September 09, 2014, 10:35:17 PM
Here's all the variables you can use in your log files with mushclient's logging feature.

http://www.gammon.com.au/scripts/doc.php?dialog=IDD_PREFS_P4


I still haven't found a way to timestamp every line of my logged sessions, which I'd like to figure out how to do someday.  If anybody knows, maybe they could share the knowledge here.
Title: Re: MUSHclient logging
Post by: Nathvaan on September 10, 2014, 05:57:39 AM
Quote from: LauraMars on September 09, 2014, 10:35:17 PM
I still haven't found a way to timestamp every line of my logged sessions, which I'd like to figure out how to do someday.  If anybody knows, maybe they could share the knowledge here.

There is an included plugin called timestamps.xml that may do this for you (Version 4.62+).

I can honestly say I haven't messed with it much and I am not sure if it can just timestamp to logs.

Info on timestamps (http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=10625)

:)
Title: Re: MUSHclient logging
Post by: LauraMars on September 10, 2014, 01:02:23 PM
Yeah, I've tried the timestamps.xml plugin but it doesn't actually show up in logs. :( thanks though
Title: Re: MUSHclient logging
Post by: Nathvaan on September 11, 2014, 04:31:00 AM
Looks like I was thinking of this to be more complicated that it really is.

To add timestamps to your MUCHclient logs do the following:

Click Game, Configure, Logging.
There is a section called preamble.
Put in the preamble you would like for commands and output

For example:
%m/%d/y %I:%M:%S]

Would have the preamble to all command and output looking like:
09/11/14 04:27:07] Mud text here.

Of course you can use any of the special characters (or any characters) in the formatting for the preamble.  I tested this and it works very well!
Title: Re: MUSHclient logging
Post by: MeTekillot on September 18, 2014, 12:19:52 AM
Got it working! Thanks :)
Title: Re: MUSHclient logging
Post by: MeTekillot on May 12, 2015, 11:34:44 PM
Bumping this for my own sake, and for anybody else's.
Title: Re: MUSHclient logging
Post by: Agent_137 on May 13, 2015, 12:08:18 PM
good bump.

I made a picture to help. Also tweaked Nathvaan's timestamp code because it wasn't ISO compliant and most of all because it was using a 12 hour format without a AM/PM indicator.

Click for full size.
(https://dl.dropboxusercontent.com/u/6237857/mushclient-logging.png) (https://dl.dropboxusercontent.com/u/6237857/mushclient-logging.png)