FC2ServerLauncher_ReadMe.txt

(6 KB) Pobierz
===================================================
Far Cry® 2 Multiplayer Dedicated Server
Version 1.03
Readme
Last update: 2009-04-22
===================================================

!! IMPORTANT !!

Far Cry® 2 Multiplayer Dedicated Server is NOT SUPPORTED by Ubisoft Customer Support. We set up a forum page specifically to collect questions and comments on our Dedicated Server.

Experienced server admins and some of the game's developers monitor the forum, and are eager to help with politely-asked questions.

http://forums.ubi.com/eve/forums/a/frm/f/1521068375

===============================================

Table of content:

1. Starting Far Cry® 2 Dedicated Server by command line
2. Managing a Dedicated server locally
3. Managing a Dedicated server remotely
4. Command and parameters for managing a Dedicated Server locally and remotely
5. Ports used by the dedicated server

==============================================

1. Starting Far Cry® 2 Dedicated Server by command line

To start Far Cry® 2 Dedicated Server by command line prompt:

1 - Navigate to your Farcry 2 install path (usually in Program Files). 
2 - Navigate into the bin folder
3 - Type "fc2serverlauncher.exe".

This will launch the dedicated server with default options. If you wish to customize the options, you can launch it with "fc2serverlauncher.exe -dedicated server/dedicated_server.cfg". This file should be located in your "My Documents\My Games\Far Cry 2\Server" folder. If you wish to store the file elsewhere, just specify the absolute path towards it. For example fc2serverlauncher.exe -dedicated "D:\myserver\dedicated_server.cfg" .

*NOTE* : the server.cfg file is now deprecated and no longer used.

===============================================

2. Managing a Dedicated server locally

SetSetting 
Allows admin to change settings locally.

For example:

SetSetting gamemode Uprising 
SetSetting minplayers 8 
SetSetting friendly_fire 1 
SetSetting weather_type 50 
SetSetting map_cycle Last Bastion;Pit Bull;Love Shacks;Riot Control


===============================================

3. Managing a Dedicated server remotely

To manage the dedicated server remotely, you must use Far Cry® 2 the game to first connect to the server. Afterwards, you may drop down the console by hitting tilde "~", and use admin_login to login to the server and send commands afterwards.

Here is a list of commands to manage Far Cry® 2 Dedicated Server remotely:

admin_login ABCDE
Allows user to login to server
You must replace ABCDE with the password set in the remotePassword parameter (see section 4)

admin_logout
Logs out user from server

admin_setpassword 
Allows admin to change the admin login password (remotePassword) once logged


Once logged in on the server remotely:

admin_setsetting 
Allows admin to change settings remotely.

For example:

admin_setsetting gamemode Uprising 
admin_setsetting minplayers 8 
admin_setsetting friendly_fire 1 
admin_setsetting weather_type 50 
admin_setsetting map_cycle Last Bastion;Green House;Pit Bull;Love Shacks;Riot Control


==============================================

4. Command and parameters for managing a Dedicated Server locally and remotely

Here is the list of remote command to use with SetSetting or admin_setsetting as shown in the examples in section 2. and 3.

server_name
Allows user to change the server name

remotePassword
Sets password for admin login

matchPassword
Sets password for entering a password protected match

gamemode 
Sets the selected game mode for the server. This command is available just in the lobby.
Deathmatch, TeamDeathmatch, Uprising, Ctf

map_cycle mp_01_dirtywork;mp_02_lastbastion;mp_03_pitbull;mp_04_loveshacks;mp_05_mudmaze;mp_06_cutbait;mp_07_riotcontrol;mp_08_coupdetat;mp_09_rumblestrip;mp_10_rustybeef;mp_11_farcry;mp_12_crudeawakening;mp_13_clearcut;mp_14_sandblasted\n"
Sets the map cycle for the server

match_pb_enabled 
1=Enables Punkbuster(Default and Ranked match value), 0=Disables PunkBuster
Ranked match must have Punkbuster enabled otherwise the server will not launch

minplayers
Sets the minimum number of players before a match can start. 2=(Ranked match value)

maxplayers
Sets the maximum number of players for a match (16 is the Maximum and Default value)

teambalance
1=Balances teams in the lobby before the match starts, 0=Otherwise

teamswap 
1= Allows team swap in the lobby, 0=Otherwise

friendly_fire
1= Friendly fire on (Ranked match value), 0=Friendly fire off

joinprogress
1= Allows players to join in progress, 0=Join in progress not allowed (Ranked match value) 

allow_voting
1= Allows voting during the match, 0=Otherwise

inroundtime 
Sets the match duration in seconds.
0=Infinite, 300=5min, 600=10min, 900=15min(Default and Ranked match value), 1200=20min, 1500=25min, 1800=30min, 3600=60min

max_score
Sets the limit of points for a match
For Death Match values = 5, 10, 20 (Default value), 25(Ranked match value), 30, 40, 50, 100, 0(for no limit)
For Team Death Match values = 5, 10, 15, 20, 25, 30, 40, 50, 100(Default and Ranked match value), 200, 0(for no limit)
For Capture the Diamond values = 3, 5(Default and Ranked match value), 10, 20, 30, 40, 50, 100, 0(for no limit)
For Uprising values = 1(Default and Ranked match value) 

time_of_day
Sets the time of day for the beginning of the match.
0=MapDefault(Ranked match value), -1=Random, 6=Dawn, 11=Midday, 21=Dusk, 23=Night

weather_type 
Sets the weather for the match. Ranked match will use map default.
0=Clear, 25=Windy, 50=Varied, 75=Overcast, 100=Stormy, -1=Random(Ranked match value)

frameRateCaps
Sets the maximum FPS for the server, 30=Preferred value

detectPublicAddress (Enabled by default)
0 = force detection of your public IP address, 1 = uses your local IP address
This forces the game to discover your public IP address if you are behind a router.

==============================================
5. Ports used by the dedicated server

Inbound/Outbound UDP/TCP - 9000-9003 (Game)
Outbound         UDP     - 3074 (STUN services)
Inbound          UDP     - 3074-3075 (STUN services)

Zgłoś jeśli naruszono regulamin