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
Fang Xianfu
GURU


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

PostPosted: Wed Dec 06, 2006 1:16 pm   

[1.19] Override setting stops window deletion.
 
Start from a blank "untitled" session. Create a new window, name it, choose "override" and type in an address. Click save settings (you must do this to save the address, see here). Now try to delete this window. "Cannot delete main session window" - but this isn't the main session window.

Perhaps it has something to do with the override option? Change it back to "no connection" or "main session connection" - it still won't let you delete it. Now create a new window with all the default options and try to delete it. You can't delete that either!

EDIT: In fact, you don't even need to do that.

Open the untitled session and create a new window with default options. CMUD will prevent you from deleting the newest window, but allow you to delete the untitled one that really is the main session window. Because you've managed to delete the main session window, you get an access violation on closing the session.

This also applies if you create two new windows - CMUD will prevent you from closing the newest rather than the oldest. I also managed to get it to prevent me from deleting TWO new windows, but it still allowed me to delete the main session window, but I can't reproduce that one.

Note that this isn't something to do with the untitled session - I first encountered it while testing the two-windows-one-package model I talked about in the thread linked above, and the other multiplaying thread before it. I had two active MUD windows open at the same time, and CMUD stopped me from deleting the newest rather than the real session window.
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Wed Dec 06, 2006 2:30 pm   
 
Ok, I'm sure there is a bug here but note. You cannot delete a window that is currently the one that is formost or selected when you opened the package editor. Keep this in mind and try to reproduce this...
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Wed Dec 06, 2006 3:01 pm   
 
Okay, so that was the reason I couldn't delete the new window and could delete the old window. However, because I can contrive to delete the old window, CMUD crashes when I close the session if it doesn't exist, which was the whole point of preventing people from deleting the window in the first place.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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