Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 09-23-2006, 03:38 PM   #1 (permalink)
Forum Newbie
 
Join Date: Aug 2006
Age: 33
Posts: 12
Default Shard not on uog yet and ppls cant connect help

I posted shard on ug im still waiting someone logged into the world and logged out of it fast and i didnt see it's name can u tell me its uog ip??
204.16.252.112
And how can i do my friend connect my shard when its not on uog??? I gave him my ip but he cant connect who can help? I have read some FAQ's i have done all what's said in it but not working im on the shard and ppl's cant connect
Tocadisco is offline   Reply With Quote
Old 09-23-2006, 03:44 PM   #2 (permalink)
Forum Expert
 
Join Date: Feb 2005
Age: 24
Posts: 985
Send a message via AIM to Nochte
Default

Address leads to no-ip.com
__________________
Quote:
Originally Posted by kkjjkk View Post
how sad you people call yourselves scripters and you can't even format an emulator game into something completely differnt....no wounder y'all are stuck here with no real scripting jobs unlike me. please go back to school.
QFDA
Nochte is offline   Reply With Quote
Old 09-23-2006, 03:53 PM   #3 (permalink)
Forum Newbie
 
Join Date: Aug 2006
Age: 33
Posts: 12
Default

Server is ON like 1.5 hour and still cant see it on uog and its not activated on uog too what's the problem?
there is my serverlist.cs maybe there is something wrong???
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 static readonly string Address = "85.29.233.140";

		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;
		}
	}
}

Last edited by Tocadisco; 09-23-2006 at 04:02 PM.
Tocadisco is offline   Reply With Quote
Old 09-23-2006, 04:02 PM   #4 (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

Best thing to do about that is to post for support at www.uogateway.com Roland will know if the server is working correctly. Sometimes it has issues with new servers.
irro 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