Unfortunately I only have access to the B36 script right now (not going to try and install RC1 on my work computer), but I don;t think the file changed any.
Original script code:
PHP Code:
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;
}
}
Ok the part in there that makes an entry in the UO servers list is this:
PHP Code:
if ( Resolve( Address != null && !IsLocalMachine( e.State ) ? Address : Dns.GetHostName(), out ipAddr ) )
e.AddServer( ServerName, new IPEndPoint( ipAddr, Listener.Port ) );
Therefore, all you really need to do is copy that and past it back in so that you have it twice (and change the "if" to "else if" so that the rest of the code will still work properly).
You should have this now:
PHP Code:
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 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;
}
}
Now, you just have to change the "Address", "ServerName" variables in the second entry with ones that are for the 2nd server. Also, if you are behind a router and both servers will have the same address, then you will have to give them two different port numbers.