|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Oct 2007
Posts: 37
|
your instructions for setting up connectivity don't work and theres a problem with the instructions given it says to look for these lines in the serverlist.cs file
public const string Address = null; public const string ServerName = "RunUO Test Center"; the first line doesn't exist but the second one does whats the deal with that? my file looks like this can anyone please spot the line i need changed because to me it doesn't look like it exists in here what so ever and its frustrating me so much 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 static readonly string Address = null; public const string ServerName = "RunUO TC"; 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 ) { if ( IPAddress.TryParse( addr, out outValue ) ) return true; try { IPHostEntry iphe = Dns.GetHostEntry( 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.GetHostEntry( Dns.GetHostName() ); for ( int i = 0; !contains && i < iphe.AddressList.Length; ++i ) contains = theirAddress.Equals( iphe.AddressList[i] ); return contains; } } } |
|
|
|
|
|
#2 (permalink) | |
|
Newbie
|
Quote:
Second this Code:
public const string ServerName = "RunUO TC"; Second: Code:
public static readonly string Address = null;
__________________
-When All Is Said And Done More Is Said Then Done- |
|
|
|
|
|
|
#3 (permalink) |
|
Newbie
Join Date: Oct 2007
Posts: 37
|
one other thing when its asking for my ip address for things like portworwarding do i use the one i get from doing ipconfig /all in the command promt or the one i get from WhatIsMyIsp.com
Last edited by alex916; 10-24-2007 at 04:12 PM. |
|
|
|
|
|
#5 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
|
Quote:
In your Serverlist.cs file you need to use your external IP address, the one from what is my ip. |
|
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Sep 2007
Location: Over there
Posts: 1,575
|
Actually Try Downloading this Serverlist.cs Script I added Below as an Attachment:
It finds the internet IP for you. It came from UOGateway and I use it for my shard and It works great for me. Here is where you changes the Server Name: Code:
// ================================================================================== // YOUR SERVERS NAME // ================================================================================== public const string ServerName = "RunUO Test Center"; And when you load up your Server, Remember to look for this IP Address on the Black Screen which is your RunUO Core: Code:
Serverlist.cs: 2.0 Internet IP: 18.202.62.251 (http://www.ipaddy.com/) Address: 127.0.0.1:2593 Address: 18.202.62.251:2593 *NOTE* I edited the IP Address Matters Of Privacy Security. Download the Serverlist.CS Script Below and Overwrite it with your Origional Serverlist.cs Located in your RunUO/Scripts/Misc folder: |
|
|
|
|
|
#7 (permalink) |
|
Newbie
Join Date: Oct 2007
Posts: 37
|
ok well i got the connection working and my friend is now able to log onto my server but when he does he imediatly freezes up his health bar doesnt show any color and he can take about 3 steps before he freezes up totally and has to log out and back in again but then it just happens again any ideas on how to fix this??
|
|
|
|
|
|
#8 (permalink) | |
|
Forum Expert
Join Date: Sep 2007
Location: Over there
Posts: 1,575
|
Quote:
Remember you shouldnt ever Patch Passed 6.0.17 because it can ruin your client. Pretty much 6.0 is to a new level on UO. Tell him to make sure he's not patched past 6.0.17. Also make sure he's atleast patched to 5.0.8 or something like that. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|