Game server admin's helping the community setup and maintain great dedicated game servers.
----Home----Submit News ----Forum--------Guides----


Go Back   FPSadmin.com > BattleField > BattleField 2 > BF2 : General Server Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2005, 05:15 PM
rudedog's Avatar
rudedog rudedog is offline
Site Owner
 
Join Date: Oct 2002
Location: Florida, USA
Age: 49
Posts: 9,981
Rep Power: 31
rudedog is a splendid one to beholdrudedog is a splendid one to beholdrudedog is a splendid one to beholdrudedog is a splendid one to beholdrudedog is a splendid one to beholdrudedog is a splendid one to behold
Send a message via Skype™ to rudedog
BF2:Special forces Server info

================================================== ======================
DEDICATED SERVER
================================================== ======================

We highly recommend Battlefield 2 servers are run on dedicated server
platforms. Currently, the best performance is on a machine with the
following specifications:

LINUX

- Minimum Specification, based on playing a 16 player game:
CPU: 1 Ghz
RAM: 256 Mb

- Recommended Specification, based on playing a 64 player game:
CPU: 3 Ghz. For AMD Athlon 64 CPU: 3500+ (2.2 Ghz)
RAM: 2 Gb


WINDOWS

- Minimum Specification, based on playing a 16 player game:
CPU: 1 Ghz
RAM: 384 Mb

- Recommended Specification, based on playing a 64 player game:
CPU: 3 Ghz. For AMD Athlon 64 CPU: 3500+ (2.2 Ghz)
RAM: 2 Gb


BANDWIDTH

- Minimum
2.5 Mbit

- Recommended
5Mbit


As always if you can increase any of the above hardware you will
improve your overall gameplay experience.


FIREWALL

The use of a software firewall on the server is not recommended,
as it can adversely affect server performance and the overall
gameplay experience.


================================================== ======================
CLIENT AND SERVER PORTS
================================================== ======================

Battlefield 2 Account Creation
NOTE: In order to create a Battlefield 2 multiplayer account, you must have the following ports open in your firewall.

Client Ports:

UDP 27900
UDP/TCP 29900
TCP 80
TCP 4711
TCP 29901
UDP 1500-4999
UDP/TCP 1024-1124
UDP 28910
UDP 16567
UDP 55123-55125

Hosting a Battlefield 2 Server
In order to host a Battlefield 2 server, you must have the following ports open in your firewall.

Server Ports:

UDP 27900
UDP/TCP 29900
TCP 80
TCP 4711
UDP 27901
UDP 1500-4999
UDP/TCP 1024-1124
UDP 29900
UDP/TCP 27900
UDP 16567
UDP 55123-55125



================================================== ======================
SERVER ADMIN COMMANDS
================================================== ======================

MAPLIST COMMANDS:

- mapList.list
Every map on the server has an ID number, which is used for
voting to change maps. This command lists those numbers,
the map name, game mode and the number of players if specified.

- mapList.configFile
Used to specify the location of the _mapList.con
The default is \My Documents\Battlefield 2\ServerConfigs\

- mapList.load
Makes the server reload the _mapList.con

- mapList.save
Saves the current map list on the server to the file _mapList.con

- mapList.mapCount
Shows the total number of maps in the current map list

- mapList.currentMap
Shows the map list ID number of the current map being played

- mapList.clear
Clears the current map list.
Warning: If there are no maps in the map list when the server starts
loading a new map, all clients will be left on the loading screen.

- mapList.remove Removes the map you specify from the map list

- mapList.append [number of players]
Add a new map to the end of the map list.
You must specify the map name and the game mode. Number of players
is optional, if not specified will default to the current server
setting.

- mapList.insert [number of players]
Exactly the same as mapList.append, but with this command you can
specify at what map ID number to insert the new map into the list at.


ADMIN COMMANDS:

- admin.listPlayers
Lists the players connected to the server.
This command lists the players ID number, their player name and if
the player is remote it also lists the players IP number.
The players ID number is also available on the Scoreboard / Manage Tab

- admin.runNextLevel
Forces the server to end the round and start the next map in the map
list.

- admin.currentLevel
Shows the map list ID number for the current map being played.
The same as mapList.currentMap.

- admin.nextLevel
Shows the map list ID number for the next map to be played.

