PDA

View Full Version : multiple bf2 servers


Plasma
06-11-2005, 06:12 PM
has anyone had any luck getting 2 servers running from the same box?

MajorWoody
06-12-2005, 01:01 AM
Yep. I installed the game as normal, then created C:\BF2DEMO-1 and C:\BF2DEMO-2. Copied the contents of the program files directory (c:\program files\ea games\battlefield 2 demo\) into each.

Fired up the server launcher for each, assigned different names and IPs and both started just fine.

Where are you getting stuck?

Plasma
06-12-2005, 07:37 AM
I can start up 2 servers, but for some reason, even though i assign the 2nd server a different IP and port, when you look at the server using the bf2 server browser, it shows up the same IP as the first.

Example, I tried to run my 2nd server at xx.xx.xx.22. It appears in the list and it is in-fact running on .22 - However, when you try to join the server through the master list it attempts connecting to the xx.xx.xx.20 IP address, which is the main ip and the ip the first server is running from.


what i did is installed the BF2 Stand Alone server in 2 locations. I'll try doing the demo and see what that does.

Plasma
06-12-2005, 07:55 AM
okay, tried what you suggested, and still no go. even though i assign it a different IP, it still shows as the main ip, but different port. It also has the settings of the 2nd server, ie #of players, tickets, pass, etc, but when i try and connect, it says there is a network problem.

OldDog
06-12-2005, 08:19 AM
Woody, did you not have to assign the secondary IP to the NIC as well?

Plasma
06-12-2005, 09:11 AM
update.

i change the port and ip, and you can connect to the server using that, but the server does NOT show up in the bf2 browser.

MajorWoody
06-12-2005, 01:25 PM
I confirmed Plasma's issue, and i'm having the same issue. I didn't notice because the second server i setup was private and i told my clanmates the IP and password to connect manually. I've confirmed it's not showing up in the ingame browser. Probably because it's "Powered by Gamespy" aka "Gayspy".

BoSBrian
06-12-2005, 08:27 PM
The BF server starter is the problem.

Copy the config that it created in "My Document" and past it into your serversettings.con file. Then start it by just running bf2_w32ded.exe

BoSBrian
06-12-2005, 09:19 PM
Sorry, forgot this part ;)

Find the line sv.interfaceIP and add your IP addy.....

sv.interfaceIP 70.84.30.206

MajorWoody
06-12-2005, 10:00 PM
I don't have a serversettings.con file anywhere in my demo folder... Should i create it? If so, where?

BoSBrian
06-13-2005, 06:54 AM
You should have it here: C:\GameServers\BF2_Demo\mods\bf2\settings

MajorWoody
06-13-2005, 09:56 AM
Found it, thanks. I must have fat fingered the name when i did a search after your first post. Servers both fire up now without the launcher. Wont have a chance to test the browser until i'm not at work :(

Plasma
06-23-2005, 02:49 PM
sorry, but im confused here, can someone explain this again?

MajorWoody
06-23-2005, 04:24 PM
Using the server launcher to make a profile, it will get saved in: \Documents and Settings\(your profile name)\My Documents\Battlefield 2\Server Configs\(profilename).con

Say your BF2 server is in C:\BF2. Copy the profile to C:\BF2\mods\bf2\settings and name the file "ServerSettings.com" overwriting the file that is there.

If you do this, you won't need the server launcher.

subbel
06-23-2005, 11:04 PM
I have a similar problem:

I can run 2 BF2 servers at the same time but only one server is listed in the server-list! I use the same IP for the servers. Of coarse with different ports.
I also already tried the things described in the previous posts. It annoys me that this isn't working cause I'm not a real gameserveradmin noob. LOL

I hope someone can can help.

A tip: if you still want to use the GameLauncher but don't want your settings to be changed in your serverconfig files just make the serversetings.con file 'read only" !

Kind regards,

[Saga]suBBel
http://www.farcry.startkabel.nl
http://www.saga-squad.com

=LAW= SeNTry
06-28-2005, 05:18 PM
Well, I'm not a great admin or anything, I'm here to learn some stuff myself, but I might be able to help.

I am running two iterations of BF2 right now, and did it this way. I ran the server installer and let it install where it wanted to, 'c:/program files/EA/Battlefield 2 server' I think. Then I copied the whole 'Battlefield 2 server' folder to My Documents in a folder I titled BF2 server backup. Inside that folder, I renamed the copy to 'Battlefield 2 server PRIVATE' (since it is my team's private server) and copied it back into the 'c:/program files/EA' folder. Now I have two copies ready to run and a backup for emergencies.

I made a desktop shortcut to the server launcher from EACH folder (one from Battlefield 2 server and one from Battlefield 2 server PRIVATE). Then I started the main server launcher. Here's the important part... at the bottom it shows what profile is being used (default I think). You can delete this with the 'x' button. Click the '+' button and add a new profile and call it, say, 'PUBLIC'. Set the server up the way you want with the proper IP and port, save it, and start the server. Now you can start the second Server launcher. At the bottom, even tho it's in a different directory, it will show the profile you just created. You need to create a NEW profile (PRIVATE in our example) and put the SECOND IP and port (or same ip and different port, however you are setting it up). It will ask if you want to use the current profile as a template which is fine as long as you set the correct IP/port. Save it and you can then start it. The server launcher saves it's profiles in the same location even tho they are different copies of the program... probably in the BF2 folder created in My Documents although I was too lazy to check. SO, every time you need to start your servers, start one launcher and set its profile correctly and start the game, and then start the other launcher. It's profile will show the same as the first one... just change it to it's correct profile and start it.

this way you still have the convenience of using server launcher