MCCP

Posted by Dave on Thu 20 Dec 2001 10:33 AM — 12 posts, 37,232 views.

Australia #0
In the "Info" dialog box, it has various compression statistics, but it doesn't actually have whether or not the current stream is being compressed. This would be handy. All you would need is a "Currently compressing: Yes/No" type thing. Also, having it in the worlds' status bar would be good too, and maybe the compression% ;)

Dave
Australia Forum Administrator #1
The line "Compression ratio" has the words "(world is not using compression)" if compression is not active.
Australia #2
I'm talking about when compression is disabled mid-connection. A lot of MCCP muds support this with the "compress" command (toggles compression on/off).

Dave.
Australia Forum Administrator #3
I have added that as suggestion #431.
Australia Forum Administrator #4
The info configuration screen now shows whether or not compressions is currently active.
#5
My problem is that going from one computer to another using the same program on both computers (I keep my mushclient on a zip disk as I never know where I'm going to be), some computers will accept the mccp and some will not. Example: I started a new world which used MCCP compression, and even saved the alias file, only to find that the other computer refused to read the file and I had to start all over again (It said: File does not have a valid MUSHclient signature./Unexpected file format.) The file is not corrupted, because I take it to the main computer I use and it will still work. I don't know if this is a bug or what.

I have similar problem with the registration code. Even though I am only using the one copy (on the zip disk), if I use it on a different computer than what I normally work on (like at the moment I am housesitting), it tells me I am unregistered and so I have to put the registration code in again.
USA #6
This is due to such information being store in the registry. One solution would be to use regedit to export the needed keys to the zip disk, then import them first on any new machine before you run mushclient. This is one of the problems that arises from the addition of the bloody registry, instead of the old method of storing things in a program specific .ini file in the executables own directory. If a program stores something it needs in the registry, it won't run on another machine very effectively (if at all).

The batch file would be something like:

regedit /E 1.reg "HKEY_CLASSES_ROOT\.MCL"
regedit /E 2.reg "HKEY_CLASSES_ROOT\CLSID\{11DFC5E6-AD6F-11D0-8EAE-00A0247B3BFD}"
regedit /E 3.reg "HKEY_CLASSES_ROOT\Interface\{11DFC5E8-AD6F-11D0-8EAE-00A0247B3BFD}"
regedit /E 4.reg "HKEY_CLASSES_ROOT\MUSHclient.TextDocument"
regedit /E 5.reg "HKEY_CLASSES_ROOT\MUSHclient.World"
regedit /E 6.reg "HKEY_CLASSES_ROOT\Typelib\{11DFC5E7-AD6F-11D0-8EAE-00A0247B3BFD}"
regedit /E 7.reg "HKEY_CLASSES_ROOT\Software\Gammon Software Solutions\MUSHclient"

regedit /E 8.reg "HKEY_LOCAL_MACHINE\.MCL"
regedit /E 9.reg "HKEY_LOCAL_MACHINE\Software\CLASSES\CLSID\{11DFC5E6-AD6F-11D0-8EAE-00A0247B3BFD}"
regedit /E 10.reg "HKEY_LOCAL_MACHINE\Software\CLASSES\Interface\{11DFC5E8-AD6F-11D0-8EAE-00A0247B3BFD}"
regedit /E 11.reg "HKEY_LOCAL_MACHINE\Software\CLASSES\MUSHclient.TextDocument"
regedit /E 12.reg "HKEY_LOCAL_MACHINE\Software\CLASSES\MUSHclient.World"
regedit /E 13.reg "HKEY_LOCAL_MACHINE\Software\CLASSES\Typelib\{11DFC5E7-AD6F-11D0-8EAE-00A0247B3BFD}"

regedit /E 14.reg "HKEY_USERS\DEFAULT\Software\Gammon Software Solutions\MUSHclient"

copy 1.reg+2.reg+3.reg+4.reg+5.reg temp.reg
copy temp.reg 6.reg+7.reg+8.reg+9.reg+10.reg temp.reg
copy temp.reg 11.reg+12.reg+13.reg+14.reg temp.txt
del *.reg
move temp.txt mush.reg


This should give you a copy of all the keys (that I could find) in a file called 'mush.reg'. You can then either right click on mush.reg and select 'merge' or use the command 'regedit mush.reg'. This should work on most machines, though I am not sure about ones that are set up to prevent you from installing programs and I only assume that the password is some place in that mess. The ones exported to 7.reg and 14.reg are probably not needed and it made no sense to export the one pointing to the uninstall, so I left that one out entirely.

I would prefer if everything not 100% needed in the registry got put some place else and that the ones you do need where autoadded by mushclient itself. It would make it a lot more usable for a number of people.
Australia Forum Administrator #7
With the problem reading the alias or world file, it sounds like you have gone from a recent version, that writes XML world files, to an earlier version, which doesn't know about them. The simple solution is to upgrade the other PC's version of MUSHclient.

Australia Forum Administrator #8
As for the registration code, Shadowfyr is correct - it is stored in the Registry, because it is global to all worlds.

What I would do - assuming you aren't really installing MUSHclient on dozens of PCs - is to save the registration code to a text file and simply re-register when you have to.
#9
All that registry stuff is too complex for me but at least I know what the problem is now.

As for the files, they are all running from the same mushclient version because that's all I have, which is version 3.04.
USA #10
It shouldn't be that complex. You just place those lines into a file called 'mush.bat', run mush.bat in a DOS window and presto, you have a file that can be imported into the registry of any machine to correctly set up the program to run properly. Even typing each command in one at a time from a DOS windows is easy enough to do. ;)

BTW any reason you are still using 3.04?

Once one version is registered any that you install over it will also be registered. Seems odd to me that you want to use a version that is that out date and doesn't support more than half of what the current version does. Not to mention any bugs that might show up. Frankly, it is old enough that it is extremely unlikely that any posting to a forum about scripting, triggers, alias, etc. are likely to a) not work, b) not be understandable in terms of 3.04 and c) unlikely to be even slightly helpful. Virtually nothing in it would work the same way as the newest versions, with respect to anyexplaination you are likely to recieve about nearly all of its features.

Not that 3.04 wasn't a good program, but it did have a number of bugs that didn't get fixed until the last few version numbers.
Australia Forum Administrator #11
The only registry keys you need are the two below. You could save this as my_registration.reg and then import it into RegEdit on another PC. You would, of course, need to change the information to match your registration codes ...


REGEDIT4

[HKEY_CURRENT_USER\Software\Gammon Software Solutions\MUSHclient\Registration]
"User Name"="Your Name"
"Registration Code"="1234567890-AAAA-BBBB-CCCC-DDDD-1234567890"