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 11-08-2005, 08:17 PM   #1 (permalink)
Newbie
 
Join Date: Nov 2005
Age: 21
Posts: 31
Unhappy cant attach to game server?

ok im trying to get my friend to connect to my shard im not on public yet.
anyhow when he starts uo and logs in and see the server called runuo test cent he clicks on it says its connecting then he gets this really weird message wich i cant understand because im in the server so it makes no sence server aint down loll.help me plz im new at this tyvm plz give detailed info i aint a fast fast guy when it comes to lurning this stuff haha.

This is the error or what it says : "The client could not attach to the game server. It must have been taken down, please wait a few minutes and try again."
deathletum is offline   Reply With Quote
Old 11-08-2005, 08:21 PM   #2 (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

Quote:
Originally Posted by deathletum
ok im trying to get my friend to connect to my shard im not on public yet.
anyhow when he starts uo and logs in and see the server called runuo test cent he clicks on it says its connecting then he gets this really weird message wich i cant understand because im in the server so it makes no sence server aint down loll.help me plz im new at this tyvm plz give detailed info i aint a fast fast guy when it comes to lurning this stuff haha.

This is the error or what it says : "The client could not attach to the game server. It must have been taken down, please wait a few minutes and try again."
If you have a router, you need to forward the router and modify Serverlist.cs per the directions.
Phantom is offline   Reply With Quote
Old 11-08-2005, 08:24 PM   #3 (permalink)
Newbie
 
Join Date: Nov 2005
Age: 21
Posts: 31
Default

ya i got a router but i opened the port that runuo is using but still cant work hmmm i modified the serverlist.cs file changed the ip and server name thing
deathletum is offline   Reply With Quote
Old 11-08-2005, 08:35 PM   #4 (permalink)
Forum Expert
 
Packer898's Avatar
 
Join Date: Dec 2004
Location: Tulsa, Oklahoma
Age: 35
Posts: 2,378
Send a message via ICQ to Packer898 Send a message via MSN to Packer898
Default

post your serverlist.cs
Packer898 is offline   Reply With Quote
Old 11-08-2005, 08:46 PM   #5 (permalink)
Newbie
 
Join Date: Nov 2005
Age: 21
Posts: 31
Default

there im not sure wich folder its supose to go in.If its even supose to go into a folder loll.im a total bone head when it comes to this. btw what should my server ip be on my uogateway settings and all?.


--------------------------------------------------------------------------


using System;
using System.Net;
using System.Net.Sockets;
using Server;
using Server.Network;

namespace Server.Misc
{
public class ServerList
{
public const string Domain = "";
public const string ServerName = "";

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

EventSink.ServerList += new ServerListEventHandler( EventSink_ServerList );
}

private static bool OnServerLocalNetwork( Socket s )
{
// Check for Loopback also
IPEndPoint LEndPoint = (IPEndPoint)s.LocalEndPoint;
IPEndPoint REndPoint = (IPEndPoint)s.RemoteEndPoint;

string LocalIP = LEndPoint.Address.ToString();
string RemoteIP = REndPoint.Address.ToString();

int Loclastdot = LocalIP.LastIndexOf('.');
int Remlastdot = RemoteIP.LastIndexOf('.');

if ( !(LocalIP.Substring(0,Loclastdot) == RemoteIP.Substring(0,Remlastdot)) )
return false;
else
return true;
}

public static void EventSink_ServerList( ServerListEventArgs e )
{
bool Router = true;

if (!Router)
{
IPHostEntry thisHost = Dns.Resolve( Dns.GetHostName() );
IPAddress[] addressList = thisHost.AddressList;

if ( addressList.Length > 0 )
{
e.AddServer( ServerName, new IPEndPoint( addressList[addressList.Length - 1], Listener.Port ) );
}
else
{
e.Rejected = true;
}
}
else if (OnServerLocalNetwork(e.State.Socket))
{ // Check for Loopback client - no, check for local network.
IPHostEntry thisHost = Dns.Resolve( Dns.GetHostName() );
IPAddress[] addressList = thisHost.AddressList;

if (addressList.Length > 0)
{
e.AddServer( ServerName, new IPEndPoint( addressList[addressList.Length - 1], Listener.Port ) );
}
else
{
e.Rejected = true;
}
}
else
{ // If behind a router, and not on local network:
IPHostEntry thisHost = Dns.Resolve(Domain);
IPAddress[] addressList = thisHost.AddressList;

if (addressList.Length > 0)
{
e.AddServer( ServerName, new IPEndPoint( addressList[addressList.Length - 1], Listener.Port ) );
}
else
{
e.Rejected = true;
}
}
}
}
}
deathletum is offline   Reply With Quote
Old 11-08-2005, 08:49 PM   #6 (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

You need to make sure you did a port forward, to your computers local network ip, otherwise you won't be able to have people outside your network connect.
Phantom is offline   Reply With Quote
Old 11-08-2005, 08:50 PM   #7 (permalink)
Newbie
 
Join Date: Nov 2005
Age: 21
Posts: 31
Default

ok been testing it like a mad man finlay got it working woot ty
deathletum 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