Join games.on.net today and gain direct access to:
===================================================
Far Cry® 2 Multiplayer Dedicated Server
Version 1.03 R2
Readme
Last update: 2009-06-05
===================================================
!! 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
===============================================
Changelog
Version 1.03 R2
-Fixed not being able to type in console window
-Updated readme concerning local and remote commands available
-Fixed certain remote commands not working (even though the local commands would work)
-Added "-noredirectstdin" commandline parameter. Launching with this will allow an external app to use stardard input to feed the server console commands.
-Added a "User maps and the dedicated server" section to the readme.
===============================================
Table of contents
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. User maps and the dedicated server
6. 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 "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
---------------------
Host only commands:
---------------------
net_EndMatch : End the current match.
net_RestartMatch : Restart the current match.
net_ExtendMatch : Extend the current match.
net_ShuffleTeams : Shuffle teams.
net_ChangeCaptain : Change captain. Usage: net_ChangeCaptain
net_SkipMap : Skip the current map.
net_KickClient : Kick the specified player. Usage: net_kickClient
net_KickBanClient : Kick/Ban the specified player. Usage: net_kickBanClient
net_TellClientId : Send a message to a given player. Usage: net_tellClientId
net_KickClientId : Kick the specified player. Usage: net_kickClientId
net_KickBanClientId : Kick/Ban the specified player. Usage: net_kickBanClientId
net_ServeCustomMapEnabled : Enable serving of a custom map when hosting a server.
---------------------
Host and client commands:
---------------------
net_GetCurrentMapName : Displays the current map name.
net_GetCurrentGameModeName : Displays the current game mode name.
net_GetHostAddress : Displays the host address.
net_GetHostName : Displays the host name.
net_GetCurrentSessionMaxPlayer : Displays the maximum number of players for the current session.
net_GetPlayerList : Get the player list.
net_GetPlayerListByTeam : Get the player list by team.
net_GetCaptainNames : Get the name of each captain.
net_GetGameScoreStats : Get the current game score statistics.
call_vote_end_match : Start a vote to end the current match.
call_vote_restart_match : Start a vote to restart the match.
call_vote_extend_match : Start a vote to extend the match.
call_vote_shuffle_teams : Start a vote to shuffle teams.
call_vote_change_captain : Start a vote to change captain.
call_vote_kick : Start a vote to kick a client. Usage: call_vote_kick
call_vote_kick_id : Start a vote to kick a client. Usage: call_vote_kick_id
call_vote_skip_map : Start a vote to skip map.
vote : Usage: vote
ready : Enable/disable ready state.
===============================================
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 commands possible (they do the same as the corresponding local commands):
admin_setsetting net_EndMatch 1
admin_setsetting net_RestartMatch 1
admin_setsetting net_ExtendMatch 1
admin_setsetting net_ShuffleTeams 1
admin_setsetting net_ChangeCaptain 1
admin_setsetting net_SkipMap 1
admin_setsetting net_KickClient
admin_setsetting net_KickBanClient
admin_setsetting net_KickClientId
admin_setsetting net_KickBanClientId
admin_setsetting call_vote_end_match 1
admin_setsetting call_vote_restart_match 1
admin_setsetting call_vote_extend_match 1
admin_setsetting call_vote_shuffle_teams 1
admin_setsetting call_vote_change_captain 1
admin_setsetting call_vote_kick
admin_setsetting call_vote_kick_id
admin_setsetting call_vote_skip_map 1
admin_setsetting vote
admin_setsetting ready 1
Here is the list of remote settings 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
start_rank
Sets the starting rank of players (only available in player matches)
Values: 1 to 19
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. User maps and the dedicated server
To use usermaps with the dedicated server, you must specify the relative path to the maps in the setting:
Example:
SetSetting map_cycle User Maps\custommap.fc2map;User Maps\anothermap.fc2map
==============================================
6. Ports used by the dedicated server
Inbound/Outbound UDP/TCP - 9000-9003 (Game)
Outbound UDP - 3074 (STUN services)
We know you love cheap games, so we are proud to work with Green Man Gaming to deliver the best prices in Australia for all gamers. Check out Far Cry 2 on Green Man Gaming today!