Log Problems

Posted by Heketon on Fri 26 Oct 2007 12:13 PM — 12 posts, 36,639 views.

#0
Greetings!

A little while ago I installed MUSHclient on my new computer which is running Windows Vista. I played for a whole month and occasionally I would log some of my sessions.

Just the other day I tried to look for the logs in my computer and when I went to the directory none of the files were there. So, I did a file search and none of them still didn't show up.

But, for some apparent reason I can load the log files under MUSH as a new world and when I go to the directory the files are there. At this point I started saving them as a text file but one of the files is too big to open it under MUSH.

Is there anything I could do to be able to access that file? Any help would be appreciated and I apologize if someone has posted about this before.

Thank you!
USA #1
Perhaps this is the problem?
http://www.gammon.com.au/forum/bbshowpost.php?id=8170
#2
To be honest, I'm quite new to using MUSHclient and I apologize for the next question.

Where would you enter the /print (GetInfo(64)) command to see where the logs are actually being kept?

The thing is I can see the logs within MUSH and access them, but I can't see them in a normal directory under windows. It says the directory is empty.

Thanks for the help!
USA #3
Enable scripting and have the scripting command be: /

Then just type it in the command window.
Australia Forum Administrator #4
Or you can type Ctrl+I to open the "immediate scripting" window and type in the command without the slash, that is:

print (GetInfo(64))

And then press the Run button.
#5
Okay. At first, I tried to just type it in the Immediate Execution Window and I didn't get anything. Then, I realized that I had to change it for Python code since that is the script program I am using.

I found the directory that was said in 64 exit code and when I went to it under Windows it said that there is no files present.

Is there anything I'm doing wrong?

Thanks again
Australia Forum Administrator #6
You might have to check "view hidden files", maybe it isn't showing the .log files in that directory.
#7
Yep. I've already checked the "view hidden files" tab in the folder options in Vista. I'm running a Japanese version of it so I don't know if that could be a reason. I just find it so weird that I can open the logs using MUSHclient but anything else it doesn't work.
Australia Forum Administrator #8
Can you copy and paste what you see when you do "print (GetInfo(64))" please? I might get a clue from that.
#9
Sure. Here is what I get for 64:

64 = C:\Users\Bernie\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\MUSHclient\

Also, this directory and the directory which contains the logs that I can access in MUSH are different.

Australia Forum Administrator #10
I apologise for suggesting you type GetInfo (64).

As you can see from the help file, 64 is the current directory:

http://www.gammon.com.au/scripts/doc.php?function=GetInfo

You want GetInfo (58) which is the default log files directory, or probably better still: GetInfo (51) which is the current log file name.

So, if you open a log file, and then find what GetInfo (51) returns, that will be exactly where the log file is, and you should be able to locate the files there.
#11
I apologize for the delay in writing my response but I figured out the problem yesterday. And so after banging my head a couple of times on my desk, here is what I did.

I just executed the MUSHclient program under the administrator option. When I first wrote the problem, I tried installing the program as an administrator thinking that was the problem since it was just the log directory that I couldn't access. But after that didn't work I kinda of just gave up.

So, just the other day I realized that I could just run the program from the right click menu and it worked.

Thanks again for the help.

*cheers*