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 04-23-2004, 02:17 PM   #1 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default server help

can someone plz help me i maked a server but i cant conn my ip when i write it to uogateway server options something blocks me to conn to my server.And other peoples. I need really help
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:24 PM   #2 (permalink)
 
Join Date: Feb 2004
Location: Earth
Age: 34
Posts: 158
Default

try doing a search for the serverlist.cs file that might help, it's a great script that someone created
__________________
All there souls belong to me on Nubblies shard.
smoksalot is offline   Reply With Quote
Old 04-23-2004, 02:26 PM   #3 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by smoksalot
try doing a search for the serverlist.cs file that might help, it's a great script that someone created
what do i need to do in serverlist.cs i mean i cant conn my server it says cant conn uoltima online try again later
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:27 PM   #4 (permalink)
Forum Expert
 
stormwolff's Avatar
 
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
Default

Youll need to edit it for your connection setup. Please try a search there are many posts on how to do this.
stormwolff is offline   Reply With Quote
Old 04-23-2004, 02:31 PM   #5 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by stormwolff
Youll need to edit it for your connection setup. Please try a search there are many posts on how to do this.
can u plz tell me to how to do it
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:32 PM   #6 (permalink)
Forum Expert
 
stormwolff's Avatar
 
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
Default

I told you what you needed to do. You need to edit the serverlist.cs file to fit with your networking setup.

The file contains info on what you need to enter and if you need further help there are tons of posts on this subject you just need to search for it.
stormwolff is offline   Reply With Quote
Old 04-23-2004, 02:36 PM   #7 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by stormwolff
I told you what you needed to do. You need to edit the serverlist.cs file to fit with your networking setup.

Use the search many different people have asked and and many have answered this questsion.
i wrote my ip adress to it but still cantconn
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:37 PM   #8 (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

Post your entire ServerList.cs if you want help, thats the only way I will be able to tell you want to fix.

Please post the exact error as it appears in the console.
Phantom is offline   Reply With Quote
Old 04-23-2004, 02:40 PM   #9 (permalink)
Forum Expert
 
stormwolff's Avatar
 
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
Default

Ok

How are you connecting?
Are you on the same computer the server is?
Do you want your shard to be public?
What is your network setup?
Do you have a router?
Which ip did you use internal or external?


You will find many posts via the search if you combine your answers to these questions with something like can't connect, router troubels, serverlist.cs help.

Take a look around first and see if your issue has already been solved. If not post your serverlist and your ip and we can try to go from there.

Edit darn phantom beat me to it :P
stormwolff is offline   Reply With Quote
Old 04-23-2004, 02:41 PM   #10 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by Phantom
Post your entire ServerList.cs if you want help, thats the only way I will be able to tell you want to fix.

Please post the exact error as it appears in the console.
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 = null;

public const string ServerName = "Europa";

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;
}
}
}
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:42 PM   #11 (permalink)
Forum Expert
 
stormwolff's Avatar
 
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
Default

You never entered your ip as I said.

public const string Address = null;


Your ip goes here

Example

public const string Address ="88.66.55.44.33";
stormwolff is offline   Reply With Quote
Old 04-23-2004, 02:42 PM   #12 (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 didn't follow or advice:

Code:
public const string Address = null;
Please follow our advice otherwise we cannot help you.
Phantom is offline   Reply With Quote
Old 04-23-2004, 02:43 PM   #13 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by stormwolff
public const string Address = null;


Your ip goes here

Example

public const string Address ="88.66.55.44.33";
thats it?
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:45 PM   #14 (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

Thats an example.

We have told you what you have to do, now you have to do it, as we can't nor do we want to do it for you.
Phantom is offline   Reply With Quote
Old 04-23-2004, 02:45 PM   #15 (permalink)
Forum Expert
 
stormwolff's Avatar
 
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
Default

Quote:
thats it?
No thats not your ip.

If you care about being a public shard you will need to put your external ip in there instead of my example.

If you don't care about being public you can use 127.0.0.1 and only connect to it locally.
stormwolff is offline   Reply With Quote
Old 04-23-2004, 02:46 PM   #16 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by Uo Man
thats it?
public const string Address = null"81.215.20.230";
i did like that is it true?
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:50 PM   #17 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by stormwolff
No thats not your ip.

If you care about being a public shard you will need to put your external ip in there instead of my example.

If you don't care about being public you can use 127.0.0.1 and only connect to it locally.
public const string Address = "81.215.20.230";
i wrote it but i still cant connecct i want a make it public
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:52 PM   #18 (permalink)
Forum Expert
 
stormwolff's Avatar
 
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
Default

Quote:
Originally Posted by Uo Man
public const string Address = "81.215.20.230";
i wrote it but i still cant connecct i want a make it public
How are you connecting?
Are you on the same computer as the server?
stormwolff is offline   Reply With Quote
Old 04-23-2004, 02:54 PM   #19 (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 you have a router/firewall

If you do you need to forward your port, or allow runuo to access the internet.

Most routers act like a firewall, so either way you have to make a rule/forward your port to your server. So people can connect.

You should use 127.0.0.1 to connect to yourself.
Phantom is offline   Reply With Quote
Old 04-23-2004, 02:55 PM   #20 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by stormwolff
How are you connecting?
Are you on the same computer as the server?
erm if it is not my ip how can i find my external ip
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:55 PM   #21 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by stormwolff
How are you connecting?
Are you on the same computer as the server?
yes ia m on the same computer
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:56 PM   #22 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by Phantom
Do you have a router/firewall

If you do you need to forward your port, or allow runuo to access the internet.

Most routers act like a firewall, so either way you have to make a rule/forward your port to your server. So people can connect.

You should use 127.0.0.1 to connect to yourself.
hoe can i make my router
Uo Man is offline   Reply With Quote
Old 04-23-2004, 02:56 PM   #23 (permalink)
Forum Expert
 
stormwolff's Avatar
 
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
Default

Quote:
yes ia m on the same computer

Then you will need to use 127.0.0.1 in your uogateway or login.cfg to connect.

Leave the ip as it is in your serverlis.cs if you want it to be public and again if you have a router you will need to forward port 2593.
stormwolff is offline   Reply With Quote
Old 04-23-2004, 02:56 PM   #24 (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 Uo Man
erm if it is not my ip how can i find my external ip
I though this was your ip?

Quote:
81.215.20.230
Phantom is offline   Reply With Quote
Old 04-23-2004, 02:58 PM   #25 (permalink)
Forum Expert
 
Join Date: Apr 2004
Posts: 426
Default

Quote:
Originally Posted by Phantom
I though this was your ip?
i wrote it but i still cant conn it it is my ip
Uo Man 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