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.