|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
|
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:
|
|
|
|
|
|
#3 (permalink) |
|
Newbie
|
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:
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 |
|
|
|
|
|
#4 (permalink) | |
|
Forum Newbie
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
|
Quote:
|
|
|
|
|
|
|
#5 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Posts: 561
|
Quote:
|
|
|
|
|
|
|
#6 (permalink) | |
|
Forum Newbie
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
|
Quote:
|
|
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
|
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. |
|
|
|
|
|
#8 (permalink) |
|
Forum Newbie
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
|
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] |
|
|
|
|
|
#10 (permalink) |
|
Forum Newbie
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
|
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. |
|
|
|
|
|
#12 (permalink) | |
|
Forum Newbie
Join Date: Jul 2006
Location: Under the bridge.
Age: 16
Posts: 19
|
Quote:
__________________
I'm not dumb, Just out of whack. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|