Page 1 of 1

log input?

Posted: Tue Aug 25, 2015 10:28 am
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?

Re: log input?

Posted: Tue Aug 25, 2015 9:18 pm
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.

Re: log input?

Posted: Wed Aug 26, 2015 6:19 am
by Belgarath
Using the sysDataSendRequest event, you can log output to a separate file yourself.

Re: log input?

Posted: Wed Aug 26, 2015 12:18 pm
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?