Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Etomyutikos
Newbie


Joined: 10 May 2008
Posts: 8

PostPosted: Sat May 10, 2008 12:45 am   

[2.25] ATCP when Logging
 
To preface, I had this problem when I purchased CMuD and started using 2.23.

It seems, when logging a MuD using ATCP (Lusternia in this case), CMuD logs every instance of the prompt, whether I can see it in-client or not. This happens only with ATCP MuDs, as I have not been able to reproduce it in others. When I used ZMuD and Charbal's HTML Logger, the logs came out perfect.

Is there some way to handle this through a script? Currently, I use this...

Code:
#FILE 1 C:\CMUD\Lusternia\Logs\%time( "eeee.mm.dd hh.nn.ss" ).html
#WRITE 1 "<html><head><title>"%time( "eeee.mm.dd hh.nn.ss" ) on Lusternia"</title>" %cr "<style>" %cr "<!--" %cr "BODY {" %cr "color: #C0C0C0;" %cr "background-color: #000000" %cr "}" %cr "-->" %cr "</style>" %cr "</head><body><pre>"
#CLOSE 1
#LOG C:\CMUD\Lusternia\Logs\%time( "eeee.mm.dd hh.nn.ss" ).html
#SHOW %ansi( high, cyan)Opening log at %time( "eeee.mm.dd hh.nn.ss" )...


I have that same code copied to another MuD, with some name changes, of course, where the problem doesn't occur. Am I able to add in something, a #GAG or some such, to remove the extra prompts from the log, without affecting the client?
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Sat May 10, 2008 3:09 am   
 
What do you mean logging every instance whether you can see it or not?
Reply with quote
Etomyutikos
Newbie


Joined: 10 May 2008
Posts: 8

PostPosted: Sat May 10, 2008 3:28 am   
 
I idled for a little bit to test. Toward the bottom, where there are multiple prompts, I entered no commands, nor did the MuD itself send me any prompts. They appear on the log as if by magic. This isn't the only instance, but at the very least shows you what I mean by "logging every instance." They all come at the same time, and it's not me hitting "enter." Currently, the only scripts I have enabled on that MuD is the script to log, which fires off a line when I log on, and closes the log on an OnDisconnect Event and, I think, the autologin script.

Quote:
08:16:25p | (Newbie): Iytha says, "Warehouse, even."

08:16:25p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:16:28p | (Newbie): Falani says, "And thats where?"

08:16:28p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:16:37p | (Newbie): Sissinn says, "In cities, communes and villages."

08:16:37p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:29p | Muffled laughter echoes from somewhere outside.

08:17:29p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:29p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:29p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:32p | Horrible, angered shrieks rise up across the Glomdoring, echoing between the

08:17:32p | trees with a sense of righteous and indignant anger.

08:17:32p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:32p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:35p | You grow still and begin to silently pray for preservation of your soul while

08:17:35p | you are out of the land.

08:17:35p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:35p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:35p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:35p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-

08:17:35p | 2526h, 2526m, 2526e, 8p, 11000en, 11000w esSix-


And, to compare, here's a roughly three minute stretch of time on a nonATCP MuD...

Quote:
11:21:06p |

11:21:06p | 6 players counted.

11:21:07p |

11:21:07p | <100%> / <813/813>

11:23:48p | Saved.

11:23:49p |
Reply with quote
Lina
Novice


Joined: 12 Oct 2006
Posts: 49

PostPosted: Thu May 15, 2008 9:53 am   
 
I believe it has to do with the way ATCP is being sent from the MUDs itself. Have you tried the same logging thingie in Achaea. The ATCP sending prompts there are slightly different. I've been wanting to tell Lusternian Coders about the fact that Lusternia ATCP sends their char.vitals almost every 4 seconds, even when there appears to be no reason for it to be sent at all, ie one is idling with no game prompts coming in. (except I don't know how to raise it delicately to them :S) I only noticed this when one day I was idling in Achaea and saw it didn't do the same thing. May or may not be related to this. If not, sorry for derailing. :D
Reply with quote
Lina
Novice


Joined: 12 Oct 2006
Posts: 49

PostPosted: Thu May 15, 2008 10:18 am   
 
ok, I just checked this with the debugger myself in Lusternia to see if the atcp char.vitals co-incided with the prompt logs in normal logging. And yes it does. So it's an atcp issue. I am preparing some logs which I can email to Lusternia's admins and see if they can finetune it like Achaea's.
Reply with quote
Lina
Novice


Joined: 12 Oct 2006
Posts: 49

PostPosted: Thu May 15, 2008 10:30 am   
 
Sorry for so many posts. heh. I found you a solution. If you make a check under sessions/logging - Log after triggers are executed, you won't have the spam prompts in your logs.
Reply with quote
Etomyutikos
Newbie


Joined: 10 May 2008
Posts: 8

PostPosted: Thu May 15, 2008 4:50 pm   
 
Thanks for the reply.

I'll give your fix a try. And, hopefully, you can get Lusternia to respond. Heh.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net