Sei sulla pagina 1di 4

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

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 Suppo
rt. 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, a
nd are eager to help with politely-asked questions.
http://forums.ubi.com/eve/forums/a/frm/f/1521068375
===============================================
Table of content:
1.
2.
3.
4.
5.

Starting Far Cry 2 Dedicated Server by command line


Managing a Dedicated server locally
Managing a Dedicated server remotely
Command and parameters for managing a Dedicated Server locally and remotely
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 custo
mize the options, you can launch it with "fc2serverlauncher.exe -dedicated serve
r/dedicated_server.cfg". This file should be located in your "My Documents\My Ga
mes\Far Cry 2\Server" folder. If you wish to store the file elsewhere, just spec
ify 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
SetSetting
SetSetting
SetSetting

gamemode Uprising
minplayers 8
friendly_fire 1
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 til
de "~", 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 (se
e 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
admin_setsetting
admin_setsetting
admin_setsetting
admin_setsetting
ntrol

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

==============================================
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 th
e 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 val
ue)
maxplayers
Sets the maximum number of players for a match (16 is the Maximum and Default va
lue)
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 ma
tch 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 Ran
ked match value), 200, 0(for no limit)
For Capture the Diamond values = 3, 5(Default and Ranked match value), 10, 20, 3
0, 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=Nigh
t
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 va
lue)
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 rout
er.
==============================================
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)

Potrebbero piacerti anche