About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Kanonball
Novice


Joined: 06 Feb 2006
Posts: 48

PostPosted: Tue Dec 12, 2006 10:48 pm   

[1.22] lock-up bug!
 
Do not ever do this!

I was playing with the layouts, and decided that "Wouldn't it be nice if I could set the layout of this session to be the default one?"

So I saved the layout to cmud.xly.

What then happened was that whenever I tried to open a new session, it would propogate the default "Session toolbar:untitled", and also the "Session toolbar: xxyyzz" from the xxyyzz session that I saved it from. THen, whatever sessions I tried to make afterwards would end up with 2 command lines, and cmud would enter an infinite loop trying to switch the focus from onne command line to the other (it seems). It sort of makes them flicker slightly, CPU goes to 100%, and if you type in one, it ends up in both, and if you try to click anywhere else, cmud just locks up completely.

Attempting to disable/delete the xxyyzz command line via rightclick->Customize... in the default session, then saving the layout back to cmud.xly does not help.
I think I fixed it by deleting the regular command line, then renaming the new one to untitled.. I don't quite remember exactly, only the renaming to untitled bit, which seemed quite odd.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Dec 12, 2006 10:52 pm   
 
Sounds like you should just reinstall and be done with it. Or delete cmud.xly and hope it recreates it for you.

Either way, I think this is less a bug and more something you really shouldn't be doing :|
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Kanonball
Novice


Joined: 06 Feb 2006
Posts: 48

PostPosted: Tue Dec 12, 2006 11:03 pm   
 
Well I did fix it, problem being that any new session now opens as a blank grey window, but it seems i'm not the only one having that problem so it probably isnt related.

Seeing as there is a default package, it does rather lead one to believe that there should be a default layout.. that when altered would alter the layout of all other packages.
I really didn't expect each session to create its own named copy of the command line toolbar. the untitled one seems to automagically merge into the new one when a new session is created.

I actually tried deleting cmud.xly, it didn't seem to help.
I think I fixed it by saving another layout to cmud.xly, then renaming the toolbar to be "session toolbar: untitled". yeah that must be it..

It seems to me that when someone has a consistently customized layout they like, they generally wouldn't want to recreate it for every single new session that they make. Nor having to manually search for and load it. I rather liked the reset layout button in zmud, makes sure everything goes back into an usable view when you accidentally mess up like dragging a window off the screen, removing a window accidentlly that you don't know how to find.. spawning a spare command line.. anyhow the issue is that saving a layout as default will result in doubled command lines, as the new command line no longer has the same name as the magical "Session toolbar: untitled"
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Dec 13, 2006 12:08 am   
 
You need to reinstall the CMUD.XLY file. This file will *not* get recreated automatically and it's a critical file that CMUD needs.

And yes, you should never overwrite this file. The only time that you should overwrite the CMUD.XLY is right after pressing ESC to close the Session window. You should never overwrite this file when you have any of your own sessions open.

This file is intended for the default layout of the fly-out windows on the right (status window, reference, settings). It is *not* for general session layouts.

There is no way to save a "customized layout" that would work with every session because each session has it's own unique windows.

So, it works fine for saving the default layout when no sessions are open. Once a session is open, you would be changing the unique windows for that session. Each session has unique windows to allow multiple sessions to be loaded. If you save those unique windows to the default XLY file, then you have a layout that only works for those unique windows and no longer works for the generic "untitled" window.

Also, since the CMUD.XLY file is overwritten each time you reinstall CMUD, you should not be changing it because you will just lose all of your changes the next time you upgrade. It's the same with the default package...this package is not intended to be changed anymore.

So just don't overwrite the system files. It's like someone saying "gee, I overwrote the CMUD.EXE file and can't understand why CMUD doesn't work anymore".
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net