|
1. Best Way to Port/Build
|
|
Fri May 28, 2010 [3:24 PM]
|
trcompton
comptontravis@gmail.com
member since: May 17, 2010
|
Reply
|
|
I'm currently working on porting over a mud and I know this may be a stupid question but are there any applications that make this at least easier and less time consuming. Don't get me wrong I know that it's a time consuming process but there are only 3 of us helping most of the time it's just 2 of us. It's a large mud and it's going to take us months. I'm looking for an application that you can maybe enter in the information from the old mud, copy and paste even and it will give you an alias or something to get it to the new port fast. I don't even know how to really put my question into words. If there isn't anything that can help I'm at least looking for advice on what the best way to dig out the zone is and etc. Any help would be appreciated.
|
|
|
|
|
2. RE: Best Way to Port/Build
|
|
Fri May 28, 2010 [3:37 PM]
|
cratylus
Email not supplied
member since: Feb 1, 2006
|
In Reply To
Reply
|
Please specify the type of muds you are migrating, as well as the versions. Include also the operating system you are doing this on. -Crat http://lpmuds.net
|
|
|
|
|
3. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [8:21 AM]
|
trcompton
comptontravis@gmail.com
member since: May 17, 2010
|
In Reply To
Reply
|
|
Codebase is Circlemud...to be honest I don't know what versions. I build from both an xp and ubuntu computers.
|
|
|
|
|
4. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [9:22 AM]
|
shryp
Email not supplied
member since: Mar 5, 2007
|
In Reply To
Reply
|
|
Can't you just copy the area files from one mud to the other?
|
|
|
|
|
6. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [3:38 PM]
|
Zeno_McDoh
Email not supplied
member since: Jul 30, 2004
|
In Reply To
Reply
|
|
Why not? Both are Circle, right?
|
|
|
|
|
7. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [4:26 PM]
|
trcompton
comptontravis@gmail.com
member since: May 17, 2010
|
In Reply To
Reply
|
|
I wish I was more educated in building, it's very possible that I'm explaining something wrong. The reason I don't believe that I can just copy and paste from one to the other is that all the numbers are different. I'm looking for a program that for example: Say you have a object with a vnum 2100 on the old port, on the new port the object number is going to be 2200. I'm looking for a program that can see all the information from the old port as 2100, change the needed information to 2200 and give me an alias or something that I can put into the new port an voila same item on the new port. I'm sorry for being so confusing.
|
|
|
|
|
8. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [5:04 PM]
|
Mangan
Email not supplied
member since: Jun 3, 2002
|
In Reply To
Reply
|
|
If you just need to change the vnums, but the format is still the same, then I would suggest altering the area files themselves.
Could either write a script or short program to do it, or you could manually go through them. Either way would be much quicker than a copy/paste method.
|
|
|
|
|
9. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [5:23 PM]
|
Zeno_McDoh
Email not supplied
member since: Jul 30, 2004
|
In Reply To
Reply
|
|
So you just want to change the vnums?
Open the area files in a text editor and run some sort of regex to increase the vnums by like +200.
|
|
|
|
|
10. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [8:39 PM]
|
mann_jess
Email not supplied
member since: Dec 10, 2005
|
In Reply To
Reply
|
Open the area files in a text editor and run some sort of regex to increase the vnums by like +200.
Or simply add (or prefix) digits. In vi: :%s/^\(\d*\)$/\100/g This will change any line consisting of solely a number to the number with two zeroes at the end. i.e. 123 to 12300. Adjust based on your area format. Best of Luck, -Jess
|
|
|
|
|
11. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [9:42 PM]
|
trcompton
comptontravis@gmail.com
member since: May 17, 2010
|
In Reply To
Reply
|
|
Hmmm... Sounds like I've got a lot of pretty good options. Thanks to everyone that helped : )
|
|
|
|
|
12. RE: Best Way to Port/Build
|
|
Sat May 29, 2010 [11:26 PM]
|
Zeno_McDoh
Email not supplied
member since: Jul 30, 2004
|
In Reply To
Reply
|
|
Just make sure you're aware what the max vnum # can be.
|
|
|
|
|
13. RE: Best Way to Port/Build
|
|
Sun May 30, 2010 [6:09 AM]
|
shryp
Email not supplied
member since: Mar 5, 2007
|
In Reply To
Reply
|
|
To change vnum 2100 to vnum 2200 in file.are use this command in your shell. If your area is over 100 vnums long you will have to run it twice, once for each set of 100.
perl -pi~ -e 's/21(\d\d)/22\1/g' file.are
This is from Erwin's change-area.txt snippet.
|
|
|
|
|