How to set up a dedicated server with admin rights.
Dedicated server:
-------------------------------------------------------------------------------------------------------
**Keep in mind every file path you see can be diffrent on your machine**
-------------------------------------------------------------------------------------------------------
With the new patch we don't have an GUI anymore to control your server.
Everything you want to adjust you must do in the config file. This file can be
found in:
C://Documents and settings/Promethium/Mijn Documenten/My Games/Far Cry 2/Server/dedicated_server.cfg
The best way to open this is with wordpad.
Here is an example of my config :
; Server name: maximum of 32 characters (single-byte)
SetSetting server_name =NpS=Hardcore
;Deathmatch, TeamDeathmatch, Uprising, Ctf
SetSetting gamemode CtF
SetSetting hardcore_mode 1
; Map cycle: available maps: mp_01_dirtywork;mp_02_lastbastion;mp_03_pitbull;mp _04_loveshacks;mp_05_mudmaze;mp_06_cutbait;mp_07_r iotcontrol;mp_08_coupdetat;mp_09_rumblestrip;mp_10 _rustybeef;mp_11_farcry;mp_12_crudeawakening;mp_13 _clearcut;mp_14_sandblasted
; Separate each map by a semi-colon
SetSetting map_cycle mp_01_dirtywork;mp_02_lastbastion;mp_03_pitbull;mp _04_loveshacks;mp_05_mudmaze;mp_06_cutbait;mp_07_r iotcontrol;mp_08_coupdetat;mp_09_rumblestrip;mp_10 _rustybeef;mp_11_farcry;mp_12_crudeawakening;mp_13 _clearcut;mp_14_sandblasted
; Network type, 1 = Online, 2 = LAN
SetSetting network_type 1
; Ranked match, 0 = unranked player match, 1 = ranked match
SetSetting ranked_match 1
;Sets password for entering a password protected match
;SetSetting matchPassword yourpassword
; Punkbuster (required for ranked matches) : 1 = Enables Punkbuster(Default and Ranked match value), 0 = Disables PunkBuster
SetSetting match_pb_enabled 1
; Sets the minimum number of players before a match can start. 2=(Ranked match value)
SetSetting minplayers 14
; Sets the maximum number of players for a match (16 is the Maximum and Default value)
SetSetting maxplayers 16
; 1 = Balances teams in the lobby before the match starts, 0 = Otherwise
SetSetting teambalance 1
; 1 = Allows team swap in the lobby, 0 = Otherwise
SetSetting teamswap 1
; 1 = Friendly fire on (Ranked match value), 0=Friendly fire off
SetSetting friendly_fire 1
; 1 = Allows players to join in progress, 0 = Join in progress not allowed (Ranked match value)
SetSetting joinprogress 0
;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
SetSetting inroundtime 900
;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)
SetSetting max_score 20
;This forces the game to discover your public IP address if you are behind a router. Enabled by default.
;0 = force detection of your public IP address, 1 = uses your local IP address
SetSetting detectPublicAddress 1
;Sets password for admin login
SetSetting remotePassword ****
;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
;SetSetting time_of_day 0
;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)
;SetSetting weather_type -1
As you can see, every command line starts without a ' ; '. All the command lines start with ' ; '. So if you want to
add another command line don't forgot you must not add a ' ; ' infront of it or else it won't work.
Now just save the file and launch.
Congratulations you have launched a dedicated server.
Admin rights:
For admin rights you need to add "powerpoints" to a GUID.
A GUID is a string of numbers and letters unique to a player.
To find this GUID go in a pb server and enter in console pb_myguid.
So if you want an admin just ask if he gives you his GUID.
Now you will need to find the pbpower.dat file. You can find in
D://Games/Far Cry 2/bin/pb/pbpower.dat
Don't worry if you don't find to file you just create one.
Open wordpad and edit the file ( or start with a blank page if you don't have file)
An example of how it should look like :
[04.24.2009 14:33:09] 100 be663bb9072cfabde6e5147963c80af6 Promethium
So the date and time between the brackets doesn't mather you can pick anything.
Afther the brackets you see the number 100 this is very important so don't forget to add. This are the powerpoints
Behind the powerpoints comes the GUID of the admin you want.
Behind the GUID you enter the account name. ( my account name is Promethium, but ingame i'm =NpS=Promethium so don't miss here)
Now you have admin rights, you can Kick, Ban people now.
To kick or ban you will need to know the slot number of a player.
To get this enter in console pb_plist
On the right side of the player name you will see a number, this is the number for the next player so you just subtract one number from it.
The kick command is, pb_kick (number)
The ban command is, pb_ban (number)
To give an admin rights for skipping map and more you will need to make an pbrcon.dat file in the same file path as pbpower.dat.
D://Games/Far Cry 2/bin/pb/pbrcon.dat
In that file you will need to enter all the commands that an adim can use.
My example:
100 pb_sv
100 net_
100 say
[06.07.2009 23:57:34] 50 say
[06.07.2009 23:57:41] 50 net_
[06.08.2009 02:09:42] 100 net_endmatch
[06.08.2009 02:09:42] 100 net_skipmap
[06.08.2009 02:09:42] 100 net_shuffleteams
[06.08.2009 02:09:42] 100 net_extendmatch
[06.08.2009 02:09:42] 100 net_endmatch
[06.08.2009 02:09:42] 100 net_kickbanclient
[06.08.2009 02:09:42] 100 pb_kick
[06.08.2009 02:09:42] 100 pb_ban
[06.08.2009 02:09:42] 100 pb_sv_rlist
[06.08.2009 02:09:42] 100 pb_sv_getss
These are the most common use so you can use them.
Auto PB screenshots
To take auto screenshots with pb you will need to make another config or if you already have it, alter it.
The file is pbsv.cfg. In this file you can place all the pb commands that you want to run automaticly.
So if you want auto text in your server you place it in here. The file is located in the same folder as
pbpower.dat and pbrcon.dat
Here is my config i use :
pb_sv_task 10 300 say Welcome to the =NpS=Clan Server
pb_sv_task 20 300 say MGL = Ban without warning
pb_sv_task 30 300 say =NpS= clan is Recuiting Dutch speeking people
pb_sv_task 40 300 say apply @ www.nps-clan.nl
pb_sv_task 50 300 say for wars press the fight us link on site
pb_sv_getss 10 300
pb_sv_SsCeiling 10000 //[High screenshot filename serial #]
pb_sv_SsCmd //[Filename of system command to run after screenshots]
pb_sv_SsWidth 1350 //[Requested pixel width of remote screenshots]
pb_sv_SsHeight 672 //[Requested pixel height of remote screenshots]
pb_sv_SsXpct 50 //[Percentage across screen for remote screenshots]
pb_sv_SsYpct 50 //[Percentage down screen for remote screenshots]
pb_sv_SsSrate 2 //[Sample Rate for remote screenshots]
pb_sv_SsDelay 0 //[Maximum delay client waits before capturing screenshot]
pb_sv_SsPath D://Games/Far Cry 2/bin/pb/svss //[Path where remote screenshots are saved]
pb_sv_AutoSsFrom 300 //[Min # of seconds to wait before requesting next ss]
pb_sv_AutoSsTo 1200 //[Max # of seconds to wait before requesting next ss]
pb_sv_AutoSs 1 //[0=No, 1=Yes (default=0)]
The top five lines are my auto text commands. Below that we have all the screenshot commands.
Don't forget to change your pb_sv_SsPath to your own path.
Custom maps
This part is copy paste form furious post, just for the record before anyone comes *****ing.
; Server name: maximum of 32 characters (single-byte)
SetSetting server_name Your server name here
;Deathmatch, TeamDeathmatch, Uprising, Ctf
SetSetting gamemode Ctf
;Setting hardcore mode or not, 0 = Off, 1 = On
SetSetting hardcore_mode 1
; Map cycle: available maps: User Maps\downloads\FuRiouS Suburb_FuRiou$^One_3426038791517809518.fc2map;User Maps\downloads\FuRIouS Football_FuRIouS$^One_3035078546969147093.fc2map;U ser Maps\downloads\FuRiouS Valley_FuRiou$^One_2989754794960741265.fc2map;User Maps\downloads\FuRiouS TruckStop_FuRiou$^One_3427445726280519812.fc2map;U ser Maps\downloads\FuRiouS Town_FuRiou$^One_3448340600080177177.fc2map;User Maps\downloads\FuRiouS Titan_FuRiou$^One_2943793180468143467.fc2map;User Maps\downloads\FuRiouS Megaton_FuRiou$^One_2605039271865768366.fc2map;Use r Maps\downloads\FuRiouS Sand Dunes_FuRiou$^One_2608099148058846794.fc2map;User Maps\downloads\FuRiouS Subway_FuRiou$^One_2672824681059169340.fc2map;User Maps\downloads\FuRiouS Tomb Raider_FuRiou$^One_2368436329390156483.fc2map;User Maps\FuRiouS D-Day.fc2map;User Maps\FuRiouS Broadcast.fc2map;User Maps\FuRiouS Crossfire.fc2map;User Maps\FuRiouS Overkill.fc2map;User Maps\FuRiouS Showdown.fc2map
; Separate each map by a semi-colon
SetSetting map_cycle User Maps\downloads\FuRiouS Suburb_FuRiou$^One_3426038791517809518.fc2map;User Maps\downloads\FuRIouS Football_FuRIouS$^One_3035078546969147093.fc2map;U ser Maps\downloads\FuRiouS Valley_FuRiou$^One_2989754794960741265.fc2map;User Maps\downloads\FuRiouS TruckStop_FuRiou$^One_3427445726280519812.fc2map;U ser Maps\downloads\FuRiouS Town_FuRiou$^One_3448340600080177177.fc2map;User Maps\downloads\FuRiouS Titan_FuRiou$^One_2943793180468143467.fc2map;User Maps\downloads\FuRiouS Megaton_FuRiou$^One_2605039271865768366.fc2map;Use r Maps\downloads\FuRiouS Sand Dunes_FuRiou$^One_2608099148058846794.fc2map;User Maps\downloads\FuRiouS Subway_FuRiou$^One_2672824681059169340.fc2map;User Maps\downloads\FuRiouS Tomb Raider_FuRiou$^One_2368436329390156483.fc2map;User Maps\FuRiouS D-Day.fc2map;User Maps\FuRiouS Broadcast.fc2map;User Maps\FuRiouS Crossfire.fc2map;User Maps\FuRiouS Overkill.fc2map;User Maps\FuRiouS Showdown.fc2map
Notice this is an example with my maps in cycle. Also notice the directory of where MY custom maps are, to do this you need to upload YOUR map to the map community THEN remove the custom map you made OUT of the usermap folder (place it on the desktop for now) and download the UBI version of YOUR map with all the numbers in it. This makes it easier to host your maps and others as all maps will be in the downloads folder.<span class="ev_code_YELLOW">Dedicated server:</span><span class="ev_code_YELLOW">Dedicated server:</span>



Reply With Quote

