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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Tables fold up

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Tables fold up
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Wed 26 Jan 2005 04:44 PM (UTC)  quote  ]
Message
Most programs are smart enough Flannel to not mess up. However, as one example, I have a 2.7MB file created by AVG sitting in me C:\ directory, where nothing but a few system files and directories should be. The only concievable reason for this is because it is using the 'where I ran from' method of finding the location, then creating what I assume is a temporary file in there. For some reason that is ending up as C:\, instead of C:\Windows\ or some other logical location. As for shortcuts.. I'll admit that shortcuts copied from other shortcuts don't cause the problem, but in cases where you create a new one, it does not automatically set the location for 'Start in' to the same as the executable, which imho never made much sense to me, except that you could make the 'Start in' point as say C:\Hidden Documents\ and have your text editor pop up that directories contents when opening a file, instead of defaulting to C:\My Documents\, etc. The problem is that some programs are prone to use that setting for their own temporary files and setup data as well, which makes a royal mess of things.

But as Ksilyan said, it may be as easy as reading the command line info to find the real location a program ran from. One hopes so anyway. lol

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Wed 26 Jan 2005 05:03 AM (UTC)  quote  ]

Amended on Wed 26 Jan 2005 05:07 AM (UTC) by Flannel

Message
Whats wrong with getting the location as a "start in" directory? That way you could run the exact same executable with two completely different looks (for two worlds, presumably), if you created two ini files and changed your shortcut accordingly.
And if you have a bad ini file (or a non existant one at the path listed) check the other common places for a good one, and if still not, have it default to the default MC values.

If we just used the MC path (or world path, or whatever) we wouldn't be able to customize MC itself for different worlds in the global preferences sense. While there isnt a whole lot there, this would allow complete control (things like sandbox, or connecting preferences, or tabs, or whatever). As well as allowing multiple users to have their own setups completely independant of one another.

I have never had a problem with a shortcut telling a program to start in the wrong directory. If the shortcut is configured improperly, thats another story, but its not a bug. It'd be like trying to call a script function with the wrong set of arguments, the script will yell at you. In this case, we just use default values (maybe we also want to have a message popup saying 'No configuration files were found at any of the locations specified, if this is unintended, then you might try [this] or [that].'

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Wed 26 Jan 2005 04:55 AM (UTC)  quote  ]
Message
Quote:
Its just finding the 'right' code to get the real executable location that is an issue.
That shouldn't be too hard. Just look at the command line - isn't the first argument there the exact filename of the executable being run?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Wed 26 Jan 2005 04:20 AM (UTC)  quote  ]

Amended on Wed 26 Jan 2005 04:22 AM (UTC) by Shadowfyr

Message
Most programs that used ini file looked first in the location it started from. This though is a potential nightmare, since Windows isn't too smart about setting the shortcuts 'start' location to the same as the executable. It can end up being dumped where the shortcut is, the desktop or damn near anyplace else. There is code to check either the 'real' location starts from or the 'assumed' location (as returned by a badly configured link). The problem is most people end up using the later. It should be possible to set a fixed location. Besides, even if you had to store that in the registry the first time you install, that is one things that can go wrong, not 50 simultaniously, as things are now. That has to be an improvement.

Programs used ini files for years before the registry was created and you can still run most of them even under XP, so the means to do it is still there and likely will still be in later versions of Windows. Its just finding the 'right' code to get the real executable location that is an issue.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Wed 26 Jan 2005 03:34 AM (UTC)  quote  ]
Message
Wouldnt it make sense to just check default locations in succession? IE the 'start in' folder (provided by a shortcut), world folder, executable directory.

Just have some set order of precidence (just like dlls).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Wed 26 Jan 2005 01:23 AM (UTC)  quote  ]
Message
I was planning to get rid of the registry entries, but the question is where does this "configuration file" go? Put its location in the Registry? A bit of a chicken and egg problem.

- Nick Gammon

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

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Tue 25 Jan 2005 05:12 PM (UTC)  quote  ]
Message
I agree with that...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Tue 25 Jan 2005 05:05 PM (UTC)  quote  ]
Message
Yep. As I argued before Nick. If you want something to work reliably under Windows, don't store the information in the registry. I don't care what MS says about how great it is... lol

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Tue 25 Jan 2005 02:50 AM (UTC)  quote  ]
Message
Some kind of problem reading the registry. That's Windows for you.

- Nick Gammon

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

Posted by Faux   United Kingdom  (77 posts)  [Biography] bio
Date Sat 22 Jan 2005 06:01 AM (UTC)  quote  ]
Message
Hmm, come to think of it, my toolbars sometimes forget where they're supposed to be. But definitely not every load.

`Screenshot`:

,-----------------------------------------------------.
| [] [] [] [] ... | [] [] [] [] ... | [1][2][3].. |   |
`-----------------------------------------------------'

goes to:

,-----------------------------------------------------.
| [] [] [] [] ... |                                   |
| [] [] [] [] [] [] ... |                             | 
| [1][2][3].. |                                       |
`-----------------------------------------------------'

Faux, from Discworld. Feel free to come talk to me =)

http://faux.servebeer.com/
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Fri 21 Jan 2005 12:44 PM (UTC)  quote  ]

Amended on Fri 21 Jan 2005 12:45 PM (UTC) by Poromenos

Message
It's not a solution, but you can click in the window and press Ctrl-+ (keypad plus) and the bars will open to their required length automatically. Beats dragging them...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 20 Jan 2005 10:30 PM (UTC)  quote  ]
Message
Can't really explain that. Check out the current values in RegEdit. I don't think reinstalling will achieve anything.

