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


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

PostPosted: Sat Jan 31, 2009 7:34 pm   

[3.03a] Issues changing from "Program Files" directory to another location
 
Recently I changed from having my data in the C:\Program Files\CMudPro\Achaea directory to having in an alternate location. I reinstalled CMudPro telling it to use my D: drive as the location of the data files. I also copied my data and placed it in the new location. It worked fine except for the fact that I noticed it has two map objects open in the Settings Editor root level. I looked at both and determined that it was opening one from my new data location and one from my old data location. I unselected "autoload on session start" and deleted the map from my Settings Editor". The next time I opened Cmud it was there again. It wouldn't stop auto-loading the old one even though I had told it to and deleted it from the Settings Editor. Next I tried to delete the old directory. I was unable to delete them while Cmud was running because it was actively using the map along with some other settings files. Upon closing the program and deleting them I finally got it to stop autoloading the map.

Apparently even if Cmud is set to use a location other than Program Files, if it finds files in there it will use them.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Feb 01, 2009 10:08 pm   
 
This likely is caused by CMud storing an absolute path for the map files. The old code from zMud would record an absolute path if you loaded the session, opened the mapper window with CTRL-M, then selected File|Open from the mapper window and opened a different map.

This was stored in the .pkg in prior versions. The pertinent entry from my package is found in the config table and reads
Code:
pid=60|id=294|parent=0|valint=|valstr=C:\CMUD\Achaea\Room.mdb
The bug is that the entry isn't being removed when conversion is completed.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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