|
||
|
|||||||
| 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: Sep 2004
Age: 34
Posts: 16
|
ive tried creating a local shard but im having problems. i downloaded and installed runuo but on installation i had this error msg: could not write value DefaultFeature to key UNKOWN\features\D3674FA2CBED5FD4596BDABAE2FB2BA4.
i have tried downloading the software and also i downloaded the .net update. i can skip this part and continue with the runuo setup. i set everything up with uogateway but after the server selection screen it hangs. can anyone help 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 = "kialegends"; 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; } } } |
|
|
|
|
|
#5 (permalink) |
|
Forum Newbie
Join Date: Sep 2004
Age: 34
Posts: 16
|
i deleted and reinstalled .net framework but i still cant connect.
when runuo is loading it lists 3 diff i.p's in msdos they are 127.0.0.1,2593 my ip 4.0.0.0,2593 my accounts logs in but it just disconnects after i choose the server |
|
|
|
|
|
#6 (permalink) | |
|
Account Terminated
|
Quote:
Post your exact ServerList.cs |
|
|
|
|
|
|
#7 (permalink) |
|
I had this exact problem the first time I installed RunUO. You have to open ServerList.cs and enter the IP address of your server in this section:
Code:
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;
http://www.runuo.com/forum/showthread.php?t=2068 Hope that helps. By the way, there is a lot of similar questions answered in the Server Support forums. Browse through there or search through there and it will probably answer a lot of your future questions regarding server side problems. -Kriggle- |
|
|
|
|
|
|
#10 (permalink) |
|
Join Date: Dec 2004
Age: 22
Posts: 8
|
Ok so i got this program i need some help people can connect to my shard and create an accoiunt but after they get to the server screen and selecta server they get kicked
I'm wonderign what i need to do to stop that also i can get on it fine myselfbut no one else can please help. |
|
|
|
|
|
#11 (permalink) | |
|
Join Date: Dec 2004
Age: 32
Posts: 5
|
Quote:
|
|
|
|
|
|
|
#12 (permalink) | |
|
Join Date: Dec 2004
Age: 22
Posts: 8
|
Quote:
but you have to out your ip in the text file you can also change the name of yoru server there |
|
|
|
|
|
|
#13 (permalink) | |
|
Join Date: Dec 2004
Age: 22
Posts: 8
|
Quote:
http://www.runuo.com/forum/showthread.php?t=2068 |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|