- admin.restartMap
Restarts the current map.

- admin.banPlayer [timeout]
Enter the player ID number you would like to ban. Bans the player from
this server by using their IP address.
- Bans can be set on CD key hashes.
- Bans are stored as absolute times in banlist.con. Existing bans in
banlist.con will be interpreted as permanent bans.
You can choose from a selection of time outs:
- Entering 'perm' means that the ban is permanent. This is the default
if no time out is entered.
- An integral number meaning the number of seconds the ban will be
active (i.e. 3600 means one hour).
- Entering 'round' means the ban is active until the next map.
- A whole number preceded by a colon (i.e. :1234567), meaning the
epoch expiration time of the ban (number of seconds since 1 Jan 1970).

- admin.banPlayerKey [timeout]
Enter the player ID number you would like to ban. Bans the player from
this server by using their CD key hash.
You can also specify a time out. See admin.banPlayer for the time out
list.

- admin.addAddressToBanList [timeout]
Enter the IP number you would like to ban.
You can also specify a time out. See admin.banPlayer for the time out
list.

- admin.addKeyToBanList [timeout]
Enter the CD key hash you would like to ban.
You can also specify a time out. See admin.banPlayer for the time out
list.

- admin.removeAddressFromBanList
Enter the IP address you would like to remove from the ban list.

- admin.removeKeyFromBanList
Enter the CD key hash you would like to remove from the ban list.

- admin.clearBanList
Clears all ban lists.

- admin.listBannedAddresses
Displays a list of the currently banned IP addresses.

- admin.listBannedKeys
Displays a list of the currently banned CD keys.

- admin.kickPlayer
Enter the ID number of the player you would like to kick.



REMOTE CONSOLE ACCESS:

To setup remote console access to the server:

- On the server create a new plain text document in
\admin\ called default.cfg
- Enter the following text into the new file:

port=4711
password=YourPassword

- Save the file, and start the server.

Now you can access the server remotely by using the following commands
from a client:

- rcon login
Use this command to login to the server.

- rcon users
This command lists all the users connected to the server.
Very similar to admin.listPlayers

- rcon exec
Replace with a console command you would like to
execute on the server.
For example: rcon exec admin.kickPlayer 3

For more advanced server management features we recommend you download
one of the many tools available for Battlefield 2.



================================================== ======================
VoIP
================================================== ======================

STANDALONE VoIP SERVER

Battlefield 2 supports running a remote VoIP server. Running the VoIP
server remotely takes load off the main game server, and so increases
performance.


SETUP

In the Battlefield 2 Server Launcher:

- VoIPEnabled
Enables VoIP in Battlefield 2.

- VoIPServerRemote
Enable this if you would like to run VoIP via a remote server.

- VoIPServerRemoteIP
Enter the IP address of the remote VoIP server.

- VoIPServerPort
Specifies the Battlefield 2 server socket used to communicate with the
Remote VoIP Server.

- VoIPBFClientPort
Specifies the Battlefield 2 client socket used to communicate with the
Remote VoIP Server.

- VoIPBFServerPort
Specifies the socket on the Remote VoIP Server used to communicate
with the Battlefield 2 client and the Battlefield 2 server.

- VoIPSharedPassword
Here you can specify a password to be used to access the VoIP server.

- VoIPQuality
Here you can specify the VoIP quality. Higher values will increase
the quality of the transmitted sound, and will also require more
bandwidth.
- LAN servers started via the front end have a default quality setting
of 5, the highest.
- The Battlefield 2 Server Launcher defaults to a quality setting of 3.
This is best for internet games. For LAN games you can increase this
to improve the transmission quality.


The Battlefield 2 Standalone VOIP Server can be installed on a separate
machine by following the install procedure; select custom install and
select BF2 VOIP server.

You may need to edit the 'voip.con' file on the standalone VoIP
server. By default this file contains:

55125 no_password

- '55125'
This is the default port assignment the Battlefield 2 Server will use
to communicate with the Standalone VoIP Server. This number must match
the one in VoIPServerPort, set in the Battlefield 2 Server Launcher.

- 'no_password'
This password must match the one set in VoIPSharedPassword in the
Server Launcher.


MULTIPLE INSTANCES

