Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 07-02-2006, 03:38 PM   #1 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
Exclamation Router and Shards

Hello, I have been trying to get my UO shard to run so other's would be able to get on, But every time I try hosting it, The router says "No! Bad Woman! No Shard for you!" I have no clue on how to fix this problem.. could some one please help. D:
NightfrightVixen is offline   Reply With Quote
Old 07-02-2006, 04:40 PM   #2 (permalink)
Forum Expert
 
Tannis's Avatar
 
Join Date: Feb 2004
Age: 27
Posts: 2,047
Default

What type of router do you have? And could you post your Serverlist.cs?
__________________


UO Art
Come visit us! It's all about the artwork.
Tannis is offline   Reply With Quote
Old 07-02-2006, 04:46 PM   #3 (permalink)
Newbie
 
Join Date: Sep 2002
Posts: 74
Send a message via ICQ to Arek Send a message via AIM to Arek Send a message via Yahoo to Arek
Default

First, you need to go to your router's administration page and find something called "port forwarding". Once you've found that, forward port 2593 to your server (I think you only need to forward TCP, but forwarding both TCP and UDP shouldn't hurt).

Next, in order for clients to be able to connect, your server needs to know the router's external IP address. This can be done in a couple of ways:
  1. You could get an account on something like no-ip.com and have it point to your IP address, and set up a tray app to check your IP every 10 minutes or so and change your no-ip settings if necessary. Then you just set your serverlist.cs up to use your no-ip address (yourname.no-ip.com for example). This is useful when your ISP changes your IP address a lot.
  2. The second is to use mr. fixit's serverlist.cs (available at uogateway.com). This is useful if your IP address doesn't change very often and you don't want to go to the hassle of setting up a dynamic IP address redirector. Just don't use this if your ISP changes your IP address more often than weekly (preferably not more than monthly) - it'll become far too much of a hassle, since you'll also have to update UOGateway when your IP changes.

Hope this helps.

Other people may be able to give you more detailed instructions if you do what Tannis says and give us more info.

--Arek
Arek is offline   Reply With Quote
Old 07-02-2006, 04:52 PM   #4 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
Default

Quote:
Originally Posted by Arek
First, you need to go to your router's administration page and find something called "port forwarding". Once you've found that, forward port 2593 to your server (I think you only need to forward TCP, but forwarding both TCP and UDP shouldn't hurt).

Next, in order for clients to be able to connect, your server needs to know the router's external IP address. This can be done in a couple of ways:
  1. You could get an account on something like no-ip.com and have it point to your IP address, and set up a tray app to check your IP every 10 minutes or so and change your no-ip settings if necessary. Then you just set your serverlist.cs up to use your no-ip address (yourname.no-ip.com for example). This is useful when your ISP changes your IP address a lot.
  2. The second is to use mr. fixit's serverlist.cs (available at uogateway.com). This is useful if your IP address doesn't change very often and you don't want to go to the hassle of setting up a dynamic IP address redirector. Just don't use this if your ISP changes your IP address more often than weekly (preferably not more than monthly) - it'll become far too much of a hassle, since you'll also have to update UOGateway when your IP changes.

Hope this helps.

Other people may be able to give you more detailed instructions if you do what Tannis says and give us more info.

--Arek
I see, But Not to sound like a blonde, ^_^;; How exactly do I get to the Routers page?
NightfrightVixen is offline   Reply With Quote
Old 07-02-2006, 05:08 PM   #5 (permalink)
Forum Expert
 
Join Date: Nov 2003
Posts: 561
Default

Quote:
Originally Posted by NightfrightVixen
I see, But Not to sound like a blonde, ^_^;; How exactly do I get to the Routers page?
Depends on the router brand....try typing in http://192.168.0.1/ into your browser and see if it takes you anywhere. That is what the Dlink brand usually uses.
ssalter is offline   Reply With Quote
Old 07-02-2006, 05:10 PM   #6 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
Default

Quote:
Originally Posted by ssalter
Depends on the router brand....try typing in http://192.168.0.1/ into your browser and see if it takes you anywhere. That is what the Dlink brand usually uses.
Never mind! I found out it is a linkleyss thing..
NightfrightVixen is offline   Reply With Quote
Old 07-02-2006, 05:10 PM   #7 (permalink)
Forum Expert
 
Rhexis's Avatar
 
Join Date: Apr 2003
Location: Arizona
Age: 23
Posts: 1,694
Send a message via ICQ to Rhexis Send a message via AIM to Rhexis Send a message via MSN to Rhexis Send a message via Yahoo to Rhexis
Default

start > run > cmd.exe

Type ipconfig and hit eneter. Look for the line saying default gateway. Enter that ip in your browser.

For example my default gateway is 192.168.2.1 so to get to my admin panel I go to http://192.168.2.1/

Your router brand/model will help as most admin panels vary from one router to another...so its easier to give intructions if we know the layout.
__________________
Rhexis is offline   Reply With Quote
Old 07-02-2006, 05:11 PM   #8 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
Default

Alright.. Now I have another problem.. -InsertIPHere- goses WHERE in the Severlist.c thing?

[qoute]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 = "RunUO Test Center";

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;
}
}
}[/qoute]
NightfrightVixen is offline   Reply With Quote
Old 07-02-2006, 05:15 PM   #9 (permalink)
Forum Expert
 
