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 General Discussion
MooNFisH
Newbie


Joined: 25 Apr 2007
Posts: 8

PostPosted: Fri Feb 04, 2011 7:52 pm   

trigger export problem
 
Hello,

My laptop crashed a few months ago. Because it took me a while to regain access to my harddisk, I started from scratch on my cmud scripting. I've managed to reconstruct almost everything I had, even improved quite a few things in the process.

Now I finally have access to my old harddisk again but I have no idea how to get my scripts out. When I run the old .exe it starts up with all my new scripts, and none of the old ones.

Any advice on how to get a final look at my old scripts? I don't want to import them in any way that mixes them up with my new ones.
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Sat Feb 05, 2011 8:19 am   
 
Rename your current session package file, then put your old package into the session folder. Start the session offline, click on the xml tab and copy the scripts you want to some text file. Exit CMUD and rename your current package back. Re-start CMUD and then copy/paste the scripts from the text file into your session package.
_________________
Sic itur ad astra.
Reply with quote
MooNFisH
Newbie


Joined: 25 Apr 2007
Posts: 8

PostPosted: Sat Feb 05, 2011 8:27 am   
 
Thanks for the reply. I assume the package file is in the [mudname] folder? Not behind my pc right now, I'll check later today. Is it safe to assume it has a recognizable file extension (pkg)?
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Sat Feb 05, 2011 8:44 am   
 
Yes. For instance if you are playing Achaea, it will be in that folder with the name Achaea.pkg. This package you want to rename so that it is saved. Then your old package (which should also be named Achaea.pkg in this example) is moved into the folder so when you start your session the scripts in this package become available to you. From there just copy the scripts (in XML format for ease of transportation) and save them to a text file. Then when you restore the original package (by renaming it back to Achaea.pkg in this example) you just copy/paste the contents of the text file into the tree view of the settings editor. Your aliases/triggers/variables, etc, will then appear.
_________________
Sic itur ad astra.
Reply with quote
MooNFisH
Newbie


Joined: 25 Apr 2007
Posts: 8

PostPosted: Sun Feb 06, 2011 7:03 pm   
 
I found the file, it was in the folder as described. I think this was CMud version 2.(something). This was on a windows XP laptop.

For the install on my new pc, I upgraded to CMud v3.33a. It would seem the packages are stored differently here. I don't see a folder for each mud, there is just one big 'packages' folder containing the following files:
Clickable URLs.pkg
English Directions.pkg
English Keypad.pkg
pkgcache.db

I'm guessing the method you descibed doesn't work when there's a version difference. Am I missing something?
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Sun Feb 06, 2011 8:11 pm   
 
The folder with those packages is labeled Packages. If you installed the game data in its own folder, separate from the cmud executable which would be placed in either program files (Vista) or program files (x86) (64-bit Vista and Windows 7), then when you open the game folder you will find a Packages folder which contains the packages you described. Along with the Packages folder there will be a folder for the most common muds. All this can be since as soon as you open cmud's data folder which should not be installed in either of the program files mentioned above. There won't be any easy way to persist the game data if you place it there because CMUD won't have write access to the folders. You can find an image of what the game folder should look like here. Yours should be almost identical. The package you want to work with as indicated in the previous post is in one of the folders shown in the image or in a folder created when you first connected to your mud. Again, if you did not separate the game folder from the executable folder, I urge you to uninstall CMUD and re-install it. When it asks you where you want to keep the game data, don't use the default (the executable folder) provide the path. MyGames folder is a popular place for it. Here is where most people put the game data: C:\Users\...\Documents\My Games\CMUD
_________________
Sic itur ad astra.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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