log input?

Post Reply
User avatar
Zaphob
Posts: 180
Joined: Wed May 09, 2012 8:07 am
Location: mg.mud.de

log input?

Post by Zaphob »

A friend asks, is there an easy way to save to logfile also the player's input and not just the output from the mud?

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: log input?

Post by SlySven »

I think you'll have to copy and paste (in plain text or HTML if you want fancy formatting) from the relevant window. The development branch on github produces much better quality HTML IMHO but in checking I realise my fixes never got into the 3.0.0 previews... *sigh*

Edit: Just pushed some commits out to put those fixes onto the 3.0.0 preview source as Pull request 271.

User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#7149

Re: log input?

Post by Belgarath »

Using the sysDataSendRequest event, you can log output to a separate file yourself.

User avatar
Zaphob
Posts: 180
Joined: Wed May 09, 2012 8:07 am
Location: mg.mud.de

Re: log input?

Post by Zaphob »

Oh well, it seems like there is no simple solution (yet) to this simple request. I assumed otherwise.

So the smartest thing seems to me, creating a new function for saving the player's inputs. At best, to the same file as the mud's output.

Maybe there already are some scripts with alike functionality, we may copy or expand upon?

Post Reply