Join Date: Nov 2003
Posts: 561
Default

Copy this line:

* private const string Address = "12.34.56.78";

Paste it without the * just above the line that reads

public const string Address = null;

and change "12.32.56.78" to your own IP.
ssalter is offline   Reply With Quote
Old 07-02-2006, 05:21 PM   #10 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
Default

I changed it to my Ip, and placed the Private thing above the
public const string Address = null; line, I went to start it and it said 'Already contains an entry for Address.'
__________________
I'm not dumb, Just out of whack.
NightfrightVixen is offline   Reply With Quote
Old 07-02-2006, 05:49 PM   #11 (permalink)
Newbie
 
Join Date: Sep 2002
Posts: 74
Send a message via ICQ to Arek Send a message via AIM to Arek Send a message via Yahoo to Arek
Default

add // in front of public const string address = null;
(on the same line)

--Arek
Arek is offline   Reply With Quote
Old 07-02-2006, 05:51 PM   #12 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
Default

Quote:
Originally Posted by Arek
add // in front of public const string address = null;
(on the same line)

--Arek
Kay, Now, We shall all pray this works.
__________________
I'm not dumb, Just out of whack.
NightfrightVixen is offline   Reply With Quote
Old 07-02-2006, 06:25 PM   #13 (permalink)
Forum Expert
 
Tannis's Avatar
 
Join Date: Feb 2004
Age: 27
Posts: 2,047
Default

We actually had no problems with our LinkSys. Right now we have a Belkin...it's a POS in my opinion. Stick with your LinkSys!
__________________


UO Art
Come visit us! It's all about the artwork.
Tannis is offline   Reply With Quote
Old 07-29-2006, 08:34 PM   #14 (permalink)
 
Join Date: Jul 2006
Age: 18
Posts: 3
Default

ok im new at this hoping someone with Aim, Yahoo, or Msn could spare some free time to walk me through it, my friend helping me had to leave so now im stuck with a big mess
Vheissu is offline   Reply With Quote
Old 07-30-2006, 02:02 AM   #15 (permalink)
Forum Expert
 
Tannis's Avatar
 
Join Date: Feb 2004
Age: 27
Posts: 2,047
Default

Well, you could always post here for help. You'd get 10-20 people helping you rather than just one.
__________________


UO Art
Come visit us! It's all about the artwork.
Tannis is offline   Reply With Quote
Old 07-30-2006, 02:17 AM   #16 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Don't make us beat you...
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 07-31-2006, 11:48 AM   #17 (permalink)
 
Join Date: Jul 2006
Age: 18
Posts: 3
Default

yes true but it would be easier to talk to someone on a messanger so the can walk me through step by step to get it finished
Vheissu 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