Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ 3.50 Path Bug(?)
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Wed 26 May 2004 11:04 AM (UTC) |
Message
| First of all, does version 3.50 say "3.49" in the about box, or did I do something really stupid? And secondly, the paths are not working :( I tried to enter "\Program files\etc\whatever" as the path to the include file, and MUclient could not load it and gave me errors.
more "\Program Files\MUSHclient\worlds\Poromenos.MCL"
in a dos box has no problem displaying the contents of the world file. After that, I added an entity "path" to the world file to point to "C:\Program Files\Mushclient" and it worked, but on saving MUclient substituted the entity in the paths. Also, does it save the following directives as it found them?
auto_log_file_name
script_editor
script_filename
Well, maybe not script_editor, but one would like logging to be correct... The problem now is to get MUclient to load files with relative paths, can I do that? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | Top |
|
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Reply #1 on Wed 26 May 2004 11:18 AM (UTC) |
Message
| OK, luckily MUclient will work if the file is in the worlds\ directory and it is specified as <include name="include.xml" />. I still can't get relative paths to work for the logs though... If I specify the filename only for logging, with no path, it defaults to the shortcut's path, and doesn't mess with the saved filename, which I guess could work... The script file cannot be found, so I guess that MUclient looks for it in the shortcut directory, but it does not change the saved pathname, so I think saving is OK, and the only thing left to do is fix relative paths. |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #2 on Wed 26 May 2004 09:47 PM (UTC) Amended on Wed 26 May 2004 10:22 PM (UTC) by Nick Gammon
|
Message
| OK, first things first.
As requested, with standard include files (not plugins) it will save exactly the name you used.
Your problem with "\Program Files\MUSHclient\worlds\Poromenos.MCL" I reproduced, but it was because I ran MUSHclient from a different disk (eg. G:) from where the file was (eg. D:) and thus the path did indeed not exist.
You need to change your MUSHclient shortcut to at least start in the disk (and preferably directory) where you want your relative paths to be from.
As for relative paths, MUSHclient had two tests to inhibit adding in the MUSHclient directory to your include file name:
- It did not have a ":" in it (eg. c:)
- It did not start with "\" (ie. was not an absolute path).
I have added a third test in version 3.51:
- It did not start with "..\" (ie. is not a relative path - upwards).
- It did not start with ".\" (ie. is not a relative path - downwards).
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #3 on Wed 26 May 2004 09:51 PM (UTC) |
Message
|
Quote:
Also, does it save the following directives as it found them?
auto_log_file_name
script_editor
script_filename
- auto_log_file_name should be unchanged
- script_editor should be unchanged
- script_filename should be unchanged
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Reply #4 on Wed 26 May 2004 10:01 PM (UTC) |
Message
| Yes, that's true, thanks for the correction. I didn't think to check the shortcut because i thought it uses the path it's installed in. With what you said, it should work fine as it is. |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | 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.
13,353 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top