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 07-22-2003, 09:18 PM   #1 (permalink)
 
Join Date: Jul 2003
Posts: 17
Default Connection problems [b]Please help!![/b]

i have a problem with keeping clients connected :x . i know they connect in the first place because it shows an account name logging on and says its connected, then it says it disconnected, and the person trying to log in gets locked up on the "connecting..." screen. A fix to this would be a big help... thank you
LuTRaPHoBiX is offline   Reply With Quote
Old 07-22-2003, 10:11 PM   #2 (permalink)
 
Join Date: Jun 2003
Posts: 463
Send a message via ICQ to CraZy_NooB Send a message via AIM to CraZy_NooB
Default

have you checked the stickys on how to configure your server for client connections...and also are you behind a router, if so you have to configure it. read the stickys in this section they shoudl help you with anything you need
CraZy_NooB is offline   Reply With Quote
Old 07-22-2003, 10:17 PM   #3 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Do the following:

A) Post ServerList.cs in this thread in a reply
B) Post the Servers Lan IP if you have a router and your Public IP
C) Read the FAQ Post on setting up your server.
Phantom is offline   Reply With Quote
Old 07-22-2003, 10:23 PM   #4 (permalink)
 
Join Date: Jul 2003
Posts: 17
Default

here is the ServerList.cs file:

[code:1]
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 = "24.167.224.38";

public const string ServerName = "Krackhedz Fun World";

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

return contains;
}
}
}
[/code:1]
LuTRaPHoBiX is offline   Reply With Quote
Old 07-22-2003, 10:35 PM   #5 (permalink)
Forum Expert
 
Join Date: Feb 2003
Age: 30
Posts: 515
Default

Sounds like the Hardware.cs file again......

http://www.runuo.com/discussion/viewtopic.php?t=15595
habitat85 is offline   Reply With Quote
Old 07-22-2003, 10:48 PM   #6 (permalink)
 
Join Date: Jul 2003
Posts: 17
Default

Quote:
Originally Posted by habitat85
Sounds like the Hardware.cs file again......

http://www.runuo.com/discussion/viewtopic.php?t=15595
Thanks a lot... that link fixed my problem
LuTRaPHoBiX is offline   Reply With Quote
Old 07-22-2003, 10:58 PM   #7 (permalink)
Forum Expert
 
Join Date: Feb 2003
Age: 30
Posts: 515
Default

Someone Needs to Make that Hardware.cs script problem a Stinky I mean STICKY!
habitat85 is offline   Reply With Quote
Old 07-23-2003, 12:59 AM   #8 (permalink)
 
Join Date: Jun 2003
Posts: 463
Send a message via ICQ to CraZy_NooB Send a message via AIM to CraZy_NooB
Default

yes they should because i read numerous posts a day about people upgrading etc. and suddenly cannot connect at all. it would help a lot to have a sticky on the server support page

*hints to moderator*
CraZy_NooB is offline   Reply With Quote
Old 07-23-2003, 12:59 AM   #9 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

They already posted it if you don't do a search its your fault
Phantom is offline   Reply With Quote
Old 07-23-2003, 01:01 AM   #10 (permalink)
Krazy_zack
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Phantom
They already posted it if you don't do a search its your fault
Um sure but a STICKY would help us HELP OTHER people (which is what you WANT to do doncha?)
  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