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 01-14-2006, 07:42 PM   #51 (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

Haven is controled by the map difs numbered 1
irro is offline   Reply With Quote
Old 01-17-2006, 05:31 AM   #52 (permalink)
Newbie
 
Join Date: Jul 2005
Age: 43
Posts: 31
Cool Places to host .rar

I have seen a lot people asking where to host there patch files i have just found out about windows having it's own ftp server built in and you can use that, as the machine your shard server is running it will be in the background.

Hope this helps people as i now can have all the control of what files go in for patching on my own shard and not be reliant on someone else to copy and place the files for me.


Now to my Question I am afraid i am no good at scripting and have looked at the Datapath.cs and compaired it to the one given on this thread and as blind as i am i can't see the diference, should i tell the datapath to use the files copied from ML where it says (third dawn).

I remeber trying this before but it was so long agao i have forgotten what i did..

Any idiot style explanation would be very good for me or even a step by step pictorial of what i should do ( i.e a dtatpath with the correct bit's in it but blank's or stars ****** to show where i put my personal shard info).

I know iknow i am likely to get flamed shouted down and told this is not the right place for this and all the other stuff but i am still learning and started off by helping i hope.......

Thanks for any help i advance from Mctetly
Mctetly is offline   Reply With Quote
Old 01-21-2006, 10:37 AM   #53 (permalink)
 
Join Date: Apr 2003
Posts: 63
Send a message via ICQ to matteo
Default

I dont Get it do i make a New Folder in the scripts then i go in Program files/uosamerai then i get the items u told me to get and i copy them into data files then editw at u sed in the code in datapath.cs?
matteo is offline   Reply With Quote
Old 02-11-2006, 08:33 PM   #54 (permalink)
 
Join Date: Jan 2006
Posts: 22
Default dont get it

i dont know how to get it so it even freezes in the first place can one of you make a post of the complete instructions from step 1 to step whatever, when i go to[admin and freeze it it says somthin about it cant be froze.
WireUnit-GYS is offline   Reply With Quote
Old 02-12-2006, 11:39 AM   #55 (permalink)
Forum Expert
 
Join Date: Oct 2004
Location: New York
Age: 27
Posts: 688
Default

ugg..

Ok, so I read the instructions on the first post, and when I [freeze objects on tram these two files get modified:

staidx0.mul
statics0.mul

then I load up UOG, and manually add the two files.

I then launch a client, and go to the area when the objects should be, but I dont see anything. I also can't walk where the objects are, its like they are their but invisible.

Anyone know what I'm doing wrong?
X-SirSly-X is offline   Reply With Quote
Old 02-12-2006, 02:39 PM   #56 (permalink)
 
Join Date: Aug 2005
Age: 41
Posts: 47
Default

Quote:
Originally Posted by irro
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)
Ive tried seaching for some of these file using windows explorer and im not finding most of them I have 8th age are the file diffrent? Im new at this and im willing to learn how could some one please help me out. Thanks in advance Matt
mcifaldi is offline   Reply With Quote
Old 02-13-2006, 01:13 AM   #57 (permalink)
Forum Expert
 
Join Date: Oct 2004
Location: New York
Age: 27
Posts: 688
Default

i'm not sure which files are for the 8th age, but the location should be something like this:

C:\Program Files\EA GAMES\XXXX
X-SirSly-X is offline   Reply With Quote
Old 03-02-2006, 01:16 AM   #58 (permalink)
 
Join Date: Jul 2005
Age: 40
Posts: 9
Default

mcifaldi

The actual directory for your files with 8th Age is...

C:\ProgramFiles\EA Games\Ultima Online The Eighth Age

All the files are located in that directory.

The actual files to copy are...
Quote:
map0.mul
map2.mul
map3.mul
map4.mul
mapdif0.mul
mapdif1.mul
mapdif2.mul
mapdifl0.mul
mapdifl1.mul
mapdifl2.mul
multi.idx
multi.mul
stadif0.mul
stadif2.mul
stadifi0.mul
stadifi1.mul
stadifi2.mul
stadifl0.mul
stadifl1.mul
stadifl2.mul
staidx0.mul
staidx2.mul
staidx3.mul
staidx4.mul
statics0.mul
statics2.mul
statics3.mul
statics4.mul
tiledata.mul
The file verdata.mul is not used since UO SE (Samurai Empire) so you can just ignore that file.

If you create a new hue table, then you also wanna copy the hues.mul file.
LessZoa 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