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 05-29-2007, 08:39 PM   #1 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default Client/Server

Can someone please tell me what is going on? For some reason when my roommate had to reformate her computer, no one else in the household has been able to log into my shard. My shard is set up on my computer (which is not the one reformated) and I have not made any changes on any of the scripts in the time everyone was last able to log in until now. But for some reason in the RUNUO screen when one of them logs in (or attempts to) it shows that they are logging in and that the log in has valid cridentails, but when they click the shard name on the log in screen RUNUO shows that their client disconnected them. This is happening on two computers, but not on mine.

What is wrong and how can I fix it?

Thanks, Del
delicious is offline   Reply With Quote
Old 05-29-2007, 08:41 PM   #2 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

Most likely the lan IP of your machine changed due to the other one being off the lan.
__________________
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 05-30-2007, 01:00 AM   #3 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

You must set up your router so that all the traffic on RunUO's port is directed to your private IP.

Set up a so-called Virtual Server in your router settings. That will send UO traffic to your machine.

People in your LAN should be abel to connect to your private IP adress.
If you want people on the internet to reach your server aswell, you need to first know you IP (myip.se), and then put that in \scripts\misc\ServerList.cs. (Read the commented lines in the beginning of the script.)

When someone on the internet connects to your IP, they get sent to your router, and since you have a Virtual Server running (that sends UO traffic to your machine), they will sonnect to your shard. =)
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.

Last edited by Ilutzio; 05-30-2007 at 01:03 AM.
Ilutzio is offline   Reply With Quote
Old 05-30-2007, 02:05 AM   #4 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default

I checked and the IP has not changed... Is there anything else I can do?
delicious is offline   Reply With Quote
Old 05-30-2007, 02:40 AM   #5 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Are you playing UO on your server while your friend is trying to connect?
Wich ip does your friend try to connect to? Internal or external.
Has your friend let UO thru the software firweall?
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 05-31-2007, 11:34 AM   #6 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default

Quote:
Originally Posted by Ilutzio View Post
Are you playing UO on your server while your friend is trying to connect?
Wich ip does your friend try to connect to? Internal or external.
Has your friend let UO thru the software firweall?
yes and no.. I was playing at first then rebooted my system and had them try and connect before I did and they still could not log in.. They have tried my external and internal IP and their client is what is not letting them through. As for the firewall, I would think so becuase they play on other shards.
delicious is offline   Reply With Quote
Old 05-31-2007, 11:48 AM   #7 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default

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 "kizmetsdragon.no-ip.biz", will attempt

to detect your IP address automatically:
* private const string Address = "kizmetsdragon.no-ip.biz";
*
* 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 = "kizmetsdragon.no-ip.biz";
*
* If you need to resolve a DNS host name, you can do that too:
* private const string Address = "kizmetsdragon.no-ip.biz";
*/

public static readonly string Address = "141.158.135.70";

public const string ServerName = "Castle Rosamund";

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;
}
}
}

That is what i have for my ServerList.cs... Is there something out of place?
delicious is offline   Reply With Quote
Old 05-31-2007, 02:23 PM   #8 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

Quote:
and their client is what is not letting them through
How do you know this?
__________________
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 05-31-2007, 04:45 PM   #9 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default

Quote:
Originally Posted by Malaperth View Post
How do you know this?
On RunUO .. It shows them trying to connect and then after they click on the name of the shard as they log in RunUO says client disconnected.
delicious is offline   Reply With Quote
Old 05-31-2007, 04:48 PM   #10 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

What client version are the files the server is using and what client version are the people trying to connect using?
__________________
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 06-01-2007, 07:06 AM   #11 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default

Quote:
Originally Posted by Malaperth View Post
What client version are the files the server is using and what client version are the people trying to connect using?
2D for both parts of the questio...

I managed to get those within my household on the shard (as in they can now log in) but i still can not get outsiders to log in ...
delicious is offline   Reply With Quote
Old 06-01-2007, 09:44 AM   #12 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

2D is not a client version...
__________________
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 06-01-2007, 12:39 PM   #13 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default

Quote:
Originally Posted by Malaperth View Post
What client version are the files the server is using and what client version are the people trying to connect using?
Mundian Legacy if that is what you mean
delicious is offline   Reply With Quote
Old 06-01-2007, 03:21 PM   #14 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

No, a specific patch version number...
__________________
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 06-01-2007, 05:34 PM   #15 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 71
Default

Quote:
Originally Posted by Malaperth View Post
No, a specific patch version number...
I have no idea... How would I find that out?
delicious is offline   Reply With Quote
Old 06-01-2007, 05:53 PM   #16 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

It's on the splash screen of the client...
__________________
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
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