Shattered Kingdoms
https://shatteredkingdoms.org/forums/

Color auto logging for cmud?
https://shatteredkingdoms.org/forums/viewtopic.php?f=42&t=21340
Page 1 of 4

Author:  Teh_Peso [ Mon Jul 04, 2011 11:35 am ]
Post subject:  Color auto logging for cmud?

Can anyone walk me through?

Author:  FinneyOwnzU [ Tue Jul 05, 2011 2:40 pm ]
Post subject:  Re: Color auto logging for cmud?

only posting in gd from now - thx and have a nice day

Author:  the_me [ Tue Jul 05, 2011 3:13 pm ]
Post subject:  Re: Color auto logging for cmud?

I might be thinking old-school G-Mud, but all you had to do was add .html to the end of the log name, and it automatically did it.

Author:  alvarro [ Thu Jul 07, 2011 8:35 am ]
Post subject:  Re: Color auto logging for cmud?

Tried out your trigger Finney and I end up with this error:

Code:
ERROR creating log: C:\Program Files\CMUD\logs\logThursday July 7, 2011 6:29:16 pm ( yyyy-mm-dd-hh).txt


Probably easy to fix, but I really don't know how :oops:

Author:  FinneyOwnzU [ Thu Jul 07, 2011 8:56 am ]
Post subject:  Re: Color auto logging for cmud?

only posting in gd from now - thx and have a nice day

Author:  alvarro [ Thu Jul 07, 2011 9:42 am ]
Post subject:  Re: Color auto logging for cmud?

Yea. I was looking forward to the font and background fix.

I get this error now

Quote:
Welcome to Shattered Kingdoms.
Log is on: C:\Program.txt

Author:  FinneyOwnzU [ Thu Jul 07, 2011 10:22 am ]
Post subject:  Re: Color auto logging for cmud?

only posting in gd from now - thx and have a nice day

Author:  FinneyOwnzU [ Thu Jul 07, 2011 10:37 am ]
Post subject:  Re: Color auto logging for cmud?

only posting in gd from now - thx and have a nice day

Author:  alvarro [ Thu Jul 07, 2011 10:42 am ]
Post subject:  Re: Color auto logging for cmud?

Okay! So far so good :)
Code:
Log is on: C:\Program Files\CMUD\logs\2011-07-07-20.txt

I changed the path to my logs dir as addition to your script line.

However my log file doesn't seem to accept the font and background color. Renaming the .txt file to .html I get this in my browser:
Code:
bgcolor="black"
 font="silver"
 Welcome to Shattered Kingdoms.
Log is on: C:\Program Files\CMUD\logs\2011-07-07-20.txt

Author:  FinneyOwnzU [ Thu Jul 07, 2011 11:12 am ]
Post subject:  Re: Color auto logging for cmud?

only posting in gd from now - thx and have a nice day

Page 1 of 4 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/