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
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sun Jul 19, 2009 5:48 pm   

[3.09]Room properties missing from Windows Menu
 
In prior versions, the Windows menu would always show a 'Room Properties' box. I always used that since right-clicking and choosing Room Properties never seemed to work for me. Now it's missing from the Windows menu until you right-click and choose Room properties from the Mapper.

Can this please be restored?

Also, the 'Show Caption' option in Layout continues to still remain unticked (this was reported a LONG time ago in version 2.xx). Cosmetic, but figured it was an oversight.

Charneus
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jul 20, 2009 5:07 pm   
 
The "Windows" menu only shows a list of windows that are active but currently hidden. In previous versions, the Room Properties window was always created and just hiding in the background. In the new version, the room properties window isn't created until you click the button in the mapper (or select it from the right-click menu).

I will be adding the Room Properties menu to the "Tools" menu which is where the commands for initially creating the windows are supposed to be located. I'll add that to the next version.

I've also added the Show Caption bug to the list. I didn't see it in my bug list, so it got missed somehow.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Mon Jul 20, 2009 5:47 pm   
 
In versions prior to 3.09 I've always used the right click to open the room properties window. In 3.09 this is not working. If I create a new data directory it will allow me to open it with the right click method, but then after a time it will stop working.

I didn't realize until I saw this post that there was an alternate method to pull up the Room properties window. I've been continually re-creating my data directory to try to get around this as I've been creating procedures for my bug reports.
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 21, 2009 4:28 pm   
 
I am not able to reproduce any problem with the Properties option in the right-click menu. It properly brings up the room properties in all of my test maps and sessions. Even with the session that was created with the package and map that you sent me. So, no idea on this one.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Jul 22, 2009 6:40 am   
 
I found out what was causing this. This is what I did:

1) Created a new directory for the data.
2) Open Cmud and allow it to populate the default directories.
2) Copied in the old map Achaea.dbm file into the Achaea newly created directory.
3) Open Cmud off-line and import the xml from my old package.
4) This sequence of events causes two "Achaea Map" items to appear in the Package Editor. I think the import of the package is responsible for the creation of the second object as it has room and zone scripts for the map.
So now the package editor contains:
Achaea
Achaea Map
Achaea Map
Channels
5) When there are two "Achaea Map" items appearing in the Package Editor I cannot bring up the room properties box.
6) Deleting the extra map object and restarting Cmud allows me to pull up the room properties again.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jul 22, 2009 8:26 pm   
 
Yes, importing the XML is what causes the duplicate Map object. I will add that to the bug list since that's the real bug here. The problem is that the import routine isn't matching the imported Map object against the existing map object and can't tell they are the same. Mainly because when you copied the map and then opened CMUD, CMUD created a new map object for you with a different unique UID than the one in the XML Import. It's going to be tricky to deal with this because I'm not sure it should just overwrite a map object with the same name, so somehow it will also need to look at the database filename itself. But I've added it to the bug list.

Deleting the duplicate map object was the correct fix. And yes, having two map objects like this will definitely confuse the mapper.
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Jul 23, 2009 10:50 pm   
 
Fixed for 3.10
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Jul 28, 2009 7:09 am   
 
Question: Did you intend to have the room properties in BOTH the Windows and Tools menu?

Doesn't matter either way. (By the way, love the Message log bit...)

Charneus
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 28, 2009 4:55 pm   
 
No, I guess you didn't read or understand what I wrote above.

The "Windows" menu only shows *ACTIVE* windows. That is, windows that have been created, but are just hidden from view currently. The "Tools" menu is used to initially create the first window. So the Room Properties command in the Tools menu will create and open the Room Prop window. Once the window has been created, then when you close it, it just remains hidden and you can use the Windows menu to show it again.

This is common with most software. Most software with a "Windows" menu is showing a list of currently open Windows for the application.

The confusion arises because in past versions, the Mapper window was already "pre-created" when CMUD was loaded, so it showed up in the Windows menu already.
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