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 02-16-2004, 02:21 AM   #1 (permalink)
 
Join Date: Jul 2003
Posts: 3
Send a message via ICQ to GabrielAlton
Default Problem connecting

Hello,

I've been a lurker on these forums for some time and have just recently decided to start a shard of my own. [Or at least attempt to]. Im having a pretty annoying problem

I've followed the instructions from this link:
http://www.runuo.com/forum/viewtopic.php?t=1530

From there my server completely loads properly and everything seems normal. But when I open UOGateway and put in the "loopback" IP and attempt to log into my shard I get the message that "Could not connect to Ultima Online, Please try again in a few moments"

I've visited the UOGateway boards to see if someone there could assist me with my problem with no such luck.

In case it helps im running:
Win XP
ADSL [1.2 MBPS]
No Firewall
No Router
Win XP Firewall disabled

If you need any other info let me me know. Thanks in advance for the assist.
GabrielAlton is offline   Reply With Quote
Old 02-16-2004, 01:14 PM   #2 (permalink)
Forum Novice
 
Join Date: Dec 2002
Posts: 585
Send a message via ICQ to bleis
Default

try using your lan IP to connect with....
__________________
Founder of...
www.Abyss-Centurian.tk
Finaly opened,
www.NordicMyth.dk
bleis is offline   Reply With Quote
Old 02-17-2004, 06:43 PM   #3 (permalink)
AKA Sonic
 
norelen's Avatar
 
Join Date: Oct 2003
Location: Texas
Posts: 27
Send a message via ICQ to norelen
Default

Double check the port number you used. The default is 2593.

So it would be 127.0.0.1 port 2593

Also make sure you told it to remove encryption.
norelen is offline   Reply With Quote
Old 02-17-2004, 11:26 PM   #4 (permalink)
Master of the Internet
 
Quantos's Avatar
 
Join Date: Apr 2003
Location: Edmonton, AB
Age: 41
Posts: 6,867
Send a message via ICQ to Quantos Send a message via AIM to Quantos Send a message via MSN to Quantos Send a message via Yahoo to Quantos
Default

Post your serverlist.cs.
__________________
Paranoia is what happens when you finally have all of the facts.
Quantos is offline   Reply With Quote
Old 02-24-2004, 02:45 PM   #5 (permalink)
 
Join Date: Jan 2004
Posts: 52
Default

i had a similar problem before.Does your serverlist.cs look similiar to this?

Quote:
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 = "teamstealth.no-ip.biz";(My IP Address For Server)

public const string ServerName = "T.S.O.";(My Name For The Server)

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

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[i] );

return contains;
}
}
}
Your ServerList.cs Should look similar to this.MAKE sure you IP is the correct ip.If you are like me who has a Dynamic IP,you will need something like No-IP DUC from www.no-ip.com to auto change your ip.Dynamic IPS are a pain,but this is the easiest way i have found to detect and keep my ip current.Download that program(free) and make an account on www.no-ip.com and just put your new ip from no-ip.com in the space where it asks for ip(public const string Address = "your new ip here";

Hope i helped...
TSZoltar 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