You can have multiple instances of the Battlefield 2 Server connected to
the Battlefield 2 Standalone VoIP Server. To do this you must ensure
that each instance connects via an unique port. For example:

- Instance 1
VoipServerPort 55127
VoipBFClientPort 55128
VoipBFServerPort 55129

- Instance 2
VoipServerPort 55130
VoipBFClientPort 55131
VoipBFServerPort 55132



================================================== ======================
BATTLE RECORDER
================================================== ======================

USAGE

The BattleRecorder allows a round to be recorded and distributed.
The system is very flexible, and the current implementation can be easily
changed. We recommend you have a good knowledge of Python before you
edit the scripts used here.


There are two components to BattleRecorder. First is the Dedicated Server
Launcher.

The Dedicated Server Launcher requires the following information:
- AutoRecord
Set AutoRecord to on to enable the BattleRecorder. Every round played
on the server will now be recorded to a file.

- DemoDownloadURL
This is the URL that will be passed to all the connected clients at the
end of the round. This is the URL that the Battlefield 2 front end will
try and download the demo file from when the user selects 'download'.
The demo file must be in the directory specified in the URL, or the
demo download will fail.

- AutoDemoHook
The server runs this script at the end of every round where AutoRecord
is enabled.

- DemoQuality
You can control the quality of the recording made by the
BattleRecorder. '1' is the default setting, and we recommend this is
used for internet games. '10' is the highest setting, using this will
increase the size of the file by around a factor of 8.
Higher settings will also increase the load on the server.


The second component to BattleRecorder is the script that is run when a
round ends. This script can be rewritten or replaced as needed. The
Battlefield 2 server will simply attempt to execute the script specified
in AutoDemoHook at the end of each round.

The default script, called auto_rotate, was written in Python and then
built in to an executable.

The Python script can be found here \adminutils\demo\rotate_demo.py


The script will move a BattleRecorder file from the server to a new local
location, or to an FTP site. You can also specify the number of files to
keep archived.

The script is configured using a configuration file, called
'auto_rotate.cfg', found in the root of the Battlefield 2 installation
root directory.

In this file you can configure:

- file_limit =
Use this value to set the number of BattleRecorder files you would like
to keep available. The default is 30. Once the limit is reached, a new
file will replace the oldest one.

- target_root =
If you intend to transfer to a local directory, enter the path here.

- use_ftp =
Set this to 1 if you wish to FTP the DemoRecorder file to a new
location.

- ftp_target_dir =
Enter the path on the FTP site where you want the DemoRecording
transferred to.

- ftp_server =
Enter your FTP sites login username.

- ftp_password =
Enter the password for your login account.


NOTES

- BattleRecorder will significantly increase your server's load.
Therefore we do not support 64 player games with the BattleRecorder
feature enabled.

- BattleRecorder files become larger as you increase the number of
players and the ticket allocation. For a round with 64 players with
250 tickets on each side, you should expect a file size of around
10-12 Mb.

- When you download a BattleRecorder file, using the 'Community' function
in the Battlefield 2 front end, it is saved in:

\My Documents\Battlefield 2\Profiles\Default\Demos\

Every profile on your computer will save BattleRecorder files to this
location.

It is possible to download BattleRecorder files from a friend or
website and copy them into the BattleRecorder directory above. They
will then appear on the 'Community' page for you to play.


PLAYBACK

As well as using the 'Q' and 'T' keys to control the playback of a
recording, you can also use a set of keyboard shortcuts:

- Keys 1 - 9
Change the playback speed.

- Toggle Free Camera / Player Camera
Alt Fire Key. By default this is the Right Mouse Button.

While in free camera mode:

- W, A, S, D
Move forwards, backwards, strafe left and right.

- Double Tap W
Move camera quickly. Alternatively you can hold the Sprint key.

- Crouch / Prone
Move camera up and down.

- Mouse
Rotate camera.

While in the player follow camera mode:

- Space bar
Next / previous player.

- W and A or the mouse scroll wheel
Zoom camera in and out.

- Crouch / Prone
Tilt the camera up and down.

- Mouse
Rotate camera around the player.



================================================== ======================
AWARDS & MEDALS
================================================== ======================

Battlefield 2 Awards are granted based on your performance, both
over time and during a single game round.

You are rated on several criteria, the ratings are:

Satisfactory
Good
Skilled
Outstanding
Excellent

