Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > LearnUO Team

LearnUO Team Irro\'s Team of LearnUO and their Documentation for RunUO

Reply
 
Thread Tools Display Modes
Old 07-05-2005, 10:44 PM   #1 (permalink)
Forum Expert
 
Join Date: Jan 2003
Location: Denver, CO
Age: 21
Posts: 282
Send a message via ICQ to irro Send a message via AIM to irro Send a message via MSN to irro Send a message via Yahoo to irro Send a message via Skype™ to irro
Default How do I freeze statics?

So you have built something that you want to add the the clients static files? There are a few ways to do this, but I will describe the way that I use.

First you we will be using Runuo version 1.0.0
Make sure its installed to C:\Program Files\RunUO Software Team\
In your Runuo dir make a new folder called "Data Files"
Now you need to goto your UO Directory can copy all these files into the new "Data Files" folder you just created
  • Multi.idx
    Multi.mul
    VerData.mul
    TileData.mul
    Map*.mul
    StaIdx*.mul
    Statics*.mul
    MapDif*.mul
    MapDifL*.mul
    StaDif*.mul
    StaDifL*.mul
    StaDifI*.mul
Now files with * like map*.mul can have upto four different files you have to copy. If you have Samurai Empire Theyre are 4 files, map0.mul map2.mul map3.mul and map4.mul and the same with the rest. If you have Age of Shadows it goes upto map 3.mul
Make sure they are copied to C:\Program Files\RunUO Software Team\RunUO 1.0\Data Files\

Now in the \Scripts\Misc Folder There is a file called "Datapath.cs" open it.
Now replace everything in the file with this:

Code:
using System;
using System.IO;
using Microsoft.Win32;
using Server;

namespace Server.Misc
{
	public class DataPath
	{
		/* If you have not installed Ultima Online,
		 * or wish the server to use a seperate set of datafiles,
		 * change the 'CustomPath' value, example:
		 * 
		 * private const string CustomPath = @"C:\Program Files\RunUO Software Team\RunUO 1.0\Data Files";
		 */
		private static string CustomPath = @"C:\Program Files\RunUO Software Team\RunUO 1.0\Data Files";

		/* The following is a list of files which a required for proper execution:
		 * 
		 * Multi.idx
		 * Multi.mul
		 * VerData.mul
		 * TileData.mul
		 * Map*.mul
		 * StaIdx*.mul
		 * Statics*.mul
		 * MapDif*.mul
		 * MapDifL*.mul
		 * StaDif*.mul
		 * StaDifL*.mul
		 * StaDifI*.mul
		 */

		public static void Configure()
		{
			string pathReg = GetExePath( "Ultima Online" );
			string pathTD = GetExePath( "Ultima Online Third Dawn" );

			if ( CustomPath != null )
				Core.DataDirectories.Add( CustomPath );

			if ( pathReg != null )
				Core.DataDirectories.Add( pathReg );

			if ( pathTD != null )
				Core.DataDirectories.Add( pathTD );

			if ( Core.DataDirectories.Count == 0 )
			{
				Console.WriteLine( "Enter the Ultima Online directory:" );
				Console.Write( "> " );

				Core.DataDirectories.Add( Console.ReadLine() );
			}
		}

