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
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Mar 09, 2009 6:41 am   

[3.04] Mapper entry in package being duplicated.
 
On a converted CMUD session (from 2.37) the mapper entry each time I open and close the session offline. Minor thing so far, but I'm not sure if it has far reaching consequences.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Mar 09, 2009 5:08 pm   
 
I saw that happen sometimes in my testing, but couldn't come up with a way to reproduce it. If you have some files and a procedure for reproducing it, please send me the files and the procedure.

In theory, CMUD tests the filename of the map being requested with the filename of the existing map object. If the filenames don't match, a new map object is created. CMUD tries to expand any relative filename path to a full path to perform the testing. But I don't know how it would keep creating a duplicate when you open/close the session if the filenames match.

Please try to send this to me asap. It's something I'd like to fix in the 3.04a update within the next couple of days.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Mar 09, 2009 5:23 pm   
 
Well it happens each and every time for at least two of my packages/maps. Even when they are dummy maps. They were also open in 3.03 versions so I'll send them to you later on. I'll also do a test to see if it still occurs when I create a new session in 2.37 with a dummy map then convert it to 3.04a. That should let us know if it's a quirk from a previous 3.x version or something else.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Mar 09, 2009 5:40 pm   
 
Definitely try it with a fresh 2.37 conversion. There were definitely some problems in 3.03 that might leave lingering extra Map objects. However, just deleting the incorrect map object should fix the problem. But I definitely saw that the first time I loaded some of my 3.03 sessions into 3.04.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Mar 10, 2009 1:28 am   
 
This occurs with a newly converted session as well.

Here's what I did.

I created a new session is CMUDPro 2.37 called it DoubleTest.
I opened that session offline and created a map with two rooms in it.
I save this session and close it. I re-open in 2.37 to confirm that the map data is there.
I close and exit 2.37. I open it in 3.04a and it opens fine.
I have to select untitled from the drop down. And zoom out to see the rooms. I don't have a location object at this point.
I open and close the session offline a few times, and I start to see duplicated map objects.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Mar 10, 2009 5:53 pm   
 
I was able to reproduce this problem with the files that you sent me, but not with your method above. The bug seems related to having a *.xly layout file that points to a different window UID than the Map window stored with the map object. So I can only get it to happen when I copy your *.PKG, MDB, DBM files without deleting any previous XLY layout file.

With your procedure, I also don't have any problem with a location object. The map window shows "DoubleTest" in the location selection menu at the bottom of the mapper window. And if I type #LOC on the command line, it shows a location object called "DoubleTest". I also don't need to zoom out to see any rooms. So I'm not sure why the procedure doesn't work for both of us.
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