RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

i need help seriosly

Yerba

Wanderer
RYUA said:
oh one more thing,what do i put in patches

You talking about in uogateway? if so then nothing unless you have created a verdata or edited/created a map and want your players to see what youve changed. And you would put the first address(like ip 127.0.0.1 and port 2593)the server gives you in uogateway if your playing on the same machine as the server. All other players connecting will put in the other address.
 

Ralman

Sorceror
Refer to the Frequently Asked Questions forum. You will find most of the answers there. There is alot of information, so take some time and be patient.

You may have to go back a few pages in the forum to find what you are looking for.

Take note of the other information in that forum, there is alot that may not seem important now, but will at some point.

The forum can be found here:
http://www.runuo.com/forum/forumdisplay.php?f=18
 

Grae

Wanderer
Back to Basics.

First you need to Download RunUO RCO 1.0 without .Net Framework, which can be found on the RunUO Site Here:-

http://www.runuo.com/downloads/index.php?action=category&id=2

Next you need the .Net Framework which can be downloaded from the Microsoft Site.

You also need to Download UOGateway. Here:-

http://www.uogateway.com/uogateway.html

First you need a Fresh install of Ultima Online. (ie. C:\Program Files\Ultima Online 2D)

Install .Net Framework.

Install RunUO RCO 1.0 (ie. C:\Program Files\RunUO RCO 1.0)


Delete all Shortcuts created by the install (they cause problems).
Create your own new Shortcut to RunUO.exe – DO NOT RUN.
Goto the Directory you installed RunUO RCO 1.0
Open... \Scripts\Misc\ServerList.cs (Use NotePad to Edit)
Edit Server Name.


Code:
using System;
using System.Net;
using System.Net.Sockets;
using Server;
using Server.Network;

namespace Server.Misc
{
	public class ServerList
	{
		/* Address:
		 * 
		 * The default setting, a value of 'null', will attempt to detect your IP address automatically:
		 * private const string Address = null;
		 * 
		 * This detection, however, does not work for servers behind routers. If you're running behind a router, put in your IP:
		 * private const string Address = "12.34.56.78";
		 * 
		 * If you need to resolve a DNS host name, you can do that too:
		 * private const string Address = "shard.host.com";
		 */

		public const string Address = null; //[b]Do Not Change this unless behind a Router[/b]

		public const string ServerName = "[b]YOUR SHARD NAME HERE[/b] ";

		public static void Initialize()
		{
			Listener.Port = 2593;

			EventSink.ServerList += new ServerListEventHandler( EventSink_ServerList );
		}

		public static void EventSink_ServerList( ServerListEventArgs e )
		{
			try
			{
				IPAddress ipAddr;

				if ( Resolve( Address != null && !IsLocalMachine( e.State ) ? Address : Dns.GetHostName(), out ipAddr ) )
					e.AddServer( ServerName, new IPEndPoint( ipAddr, Listener.Port ) );
				else
					e.Rejected = true;
			}
			catch
			{
				e.Rejected = true;
			}
		}

		public static bool Resolve( string addr, out IPAddress outValue )
		{
			try
			{
				outValue = IPAddress.Parse( addr );
				return true;
			}
			catch
			{
				try
				{
					IPHostEntry iphe = Dns.Resolve( addr );

					if ( iphe.AddressList.Length > 0 )
					{
						outValue = iphe.AddressList[iphe.AddressList.Length - 1];
						return true;
					}
				}
				catch
				{
				}
			}

			outValue = IPAddress.None;
			return false;
		}

		private static bool IsLocalMachine( NetState state )
		{
			Socket sock = state.Socket;

			IPAddress theirAddress = ((IPEndPoint)sock.RemoteEndPoint).Address;

			if ( IPAddress.IsLoopback( theirAddress ) )
				return true;

			bool contains = false;
			IPHostEntry iphe = Dns.Resolve( Dns.GetHostName() );

			for ( int i = 0; !contains && i < iphe.AddressList.Length; ++i )
				contains = theirAddress.Equals( iphe.AddressList );

			return contains;
		}
	}
}

Close and Save.

Start RunUO RCO 1.0 Server

IF everything goes right you should be looking at a DOS/Command Type window with something like the following:-

Code:
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (1477 items, 421 mobiles)
World: Loading...done (143124 items, 25773 mobiles) (8.2 seconds)
Regions: Loading...done
Address: 127.0.0.1:2593
Address: 192.168.0.1:2593
Address: xxx.xxx.xx.xx:2593

During this part of the process you will be asked if you want to create an admin account. Type “Yâ€
Next enter a Password for the New Admin account.

The Admin account is your main work account, only use this account when you need to work on your Shard. Make yourself another account later if you just want to play.

If you see the above code in your DOS/Command window, with IP addresses, then your server is up and running. DO NOT CLOSE. Leave running in the background.

Next thing is to goto UOGateway and Register your Shard and details.

Now run the UOGateway Program, it should automatically download the latest server list.

Once program is started, goto “Public Server†listings. Scroll down the list until you find your shard. Click it and it should automatically copy over to “My Server†List.

Goto “My Server†List. Click on your Shard and your Ultima Online Client should start automatically.

If everything has gone fine you should be looking at the log in screen.

Login as: Admin
Enter Password.


OR

Run the UOGateway Program.

Create a custom server entry by clicking [Custom Shard] (upper right).

Set the info as you desire, but make the IP 127.0.0.1 and non-crypt.

Click Save Settings.

Click your newly created entry to launch it.

Login as: Admin
Enter Password.


Now you should be In-Game as Administrator. From here I recommend making yourself a player account. Only use Admin account for doing modifications and working on the Shard. Anything else use your player account.

For any extra information please refer to RunUO Forum FAQ Section.

http://www.runuo.com/forum/forumdisplay.php?f=18

Hope this helps, as I can't get anymore detailed than this.
 

RYUA

Wanderer
err i know how to use a cpu stop saying that
im just new to run uo and i got the shard up.
uhh one sec ima check how to put a shard up in public serveres uless u can tell me first
 

Grae

Wanderer
RYUA said:
err i know how to use a cpu stop saying that
im just new to run uo and i got the shard up.
uhh one sec ima check how to put a shard up in public serveres uless u can tell me first


Read the post #45 prior to this. ;)
 
Top