- Nick Gammon

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

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Tue 18 Jan 2005 01:24 AM (UTC)  quote  ]
Message
Argh, it's happening again. I just tried an update too, it didn't fix it. "Macro List Col 0 Order" is 0. But that's it, and the Macro section is the part where the width is small. Is there anyway to reset this without reinstalling it each time?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Tue 14 Sep 2004 09:13 PM (UTC)  quote  ]
Message
This is the registry key it uses, and the data from my own version, which seems OK:


REGEDIT4

[HKEY_CURRENT_USER\Software\Gammon Software Solutions\MUSHclient\World Configuration]
"timer list Col 0 Width"=dword:00000046
"timer list Col 0 Order"=dword:00000000
"timer list Col 1 Width"=dword:00000028
"timer list Col 1 Order"=dword:00000001
"timer list Col 2 Width"=dword:00000064
"timer list Col 2 Order"=dword:00000002
"timer list Col 3 Width"=dword:00000032
"timer list Col 3 Order"=dword:00000003
"timer list Col 4 Width"=dword:00000032
"timer list Col 4 Order"=dword:00000004
"timer list Sort Sequence"=dword:00000000
"timer list Sort Reverse"=dword:00000000
"trigger list Col 0 Width"=dword:00000064
"trigger list Col 0 Order"=dword:00000000
"trigger list Col 1 Width"=dword:00000028
"trigger list Col 1 Order"=dword:00000001
"trigger list Col 2 Width"=dword:000000f0
"trigger list Col 2 Order"=dword:00000002
"trigger list Col 3 Width"=dword:00000032
"trigger list Col 3 Order"=dword:00000003
"trigger list Col 4 Width"=dword:00000032
"trigger list Col 4 Order"=dword:00000004
"trigger list Sort Sequence"=dword:00000000
"trigger list Sort Reverse"=dword:00000000
"alias list Col 0 Width"=dword:000000a0
"alias list Col 0 Order"=dword:00000000
"alias list Col 1 Width"=dword:00000028
"alias list Col 1 Order"=dword:00000001
"alias list Col 2 Width"=dword:00000096
"alias list Col 2 Order"=dword:00000002
"alias list Col 3 Width"=dword:00000032
"alias list Col 3 Order"=dword:00000003
"alias list Col 4 Width"=dword:00000032
"alias list Col 4 Order"=dword:00000004
"alias list Sort Sequence"=dword:00000001
"alias list Sort Reverse"=dword:00000000
"Macro List Col 0 Width"=dword:00000064
"Macro List Col 0 Order"=dword:00000000
"Macro List Col 1 Width"=dword:000000b4
"Macro List Col 1 Order"=dword:00000001
"Macro List Col 2 Width"=dword:00000044
"Macro List Col 2 Order"=dword:00000002
"Macro List Sort Sequence"=dword:00000000
"Macro List Sort Reverse"=dword:00000000
"variable list Col 0 Width"=dword:00000096
"variable list Col 0 Order"=dword:00000000
"variable list Col 1 Width"=dword:000000c8
"variable list Col 1 Order"=dword:00000001
"variable list Sort Sequence"=dword:00000000
"variable list Sort Reverse"=dword:00000000
"Plugins List Col 0 Width"=dword:00000032
"Plugins List Col 0 Order"=dword:00000000
"Plugins List Col 1 Width"=dword:00000082
"Plugins List Col 1 Order"=dword:00000001
"Plugins List Col 2 Width"=dword:00000037
"Plugins List Col 2 Order"=dword:00000002
"Plugins List Col 3 Width"=dword:00000037
"Plugins List Col 3 Order"=dword:00000003
"Plugins List Col 4 Width"=dword:00000050
"Plugins List Col 4 Order"=dword:00000004
"Plugins List Sort Sequence"=dword:00000000
"Plugins List Sort Reverse"=dword:00000000
"Chat List Col 0 Width"=dword:0000005a
"Chat List Col 0 Order"=dword:00000000
"Chat List Col 1 Width"=dword:00000042
"Chat List Col 1 Order"=dword:00000001
"Chat List Col 2 Width"=dword:00000051
"Chat List Col 2 Order"=dword:00000002
"Chat List Col 3 Width"=dword:00000051
"Chat List Col 3 Order"=dword:00000003
"Chat List Col 4 Width"=dword:00000037
"Chat List Col 4 Order"=dword:00000004
"Chat List Col 5 Width"=dword:00000032
"Chat List Col 5 Order"=dword:00000005
"Chat List Sort Sequence"=dword:00000000
"Chat List Sort Reverse"=dword:00000000





First I would use RegEdit to see if, after closing MUSHclient, it has saved the wrong data (eg. they are all zero or something).

Then I would try maybe importing the above into the Registry to see if it corrects it. eg. save between the lines as test.reg or similar, and then double-clicking it to import it.




- Nick Gammon

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

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Tue 14 Sep 2004 10:47 AM (UTC)  quote  ]

Amended on Tue 14 Sep 2004 10:54 AM (UTC) by Zeno

Message
I reinstalled it at the time you told me to, and I fixed it. But now its doing the same thing, except its only one worlds aliases columns. I never touch the positions. Any idea why it keeps doing this? The world happens to be my own MUD, which I keep open nearly 24/7.

I find my computer fairly stable compared to ones I've used in the past. I'm using Windows XP, but not SP2. This happens to be the only world in the Startup list.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[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.


6,670 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]