|
||
|
|||||||
| 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 |
|
|
#3 (permalink) |
|
Forum Expert
|
They have to run on different ports if there on the same machine.
There was an old Serverlist.cs somewhere that allowed you to do this but both version of the servers would need to be altered to write account details into a database (SQL would be the better option for this), so either of the servers could log you in. Running 2 servers off the same system would also become an issue with performance/lag etc. Something i looked into a while back but decided against due to the amount of work involved just to have 2 or more shards listed, running one's enough work.
__________________
![]() We can be found on joinUO.com or listUO.com, come try us out.
|
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
|
Its physically impossible to run two different servers from one port.... If TCP port 2593 is in use, its in use. This means you cant run 2 servers on same port on single connection. With two WAN connections on one machine its possible
![]() If you really want to do this, id say look over for VMware server. Then just add two network adapters in your machine and fire it up :P that would be the best choice... Having two OS and two adapters... dunno ![]() |
|
|
|
|
|
#5 (permalink) |
|
Newbie
|
i was looking through the custom script release forum for the GM Gateway (Finaly found it) and there was something about shard list and having to shards goin at once. but then again i would never do it on one computer would lag you down unless running quad core lol but then again im sure you will be having problems getting enough people on your one server then having to get more people on 2
__________________
Looking For Staff. Log on Shadowsofagesuo.no-ip.biz with Razor or AIM ME. ShadowsOfAgesUO |
|
|
|
|
|
#7 (permalink) |
|
Account Terminated
Join Date: Jul 2006
Age: 29
Posts: 240
|
how are you connected to the internet?? if your using a broadband connection with multiple computers theres a router in there. and you will have to point the incoming traffic to your pc. and easy way to do this is check your interal IP address for your network. I would make static DHCP addresses if your going to run this from your home. usually your default modem/routers IP is 192.168.1.1 or 192.168.1.254 try typing those in your address bar see if something comes up.
|
|
|
|
|
|
#8 (permalink) |
|
Lurker
Join Date: Jun 2007
Posts: 4
|
we r connected to cable internet only have 1 computer no router and on the same computer....i have tryed to open port 2594 but it wont open and have tred port 2595 neither one worked can u help?
From.Insane Owner Of Lands Of Insanity |
|
|
|
|
|
#10 (permalink) | |
|
Account Terminated
Join Date: Jul 2006
Age: 29
Posts: 240
|
Quote:
need more info given though bud.. HOW are they trying to connect is a good starter. |
|
|
|
|
|
|
#12 (permalink) |
|
Account Terminated
Join Date: Jul 2006
Age: 29
Posts: 240
|
if you dig through the script submissions someone wrote a script to run 2 servers at the same time, and the players actually could go through a "gate" and cross between the 2 servers. saw it awhile back.. but you might be interested in that.
|
|
|
|
|
|
#14 (permalink) |
|
Lurker
Join Date: Jun 2007
Posts: 4
|
relly you can do that.....if u can give me the link to the script i would very muh thank you....and the ppl that were rying to connect and couldn't used razor and i use razor myself when i log on my admin account and it works just fine....but they dont even show up on the command promp....if u want to ask me for more info u can reach me at denver1993@hotmail.com
|
|
|
|
|
|
#19 (permalink) |
|
Forum Expert
|
only thing i can think of is either use a seprate location common to both for the accounts files, or else periodically update a 3rd location with updates to the accounts list and then on login and load rather than reading from the indvidual save for that server to read from the 3rd location...
each server would write to their save location, but read from a different location. this would probably require a core edit, im not sure if the save subsystem in runuo 2.2 is in the core still. |
|
|
|
|
|
#20 (permalink) |
|
Lurker
|
ok so you guys did what to run two servers off the same computer? cuze i been trying to run two servers off the same computer for about 2 or 3 months now and still have not been able to do it if u could tell me a way to do this it would be very much apprected
|
|
|
|
|
|
#21 (permalink) |
|
Newbie
|
Open your SocketOptions.cs
Code:
private static IPEndPoint[] m_ListenerEndPoints = new IPEndPoint[] {
new IPEndPoint( IPAddress.Any, 2593 ), // Default: Listen on port 2593 on all IP addresses
![]()
__________________
"www.insanitry.com"
![]() |
|
|
|
|
|
#22 (permalink) |
|
Forum Expert
|
Do a search for mr fixit 2 shards... It is what I did because of a suggestion to the same problem (I wanted to put a rc1 and an rc2 shard on same pc). I have not run it that way yet (no internet connection on the server pc right now) but the mr fixit multiple shards package allows for 2, 3, or 4 that I remember seeing running all at once. I only plan on doing 2 (and then when 2.0 final comes out I will retire the rc1 shard)... I would be interested in that gate thing though to go between the 2 shards.
GreyWolf. |
|
|
|
|
|
#23 (permalink) |
|
Account Terminated
Join Date: Jul 2008
Location: /dev/urandom
Posts: 88
|
What you need is basically 1 login server + 2 servers on same box.
ex: Code:
try
{
IPAddress ipAddr;
if(Resolve("uosrv.uovalor.com", out ipAddr ))
e.AddServer( "Age of Valor", new IPEndPoint( ipAddr, 1337 ) );
if(Resolve("tc1.uovalor.com", out ipAddr ))
e.AddServer( "AoV TC1", new IPEndPoint( ipAddr, 1337 ) );
if(Core.Localhost)
{
if(Resolve("localhost", out ipAddr ))
e.AddServer( "Localhost_1337", new IPEndPoint( ipAddr, 1337 ) );
}
}
catch
{
e.Rejected = true;
}
So you would have two servers running on a different port, but add them to the login server so they only need to know one server, but when they pick the server in the login list then it "redirects" to right shard. OSI actually has a server dedicated to just logins and does exactly this. |
|
|
|
|
|
#24 (permalink) |
|
Forum Expert
|
I will try to get online at home (no solid internet connection at home right now, so I will try but no guarentees) and see if I can post the 2 server fix for this... I have the setup mr fixit used (I deleted the other portions but have the 2 shard solution). It is just 1 file for each shard needs to be edited and then that file replaces the distro file in each shard. It is a fix in the serverlist.cs file that just needs to have the ip/port info edited x2 (one for each shard) and then it just needs to replace the existing one in each shard... If I get online at home I will just edit this post and post the files needed.
GreyWolf. ------- EDIT -------- Found them and was able to connect, at least for a short while. This is just the file set for 2 shards, but by comparing it with the default one you should be able to figure out how to make it for more than 2 shards... Hope it helps. Last edited by greywolf79; 08-21-2008 at 12:39 AM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|