[Home] [Downloads] [Search] [Help/forum]

Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Logs


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Posted by Olli   (1 post)  [Biography] bio
Date Mon 03 Mar 2008 05:16 AM (UTC)
I managed to set the automatic log feature to "...\logs\%m\%d.txt" and this appears to break it. I now get a
"MUSHclient has encountered a problem and needs to close." message when the client opens the world file, despite creating said folder manually.

Not sure how to open the file without it starting to log so that I can change it though. :P
[Go to top] top

Posted by Nick Gammon   Australia  (22,966 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Mon 03 Mar 2008 06:08 AM (UTC)
It would help to know which version of MUSHclient you are using, as you are asked to provide when submitting bug reports.


I managed to set the automatic log feature to "...\logs\%m\%d.txt"

I am not familiar with "..." as a directory, possibly that is causing the problem. The directory ".." means "one level up" - is that what you meant?

You are probably better off using a full pathname rather than a relative pathname, for example:

c:\Program Files\MUSHclient\logs\%m\%d.txt

Assuming you really had ".." as the directory, it depends on what is the "current directory" when MUSHclient starts up - maybe you did not have write permissions to whatever that directory was.

Trying your exact automatic log in my version (on Windows XP) did not cause any sort of crash, although it could not open the file, probably because there was no "logs" directory, or possibly because of the "..." bit.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Isthiriel   (113 posts)  [Biography] bio
Date Reply #2 on Tue 04 Mar 2008 05:26 AM (UTC)
Some versions of the Windows command line interpreter will parse '...' as a shorthand for '..\..' and '....' as '..\..\..' all the way up to 7 dots.

This was a 'feature' of Win95 that I don't think made it into the WinNT/XP branch.

Either way I don't think it was ever brought into the more general file io functions.
[Go to top] top

Posted by Shaun Biggs   USA  (644 posts)  [Biography] bio
Date Reply #3 on Tue 04 Mar 2008 04:38 PM (UTC)
That sounds like an odd "feature" to have. It seems like would be extremely useful on a command line, but seeing "......\logs" in a code snippet just looks messy to me.

Either way, try "..\.." instead of "..." just to make sure that there are no problems with the file location. After that, I guess it is just trying to figure out if this is really a bug, or an anomaly from archaic Win95 usage.

It is much easier to fight for one's ideals than to live up to them.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]