Exporting Worlds

Posted by Jeffrey F. Pia on Wed 12 Jun 2002 02:51 PM — 5 posts, 20,486 views.

#0
Hi guys! I play regularly at home and at work (<eg>), and I was wondering if there was an easy way to move all trigs, variables, aliases, etc. between computers. I know you can export them all individually, but that's a bit of a pain. I actually find it easier to just manually add in any changes I made. But if there was a way to do them all at once, that could prove to be very convenient. Thanks in advance!

Jeff
Amended on Wed 19 Jun 2002 03:05 PM by Jeffrey F. Pia
Australia Forum Administrator #1
Instead of exporting them individually, why not just save the world file to a floppy and put that in your pocket? Then you have the lot together.
#2
My main reason for wanting to export instead of taking the whole world was that I use a different log on sequence at work. At home, I can telnet directly to a MUD, whereas at work, I have to connect to a proxy server, then to the MUD. It's more of a luxury than a neccesity as it is a bit annoying to have to change the connection settings twice a day, but is by no means detrimental to my MUDding experience (as you can tell by my response time to this note). I was just wondering if there was some way to do it that I didn't know about.

Cheers! :)
Amended on Wed 19 Jun 2002 03:07 PM by Jeffrey F. Pia
Australia Forum Administrator #3
What you can do in version 3.23 (not yet released) is use include files. This will work around your problem.

I would make an include file "my_connection.xml" which has the specific things needed that are different for each location (port, ip address, connection commands) and then include that in the main world file, eg.


<include name="my_connection.xml" />


Then you take the world file from one place to another, but leave behind the (different) connection files. The include file might look like this:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE muclient>
<muclient>
  <world site="my.mud.site" port="4000">
<connect_text>connect blah blah
password blah blah</connect_text>
  </world>
</muclient>
#4
Sounds good! Can't wait for the release to try it out! :-)