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-18-2007, 05:45 PM   #1 (permalink)
Forum Novice
 
AnubisM's Avatar
 
Join Date: Nov 2005
Location: PA
Posts: 219
Send a message via AIM to AnubisM Send a message via Yahoo to AnubisM
Default Server issue

Yeh, so this may sound retarded to you guys but its my first server that im trying to host. And Im having some issues, ican connect to my server but no one else can and ive gotten a few tips that i need to like port forward on my router and some other stuff from some other shard owners but they have just been diKks so could someone help me out Thanks a ton

-Chris
__________________
*Anubism* A.K.A *Silent-Knight* A.K.A *Silence-*

www.HavocUO.com-Only Way To Do 4/6 Pvp
AnubisM is offline   Reply With Quote
Old 02-18-2007, 06:09 PM   #2 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 33
Posts: 887
Default

Well, the first thing you need to do is edit your ServerList.cs file and change the IP to your server's public internet IP address. Then the next thing would be to open the proper port on your router so it will allow the traffic on port 2593 through to your server. Those are the basic steps... if you have done these steps already and are still experiencing problems, post again with as much detail about the problem as possible (what happens? what does the console say? are there any error messages? etc.) and we can see what we can do to help you out.
__________________
I R GEEK!
WeEzL is offline   Reply With Quote
Old 02-18-2007, 07:17 PM   #3 (permalink)
Forum Novice
 
AnubisM's Avatar
 
Join Date: Nov 2005
Location: PA
Posts: 219
Send a message via AIM to AnubisM Send a message via Yahoo to AnubisM
Default

Thanks a ton man ima try it out,
__________________
*Anubism* A.K.A *Silent-Knight* A.K.A *Silence-*

www.HavocUO.com-Only Way To Do 4/6 Pvp
AnubisM is offline   Reply With Quote
Old 02-18-2007, 07:54 PM   #4 (permalink)
Forum Novice
 
AnubisM's Avatar
 
Join Date: Nov 2005
Location: PA
Posts: 219
Send a message via AIM to AnubisM Send a message via Yahoo to AnubisM
Default

Ok so i tried what you said and no one else can connect out side of my LAN connection, heres all the info

Serverlist.cs File---

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 = "69.14.150.194";
*
* If you need to resolve a DNS host name, you can do that too:
* private const string Address = "OSI Test Shard";
*/

public static readonly string Address = "69.14.150.194";

public const string ServerName = "OSI Test Shard";

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;
}
}
}
---------------------------------------------------------------------
Ok, when i start run uo 2.0 in the CMD prompt thing that opens this is what it says.--


RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2103 items, 542 mobiles)
Regions: Loading...done
World: Loading...done (105068 items, 2808 mobiles) (12.72 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Address: 127.0.0.1:2593
Address: 192.168.1.101:2593


And its getting me fustrated, i allowed my router and set it up to do what ever it had to do.
__________________
*Anubism* A.K.A *Silent-Knight* A.K.A *Silence-*

www.HavocUO.com-Only Way To Do 4/6 Pvp
AnubisM is offline   Reply With Quote
Old 02-18-2007, 11:07 PM   #5 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 33
Posts: 887
Default

Well, one of the first things you can try is to test whether the port you opened on your router is indeed opened correctly or whether there might be some other problem along the way (such as your ISP blocking that port because it's outside the range of normally used ports). The site canyouseeme.org will help with that... you enter the port number you would like to check and it will analyze that port and tell you whether it is open or if an error occurs.

canyouseeme.org --> Open Port Check Tool
__________________
I R GEEK!
WeEzL is offline   Reply With Quote
Old 03-19-2007, 01:35 AM   #6 (permalink)
Forum Newbie
 
Join Date: Apr 2005
Age: 23
Posts: 13
Default

bump

i also have this same issue i have noticed a lot of similar post about unable to connect with runuo 2.0

i have tested using uog, connectuo and razor.
the correct port is forwarded and i have checked this with an open port checker tool. in the serverlist.cs i have my current internet ip in "". i have also tried mr fixits serverlist.cs that has been suggested.

upon attempting to connect the server prompt does not register anything and the client says " connecting" and then changes to "couldnt connect to ultima online please try again in a few minutes"

i have tried several client version and also had a friend atempt to connect too

any help on this would be great
m3rch is offline   Reply With Quote
Old 03-19-2007, 10:03 AM   #7 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

Quote:
Originally Posted by m3rch View Post
bump

i also have this same issue i have noticed a lot of similar post about unable to connect with runuo 2.0

i have tested using uog, connectuo and razor.
the correct port is forwarded and i have checked this with an open port checker tool. in the serverlist.cs i have my current internet ip in "". i have also tried mr fixits serverlist.cs that has been suggested.

upon attempting to connect the server prompt does not register anything and the client says " connecting" and then changes to "couldnt connect to ultima online please try again in a few minutes"

i have tried several client version and also had a friend atempt to connect too

any help on this would be great
If nothing is showing in the console, you have an incorrect ip somewhere. It's either in the client/tool you are using to connect, or in your serverlist.cs or in your port forwarding. If your IP's are correct and the port forwarding is correct, something will show in the console.
__________________
Why is it that I'm never as smart as I thought I was yesterday?
My vast knowledge is only surpassed by my infinite ignorance.
<TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him
Malaperth is offline   Reply With Quote
Old 03-19-2007, 03:33 PM   #8 (permalink)
Forum Expert
 
Kheldar's Avatar
 
Join Date: Dec 2005
Posts: 442
Default

when u port forward r u porting to the proepr comp maost networks u have to eather assign it to the server pc by the ip the networker assign or by the comp name
Kheldar 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