		private static string GetExePath( string subName )
		{
			try
			{
				using ( RegistryKey key = Registry.LocalMachine.OpenSubKey( String.Format( @"SOFTWARE\Origin Worlds Online\{0}\1.0", subName ) ) )
				{
					if ( key == null )
						return null;

					string v = key.GetValue( "ExePath" ) as string;

					if ( v == null || v.Length <= 0 )
						return null;

					if ( !File.Exists( v ) )
						return null;

					v = Path.GetDirectoryName( v );

					if ( v == null )
						return null;

					return v;
				}
			}
			catch
			{
				return null;
			}
		}
	}
}
OK, now restart runuo and start UO, then log in to your administrative account. Go to what you want to freeze and use the [freeze command and select everything you want frozen. When the Dialog menu comes up click "OK".

Now go into the "Data Files" folder and copy the correct files

If you froze items in trammel or felucca it will be:
StaIdx0.mul
Statics0.mul
If you froze items in Ishnier it will be:
StaIdx2.mul
Statics2.mul
If you froze items in Malas it will be:
StaIdx3.mul
Statics3.mul
If you froze items in Tokuno it will be:
StaIdx4.mul
Statics4.mul

Now you will need to distribe these files to everyone that plays your server.

(Note: you should only do this if the server is on a local machine)
irro is offline   Reply With Quote
Old 07-12-2005, 12:52 PM   #2 (permalink)
Forum Novice
 
Join Date: Oct 2004
Location: Canada
Posts: 174
Default

Nevermind i figured out how to do it!
yuri99 is offline   Reply With Quote
Old 07-12-2005, 11:06 PM   #3 (permalink)
Forum Expert
 
Join Date: Jan 2003
Location: Denver, CO
Age: 21
Posts: 282
Send a message via ICQ to irro Send a message via AIM to irro Send a message via MSN to irro Send a message via Yahoo to irro Send a message via Skype™ to irro
Default

Would you tell us what the problem was and how you fixed it, so others can learn as well?
irro is offline   Reply With Quote
Old 07-15-2005, 07:51 AM   #4 (permalink)
Forum Novice
 
Join Date: Apr 2005
Age: 48
Posts: 173
Default

Okay, I must be doing something wrong. I have copied all of the above files and created a folder for Data FIles - I also copied all the changes for the datapatch.cs but when i do [freezemap it still says I must be sharing files.


1 - I dont have a datapatch.cs as it says in the tutorial I only have datapath.cs - I assumed it was meant to be Datapath so thats where I copied the file to.

2 - I dont have a verdata.mul file in my Uo directory should I create an empty cs file for that and place it in the file anyway?

3 - My comp says I am running on low disk space - is it the 70k items in my world causing this?
Almrac Avanti is offline   Reply With Quote
Old 07-15-2005, 03:31 PM   #5 (permalink)
Newbie
 
Join Date: Dec 2003
Location: England
Posts: 28
Send a message via Yahoo to hunter_hunted
Default

1. You're right, it's datapath.cs

2. Verdata.mul is an old format which is not used anymore in the later clients, no need for it unless someone wants to distribute an old client to their players

3. After adding 70k items and saving a few times, my saves and backups folders were only about 13 meg total so it shouldn't be that

Check the custom directory name in datapath.cs is exactly right for you, if it isn't it defaults to your UO directory again from what I can tell.
hunter_hunted is offline   Reply With Quote
Old 07-16-2005, 08:28 AM   #6 (permalink)
Forum Novice
 
Join Date: Apr 2005
Age: 48
Posts: 173
Default

"Check the custom directory name in datapath"

Yep that was it, I miss spelled it as well - LOL

It works great now! Thanks
Almrac Avanti is offline   Reply With Quote
Old 08-03-2005, 06:51 PM   #7 (permalink)
 
Join Date: Apr 2005
Age: 24
Posts: 32
Send a message via AIM to matchstick Send a message via Yahoo to matchstick
Default

i made a custom area and froze it. then I transfered the stat*.mul files to my uo dir, and i can see the area in the world, but i cant tele to it, walk on it, or anything. any help appreciated, thanks.
matchstick is offline   Reply With Quote
Old 08-03-2005, 06:58 PM   #8 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by matchstick
i made a custom area and froze it. then I transfered the stat*.mul files to my uo dir, and i can see the area in the world, but i cant tele to it, walk on it, or anything. any help appreciated, thanks.
Are you sure you transfered the modified mul?

For that matter are you sure you even froze the objects...
Phantom is offline   Reply With Quote
Old 08-03-2005, 07:26 PM   #9 (permalink)
 
Join Date: Apr 2005
Age: 24
Posts: 32
Send a message via AIM to matchstick Send a message via Yahoo to matchstick
Default

yes i froze the whole map, and then i transfered the files over to my uo dir. i can see the area that i made (which disappered when i froze it, but i just cant use it for anything
matchstick is offline   Reply With Quote
Old 08-03-2005, 07:54 PM   #10 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by matchstick
yes i froze the whole map, and then i transfered the files over to my uo dir. i can see the area that i made (which disappered when i froze it, but i just cant use it for anything
Try overwritting all the files in your UO directory with the ones found in your Datapath.
Phantom is offline   Reply With Quote
Old 08-05-2005, 05:31 AM   #11 (permalink)
 
Join Date: Jul 2005
Age: 23
Posts: 39
Default

ok... i got the freezing done and now i need to know a good place to host my patches from... please tell me a good one if you can (and im not sure if i should post this here sorry if its the wrong place)
devilman is offline   Reply With Quote
Old 08-06-2005, 02:01 AM   #12 (permalink)
Forum Expert
 
Join Date: Jan 2003
Location: Denver, CO
Age: 21
Posts: 282
Send a message via ICQ to irro Send a message via AIM to irro Send a message via MSN to irro Send a message via Yahoo to irro Send a message via Skype™ to irro
Default

try yahoo.com
or memebot.com
irro is offline   Reply With Quote
Old 08-10-2005, 02:26 PM   #13 (permalink)
 
Join Date: Aug 2004
Posts: 50
Default

i tried this and now wheneevr i log into my shard i get the "could not connect to ultima online, please try aain in a few moments", my server is up, my Ip is correct i dont know why im getting this.
Necrotecha is offline   Reply With Quote
Old 08-10-2005, 11:48 PM   #14 (permalink)
Forum Expert
 
Join Date: Jan 2003
Location: Denver, CO
Age: 21
Posts: 282
Send a message via ICQ to irro Send a message via AIM to irro Send a message via MSN to irro Send a message via Yahoo to irro Send a message via Skype™ to irro
Default

Quote:
Originally Posted by Necrotecha
i tried this and now wheneevr i log into my shard i get the "could not connect to ultima online, please try aain in a few moments", my server is up, my Ip is correct i dont know why im getting this.
Thats a totaly random error for this...

You can try adding the oringal files back into UO. Then creating a local server listing in UOG, and adding the new patches in for the server.
irro is offline   Reply With Quote
Old 08-15-2005, 05:08 PM   #15 (permalink)
 
Join Date: Nov 2004
Age: 20
Posts: 86
Default Should this happen?

Hello,
I created some of my own areas ingame and succesfully froze them. I just realized, however, that my frozen areas appeared in both Trammel and Felucca. The ones on the facet opposite of the area I froze appear different and are not the way they should be. The tiles are un-wipable, un-deletable, and cannot be unfrozen. Is this suppose to happen? If not, is there any way to stop it?

Thanks
The Noob is offline   Reply With Quote
Old 08-15-2005, 05:37 PM   #16 (permalink)
Master of the Internet
 
bzk90's Avatar
 
Join Date: Jun 2003
Location: Nevada
Age: 18
Posts: 6,630
Send a message via AIM to bzk90 Send a message via MSN to bzk90 Send a message via Yahoo to bzk90
Default

trammel and felucca are mirror images, minus a bit different decoration for trees and grave stones

what you do to one is done to the other, there is a way to seperate the 2 maps and its been done before by 1 person that i know of, but that is something i dont intend on covering
bzk90 is offline   Reply With Quote
Old 08-15-2005, 07:41 PM   #17 (permalink)
Forum Expert
 
Alis's Avatar
 
Join Date: Jun 2005
Location: Probably where people call it heaven
Posts: 1,452
Send a message via AIM to Alis Send a message via MSN to Alis
Default

did you put it on a site and it pacthed ?
Alis is offline   Reply With Quote
Old 08-15-2005, 08:55 PM   #18 (permalink)
UO Hobbyist
 
kirax2's Avatar
 
Join Date: Jul 2004
Age: 32
Posts: 179
Default

Look at this thread: http://www.orbsydia.com/forum/showthread.php?t=2148 and find Parts II and III for a lot of information on the different map files and how they work.

Hope this helps,
-Janice
aka kirax2
kirax2 is offline   Reply With Quote
Old 08-15-2005, 10:31 PM   #19 (permalink)
 
Join Date: Nov 2004
Age: 20
Posts: 86
Default

ok, thank you for the info, I'll check it out and post again if I have any problems.
The Noob is offline   Reply With Quote
Old 08-16-2005, 02:32 AM   #20 (permalink)
Forum Expert
 
Join Date: Jan 2003
Location: Denver, CO
Age: 21
Posts: 282
Send a message via ICQ to irro Send a message via AIM to irro Send a message via MSN to irro Send a message via Yahoo to irro Send a message via Skype™ to irro
Default

Quote:
Originally Posted by The Noob
Hello,
I created some of my own areas ingame and succesfully froze them. I just realized, however, that my frozen areas appeared in both Trammel and Felucca. The ones on the facet opposite of the area I froze appear different and are not the way they should be. The tiles are un-wipable, un-deletable, and cannot be unfrozen. Is this suppose to happen? If not, is there any way to stop it?

Thanks

What you need to do is to take out what you added, in the facet that you added it in.

Then use punts worldforge to add it to the mapDIFFS. Then distribute the mapdif files.

map0diffs for felucca
map1diffs for trammel
irro is offline   Reply With Quote
Old 09-02-2005, 11:03 AM   #21 (permalink)
 
hudel's Avatar
 
Join Date: Oct 2003
Location: Germany
Age: 37
Posts: 508
Send a message via ICQ to hudel
Default

Quote:
Originally Posted by kirax2
Look at this thread: http://www.orbsydia.com/forum/showthread.php?t=2148 and find Parts II and III for a lot of information on the different map files and how they work.

Hope this helps,
-Janice
aka kirax2
Hi Kirax2,

could you please give us the title of this Threat? The given link seems to be dead.
Thanks in advance...
hudel is offline   Reply With Quote
Old 09-03-2005, 01:34 PM   #22 (permalink)
UO Hobbyist
 
kirax2's Avatar
 
Join Date: Jul 2004
Age: 32
Posts: 179
Default

Sorry it took me so long to reply. ^_^ Orb keeps moving things around! LOL

Here's the thread: http://www.orbsydia.ca/forum/showthread.php?t=2134

It's called "Looking for information on custom graphics and animations. I plan to turn the article into a more FAQ-like structure at some point, but haven't had time.

-Janice
aka kirax2
kirax2 is offline   Reply With Quote
Old 09-20-2005, 04:52 AM   #23 (permalink)
 
Join Date: Sep 2005
Location: Germany (Dresden)
Age: 27
Posts: 10
Default

perhaps could the runuo dev team include in the new runuo version commands to freeze and unfreee in diff files like staidif0 / staidif1
Arthur Drakonis is offline   Reply With Quote
Old 09-24-2005, 03:28 PM   #24 (permalink)
Forum Expert
 
Join Date: Jan 2003
Location: Denver, CO
Age: 21
Posts: 282
Send a message via ICQ to irro Send a message via AIM to irro Send a message via MSN to irro Send a message via Yahoo to irro Send a message via Skype™ to irro
Default

Ill talk with Ryan and the Runuo team about that. Right now post it in the suggestions forum.

Ill also speak with a guy I know and see if we can script something to that effect.
irro is offline   Reply With Quote
Old 09-24-2005, 10:10 PM   #25 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

Hi there all can anyone help me i have UO-Samurai Empire.
and i found all the files but 1.
VerData.mul

--------------
i have

vercfg.cfg - vercfg.cfg
Verinfo - A file
Version - A DAT file
Version.txt

thanks you all for any help.
WonderlandADnc is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5