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-04-2004, 01:48 AM   #1 (permalink)
 
Join Date: May 2004
Age: 21
Posts: 21
Arrow Small Issues...

Hello,

I downloaded RunUO a while ago, just to try it out, and to see what running a shard would be like. However, some things aren't working out...

First off, I'm using:

Dell Dimension 8200

Windows XP

No router, that I know of...

RunUO 1.0

Razor Beta 1.17

Latest Client Version [To my knowledge...4.04 or something near...]


For now, I havent put the shard up on the Gateway, I'm just learning the commands. However, I've been having trouble when other people try to log in with Razor. I send them the external IP, and the correct port #, but it doesnt even show that they're attempting to log in [they have the .net fix]. Either that, or it logs them off immediatly after logging in. I've checked my firewall, and it's not enabled, and I dont believe we have a router. Is there anything else I should try?

The [freeze and [unfreeze commands present another problem... I read a post a while back on how to set up a second set of the static files, but some of it isnt very clear:

"2. Create a folder called editedstatics (or whatever you want) in the UO folder (or wherever you want). Copy and paste the staticsX.mul and staidxX.mul (X = 0 for britannia, 2 for Illshenar, or 3 for Malas) from the Main UO folder to your editedstatics folder."

I pasted all three of the staticsX.mul and staidxX.mul files into the new folder. Is this correct?

Finding the correct line to edit in the DataPath.cs file is also eluding me:

"3. Open up datapath.cs (in Scripts/Misc.) with a text editor and look for this line:
[code:1]private static string CustomPath = null;[/code:1]

Replace null with the path to your editedstatics folder. Should look something like this :
[code:1]private static string CustomPath = @"E:\Ultima Online 2D\editedstatics";[/code:1]"


Either I'm blind, or I'm missing something...I can't find this line in my DataPath file. There's a

"private static string GetExePath( string subName )" line, and a

"using ( RegistryKey key = Registry.LocalMachine.OpenSubKey( String.Format( @"SOFTWARE\Origin Worlds Online\{0}\1.0", subName ) ) )" line, but no

"private const string CustomPath = @"C:\Program Files\Ultima Online";" line. o_O

Ahh yes...so many questions...

Any help would be greatly appreciated.

Thanks

- Jing
Jing is offline   Reply With Quote
Old 09-04-2004, 01:54 AM   #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)If your going to use the freeze command you need to move all the required files to the same directory.

2) Post your Serverlist.cs
Phantom is offline   Reply With Quote
Old 09-04-2004, 02:12 AM   #3 (permalink)
 
Join Date: May 2004
Age: 21
Posts: 21
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 '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 = "Hidden in the Mist";

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;
}
}
That's my serverlist.

It occurred to me, though, something is wrong with my RunUO. All of the vendors dissapeared o_O

I havent wiped them, or the spawners, they're just not there. I'm beginning to think the best thing to do would be to do a fresh reinstall.

On a side note, is the [freeze command the correct command to use to freeze items placed in game for deco purposes? Or is it only for architectural elements?
Jing is offline   Reply With Quote
Old 09-04-2004, 02:17 AM   #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

1) Nothing is wrong with RunUO, your just did something wrong.
2) Yes that command is the correct command, just do what I stated and it will worked without issue.
3) If people cannot login, then you must have a router, because your Serverlist.cs is correct for a user without a router.
Phantom is offline   Reply With Quote
Old 09-04-2004, 02:56 PM   #5 (permalink)
 
Join Date: May 2004
Age: 21
Posts: 21
Default

Yeah...I figured I had just edited something wrong...

Ed: I should have included this in the first post: One of my friends was able to log on a while ago. For some reason, she's the only one it will give access to...

**Figured out the DataPath.cs thing...yes, I'm blind... But this presents a new problem: how do you edit buildings already there, and are there any programs that will help with that? When I try to use Pandora's box to add walls and doors, nothing happens when I click in-game [does this have to do with custom map editing? I dont really want to delve into that...].

Heh...more questions...
Jing 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