Each Award may require you to fulfill one or more of the following
criteria. To achieve more advanced awards you will need to achieve a
higher rating within each criteria.

The criteria are:

- Weapon Rating
Total kills with a weapon

- Weapon Proficiency
Kills with a weapon in a round

- Combat Rating
Kills with kit or vehicle

- Combat Proficiency
Time spent playing as a particular kit

- Combat Qualification
Time spent playing in a particular vehicle

- Team Player Rating
Teamwork score

- Squad Member Qualification
Time as squad member

- Squad Leader Qualification
Time as squad leader

- Command Qualification
Time as commander

- Command Rating
Single round commander score

- Command Proficiency
Total commander score

- Time in Service
Total time since you enlisted

- Driver Rating
Driver score

- Parachute Qualification
Time in a parachute

- Specialist Rating
Score with a specialist ability, such as the Medic, Engineer or
Support kit

- Conduct Rating
Awarded for good conduct

- Combat Qualified
Qualified with all combat badges at a specified level

- Army Service
Time in a particular Army

- Army Combat Rating
Score in a particular Army

- Army Combat Effectiveness
__________________
Not so Rude -RudeDog via Twitter or Friend feed

Microsoft MVP 2009-2016 Games for Windows
Reply With Quote
  #2  
Old 11-27-2005, 07:21 PM
Preacher Preacher is offline
Senior Member
 
Join Date: Dec 2004
Location: Australia
Posts: 221
Rep Power: 14
Preacher is on a distinguished road
All good info but where is the bit about executing the Special Forces Game so it can start for a windows server?
COD 2 had it which was great but this doesn't

If I start my BF2 now if starts up normal BF2.
How do we start Special Forces
__________________
www.oldfartsatwar.org

Reply With Quote
  #3  
Old 11-28-2005, 10:28 AM
=3VIL=Kampfer =3VIL=Kampfer is offline
Member
 
Join Date: May 2004
Location: Chesapeake, VA
Age: 41
Posts: 99
Rep Power: 14
=3VIL=Kampfer is on a distinguished road
Send a message via MSN to =3VIL=Kampfer
use the same exec with the added parameter:

For SF:
bf2_w32ded.exe +modPath mods/xpack

For BF2 (old)
bf2_w32ded.exe +modPath mods/bf2
__________________
__________________________________________________
www.3vilclan.com
bf2.3vilclan.com:16567
Reply With Quote
  #4  
Old 11-28-2005, 06:45 PM
Preacher Preacher is offline
Senior Member
 
Join Date: Dec 2004
Location: Australia
Posts: 221
Rep Power: 14
Preacher is on a distinguished road
This is my normal BF2 and it works fine

"C:\Program Files\EA GAMES\Battlefield 2 Server\BF2ServerLauncher.exe


Never had the bf2_w32ded.exe in it
'Though I added this


bf2_w32ded.exe +modPath mods/bf2 instead of my other exec and still no go
__________________
www.oldfartsatwar.org

Reply With Quote
  #5  
Old 05-24-2006, 12:24 AM
Ragnarok Ragnarok is offline
Junior Member
 
Join Date: Sep 2004
Posts: 7
Rep Power: 0
Ragnarok is on a distinguished road
I would like to setup a dedicated windows server. Can someone please post a copy of a WORKING command line?

Thanks in advance.

Ragnarok
Reply With Quote
  #6  
Old 05-24-2006, 01:20 PM
robert robert is offline
Senior Member
 
Join Date: Jan 2006
Posts: 144
Rep Power: 13
robert is on a distinguished road
Look around at http://www.bf2cc.com., i'm sure it contains some very usefull things for you
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging (Yes, I have searched) DJX MOH:BT General Server Support 8 08-09-2006 02:41 AM
Server variables....... zelathor MOH:AA General Server Support 1 03-06-2005 11:08 PM
Server Timeout BoSBrian MOH:PA General Server Support 11 11-11-2004 08:32 PM
Linux Server Error radiance CoD UO General server Support 2 09-25-2004 08:15 AM
server live info? Tzatziki MOH:AA General Server Support 5 03-11-2003 05:52 PM


All times are GMT -4. The time now is 05:32 PM.


Powered by: vBulletin Copyright ©2000, Jelsoft Enterprises Ltd.