Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: A complet TUT for dedi hosting and RCON setup | Forums

  1. #1
    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 Reply With Quote

  2. #2
    Thanks for the pbpower.dat info, couldnt find anything at evenbalance on whats inside. just you need to change it.

    I cant believe how lousy evenbalance is with adding all the needed files to host a server during an install. its like they assume everyone knows what should be in those files or what can be added without having the files already in place to be modified.
    My Specs:
    Win 7 ultimute 64 bit
    Core2Quad Q9650
    Asus P5N72-T Premium
    2 EVGA 9800GTX+ in SLI
    8 gig OCZ Platinum (PC2 6400)
    Supreme FX2 sound card
    Asus VW222U 22" LCD
    Reply With Quote Reply With Quote

  3. #3
    yeah, tru.

    But if UBI didn't screw the whole thing up like it is now we would have much easier ways to admin a server.

    Just look at other games that are using rcon, COD4 for example just enter an rcon password (admin_login in ubi's langueage) only diff is rcon is 'remote' ubi's way is internal. That is where they missed the whole thing.

    UBI if you read this please change the 'admin_login' to a decend RCON login. It can't be that hard. Atleast give us a way to make a static query port instead of a range so we can do it ourself.
    Reply With Quote Reply With Quote

  4. #4
    WOW! Great! Now we have like FOUR tutorials on how to run a server. Lets get a few more guys to copy paste their dedicated_server.cfg file too!

    Sarcasm.

    We did need the pbrcon stuff, I have been using pbweb but a lot of peepes seem to steer clear of it.
    Reply With Quote Reply With Quote

  5. #5
    Wow nice sarcasme *sigh*

    I made this tutorila because alot of people are asking me for all those stuff, so now you don't have to look tru all post but you have one with all the info.
    Reply With Quote Reply With Quote

  6. #6
    Actualy Kevin i looked into using PBweb, but guess what? I dont have all the files to use it, and did the admin install bs from evenbalance which just told me i have all the files and its up to date. And furthermore XP does not have a seperate location for PB files like Vista does, so this thread is geared for XP users while yours is geared towards Vista.
    My Specs:
    Win 7 ultimute 64 bit
    Core2Quad Q9650
    Asus P5N72-T Premium
    2 EVGA 9800GTX+ in SLI
    8 gig OCZ Platinum (PC2 6400)
    Supreme FX2 sound card
    Asus VW222U 22" LCD
    Reply With Quote Reply With Quote

  7. #7
    Actually, i didnt have all of the files either and I either got them with pbsetup or made them myself as was the case with a couple .DAT and .cfg files.

    and yes, I like to be a bit uptight about the same thing popping up in several threads. I have people ask me the same things that are posted right on page one of the Ubi PC discussion and tech support, and even say they looked on Ubi and it wasnt there. Most of the time it is and the answer is already in the thread. people just dont like to take the time to find an answer them selves, they want it handed to them by some kind soul.

    Sure this thread was different, it was to help those who do have issues. But, we do have 3 threads on this already. As I said, pbrcon and pbweb needed some attention. We are all thankful for help we get here.
    Reply With Quote Reply With Quote

  8. #8
    you can make the files all you want but thiose files are useless if you dont know what goes in them, like i asked you in PM what goes in pbpower.dat and was told it is in a directory that does not exhist on an XP machine and no answer to my question.

    I culled info from all the various threads to get all the different PB files, and searched evenbalance for that info for hours with no luck.
    My Specs:
    Win 7 ultimute 64 bit
    Core2Quad Q9650
    Asus P5N72-T Premium
    2 EVGA 9800GTX+ in SLI
    8 gig OCZ Platinum (PC2 6400)
    Supreme FX2 sound card
    Asus VW222U 22" LCD
    Reply With Quote Reply With Quote

  9. #9
    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.
    That sentence is a bit void. If you start line with <span class="ev_code_RED">;</span> it not work. So the line above command its just informative (options) and serverlauncher dont take it as command, the line with command have to be without <span class="ev_code_RED">;</span>. Like this:
    <span class="ev_code_RED">; Network type, 1 = Online, 2 = LAN
    SetSetting network_type 1
    </span>
    Same as all your commands there looks like. Correct ?


    But - thank you very much that you described very clearly how to set pbpower points. Thx a lot
    One question regarding to pb web tool.
    Once you run more servers from one pc and want to get acces to all of them by pb web tool, then you need add to the pbsv.cfg file those lines more time ? I mean
    pb_sv_HttpPort 85 //[Port #]
    pb_sv_HttpAddr "85.xx.xxx.xxx" //[External IP Address]
    pb_sv_HttpRefresh 30 //[Seconds]
    pb_sv_HttpKey "password" //[Key]

    <span class="ev_code_YELLOW">and then add ports for second server</span>

    pb_sv_HttpPort 86 //[Port #]
    pb_sv_HttpAddr "86.xx.xxx.xxx" //[External IP Address]
    pb_sv_HttpRefresh 30 //[Seconds]
    pb_sv_HttpKey "password" //[Key]

    Like this ?
    Or you have to make also pbsv copies or so one ? So the question is if you can get access through pbweb toll to all servers whose you run from one pc ?
    http://www.farcry2.cz/
    My maps: Video all maps
    Golf Course [url=http://forums.ubi.com/eve/forums/a/t
    Reply With Quote Reply With Quote

  10. #10
    yeah my english isn't that good, it should say all the command are without a ; infront of it but if you look only at the second part of the sentence it is correct

    Well the problem is if you run multiple servers they all use the same pbsv config.
    So youre screwwed there.

    But we are looking for a RCON tool
    Reply With Quote Reply With Quote

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •