|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 61
|
After finally portforwading my router(s), people should be able to connect to my server. but it crashes for them. A friend tried to connect and crash. I believe the problem is the lvl of patch we have.
Me: 5.0.8.1 patch 40 friend: 6.0.9.2 patch 70 Mines gives me "error during session". is there a way to patch my furthur? or to "unpatch" his back to mine? There was a thread with this issues and they said to "copy my patch to his", but i have no idea what that means and no one responds to that thread. Latly, Assuming this gets solved and We are both patched to the same thing. What IP does he put into razor to connect to me? My server gives the ip 10.5.1.2 whatsmyip.com = 64.231.255.239 canyouseeme.org = 2593 is open |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
You should try to patch to 6.0.9.2 too; look where your files are installed (standard in c:\program files\ea games etc) and look for a sub-directory \Patch. If there are files in it, delete them and restart patching. Is this the same machine on which your server is running? If that's true then your server will have the latest patch too (client and server need the same patch level, as do clients that will connect remotely). Also, you need to check 'Patch client encryption' in razor
The IP number that you need to type in the drop-down box: Locally: 127.0.0.1 or your local LAN IP address (check with CommandPrompt>IPCONFIG/all)(10.5.1.2?). Remote: warriorshaven.servegame.com. You also need to put the external IP (warriorshaven.servegame.com) number into your Scripts\Misc\ServerList.cs. 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 = "warriorshaven.servegame.com";
public const string ServerName = "Warriors Haven";
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;
}
}
}
Last edited by Melchior; 08-07-2008 at 11:24 AM. |
|
|
|
|
|
#3 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 61
|
i tried eracing my patches and redoing it but no success. Can i assume i can just copy my friends patch folder and use it?
and also, when i start my server it shows ip 127 0 0 1 and 10 5 1 2 in ipconfig it shows 10 5 1 1. what do others use to connect to me. thanks. |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
You can try but I don't think it will work. Best thing to do is to completely reinstall the client after completely removing the current client software, or;
If you friend has a laptop, and can/will come to you, and you get him on your lan, and he shares the directory in which he has installed the client, then you can copy his software over your version and you will have the same version. Like I said in my previous post, when connection remotely to your server, your friend should use your external IP number in Razor (warriorshaven.servegame.com) and check the 'Patch client encryption'. |
|
|
|
|
|
#5 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 61
|
im not sure what the difference is. weither he sends me his patch folder and i use it, or if he connects to my lan and i then get it. when you say share you mean both at the same time?
I have tried uninstalling completely, and installing it again a few times. no success. |
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
Like I said, you can try copying only your friends /Patch directory, but when he is properly patched, then it will be empty, so there will be nothing to copy. If he connects his pc to your LAN and takes the properties of the directory where the client software is installed, then he can set the property 'Shared' and you can connect to that share with your PC. Then copy the complete contends of his client software over your client.
If this is too complicated, then he can perhaps burn a DVD with his client software and you can then copy that to your installation. |
|
|
|
|
|
#9 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 61
|
Thanks. it will be a few days until i go over there and get it. I always thought you cant just copy a games folder over because of registry files and other stuff. if its as simple as that then good. would it be better to uninstall the ultima i have now first? i assume so correct?
|
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
There are only a few registry entries for Ultima Online; the only thing you need to take care of is the Scripts\Misc\DataPath.cs (contains the path to the client if no registry available) and Razor will not find it automatically, but you can simply browse and point when you start Razor. It would be best if you installed it in the same location as your current client (that is where your RunUO server expects it, as well as Razor. Removing the current version makes no difference; it will be over-written.
Did you ever use UOGateway? If so, then there will be a sub-directory named 'uog' in your client; this will also interfere with patching. (you can safely delete it, (and clear the \patch sub-directory again) and retry patching). |
|
|
|
|
|
#11 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 61
|
no i dont use gateway. i use razor. after i set up patching my maps with friends i will be using connectuo. ill look out for that.
are you saying to get his folder, then erase the patch files and repatch? Wouldn't that ruin it? |
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
No, that not what I meant; If you had ever used UOGateway, you could try that fix before you copy your friend's files. As it is, forget about it.
Btw: Did you update your ServerList.cs; if you do, maybe your friend can connect. It will not be perfect (different versions) but perhaps you can establish the fact that he can connect. He should check the 'Patch client encryption' in Razor. |
|
|
|
|
|
#14 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
No, because you are going to copy only his client software. Your RunUO server is installed in another place I assume.
The IP in your ServerList.cs form they other thread contained '127.0.0.1' where your external IP (warriorshaven.servegame.com) is expected, that's why I reposted it here earlier. |
|
|
|
|
|
#16 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 61
|
UPDATE. well not working yet.
basicaly. no matter where i am, i can just go to no-ip.com and make a dns name. And that is what i put into serverlist. currently im at my friends place and im using justinhouse@servegame.com. do we both use that name in razor as well? We did what was suggested here, i copied his game files and we both were then at 6.0.x.x. we also correctly port forwarded his router. we tried again and now were both getting encrypted client detected.... disconnecting. by reading other forums i found out this is because razor apperently cant decrypt past a certain patch level. So we tried both reinstalling and doing it without any patch. Now i dont see anything when he tries to log in (i see nothing in the sever window). suggestions? i am still unable to patch past 5.0.4c patch25 on my own. |
|
|
|
|
|
#17 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
You must try to work from a solid foundation:
- (Re)install RunUO 2.0 RC2 - Make your friend patch to 6.0.9.2 - If you can't patch to that version, copy his files after he has patched. - Download the latest Razor. From your home location, put your latest DNS name into ServerList.cs and make sure port forwarding works. When you, at home, run Razor, put in your LAN (Private) IP number (10.5.1.2?, or 127.0.0.1) If you are not sure, use Command Prompt>IPCONFIG/ALL to get your LAN IP number). Your friend needs to enter your DNS name (Public IP number) into Razor. Both need to check 'Patch client encryption' in Razor Last edited by Melchior; 08-14-2008 at 02:34 PM. |
|
|
|
|
|
#19 (permalink) |
|
Newbie
Join Date: Jul 2008
Posts: 61
|
so im getting a hue error when compiling runuo 2.0 with vista. I saw on other forums that i need to use tortoise svn, but i have no clue what that is or how to use it. The forum explains kinda how to use it but its quite technical.
my error - http://img254.imageshack.us/img254/5795/76538321ln9.jpg |
|
|
|
|
|
#20 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
The only thing to do is to edit your \Scripts\Misc\ServerList.cs and put in your public IP number or DNS name, like:
public static readonly string Address = "shard.servegame.com"; Btw: What language is that in the picture (polish?) Last edited by Melchior; 08-14-2008 at 02:27 PM. |
|
|
|
|
|
#22 (permalink) | |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|