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 09-26-2004, 04:26 PM   #1 (permalink)
Forum Newbie
 
Join Date: Sep 2004
Age: 34
Posts: 16
Default Cant connect to my server

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;
}
}
}
kialegends is offline   Reply With Quote
Old 09-26-2004, 04:32 PM   #2 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

1) Uninstall the first service pack, its not supported by RunUO

The error has nothing to do with the ServerList.cs so why did you post it?
Phantom is offline   Reply With Quote
Old 09-26-2004, 05:51 PM   #3 (permalink)
Forum Newbie
 
Join Date: Sep 2004
Age: 34
Posts: 16
Default

thx for ur reply. how do i uninstall the service pack?
kialegends is offline   Reply With Quote
Old 09-26-2004, 05:56 PM   #4 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by kialegends
thx for ur reply. how do i uninstall the service pack?
Requires you to uninstall the framework and then reinstall the .NET Framework 1.1 without SP 1.
Phantom is offline   Reply With Quote
Old 09-26-2004, 09:06 PM   #5 (permalink)
Forum Newbie
 
Join Date: Sep 2004
Age: 34
Posts: 16
Default

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
kialegends is offline   Reply With Quote
Old 09-26-2004, 11:20 PM   #6 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by kialegends
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
You not being able to connect has nothing to do with the Framework its the simple fact, your doing something wrong.

Post your exact ServerList.cs
Phantom is offline   Reply With Quote
Old 09-27-2004, 10:02 AM   #7 (permalink)
 
Join Date: Feb 2004
Location: New Jersey
Age: 26
Posts: 100
Send a message via ICQ to kriggle Send a message via AIM to kriggle Send a message via MSN to kriggle Send a message via Yahoo to kriggle
Default

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;
The last IP address that RunUO will list in the server window should be the IP address you want to put in place of "null" in the bold line. Also, if you are behind a router you will need to setup port forwarding to allow the incoming connection request to reach the correct computer. Depending on the router you are using, here is a helpful thread:

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-
kriggle is offline   Reply With Quote
Old 09-27-2004, 10:20 AM   #8 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

You only do that if you have a router, otherwise you must leave it as it is.

Otherwise it won't work, and you will come here crying about it...
Phantom is offline   Reply With Quote
Old 09-27-2004, 05:20 PM   #9 (permalink)
Forum Newbie
 
Join Date: Sep 2004
Age: 34
Posts: 16
Default

just to let u know i fixed the problem by downloading mr.fixit's serverlist.cs. worked fine after that
kialegends is offline   Reply With Quote
Old 12-06-2004, 12:36 PM   #10 (permalink)
 
Join Date: Dec 2004
Age: 22
Posts: 8
Default I need help

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.
samurai90x is offline   Reply With Quote
Old 12-07-2004, 08:11 AM   #11 (permalink)
 
Join Date: Dec 2004
Age: 32
Posts: 5
Default

Quote:
Originally Posted by samurai90x
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.
same here but just when I try to log from the internet, I get the servers screen, select the server and get kicked. I am behind a Wingate NAT but I redirected the UO port to this machine (note I get the servers screen through the internet). Any ideas? btw I keep getting the "could not write Defaul Value" thing when trying to install.
MadKairon is offline   Reply With Quote
Old 12-07-2004, 11:00 AM   #12 (permalink)
 
Join Date: Dec 2004
Age: 22
Posts: 8
Default

Quote:
Originally Posted by MadKairon
same here but just when I try to log from the internet, I get the servers screen, select the server and get kicked. I am behind a Wingate NAT but I redirected the UO port to this machine (note I get the servers screen through the internet). Any ideas? btw I keep getting the "could not write Defaul Value" thing when trying to install.
i fixed it once i canb't remember what exactly it is
but you have to out your ip in the text file you can also change the name of yoru server there
samurai90x is offline   Reply With Quote
Old 12-07-2004, 11:28 AM   #13 (permalink)
 
Join Date: Dec 2004
Age: 22
Posts: 8
Default

Quote:
Originally Posted by MadKairon
same here but just when I try to log from the internet, I get the servers screen, select the server and get kicked. I am behind a Wingate NAT but I redirected the UO port to this machine (note I get the servers screen through the internet). Any ideas? btw I keep getting the "could not write Defaul Value" thing when trying to install.
I have a link to anyone who needs that some help

http://www.runuo.com/forum/showthread.php?t=2068
samurai90x is offline   Reply With Quote
Old 12-11-2004, 03:26 AM   #14 (permalink)
 
Join Date: Feb 2004
Location: In front of a computer, Australia
Age: 20
Posts: 162
Send a message via MSN to Radar3
Default

Help!
Radar3 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